alien-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Summary: Install Debian, Slackware, and Stampede packages with rpm.
  2. Summary(ja): Debian, Slackware, Stampede パッケージ等を rpm でインストールするためのツール
  3. Name: alien
  4. Version: 8.93
  5. Release: 1%{?_dist_release}
  6. Source: http://ftp.de.debian.org/debian/pool/main/a/alien/%{name}_%{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 -name '*.packlist' -exec rm -f {} \;
  30. find $RPM_BUILD_ROOT%{_prefix}/lib -type f -print |
  31. sed "s@^$RPM_BUILD_ROOT@@g" > perl-Alien
  32. %clean
  33. rm -rf ${RPM_BUILD_ROOT}
  34. %files -f perl-Alien
  35. %defattr(-,root,root)
  36. %doc debian/changelog GPL README alien.lsm
  37. %dir %{perl_vendorlib}/Alien
  38. %dir %{_localstatedir}/lib/alien
  39. %{_bindir}/alien
  40. %{_datadir}/alien
  41. %{_mandir}/man*/*
  42. %changelog
  43. * Sun Feb 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 8.93-1
  44. - new upstream release
  45. * Tue Jul 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 8.87-1
  46. - new upstream release
  47. * Mon May 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.81-1
  48. - updated to 8.81
  49. * Sat Apr 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.74-1
  50. - applied new versioning policy, spec in UTF-8
  51. - updated to 8.74
  52. - changed Group to Applications/Other
  53. * Wed Jul 30 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  54. - source update
  55. * Tue Jul 10 2001 Trond Eivind Glomsrød <teg@redhat.com>
  56. - Remove "Packager" field
  57. - Add perl as an build requirement
  58. * Fri Jun 22 2001 Jeff Johnson <jbj@redhat.com>
  59. - Package for Red Hat 7.x.