Group :: File tools
RPM: symlinks
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: symlinks
Version: 1.2
Release: alt1
Epoch: 1
Summary: A utility which maintains a system's symbolic links.
Summary(ru_RU.KOI8-R): Утилита для работы с символическими ссылками в системе.
License: distributable
Group: File tools
Packager: Dmitry V. Levin <ldv at altlinux.org>
# ftp://sunsite.unc.edu/pub/Linux/utils/file/symlinks-%version.tar.bz2
Source: symlinks-%version.tar
Patch1: symlinks-1.2-rh-fixman.patch
Patch2: symlinks-1.2-deb-alt.patch
Patch3: symlinks-1.2-rh-short.patch
%description
The symlinks utility performs maintenance on symbolic links. Symlinks
checks for symlink problems, including dangling symlinks which point to
nonexistent files. Symlinks can also automatically convert absolute
symlinks to relative symlinks.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
sed -i 's/stddef\.h/stdlib.h/' symlinks.c
%build
%__cc %optflags `getconf LFS_CFLAGS` symlinks.c -o symlinks
%install
install -pD -m755 symlinks %buildroot%_bindir/symlinks
install -pD -m644 symlinks.8 %buildroot%_man1dir/symlinks.1
%files
%_bindir/*
%_man1dir/*
%changelog
…
Full changelog you can see here
Version: 1.2
Release: alt1
Epoch: 1
Summary: A utility which maintains a system's symbolic links.
Summary(ru_RU.KOI8-R): Утилита для работы с символическими ссылками в системе.
License: distributable
Group: File tools
Packager: Dmitry V. Levin <ldv at altlinux.org>
# ftp://sunsite.unc.edu/pub/Linux/utils/file/symlinks-%version.tar.bz2
Source: symlinks-%version.tar
Patch1: symlinks-1.2-rh-fixman.patch
Patch2: symlinks-1.2-deb-alt.patch
Patch3: symlinks-1.2-rh-short.patch
%description
The symlinks utility performs maintenance on symbolic links. Symlinks
checks for symlink problems, including dangling symlinks which point to
nonexistent files. Symlinks can also automatically convert absolute
symlinks to relative symlinks.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
sed -i 's/stddef\.h/stdlib.h/' symlinks.c
%build
%__cc %optflags `getconf LFS_CFLAGS` symlinks.c -o symlinks
%install
install -pD -m755 symlinks %buildroot%_bindir/symlinks
install -pD -m644 symlinks.8 %buildroot%_man1dir/symlinks.1
%files
%_bindir/*
%_man1dir/*
%changelog
…
Full changelog you can see here