alien-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Summary: Install Debian, Slackware, and Stampede packages with rpm.
  2. Summary(ja): Debian, Slackware, Stampede パッケージ等を rpm でインストールするためのツール
  3. Name: alien
  4. Version: 8.74
  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. * Sat Apr 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.74-1
  45. - applied new versioning policy, spec in UTF-8
  46. - updated to 8.74
  47. - changed Group to Applications/Other
  48. * Wed Jul 30 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  49. - source update
  50. * Tue Jul 10 2001 Trond Eivind Glomsrød <teg@redhat.com>
  51. - Remove "Packager" field
  52. - Add perl as an build requirement
  53. * Fri Jun 22 2001 Jeff Johnson <jbj@redhat.com>
  54. - Package for Red Hat 7.x.