Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > by-pkgid > 18646f74516dc65829eb4871322c3ccb > files > 3

symlinks-1.2-12mdk.src.rpm

%define name symlinks
%define version 1.2
%define release 12mdk

Summary: A utility which maintains a system's symbolic links.
Name: %{name}
Version: %{version}
Release: %{release}
Group: File tools
License: BSD style
Source: sunsite.unc.edu:/pub/Linux/utils/file/symlinks-1.2.tar.bz2
Patch0: symlinks-1.2-noroot.patch.bz2
Buildroot: %{_tmppath}/%{name}-root

%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.

Install the symlinks package if you need a program for maintaining
symlinks on your system.

%prep
%setup

%patch0 -p1

%build
perl -p -i -e "s/-O2/$RPM_OPT_FLAGS/" Makefile
make

%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
install -s -m 755 symlinks $RPM_BUILD_ROOT%{_bindir}
install -m 644 symlinks.8 $RPM_BUILD_ROOT%{_mandir}/man8


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/symlinks
%{_mandir}/man8/symlinks.8.bz2

%changelog
* Thu Oct 18 2001 Daouda LO <daouda@mandrakesoft.com> 1.2-12mdk
- rpmlint compliant

* Mon Jul 30 2001 Daouda LO <daouda@mandrakesoft.com> 1.2-11mdk
- rebuild (not done since Jul 26 2000!) 
- spec cleanups

* Wed Jul 26 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.2-10mdk
- use tmppath

* Thu Jul 20 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.2-9mdk
- let spec-helper compress, strip and the like
- BM, macros

* Thu Mar 23 2000 Daouda Lo <daouda@mandrakesoft.com> 1.2-8mdk
- fix group for 7.1

* Tue Nov 30 1999 Florent Villard <warly@mandrakesoft.com>
- built in new environment
- clean Makefile

* Wed May 05 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- Mandrake adaptions
- handle RPM_OPT_FLAGS

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 5)

* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
- Injected new description and group.

* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
- bumped spec number for initial rh 6.0 build

* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com>
- changed build root to /var/tmp, not /var/lib
- updated to version 1.2

* Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- built against glibc
- build-rooted