Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
gamin
gamin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gamin.spec of Package gamin
# # spec file for package gamin # # 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 %define sonum 0 %define vernum 1 %define packnum %{vernum}-%{sonum} %define famnum 0 Release: 0 License: LGPL-2.1 Summary: Library providing the FAM File Alteration Monitor API Url: http://www.gnome.org/~veillard/%{name}/ Group: System/Daemons Source: http://www.gnome.org/~veillard/%{name}/sources/%{name}-%{version}.tar.gz 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 BuildRequires: fdupes 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 monitor mechanism compatible with FAM, but not dependent on a system wide daemon. %package -n lib%{name}-%{packnum} Summary: Library providing the FAM File Alteration Monitor API Group: System/Libraries Provides: lib%{name} = %{version} Obsoletes: lib%{name} < %{version} %description -n lib%{name}-%{packnum} This C library provides an API and ABI compatible file alteration monitor mechanism compatible with FAM, but not dependent on a system wide daemon. %package -n libfam%{famnum}-%{name} Summary: Library providing the FAM File Alteration Monitor API Group: System/Libraries Conflicts: libfam0 %description -n libfam%{famnum}-%{name} This C library provides an API and ABI compatible file alteration monitor mechanism compatible with FAM, but not dependent on a system wide daemon. %package -n python-%{name} Summary: Python bindings for the %{name} library Group: Development/Libraries/Python Requires: lib%{name}-%{packnum} = %{version} Provides: %{name}-python = %{version}-%{release} Obsoletes: %{name}-python < %{version}-%{release} %py_requires %description -n python-%{name} The python-%{name} package contains a module that allow monitoring of files and directories from the Python language based on the support of the %{name} package. %package devel Summary: Libraries and includes to build against %{name} Group: Development/Libraries/C and C++ # Both have libfam.so Conflicts: fam-devel Requires: lib%{name}-%{packnum} = %{version} Requires: libfam%{famnum}-%{name} = %{version} Provides: %{name}-devel-static = %{version} %description devel Libraries, includes, etc. to use and build against %{name}. %package doc Summary: Documentation for %{name} Group: Development/Libraries/C and C++ %description doc Documentation and help files for %{name}. %package server Summary: Server for the Library providing the FAM File Alteration Monitor API Group: System/Daemons Provides: fam-server = %{version}-%{release} Obsoletes: fam-server < %{version}-%{release} %description server This package contains the daemon for %{name}. It is split off into its own subpackage to void file conflicts when both %{name} and %{name}-32bit are installed on a multiarch platform. %prep %setup -q %patch0 -p0 %patch1 %patch2 %patch3 -p1 %build %configure --disable-static make %{?_smp_mflags} %install %make_install rm "%{buildroot}%{_libdir}"/*.la mkdir -p .rpmdoc/python mv doc/python.html .rpmdoc/python/doc.html %fdupes %{buildroot} %post -n lib%{name}-%{packnum} -p /sbin/ldconfig %postun -n lib%{name}-%{packnum} -p /sbin/ldconfig %post -n libfam%{famnum}-%{name} -p /sbin/ldconfig %postun -n libfam%{famnum}-%{name} -p /sbin/ldconfig %files -n lib%{name}-%{packnum} %defattr(-,root,root) %doc AUTHORS ChangeLog NEWS README Copyright TODO %{_libdir}/libgamin-%{vernum}.so.%{sonum} %{_libdir}/libgamin-%{vernum}.so.%{sonum}.* %files -n libfam%{famnum}-%{name} %defattr(-,root,root) %{_libdir}/libfam.so.%{famnum} %{_libdir}/libfam.so.%{famnum}.* %files -n python-%{name} %defattr(-,root,root) %doc .rpmdoc/python/* %{py_sitedir}/gamin.py* %{py_sitedir}/_gamin* %files devel %defattr(-,root,root) %{_includedir}/fam.h %{_libdir}/libfam.so %{_libdir}/lib%{name}-%{vernum}.so %{_libdir}/lib%{name}_shared.a %{_libdir}/pkgconfig/gamin.pc %files doc %defattr(-,root,root) %doc doc/*.gif %doc doc/*.html %doc doc/*.txt %files server %defattr(-, root, root) %{_libexecdir}/gam_server %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor