File symlinks.spec of Package symlinks

Name: symlinks
Version: 1.4
Release: 1
License: Freely distributable
Summary: Utility which maintains a system's symbolic links
Group: System/Filesystems
Url: http://www.ibiblio.org/pub/Linux/utils/file
Source: %url/%name-%version.tar.gz
Patch: %name-1.4-deb-alt.patch
Buildroot: %buildroot

%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
%patch -p1


%build
make %{?smp_mflags} %{?__cc:CC=%__cc} CFLAGS="%optflags"


%install
install -pD -m 0755 %name %buildroot%_bindir/%name
install -pD -m 0644 %name.8 %buildroot%_mandir/man1/%name.1


%files
%defattr(-,root,root)
%_bindir/*
%_mandir/man1/*


%changelog
* Sun Jan 11 2015 Led <ledest@gmail.com> 1.4-1
- 1.4

* Sat Feb 04 2012 Led <led@massivesolutions.co.uk> 1.2-0
- initial build for openSUSE
openSUSE Build Service is sponsored by