%undefine _package_note_flags Name: ocaml-dbus Version: 0.30 Release: 43%{?dist} Summary: OCaml library for using D-Bus License: LGPLv2 URL: http://projects.snarc.org/ocaml-dbus/ Source0: https://github.com/vincenthz/ocaml-dbus/archive/v0.30.tar.gz BuildRequires: make BuildRequires: ocaml >= 3.10.0-7, ocaml-findlib BuildRequires: dbus-devel BuildRequires: chrpath %description D-Bus is a project that permits programs to communicate with each other, using a simple IPC protocol. This is an OCaml binding for D-Bus. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %setup -q -n ocaml-dbus-%{version} %build make \ %ifarch %{ocaml_native_compiler} OCAMLC="ocamlc.opt -g" OCAMLOPT="ocamlopt.opt -g" OCAMLMKLIB="ocamlmklib -g" %else all-byte %endif if ! test -f "README"; then cat > README <<_EOF OCaml D-BUS bindings version %{version}. Please see the main website for documentation: http://tab.snarc.org/projects/ocaml_dbus/ _EOF fi %install export DESTDIR=$RPM_BUILD_ROOT export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs %ifarch %{ocaml_native_compiler} make OCAMLDESTDIR=$OCAMLFIND_DESTDIR install %else make OCAMLDESTDIR=$OCAMLFIND_DESTDIR install-byte %endif chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dlldbus_stubs.so %files %doc README %{_libdir}/ocaml/dbus %ifarch %{ocaml_native_compiler} %exclude %{_libdir}/ocaml/dbus/*.a %exclude %{_libdir}/ocaml/dbus/*.cmxa %exclude %{_libdir}/ocaml/dbus/*.cmx %endif %exclude %{_libdir}/ocaml/dbus/*.mli %{_libdir}/ocaml/stublibs/*.so %{_libdir}/ocaml/stublibs/*.so.owner %files devel %doc README THANKS example_avahi.ml %ifarch %{ocaml_native_compiler} %{_libdir}/ocaml/dbus/*.a %{_libdir}/ocaml/dbus/*.cmxa %{_libdir}/ocaml/dbus/*.cmx %endif %{_libdir}/ocaml/dbus/*.mli %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.30-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jun 18 2022 Richard W.M. Jones - 0.30-42 - OCaml 4.14.0 rebuild * Fri Feb 04 2022 Richard W.M. Jones - 0.30-41 - OCaml 4.13.1 rebuild to remove package notes * Thu Jan 20 2022 Fedora Release Engineering - 0.30-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Oct 04 2021 Richard W.M. Jones - 0.30-39 - OCaml 4.13.1 build * Thu Jul 22 2021 Fedora Release Engineering - 0.30-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Mar 1 17:18:07 GMT 2021 Richard W.M. Jones - 0.30-37 - OCaml 4.12.0 build * Tue Jan 26 2021 Fedora Release Engineering - 0.30-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Sep 01 2020 Richard W.M. Jones - 0.30-35 - OCaml 4.11.1 rebuild * Fri Aug 21 2020 Richard W.M. Jones - 0.30-34 - OCaml 4.11.0 rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.30-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon May 04 2020 Richard W.M. Jones - 0.30-32 - OCaml 4.11.0+dev2-2020-04-22 rebuild * Tue Apr 21 2020 Richard W.M. Jones - 0.30-31 - OCaml 4.11.0 pre-release attempt 2 * Fri Apr 17 2020 Richard W.M. Jones - 0.30-30 - OCaml 4.11.0 pre-release * Thu Apr 02 2020 Richard W.M. Jones - 0.30-29 - Update all OCaml dependencies for RPM 4.16. * Wed Feb 26 2020 Richard W.M. Jones - 0.30-28 - Bump release and rebuild. * Wed Feb 26 2020 Richard W.M. Jones - 0.30-27 - OCaml 4.10.0 final. * Wed Jan 29 2020 Fedora Release Engineering - 0.30-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Jan 19 2020 Richard W.M. Jones - 0.30-25 - OCaml 4.10.0+beta1 rebuild. * Thu Jan 09 2020 Richard W.M. Jones - 0.30-24 - OCaml 4.09.0 for riscv64 * Fri Dec 06 2019 Richard W.M. Jones - 0.30-23 - OCaml 4.09.0 (final) rebuild. * Fri Aug 16 2019 Richard W.M. Jones - 0.30-22 - OCaml 4.08.1 (final) rebuild. * Wed Jul 31 2019 Richard W.M. Jones - 0.30-21 - OCaml 4.08.1 (rc2) rebuild. * Thu Jul 25 2019 Fedora Release Engineering - 0.30-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 27 2019 Richard W.M. Jones - 0.30-19 - OCaml 4.08.0 (final) rebuild. * Tue Apr 30 2019 Richard W.M. Jones - 0.30-18 - OCaml 4.08.0 (beta 3) rebuild. * Fri Feb 01 2019 Fedora Release Engineering - 0.30-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.30-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jul 11 2018 Richard W.M. Jones - 0.30-15 - OCaml 4.07.0 (final) rebuild. * Wed Jun 20 2018 Richard W.M. Jones - 0.30-14 - OCaml 4.07.0-rc1 rebuild. * Thu Feb 08 2018 Fedora Release Engineering - 0.30-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Nov 17 2017 Richard W.M. Jones - 0.30-12 - OCaml 4.06.0 rebuild. - Make sure -g is passed everywhere. * Tue Aug 08 2017 Richard W.M. Jones - 0.30-11 - OCaml 4.05.0 rebuild. * Thu Aug 03 2017 Fedora Release Engineering - 0.30-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.30-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 27 2017 Richard W.M. Jones - 0.30-8 - OCaml 4.04.2 rebuild. * Sat May 13 2017 Richard W.M. Jones - 0.30-7 - OCaml 4.04.1 rebuild. * Sat Feb 11 2017 Fedora Release Engineering - 0.30-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Nov 07 2016 Richard W.M. Jones - 0.30-5 - Rebuild for OCaml 4.04.0. * Thu Feb 04 2016 Fedora Release Engineering - 0.30-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jul 28 2015 Richard W.M. Jones - 0.30-3 - OCaml 4.02.3 rebuild. * Mon Jul 20 2015 Richard W.M. Jones - 0.30-2 - New upstream version 0.30. - Enable bytecode build. * Wed Jun 24 2015 Richard W.M. Jones - 0.29-19 - ocaml-4.02.2 final rebuild. * Thu Jun 18 2015 Richard W.M. Jones - 0.29-18 - ocaml-4.02.2 rebuild. * Wed Jun 17 2015 Fedora Release Engineering - 0.29-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Feb 17 2015 Richard W.M. Jones - 0.29-16 - ocaml-4.02.1 rebuild. * Sun Aug 31 2014 Richard W.M. Jones - 0.29-15 - ocaml-4.02.0 final rebuild. * Sat Aug 23 2014 Richard W.M. Jones - 0.29-14 - ocaml-4.02.0+rc1 rebuild. * Sun Aug 17 2014 Fedora Release Engineering - 0.29-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Aug 02 2014 Richard W.M. Jones - 0.29-12 - ocaml-4.02.0-0.8.git10e45753.fc22 rebuild. * Mon Jul 21 2014 Richard W.M. Jones - 0.29-11 - OCaml 4.02.0 beta rebuild. * Sat Jun 07 2014 Fedora Release Engineering - 0.29-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Sep 14 2013 Richard W.M. Jones - 0.29-9 - Rebuild for OCaml 4.01.0. - Enable debuginfo. - Modernize the spec file. * Sat Aug 03 2013 Fedora Release Engineering - 0.29-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.29-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Dec 02 2012 Bruno Wolff III - 0.29-6 - Rebuild for ocaml 4.0.1. * Fri Jul 20 2012 Fedora Release Engineering - 0.29-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sun Jun 10 2012 Richard W.M. Jones - 0.29-4 - Rebuild for OCaml 4.00.0. * Thu Jan 12 2012 Richard W.M. Jones - 0.29-3 - Rebuild for OCaml 3.12.1. * Tue Feb 08 2011 Fedora Release Engineering - 0.29-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 5 2011 Richard W.M. Jones - 0.29-1 - New upstream version 0.29. - Project moved to new URL and Source0. - Rebuild for OCaml 3.12.0. * Wed Dec 30 2009 Richard W.M. Jones - 0.24-2 - Rebuild for OCaml 3.11.2. * Thu Oct 8 2009 Richard W.M. Jones - 0.24-1 - New upstream version 0.24. * Sat Jul 25 2009 Fedora Release Engineering - 0.07-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat May 23 2009 Richard W.M. Jones - 0.07-5 - Rebuild for OCaml 3.11.1 * Thu Apr 16 2009 S390x secondary arch maintainer - ExcludeArch sparc64, s390, s390x as we don't have OCaml on those archs (added sparc64 per request from the sparc maintainer) * Wed Feb 25 2009 Fedora Release Engineering - 0.07-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Nov 26 2008 Richard W.M. Jones - 0.07-3 - Rebuild for OCaml 3.11.0+rc1. * Wed Nov 19 2008 Richard W.M. Jones - 0.07-2 - Rebuild for OCaml 3.11.0 * Sun Aug 31 2008 Richard W.M. Jones - 0.07-1 - New upstream release 0.07. - Remove rpath from shared object. * Wed Apr 23 2008 Richard W.M. Jones - 0.06-2 - Rebuild for OCaml 3.10.2 * Tue Mar 4 2008 Richard W.M. Jones - 0.06-1 - New upstream release 0.06. - All patches are now upstream. * Mon Mar 3 2008 Richard W.M. Jones - 0.05-1 - New upstream release 0.05. - Include 'THANKS' file in doc. * Sat Mar 1 2008 Richard W.M. Jones - 0.04-2 - Rebuild for ppc64. * Sat Feb 23 2008 Richard W.M. Jones - 0.04-1 - New upstream release 0.04. - Added patches which have gone upstream for Avahi support. - Added demo Avahi program. * Tue Jan 8 2008 Richard W.M. Jones - 0.03-2 - BR dbus-devel. - Fix a typo in the description. - Initial RPM release.