Rpm build fixes.

This commit is contained in:
joey
1999-10-30 01:19:47 +00:00
parent 030cbf9161
commit 0259be747e
3 changed files with 35 additions and 26 deletions

View File

@@ -1,26 +1,30 @@
Summary: Install Debian and Slackware Packages with dpkg.
Summary: Install Debian and Slackware Packages with rpm.
Name: alien
Packager: Joey Hess <joey@kite.ml.org>
Packager: Joey Hess <joey@kitenet.net>
Version: @version@
Release: 1
Source: ftp://kite.ml.org/pub/code/debian/alien_@version@.tar.gz
Source: ftp://kitenet.net/pub/code/debian/alien_@version@.tar.gz
Copyright: GPL
Group: Utilities/File
Buildroot: /tmp/alien-@version@.build
Requires: perl
%description
Alien allows you to convert Debian and Slackware Packages into Red Hat
packages, which can be installed with rpm.
Alien allows you to convert Debian, Slackware, and Stampede Packages into Red
Hat packages, which can be installed with rpm.
It can also convert Red Hat and Slackware packages into Debian packages.
It can also convert into Slackware, Debian and Stampede packages.
This is a tool only suitable for binary packages.
%prep
%setup
%setup -n alien
rm -r /tmp/alien-@version@.build || true
%install
make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT -type f -printf "/%P\n" > manifest
chown -R root.root $RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -not -type d -printf "/%%P\n" > manifest
%files -f manifest
%doc CHANGES COPYING README alien.lsm