Репозитории ALT
S: | 4.9.0.0.9.e5c6-alt1 |
5.1: | 4.4.2-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 |
Другие репозитории
Upstream: | 4.4.0 |
Группа :: Работа с файлами
Пакет: findutils
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: findutils
Version: 4.2.33
Release: alt1.M40.1
Summary: The GNU versions of find utilities (find and xargs)
License: GPL
Group: File tools
Url: http://www.gnu.org/software/findutils/
Packager: Dmitry V. Levin <ldv at altlinux.org>
# ftp://ftp.gnu.org/gnu/findutils/findutils-%version.tar.gz
Source: findutils-%version.tar
Source1: findutils-ru.po
Patch1: findutils-4.2.33-alt-warnings.patch
Patch2: findutils-4.2.25-alt-find-check_nofollow.patch
Patch3: findutils-4.2.21-alt-texinfo.patch
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
This 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
%patch1 -p1
%patch2 -p1
%patch3 -p1
install -pm644 %_sourcedir/findutils-ru.po po/ru.po
bzip2 -9k NEWS
# The regex.h must be kept in sync with --without-included-regex.
install -pm644 %_includedir/regex.h gnulib/lib/
%build
sed -i 's/ locate / /' Makefile*
%configure --bindir=/bin --without-included-regex
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 NEWS.bz2 README THANKS
%files -n find-static
%_bindir/find.static
%changelog
…
Полный changelog можно просмотреть здесь
Version: 4.2.33
Release: alt1.M40.1
Summary: The GNU versions of find utilities (find and xargs)
License: GPL
Group: File tools
Url: http://www.gnu.org/software/findutils/
Packager: Dmitry V. Levin <ldv at altlinux.org>
# ftp://ftp.gnu.org/gnu/findutils/findutils-%version.tar.gz
Source: findutils-%version.tar
Source1: findutils-ru.po
Patch1: findutils-4.2.33-alt-warnings.patch
Patch2: findutils-4.2.25-alt-find-check_nofollow.patch
Patch3: findutils-4.2.21-alt-texinfo.patch
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
This 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
%patch1 -p1
%patch2 -p1
%patch3 -p1
install -pm644 %_sourcedir/findutils-ru.po po/ru.po
bzip2 -9k NEWS
# The regex.h must be kept in sync with --without-included-regex.
install -pm644 %_includedir/regex.h gnulib/lib/
%build
sed -i 's/ locate / /' Makefile*
%configure --bindir=/bin --without-included-regex
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 NEWS.bz2 README THANKS
%files -n find-static
%_bindir/find.static
%changelog
…
Полный changelog можно просмотреть здесь