Репозитории ALT
S: | 0.2.16-alt3 |
5.1: | 0.2.16-alt1 |
4.1: | 0.2.14-alt1 |
4.0: | 0.2.14-alt1 |
3.0: | 0.2.7-alt1 |
Группа :: Работа с файлами
Пакет: slocate
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# $Id: slocate.spec,v 1.9 2004/09/04 22:04:01 ldv Exp $
Name: slocate
Version: 0.2.7
Release: alt1
Serial: 1
Summary: Finds files on a system via central file name database
License: GPL
Group: File tools
Source: %name-%version.tar.bz2
PreReq: shadow-utils
# Automatically added by buildreq on Tue Oct 08 2002
BuildRequires: libcap-devel
%description
This is a security-enhanced version of locate. Just like locate, %name
searches through a central database (which is usually updated nightly)
for files which match a given pattern. Locate allows you to quickly
find files anywhere on your system.
%prep
%setup -q
%build
%make_build CFLAGS="$RPM_OPT_FLAGS -Werror -W"
%install
make install
%__install -pD -m644 /dev/null $RPM_BUILD_ROOT%_localstatedir/locate/locatedb
%pre
/usr/sbin/groupadd -r -f %name
/usr/sbin/useradd -r -g %name -d /dev/null -s /dev/null -n %name >/dev/null 2>&1 ||:
%files
%attr(2711,root,%name) %_bindir/%name
%_bindir/locate
%_sbindir/*
%config %_sysconfdir/cron.daily/*
%config(noreplace) %_sysconfdir/*.conf
%_mandir/man?/*
%attr(710,root,%name) %dir %_localstatedir/locate
%attr(640,root,%name) %verify(not md5 mtime size) %ghost %_localstatedir/locate/locatedb
%changelog
…
Полный changelog можно просмотреть здесь
Name: slocate
Version: 0.2.7
Release: alt1
Serial: 1
Summary: Finds files on a system via central file name database
License: GPL
Group: File tools
Source: %name-%version.tar.bz2
PreReq: shadow-utils
# Automatically added by buildreq on Tue Oct 08 2002
BuildRequires: libcap-devel
%description
This is a security-enhanced version of locate. Just like locate, %name
searches through a central database (which is usually updated nightly)
for files which match a given pattern. Locate allows you to quickly
find files anywhere on your system.
%prep
%setup -q
%build
%make_build CFLAGS="$RPM_OPT_FLAGS -Werror -W"
%install
make install
%__install -pD -m644 /dev/null $RPM_BUILD_ROOT%_localstatedir/locate/locatedb
%pre
/usr/sbin/groupadd -r -f %name
/usr/sbin/useradd -r -g %name -d /dev/null -s /dev/null -n %name >/dev/null 2>&1 ||:
%files
%attr(2711,root,%name) %_bindir/%name
%_bindir/locate
%_sbindir/*
%config %_sysconfdir/cron.daily/*
%config(noreplace) %_sysconfdir/*.conf
%_mandir/man?/*
%attr(710,root,%name) %dir %_localstatedir/locate
%attr(640,root,%name) %verify(not md5 mtime size) %ghost %_localstatedir/locate/locatedb
%changelog
…
Полный changelog можно просмотреть здесь