commit c83f4285bb68b656b74a90dd8f53f5f0369181ed974af62271dde08107683035 Author: Dominique Leuenberger Date: Wed May 6 09:19:21 2015 +0000 Accepting request 305421 from X11:Utilities OBS-URL: https://build.opensuse.org/request/show/305421 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bamf?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/bamf-0.5.1.tar.gz b/bamf-0.5.1.tar.gz new file mode 100644 index 0000000..c43a777 --- /dev/null +++ b/bamf-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb65e6d0d7330f06626e43b0f3828bdeb5678d69133396e770a8781b9988fd16 +size 575386 diff --git a/bamf.changes b/bamf.changes new file mode 100644 index 0000000..a93033a --- /dev/null +++ b/bamf.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat May 2 12:21:34 UTC 2015 - sor.alexei@meowr.ru + +- Initial package. diff --git a/bamf.spec b/bamf.spec new file mode 100644 index 0000000..8ba07ae --- /dev/null +++ b/bamf.spec @@ -0,0 +1,126 @@ +# +# spec file for package bamf +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define lname libbamf3-2 +%define _binver 3 +%define _version 0.5 +Name: bamf +Version: 0.5.1 +Release: 0 +Summary: Window matching library +License: GPL-3.0 and LGPL-3.0 +Group: System/Libraries +Url: https://launchpad.net/bamf +Source: https://launchpad.net/bamf/%{_version}/%{version}/+download/bamf-%{version}.tar.gz +BuildRequires: gnome-common +BuildRequires: libxslt-python +BuildRequires: python-libxml2 +BuildRequires: vala +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(libgtop-2.0) +BuildRequires: pkgconfig(libwnck-3.0) + +%description +bamf matches application windows to desktop files. + +%package daemon +Summary: Window matching library -- Daemon +Group: System/Daemons +Requires: %{lname} = %{version} + +%description daemon +bamf matches application windows to desktop files. + +This package contains the daemon used by the library and a gio +module that facilitates the matching of applications started +through GDesktopAppInfo + +%package -n %{lname} +Summary: Window matching library -- Library +Group: System/Libraries + +%description -n %{lname} +bamf matches application windows to desktop files. + +This package contains libraries to be used by applications. + +%package -n typelib-1_0-Bamf-%{_binver}_0 +Summary: Window matching library -- Introspection bindings +Group: System/Libraries + +%description -n typelib-1_0-Bamf-%{_binver}_0 +This package contains introspection data for the Bamf library. + +This package provides the GObject Introspection bindings for Bamf. + +%package devel +Summary: Window matching library -- Development Files +Group: Development/Libraries +Requires: %{lname} = %{version} +Requires: typelib-1_0-Bamf-%{_binver}_0 + +%description devel +bamf matches application windows to desktop files. + +This package contains files that are needed to build applications. + +%prep +%setup -q + +%build +gnome-autogen.sh +%configure \ + --disable-static \ + --enable-gtk-doc +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n %{lname} -p /sbin/ldconfig + +%postun -n %{lname} -p /sbin/ldconfig + +%files daemon +%defattr(-,root,root) +%doc ChangeLog COPYING COPYING.LGPL TODO +%{_libexecdir}/bamf/ +%{_datadir}/dbus-1/services/org.ayatana.bamf.service + +%files -n %{lname} +%defattr(-,root,root) +%doc ChangeLog COPYING COPYING.LGPL TODO +%{_libdir}/libbamf%{_binver}.so.* + +%files -n typelib-1_0-Bamf-%{_binver}_0 +%defattr(-,root,root) +%{_libdir}/girepository-1.0/Bamf-%{_binver}.typelib + +%files devel +%defattr(-,root,root) +%doc %{_datadir}/gtk-doc/html/libbamf/ +%{_includedir}/libbamf%{_binver}/ +%{_libdir}/libbamf%{_binver}.so +%dir %{_datadir}/vala/vapi/ +%{_datadir}/vala/vapi/libbamf%{_binver}.vapi +%{_datadir}/gir-1.0/Bamf-%{_binver}.gir +%{_libdir}/pkgconfig/libbamf%{_binver}.pc + +%changelog