ALT Linux repositórios
S: | 4.9.0.0.9.e5c6-alt1 |
5.0: | 4.2.33-alt2 |
4.1: | 4.2.33-alt1.M40.1 |
+updates: | 4.2.33-alt1.M40.1 |
4.0: | 4.2.33-alt1.M40.1 |
+updates: | 4.2.33-alt1.M40.1 |
3.0: | 4.2.23-alt1 |
Outros repositórios
Upstream: | 4.4.0 |
Group :: Ferramentas de Arquivo
RPM: findutils
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: findutils
Version: 4.2.23
Release: alt1
Summary: The GNU versions of find utilities (find and xargs)
License: GPL
Group: File tools
Url: http://www.gnu.org/software/%name/
# ftp://ftp.gnu.org/gnu/%name/%name-%version.tar.bz2
%define srcname %name-%version
Source: ftp://alpha.gnu.org/gnu/%name/%srcname.tar.bz2
Source1: %name-ru.po
Patch10: %name-4.2.22-alt-warnings.patch
Patch11: %name-4.2.21-alt-find-check_nofollow.patch
Patch12: %name-4.2.21-alt-texinfo.patch
Provides: /bin/find, /bin/xargs
Requires(post): %install_info
Requires(preun): %uninstall_info
BuildRequires: glibc-devel-static
%{?!_without_check:%{?!_disable_check:BuildRequires: dejagnu}}
%package -n find-static
Summary: Static version of the GNU find
Group: File tools
Requires: %name = %version-%release
%description
The %name package contains programs which will help you locate files
on your system:
+ the find utility searches through a hierarchy of directories
looking for files which match a certain set of criteria
(such as a filename pattern);
+ the xargs utility builds and executes command lines from standard
input arguments (usually lists of file names generated by the find
command).
%description -n find-static
This package contains statically linked version of the GNU find program.
%prep
%setup -q -n %srcname
%patch10 -p1
%patch11 -p1
%patch12 -p1
%__install -pm644 %SOURCE1 po/ru.po
bzip2 -9fk ChangeLog
#find -type f -name \*.orig -delete -print
%build
%__subst -p 's/ locate / /' Makefile*
#autoreconf -fisv
%configure --bindir=/bin
make -C po update-po
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}
# Build find.static
pushd find
mv find find.dynamic
make find LDFLAGS=-static
mv find find.static
mv find.dynamic find
popd
%install
%makeinstall bindir=%buildroot/bin
%__mkdir_p %buildroot%_bindir
for n in find xargs; do
%__ln_s "../../bin/$n" %buildroot%_bindir/
done
# Install find.static
%__install -pm755 find/find.static "%buildroot%_bindir/"
%find_lang %name
%post
%install_info find.info
%preun
%uninstall_info find.info
%files -f %name.lang
/bin/find
/bin/xargs
%_bindir/find
%_bindir/xargs
%_mandir/man?/find*
%_mandir/man?/xargs*
%_infodir/find.info*
%doc AUTHORS ChangeLog.bz2 NEWS README THANKS
%files -n find-static
%_bindir/find.static
%changelog
…
Todas as alterações você pod ver aqui
Version: 4.2.23
Release: alt1
Summary: The GNU versions of find utilities (find and xargs)
License: GPL
Group: File tools
Url: http://www.gnu.org/software/%name/
# ftp://ftp.gnu.org/gnu/%name/%name-%version.tar.bz2
%define srcname %name-%version
Source: ftp://alpha.gnu.org/gnu/%name/%srcname.tar.bz2
Source1: %name-ru.po
Patch10: %name-4.2.22-alt-warnings.patch
Patch11: %name-4.2.21-alt-find-check_nofollow.patch
Patch12: %name-4.2.21-alt-texinfo.patch
Provides: /bin/find, /bin/xargs
Requires(post): %install_info
Requires(preun): %uninstall_info
BuildRequires: glibc-devel-static
%{?!_without_check:%{?!_disable_check:BuildRequires: dejagnu}}
%package -n find-static
Summary: Static version of the GNU find
Group: File tools
Requires: %name = %version-%release
%description
The %name package contains programs which will help you locate files
on your system:
+ the find utility searches through a hierarchy of directories
looking for files which match a certain set of criteria
(such as a filename pattern);
+ the xargs utility builds and executes command lines from standard
input arguments (usually lists of file names generated by the find
command).
%description -n find-static
This package contains statically linked version of the GNU find program.
%prep
%setup -q -n %srcname
%patch10 -p1
%patch11 -p1
%patch12 -p1
%__install -pm644 %SOURCE1 po/ru.po
bzip2 -9fk ChangeLog
#find -type f -name \*.orig -delete -print
%build
%__subst -p 's/ locate / /' Makefile*
#autoreconf -fisv
%configure --bindir=/bin
make -C po update-po
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}
# Build find.static
pushd find
mv find find.dynamic
make find LDFLAGS=-static
mv find find.static
mv find.dynamic find
popd
%install
%makeinstall bindir=%buildroot/bin
%__mkdir_p %buildroot%_bindir
for n in find xargs; do
%__ln_s "../../bin/$n" %buildroot%_bindir/
done
# Install find.static
%__install -pm755 find/find.static "%buildroot%_bindir/"
%find_lang %name
%post
%install_info find.info
%preun
%uninstall_info find.info
%files -f %name.lang
/bin/find
/bin/xargs
%_bindir/find
%_bindir/xargs
%_mandir/man?/find*
%_mandir/man?/xargs*
%_infodir/find.info*
%doc AUTHORS ChangeLog.bz2 NEWS README THANKS
%files -n find-static
%_bindir/find.static
%changelog
…
Todas as alterações você pod ver aqui