Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37635669
en ru br
Репозитории ALT
S:0.1.10-alt7
5.1: 0.1.10-alt2
4.1: 0.1.9-alt1.1
4.0: 0.1.8-alt1.M40.2
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: gamin

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: gamin
Version: 0.1.8
Release: alt1.M40.2

%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: %name-%version.tar.gz

BuildPreReq: rpm-build-python

# Automatically added by buildreq on Thu Jan 05 2006

BuildRequires: glib2-devel gtk-doc pkgconfig python-base python-dev python-modules-encodings
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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin