2015-05-06 11:19:21 +02:00
|
|
|
#
|
|
|
|
# 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
|
2015-05-11 19:38:40 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2015-05-06 11:19:21 +02:00
|
|
|
Url: https://launchpad.net/bamf
|
|
|
|
Source: https://launchpad.net/bamf/%{_version}/%{version}/+download/bamf-%{version}.tar.gz
|
2015-05-11 19:38:40 +02:00
|
|
|
Source2: https://launchpad.net/bamf/%{_version}/%{version}/+download/bamf-%{version}.tar.gz.asc
|
2015-05-16 19:01:27 +02:00
|
|
|
Source3: %{name}.keyring
|
2015-05-06 11:19:21 +02:00
|
|
|
BuildRequires: gnome-common
|
|
|
|
BuildRequires: libxslt-python
|
|
|
|
BuildRequires: python-libxml2
|
|
|
|
BuildRequires: vala
|
2015-05-11 19:38:40 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.30.0
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.2
|
2015-05-06 11:19:21 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(libgtop-2.0)
|
2015-05-11 19:38:40 +02:00
|
|
|
BuildRequires: pkgconfig(libwnck-3.0) >= 3.4.7
|
|
|
|
BuildRequires: pkgconfig(x11)
|
2015-05-06 11:19:21 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
bamf matches application windows to desktop files.
|
|
|
|
|
|
|
|
%package daemon
|
2015-05-11 19:38:40 +02:00
|
|
|
Summary: Window matching daemon
|
2015-05-06 11:19:21 +02:00
|
|
|
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
|
|
|
|
|
2015-05-11 19:38:40 +02:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for libbamf and libbamf3
|
|
|
|
Group: Documentation/HTML
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains the documentation for the bamf library.
|
|
|
|
|
2015-05-06 11:19:21 +02:00
|
|
|
%package -n %{lname}
|
2015-05-11 19:38:40 +02:00
|
|
|
Summary: Window matching library
|
2015-05-06 11:19:21 +02:00
|
|
|
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
|
2015-05-11 19:38:40 +02:00
|
|
|
Summary: Introspection bindings for the BAMF window matching library
|
2015-05-06 11:19:21 +02:00
|
|
|
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
|
2015-05-11 19:38:40 +02:00
|
|
|
Summary: Development files for the BAMF window matching library
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-05-06 11:19:21 +02:00
|
|
|
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
|
2015-05-11 19:38:40 +02:00
|
|
|
NOCONFIGURE=1 gnome-autogen.sh
|
2015-05-06 11:19:21 +02:00
|
|
|
%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)
|
2015-05-11 19:38:40 +02:00
|
|
|
%{_libdir}/girepository-1.0/
|
2015-05-06 11:19:21 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libbamf%{_binver}/
|
|
|
|
%{_libdir}/libbamf%{_binver}.so
|
2015-05-11 19:38:40 +02:00
|
|
|
%{_datadir}/vala/
|
|
|
|
%{_datadir}/gir-1.0/
|
2015-05-06 11:19:21 +02:00
|
|
|
%{_libdir}/pkgconfig/libbamf%{_binver}.pc
|
|
|
|
|
2015-05-11 19:38:40 +02:00
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_datadir}/gtk-doc/
|
|
|
|
|
2015-05-06 11:19:21 +02:00
|
|
|
%changelog
|