Files
alien/alien.spec.in

41 lines
1.1 KiB
RPMSpec
Raw Normal View History

2000-04-23 03:20:12 +00:00
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
2000-04-23 03:20:12 +00:00
%description
Alien allows you to convert Debian, Slackware, and Stampede Packages into Red
Hat packages, which can be installed with rpm.
It can also convert into Slackware, Debian and Stampede packages.
This is a tool only suitable for binary packages.
%prep
%setup -n alien
rm -rf /tmp/alien-@version@.build
2000-04-23 03:20:12 +00:00
%install
perl Makefile.PL
make
2000-04-24 05:18:29 +00:00
make pure_install INSTALLDIRS=perl \
PREFIX=$RPM_BUILD_ROOT/`perl -e 'use Config;print $Config{prefix}'` \
INSTALLMAN1DIR=$RPM_BUILD_ROOT/usr/man/man1 \
INSTALLMAN3DIR=$RPM_BUILD_ROOT/usr/man/man3 \
INSTALLARCHLIB=$RPM_BUILD_ROOT/killme \
VARPREFIX=$RPM_BUILD_ROOT
2000-04-23 03:20:12 +00:00
rm -rf $RPM_BUILD_ROOT/killme
find $RPM_BUILD_ROOT -not -type d -printf "/%%P\n" | \
sed '/\/man\//s/$/\*/' > manifest
2000-04-23 03:20:12 +00:00
%files -f manifest
2001-01-10 20:33:02 +00:00
%defattr(-,root,root)
2000-04-23 03:20:12 +00:00
%doc debian/changelog COPYING README alien.lsm