Summary: Application matching framework Name: bamf Version: 0.5.0 Release: 6%{?dist} # Library bits are LGPLv2 or LGPLv3 (but not open-ended LGPLv2+); # non-lib bits are GPLv3. # pbrobinson points out that three files in the lib are actually # marked GPL in headers, making library GPL, though we think this # may not be upstream's intention. For now, marking library as # GPL. # License: LGPLv2 or LGPLv3 License: GPLv2 or GPLv3 Group: System Environment/Libraries URL: https://launchpad.net/bamf Source0: http://launchpad.net/bamf/0.5/%{version}/+download/%{name}-%{version}.tar.gz # https://bugs.launchpad.net/bamf/+bug/1280110 Patch0: bamf-0.5.0-fix_retval.patch # revision 589.1.1, merged in revision 590 Patch1: bamf-0.5.0-fix_retval_2.patch BuildRequires: vala-tools BuildRequires: gtk-doc BuildRequires: gobject-introspection-devel BuildRequires: libxml2-python BuildRequires: libxslt-python BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libgtop-2.0) BuildRequires: pkgconfig(libwnck-3.0) BuildRequires: pkgconfig(x11) # there is no longer a separate GTK3 build Provides: %{name}3%{?_isa} = %{version}-%{release} Obsoletes: %{name}3%{?_isa} < 0.5.0-1%{?dist} %description BAMF removes the headache of applications matching into a simple DBus daemon and C wrapper library. Currently features application matching at amazing levels of accuracy (covering nearly every corner case). %package devel Summary: Development files for %{name} Group: Development/Libraries License: GPLv2 or GPLv3 Requires: %{name}%{?_isa} = %{version}-%{release} # For %%{_libdir}/girepository-1.0 and %%{_datadir}/gir-1.0 #Requires: gobject-introspection-devel Requires: pkgconfig # there is no longer a separate GTK3 build Provides: %{name}3-devel%{?_isa} = %{version}-%{release} Obsoletes: %{name}3-devel%{?_isa} < 0.5.0-1%{?dist} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package daemon Summary: Application matching framework Group: System Environment/Libraries License: GPLv3 Requires: %{name}%{?_isa} = %{version}-%{release} %description daemon BAMF removes the headache of applications matching into a simple DBus daemon and C wrapper library. Currently features application matching at amazing levels of accuracy (covering nearly every corner case). This package contains the bamf daemon and supporting data. %prep %setup -q %patch0 -p0 -b .fix_retval %patch1 -p0 -b .fix_retval_2 %build %configure --disable-static --disable-webapps --enable-gtk-doc make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install find %{buildroot} -regex ".*\.la$" | xargs rm -f -- %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc COPYING.LGPL COPYING %{_libdir}/libbamf3.so.* %files devel %doc ChangeLog TODO %{_includedir}/libbamf3 %{_libdir}/libbamf3.so %{_libdir}/pkgconfig/libbamf3.pc %{_datadir}/gtk-doc %{_libdir}/girepository-1.0/Bamf*.typelib %{_datadir}/gir-1.0/Bamf*.gir %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/libbamf3.vapi %files daemon %doc COPYING %{_libexecdir}/bamf %{_datadir}/dbus-1/services/*.service %changelog * Wed Jun 17 2015 Fedora Release Engineering - 0.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Aug 15 2014 Fedora Release Engineering - 0.5.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Tue Jul 22 2014 Kalev Lember - 0.5.0-4 - Rebuilt for gobject-introspection 1.41.4 * Sat Jun 07 2014 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu May 01 2014 Kalev Lember - 0.5.0-2 - Rebuilt for libgtop2 soname bump * Fri Feb 14 2014 Michel Salim - 0.5.0-1 - Update to 0.5.0 * Sat Aug 03 2013 Fedora Release Engineering - 0.3.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jun 13 2013 Michel Salim - 0.3.6-3 - Spec clean-ups * Thu Apr 25 2013 Tom Callaway - 0.3.6-2 - fix build * Sat Apr 20 2013 Michel Salim - 0.3.6-1 - Update to 0.3.6 * Wed Jul 18 2012 Fedora Release Engineering - 0.2.104-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 0.2.104-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Nov 10 2011 Adam Williamson - 0.2.104-1 - new version, adjust for various upstream fixes - rebuild against new libpng - build both gtk+2 and gtk+3 libs, and package separately (like Ubuntu) * Wed May 25 2011 Adam Williamson - 0.2.90-2 - don't depend on gtk-doc but own /usr/share/gtk-doc instead (#707545) * Wed May 11 2011 Adam Williamson - 0.2.90-1 - new release 0.2.90 * Wed Mar 23 2011 Adam Williamson - 0.2.80-1 - new release 0.2.80 * Mon Mar 07 2011 Adam Williamson - 0.2.78-1 - new release 0.2.78 * Mon Feb 07 2011 Fedora Release Engineering - 0.2.74-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jan 23 2011 Adam Williamson - 0.2.74-1 - new release 0.2.74 - update license of library (thanks pbrobinson) - fix build by disabling a strict warning which seems to have showed up in gcc-4.6.0-0.3 - gir and vala devel files aren't getting installed any more * Fri Dec 03 2010 Adam Williamson - 0.2.64-1 - initial package