Group :: Sistema/Servidores
RPM: gamin
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: gamin
Version: 0.1.9
Release: alt1.1
%def_disable static
%def_disable debug
%def_enable check
Summary: Lightweight replacement of the File Alteration Monitor
Group: System/Servers
License: LGPL
URL: http://www.gnome.org/~veillard/gamin/
Requires: lib%name = %version-%release
%define pkgdocdir %_docdir/%name-%version
Source: http://www.gnome.org/~veillard/gamin/sources/%name-%version.tar.gz
Source1: %name.watch
BuildPreReq: rpm-build-python
# Automatically added by buildreq on Sun Jan 06 2008
BuildRequires: gcc-c++ glib2-devel python-devel
BuildRequires: common-licenses
# For inotify
BuildRequires: kernel-headers >= 2.6.13
%description
Gamin is a file and directory monitoring system defined to be
a subset of the FAM (File Alteration Monitor) system. This is
a service provided by a library which allows to detect when a
file or a directory has been modified.
%package -n lib%name
Summary: Shared libraries for Gamin, a file and directory monitoring system
Group: System/Libraries
%description -n lib%name
Gamin is a file and directory monitoring system defined to be
a subset of the FAM (File Alteration Monitor) system. This is
a service provided by a library which allows to detect when a
file or a directory has been modified.
%package -n lib%name-fam
Summary: FAM compatilitity libraries for Gamin
Group: System/Libraries
Conflicts: libfam
%description -n lib%name-fam
Libraries from the Gamin system that provide binary compatibility with
FAM (File Alteration Monitor).
%package -n lib%name-devel
Summary: Development files for Gamin, a file and directory monitoring system
Group: Development/C
Requires: lib%name = %version-%release
Requires: lib%name-fam = %version-%release
Provides: gamin-devel = %version
Obsoletes: gamin-devel
Provides: libfam-devel
Obsoletes: libfam-devel
%description -n lib%name-devel
Files necessary to develop applications using Gamin.
Gamin is a file and directory monitoring system defined to be
a subset of the FAM (File Alteration Monitor) system.
%package -n lib%name-devel-static
Summary: Static libraries for Gamin, a file and directory monitoring system
Group: Development/C
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
Static library build of Gamin.
Gamin is a file and directory monitoring system defined to be
a subset of the FAM (File Alteration Monitor) system.
%package -n python-modules-%name
Summary: Python bindings for Gamin, a file and directory monitoring system
Group: Development/Python
Requires: lib%name = %version-%release
%description -n python-modules-%name
Python scripting language bindings for Gamin.
Gamin is a file and directory monitoring system defined to be
a subset of the FAM (File Alteration Monitor) system.
%prep
%setup -q
%build
autoreconf -isfv
%configure \
%{subst_enable debug} \
%{subst_enable static}
%make_build
%if_enabled check
%make tests
%endif
%install
%makeinstall
%__install -d -m755 %buildroot%pkgdocdir
%__install -p -m644 AUTHORS ChangeLog Copyright NEWS README TODO \
%buildroot%pkgdocdir/
%__bzip2 -9 %buildroot%pkgdocdir/ChangeLog
%__ln_s %_licensedir/LGPL-2 %buildroot%pkgdocdir/COPYING
%__install -p -m644 doc/*.{html,gif,txt} \
%buildroot%pkgdocdir/
# remove non-packaged files
%__rm -f %buildroot/%python_sitelibdir/*.la
%files
%_libexecdir/gam_server
%pkgdocdir
%files -n lib%name
%_libdir/libgamin*.so.*
%files -n lib%name-fam
%_libdir/libfam.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/libgamin_shared.a
%_libdir/pkgconfig/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%exclude %_libdir/libgamin_shared.a
%endif
%files -n python-modules-%name
%python_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.1.9
Release: alt1.1
%def_disable static
%def_disable debug
%def_enable check
Summary: Lightweight replacement of the File Alteration Monitor
Group: System/Servers
License: LGPL
URL: http://www.gnome.org/~veillard/gamin/
Requires: lib%name = %version-%release
%define pkgdocdir %_docdir/%name-%version
Source: http://www.gnome.org/~veillard/gamin/sources/%name-%version.tar.gz
Source1: %name.watch
BuildPreReq: rpm-build-python
# Automatically added by buildreq on Sun Jan 06 2008
BuildRequires: gcc-c++ glib2-devel python-devel
BuildRequires: common-licenses
# For inotify
BuildRequires: kernel-headers >= 2.6.13
%description
Gamin is a file and directory monitoring system defined to be
a subset of the FAM (File Alteration Monitor) system. This is
a service provided by a library which allows to detect when a
file or a directory has been modified.
%package -n lib%name
Summary: Shared libraries for Gamin, a file and directory monitoring system
Group: System/Libraries
%description -n lib%name
Gamin is a file and directory monitoring system defined to be
a subset of the FAM (File Alteration Monitor) system. This is
a service provided by a library which allows to detect when a
file or a directory has been modified.
%package -n lib%name-fam
Summary: FAM compatilitity libraries for Gamin
Group: System/Libraries
Conflicts: libfam
%description -n lib%name-fam
Libraries from the Gamin system that provide binary compatibility with
FAM (File Alteration Monitor).
%package -n lib%name-devel
Summary: Development files for Gamin, a file and directory monitoring system
Group: Development/C
Requires: lib%name = %version-%release
Requires: lib%name-fam = %version-%release
Provides: gamin-devel = %version
Obsoletes: gamin-devel
Provides: libfam-devel
Obsoletes: libfam-devel
%description -n lib%name-devel
Files necessary to develop applications using Gamin.
Gamin is a file and directory monitoring system defined to be
a subset of the FAM (File Alteration Monitor) system.
%package -n lib%name-devel-static
Summary: Static libraries for Gamin, a file and directory monitoring system
Group: Development/C
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
Static library build of Gamin.
Gamin is a file and directory monitoring system defined to be
a subset of the FAM (File Alteration Monitor) system.
%package -n python-modules-%name
Summary: Python bindings for Gamin, a file and directory monitoring system
Group: Development/Python
Requires: lib%name = %version-%release
%description -n python-modules-%name
Python scripting language bindings for Gamin.
Gamin is a file and directory monitoring system defined to be
a subset of the FAM (File Alteration Monitor) system.
%prep
%setup -q
%build
autoreconf -isfv
%configure \
%{subst_enable debug} \
%{subst_enable static}
%make_build
%if_enabled check
%make tests
%endif
%install
%makeinstall
%__install -d -m755 %buildroot%pkgdocdir
%__install -p -m644 AUTHORS ChangeLog Copyright NEWS README TODO \
%buildroot%pkgdocdir/
%__bzip2 -9 %buildroot%pkgdocdir/ChangeLog
%__ln_s %_licensedir/LGPL-2 %buildroot%pkgdocdir/COPYING
%__install -p -m644 doc/*.{html,gif,txt} \
%buildroot%pkgdocdir/
# remove non-packaged files
%__rm -f %buildroot/%python_sitelibdir/*.la
%files
%_libexecdir/gam_server
%pkgdocdir
%files -n lib%name
%_libdir/libgamin*.so.*
%files -n lib%name-fam
%_libdir/libfam.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/libgamin_shared.a
%_libdir/pkgconfig/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%exclude %_libdir/libgamin_shared.a
%endif
%files -n python-modules-%name
%python_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui