stow-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Summary: Manage the installation of software packages from source
  2. Name: stow
  3. Version: 1.3.3
  4. Release: 9%{?_dist_release}
  5. License: GPLv2+
  6. Group: Development/Tools
  7. URL: http://www.gnu.org/software/stow/stow.html
  8. Source: http://ftp.gnu.org/gnu/stow/stow-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. Requires(pre): /sbin/install-info
  12. Requires(post): /sbin/install-info
  13. %description
  14. GNU Stow is a program for managing the installation of software packages,
  15. keeping them separate (/usr/local/stow/emacs vs. /usr/local/stow/perl, for
  16. example) while making them appear to be installed in the same place
  17. (/usr/local). Software to ease the keeping track of software built from
  18. source, making it easy to install, delete, move etc.
  19. %prep
  20. %setup -q
  21. %build
  22. %configure
  23. %install
  24. rm -rf $RPM_BUILD_ROOT
  25. make DESTDIR=$RPM_BUILD_ROOT install
  26. # Remove info database, will be generated at install-time by scriptlets
  27. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  28. %post
  29. /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
  30. %preun
  31. if [ $1 -eq 0 ]; then
  32. /sbin/install-info --delete %{_infodir}/%{name}.info \
  33. %{_infodir}/dir 2>/dev/null || :
  34. fi
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %files
  38. %defattr(-,root,root)
  39. %doc COPYING README AUTHORS INSTALL ChangeLog NEWS THANKS TODO
  40. %doc %{_mandir}/man8/stow*
  41. %doc %{_infodir}/stow*
  42. %{_bindir}/*
  43. %changelog
  44. * Sat Jan 30 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.3-9
  45. - initial build for Vine Linux
  46. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-8
  47. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  48. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-7
  49. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  50. * Sun Aug 26 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.3.3-6
  51. - fix license tag
  52. * Thu Aug 31 2006 Aurelien Bompard <abompard@fedoraproject.org> 1.3.3-5
  53. - rebuild
  54. * Tue Jun 20 2006 Aurelien Bompard <gauret[AT]free.fr> 1.3.3-4
  55. - remove the _infodir/dir file in %%install
  56. * Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 1.3.3-3
  57. - rebuild for FC5
  58. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  59. - rebuilt
  60. * Sat May 15 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.3.3-0.fdr.1
  61. - initial RPM