diff options
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20120414/53cc8757/attachment.obj')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20120414/53cc8757/attachment.obj | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20120414/53cc8757/attachment.obj b/zarb-ml/mageia-dev/attachments/20120414/53cc8757/attachment.obj new file mode 100644 index 000000000..87aaff516 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120414/53cc8757/attachment.obj @@ -0,0 +1,107 @@ +%define api 3 +%define major 0 +%define libname %mklibname %{name}%{api}_ %{major} +%define libnamedev %mklibname %{name}%{api} -d + + +Name: bamf +Summary: Application matching framework +Group: System/Libraries +Version: 0.2.114 +Release: %mkrel 2 +License: GPLv3 +URL: https://launchpad.net/bamf +Source0: https://launchpad.net/bamf/0.2/%{version}/+download/%{name}-%{version}.tar.gz +BuildRequires: gtk-doc +BuildRequires: vala-tools +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(dbus-glib-1) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(libwnck-1.0) +BuildRequires: pkgconfig(libwnck-3.0) +BuildRequires: pkgconfig(libgtop-2.0) + +%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). This +package contains the bamf library built against GTK+ 2. + +#-------------------------------------------------------------------- +%package daemon +Summary: Application matching framework +Group: System/Libraries +License: GPLv3 + +%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. + +%files daemon +%doc COPYING +%{_libdir}/bamfdaemon/ +%{_datadir}/dbus-1/services/*.service + +#-------------------------------------------------------------------- +%package -n %{libname} +Summary: Application matching framework (GTK+ 3) +Group: System/Libraries + +%description -n %{libname} +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 library built against GTK+ 3. + +%files -n %{libname} +%{_libdir}/libbamf3.so.%{major}* + +#-------------------------------------------------------------------- +%package -n %{libnamedev} +Summary: Development files for %{name} (GTK+ 3) +Group: Development/GNOME and GTK+ +License: GPLv3 +Requires: %{libname} = %{version} + +%description -n %{libnamedev} +The %{name}3-devel package contains libraries and header files for +developing applications that use %{name} (GTK+ 3). + +%files -n %{libnamedev} +%doc COPYING.LGPL COPYING +%{_includedir}/libbamf3/ +%{_libdir}/libbamf3.so +%{_libdir}/pkgconfig/libbamf3.pc +%{_datadir}/gtk-doc/html/libbamf/ + +#-------------------------------------------------------------------- +%prep +%setup -q +sed -i 's/CFLAGS="$CFLAGS -Wall -Werror -lm"/CFLAGS="$CFLAGS -Wall -lm"/' configure + +%build +%configure2_5x \ + --disable-static \ + --enable-introspection=yes +%make + +%install +rm -rf %{buildroot} +%makeinstall_std + +# Clean .la files +find %{buildroot}%{_libdir} -name '*.la' -delete -print + + +%changelog +* Sat Apr 14 2012 Simple <simplew8@gmail.com> 0.2.114-2 +- fix source link +- fix requires +- gtk-doc is needed + +* Sun Mar 18 2012 Simple <simplew8@gmail.com> 0.2.114-1 +- first package
\ No newline at end of file |