|
|
f32b50e |
Summary: Application matching framework
|
|
|
f32b50e |
Name: bamf
|
|
|
194f1ec |
Version: 0.2.80
|
|
|
6e5a065 |
Release: 1%{?dist}
|
|
|
f32b50e |
# the GIO module is LGPLv3-*only*, but we don't build that. Other
|
|
|
f32b50e |
# library bits are LGPLv2 or LGPLv3 (but not open-ended LGPLv2+);
|
|
|
f32b50e |
# non-lib bits are GPLv3.
|
|
|
f32b50e |
# pbrobinson points out that three files in the lib are actually
|
|
|
f32b50e |
# marked GPL in headers, making library GPL, though we think this
|
|
|
f32b50e |
# may not be upstream's intention. For now, marking library as
|
|
|
f32b50e |
# GPL.
|
|
|
f32b50e |
# License: LGPLv2 or LGPLv3
|
|
|
f32b50e |
License: GPLv2 or GPLv3
|
|
|
f32b50e |
Group: System Environment/Libraries
|
|
|
f32b50e |
URL: https://launchpad.net/bamf
|
|
|
f32b50e |
Source0: http://launchpad.net/bamf/0.2/%{version}/+download/%{name}-%{version}.tar.gz
|
|
|
f32b50e |
# Convenience patch to add a configure parameter to disable building
|
|
|
f32b50e |
# of the gio module: see https://bugs.launchpad.net/bamf/+bug/687683
|
|
|
f32b50e |
Patch0: bamf-0.2.64-gio_parameter.patch
|
|
|
f32b50e |
|
|
|
f32b50e |
BuildRequires: vala-tools
|
|
|
f32b50e |
BuildRequires: gtk-doc
|
|
|
f32b50e |
BuildRequires: dbus-glib-devel
|
|
|
f32b50e |
BuildRequires: gobject-introspection-devel
|
|
|
f32b50e |
BuildRequires: gtk2-devel
|
|
|
f32b50e |
BuildRequires: libwnck-devel
|
|
|
f32b50e |
BuildRequires: libgtop2-devel
|
|
|
f32b50e |
|
|
|
f32b50e |
%description
|
|
|
f32b50e |
BAMF removes the headache of applications matching into a simple DBus
|
|
|
f32b50e |
daemon and C wrapper library. Currently features application matching
|
|
|
f32b50e |
at amazing levels of accuracy (covering nearly every corner case). This
|
|
|
f32b50e |
package contains the bamf library.
|
|
|
f32b50e |
|
|
|
f32b50e |
%package devel
|
|
|
f32b50e |
Summary: Development files for %{name}
|
|
|
f32b50e |
Group: Development/Libraries
|
|
|
f32b50e |
License: LGPLv2 or LGPLv3
|
|
|
f32b50e |
Requires: %{name} = %{version}-%{release}
|
|
|
f32b50e |
# For %{_libdir}/girepository-1.0 and %{_datadir}/gir-1.0
|
|
|
f32b50e |
Requires: gobject-introspection-devel
|
|
|
f32b50e |
# For %{_datadir}/gtk-doc
|
|
|
f32b50e |
Requires: gtk-doc
|
|
|
f32b50e |
Requires: pkgconfig
|
|
|
f32b50e |
|
|
|
f32b50e |
%description devel
|
|
|
f32b50e |
The %{name}-devel package contains libraries and header files for
|
|
|
f32b50e |
developing applications that use %{name}.
|
|
|
f32b50e |
|
|
|
f32b50e |
%package daemon
|
|
|
f32b50e |
Summary: Application matching framework
|
|
|
f32b50e |
Group: System Environment/Libraries
|
|
|
f32b50e |
License: GPLv3
|
|
|
f32b50e |
|
|
|
f32b50e |
%description daemon
|
|
|
f32b50e |
BAMF removes the headache of applications matching into a simple DBus
|
|
|
f32b50e |
daemon and C wrapper library. Currently features application matching
|
|
|
f32b50e |
at amazing levels of accuracy (covering nearly every corner case). This
|
|
|
f32b50e |
package contains the bamf daemon and supporting data.
|
|
|
f32b50e |
|
|
|
f32b50e |
%prep
|
|
|
f32b50e |
%setup -q
|
|
|
f32b50e |
%patch0 -p1
|
|
|
f32b50e |
|
|
|
f32b50e |
%build
|
|
|
f32b50e |
# needed for patch0
|
|
|
f32b50e |
autoreconf -i
|
|
|
f32b50e |
|
|
|
f32b50e |
# disable unused-but-set-variable error for now as I'm not sure if we
|
|
|
f32b50e |
# should really remove it from the code: bug reported upstream
|
|
|
f32b50e |
# https://bugs.launchpad.net/bamf/+bug/706703
|
|
|
f32b50e |
%global optflags %{optflags} -Wno-error=unused-but-set-variable
|
|
|
f32b50e |
|
|
|
f32b50e |
# we must disable the gio module as we do not carry the glib patch
|
|
|
f32b50e |
# required to build it: https://bugzilla.gnome.org/show_bug.cgi?id=606960
|
|
|
f32b50e |
%configure --disable-static --disable-gio-module
|
|
|
f32b50e |
|
|
|
f32b50e |
make %{?_smp_mflags}
|
|
|
f32b50e |
|
|
|
f32b50e |
%install
|
|
|
f32b50e |
rm -rf %{buildroot}
|
|
|
f32b50e |
make DESTDIR=%{buildroot} install
|
|
|
f32b50e |
find %{buildroot} -regex ".*\.la$" | xargs rm -f --
|
|
|
f32b50e |
|
|
|
f32b50e |
%post -p /sbin/ldconfig
|
|
|
f32b50e |
%postun -p /sbin/ldconfig
|
|
|
f32b50e |
|
|
|
f32b50e |
%files
|
|
|
f32b50e |
%defattr(-,root,root,-)
|
|
|
f32b50e |
%doc COPYING.LGPL COPYING
|
|
|
f32b50e |
%{_libdir}/libbamf.so.*
|
|
|
f32b50e |
|
|
|
f32b50e |
%files devel
|
|
|
f32b50e |
%defattr(-,root,root,-)
|
|
|
f32b50e |
%doc COPYING.LGPL COPYING
|
|
|
f32b50e |
%{_includedir}/libbamf
|
|
|
f32b50e |
%{_libdir}/libbamf.so
|
|
|
f32b50e |
%{_libdir}/pkgconfig/libbamf.pc
|
|
|
f32b50e |
%{_datadir}/gtk-doc/html/libbamf
|
|
|
f32b50e |
# Installation of these was disabled in the 0.2.72 release commit,
|
|
|
f32b50e |
# with no explanation - http://bazaar.launchpad.net/~unity-team/bamf/trunk/revision/374
|
|
|
f32b50e |
#%{_libdir}/girepository-1.0/Bamf*.typelib
|
|
|
f32b50e |
#%{_datadir}/gir-1.0/Bamf*.gir
|
|
|
f32b50e |
#%{_datadir}/vala/vapi/Bamf*.vapi
|
|
|
f32b50e |
|
|
|
f32b50e |
%files daemon
|
|
|
f32b50e |
%defattr(-,root,root,-)
|
|
|
f32b50e |
%doc COPYING
|
|
|
f32b50e |
%{_libexecdir}/bamfdaemon
|
|
|
f32b50e |
%{_datadir}/dbus-1/services/*.service
|
|
|
f32b50e |
|
|
|
f32b50e |
%changelog
|
|
|
194f1ec |
* Wed Mar 23 2011 Adam Williamson <awilliam@redhat.com> - 0.2.80-1
|
|
|
194f1ec |
- new release 0.2.80
|
|
|
194f1ec |
|
|
|
6e5a065 |
* Mon Mar 07 2011 Adam Williamson <awilliam@redhat.com> - 0.2.78-1
|
|
|
6e5a065 |
- new release 0.2.78
|
|
|
6e5a065 |
|
|
|
c407cb8 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.74-2
|
|
|
c407cb8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
c407cb8 |
|
|
|
f32b50e |
* Sun Jan 23 2011 Adam Williamson <awilliam@redhat.com> - 0.2.74-1
|
|
|
f32b50e |
- new release 0.2.74
|
|
|
f32b50e |
- update license of library (thanks pbrobinson)
|
|
|
f32b50e |
- fix build by disabling a strict warning which seems to have showed
|
|
|
f32b50e |
up in gcc-4.6.0-0.3
|
|
|
f32b50e |
- gir and vala devel files aren't getting installed any more
|
|
|
f32b50e |
|
|
|
f32b50e |
* Fri Dec 03 2010 Adam Williamson <awilliam@redhat.com> - 0.2.64-1
|
|
|
f32b50e |
- initial package
|