Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37890548
en ru br
ALT Linux repositórios
S:0.2.16-alt3
5.0: 0.2.16-alt1
4.1: 0.2.14-alt1
4.0: 0.2.14-alt1
3.0: 0.2.7-alt1

Group :: Ferramentas de Arquivo
RPM: slocate

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009