mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
35 lines
919 B
RPMSpec
35 lines
919 B
RPMSpec
Summary: Install Debian, Slackware, and Stampede packages with rpm.
|
|
Name: alien
|
|
Packager: Joey Hess <joey@kitenet.net>
|
|
Version: @version@
|
|
Release: 1
|
|
Source: ftp://kitenet.net/pub/code/debian/alien_@version@.tar.gz
|
|
Copyright: GPL
|
|
Group: Utilities/File
|
|
Buildroot: /tmp/alien-@version@.build
|
|
Requires: perl
|
|
BuildArchitectures: noarch
|
|
|
|
%description
|
|
Alien allows you to convert Debian, Slackware, and Stampede Packages into Red
|
|
Hat packages, which can be installed with rpm.
|
|
|
|
It can also generate Slackware, Debian and Stampede packages.
|
|
|
|
This is a tool only suitable for binary packages.
|
|
|
|
%prep
|
|
%setup -n alien
|
|
rm -rf /tmp/alien-@version@.build
|
|
|
|
%install
|
|
perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr
|
|
make
|
|
make pure_install VARPREFIX=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -not -type d -printf "/%%P\n" | \
|
|
sed '/\/man\//s/$/\*/' > manifest
|
|
|
|
%files -f manifest
|
|
%defattr(-,root,root)
|
|
%doc debian/changelog GPL README alien.lsm
|