alien-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Summary: Install Debian, Slackware, and Stampede packages with rpm.
  2. Summary(ja): Debian, Slackware, Stampede パッケージ等を rpm でインストールするためのツール
  3. Name: alien
  4. Version: 8.87
  5. Release: 1%{?_dist_release}
  6. Source: ftp://kitenet.net/pub/code/debian/alien_%{version}.tar.gz
  7. URL: http://kitenet.net/~joey/code/alien/
  8. License: GPLv2
  9. Group: Applications/Other
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. BuildRequires: perl
  13. Requires: perl
  14. %description
  15. Alien allows you to convert Debian, Slackware, and Stampede Packages into Red
  16. Hat packages, which can be installed with rpm.
  17. It can also convert into Slackware, Debian and Stampede packages.
  18. This is a tool only suitable for binary packages.
  19. %prep
  20. %setup -q -n alien
  21. %build
  22. perl Makefile.PL INSTALLDIRS="vendor"
  23. make
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. make pure_install DESTDIR=$RPM_BUILD_ROOT \
  27. PREFIX=$RPM_BUILD_ROOT%{_prefix} \
  28. VARPREFIX=$RPM_BUILD_ROOT
  29. find $RPM_BUILD_ROOT%{_libdir} -type f -print |
  30. sed "s@^$RPM_BUILD_ROOT@@g" |
  31. grep -v perllocal.pod |
  32. grep -v "\.packlist" > perl-Alien
  33. %clean
  34. rm -rf ${RPM_BUILD_ROOT}
  35. %files -f perl-Alien
  36. %defattr(-,root,root)
  37. %doc debian/changelog GPL README alien.lsm
  38. %dir %{perl_vendorlib}/Alien
  39. %dir %{_localstatedir}/lib/alien
  40. %{_bindir}/alien
  41. %{_datadir}/alien
  42. %{_mandir}/man*/*
  43. %changelog
  44. * Sun Jul 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 8.87-1
  45. - new upstream release
  46. * Mon May 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.81-1
  47. - updated to 8.81
  48. * Sat Apr 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.74-1
  49. - applied new versioning policy, spec in UTF-8
  50. - updated to 8.74
  51. - changed Group to Applications/Other
  52. * Wed Jul 30 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  53. - source update
  54. * Tue Jul 10 2001 Trond Eivind Glomsrød <teg@redhat.com>
  55. - Remove "Packager" field
  56. - Add perl as an build requirement
  57. * Fri Jun 22 2001 Jeff Johnson <jbj@redhat.com>
  58. - Package for Red Hat 7.x.