Accepting request 87492 from home:TheBlackCat:branches:devel:libraries:c_c++
- Added patch to fix building in factory - Cleaned up spec file formatting with spec-cleaner - Added proper license header to spec file - Split documentation package (fix for RPMLINT warning) - Add fam-server provides to gamin-server (other gaming packages provide their fam counterpart) OBS-URL: https://build.opensuse.org/request/show/87492 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gamin?expand=0&rev=3
This commit is contained in:
parent
a2ebd18112
commit
b3142f56cb
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 2 11:17:22 UTC 2011 - toddrme2178@gmail.com
|
||||
|
||||
- Added patch to fix building in factory
|
||||
- Cleaned up spec file formatting with spec-cleaner
|
||||
- Added proper license header to spec file
|
||||
- Split documentation package (fix for RPMLINT warning)
|
||||
- Add fam-server provides to gamin-server (other gaming packages provide their fam counterpart)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 22 11:36:52 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
|
81
gamin.spec
81
gamin.spec
@ -1,23 +1,40 @@
|
||||
# vim: set sw=4 ts=4 et:
|
||||
#
|
||||
# spec file for package kipi-plugins
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products 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/
|
||||
#
|
||||
|
||||
Name: gamin
|
||||
Version: 0.1.10
|
||||
Release: 0
|
||||
Summary: Library providing the FAM File Alteration Monitor API
|
||||
License: LGPL-2.1
|
||||
Summary: Library providing the FAM File Alteration Monitor API
|
||||
Url: http://www.gnome.org/~veillard/gamin/
|
||||
Group: System/Daemons
|
||||
URL: http://www.gnome.org/~veillard/gamin/
|
||||
# http://www.gnome.org/~veillard/gamin/sources/%{name}-%{version}.tar.gz
|
||||
# http://www.gnome.org/~veillard/gamin/sources/%%{name}-%%{version}.tar.gz
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source2: %name-rpmlintrc
|
||||
Source2: %name-rpmlintrc
|
||||
Patch0: gamin-return.patch
|
||||
Patch1: gamin-fam_abi_compatibility_FamErrlist.patch
|
||||
Patch2: gamin-fix_python_main.patch
|
||||
Patch3: gamin-obsol-glib.diff
|
||||
#Provides: fam
|
||||
Requires: gamin-server = %{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
BuildRequires: glib2-devel python-devel gcc gcc-c++ libstdc++-devel make pkgconfig
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
This C library provides an API and ABI compatible file alteration
|
||||
@ -46,6 +63,7 @@ daemon.
|
||||
%package server
|
||||
Summary: Server for the Library providing the FAM File Alteration Monitor API
|
||||
Group: System/Daemons
|
||||
Provides: fam-server
|
||||
|
||||
%description server
|
||||
This package contains the daemon for %{name}.
|
||||
@ -53,21 +71,28 @@ It is split off into its own subpackage to void file conflicts when both
|
||||
%{name} and %{name}-32bit are installed on a multiarch platform.
|
||||
|
||||
%package devel
|
||||
Summary: Libraries and includes to build against the Gamin library
|
||||
Summary: Libraries and includes to build against %{name}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libgamin-1-0 = %version, libfam0-gamin = %version
|
||||
# Both have libfam.so
|
||||
Conflicts: fam-devel
|
||||
Requires: libgamin-1-0 = %{version}
|
||||
Requires: libfam0-gamin = %{version}
|
||||
|
||||
%description devel
|
||||
Libraries, includes, etc. to use and build against the Gamin library.
|
||||
Libraries, includes, etc. to use and build against the %{name}.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description doc
|
||||
Documentation and help files for %{name}.
|
||||
|
||||
%package -n python-gamin
|
||||
Summary: Python bindings for the gamin library
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: python
|
||||
Provides: gamin-python = %{version}-%{release}
|
||||
Requires: libgamin-1-0 = %{version}
|
||||
Provides: gamin-python = %{version}
|
||||
%py_requires
|
||||
|
||||
%description -n python-gamin
|
||||
@ -80,27 +105,22 @@ of the gamin package.
|
||||
%patch0 -p0
|
||||
%patch1
|
||||
%patch2
|
||||
%patch -P 3 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-static
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
|
||||
%__rm "%{buildroot}%{_libdir}"/*.la
|
||||
|
||||
%__mkdir_p .rpmdoc/python
|
||||
%__mv doc/python.html .rpmdoc/python/doc.html
|
||||
|
||||
%post -n libgamin-1-0 -p /sbin/ldconfig
|
||||
%make_install
|
||||
rm "%{buildroot}%{_libdir}"/*.la
|
||||
mkdir -p .rpmdoc/python
|
||||
mv doc/python.html .rpmdoc/python/doc.html
|
||||
|
||||
%post -n libgamin-1-0 -p /sbin/ldconfig
|
||||
%postun -n libgamin-1-0 -p /sbin/ldconfig
|
||||
|
||||
%post -n libfam0-gamin -p /sbin/ldconfig
|
||||
|
||||
%post -n libfam0-gamin -p /sbin/ldconfig
|
||||
%postun -n libfam0-gamin -p /sbin/ldconfig
|
||||
|
||||
%files -n libgamin-1-0
|
||||
@ -114,11 +134,14 @@ make %{?_smp_mflags}
|
||||
%{_libdir}/libfam.so.0.*.*
|
||||
%{_libdir}/libfam.so.0
|
||||
|
||||
%files server
|
||||
%files doc
|
||||
%defattr(-, root, root)
|
||||
%doc doc/*.html
|
||||
%doc doc/*.gif
|
||||
%doc doc/*.txt
|
||||
|
||||
%files server
|
||||
%defattr(-, root, root)
|
||||
%{_libexecdir}/gam_server
|
||||
|
||||
%files devel
|
||||
|
Loading…
x
Reference in New Issue
Block a user