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,13 +1,14 @@
Begin3 Begin3
Title: alien Title: alien
Version: 4.00 Version: 6.48
Entered-date: 31MAR97 Entered-date: 31MAR97
Description: Alien converts Slackware .tgz packages, Red Hat .rpm packages Description: Alien converts Slackware .tgz packages, Red Hat .rpm packages,
and Debian .deb packages. It can convert these formats to Debian .deb packages, and Stampede .slp packages. It can
either .deb or .rpm. It works only on binary packages. convert from any of the formats to any other format. It works
Keywords: dpkg rpm tgz convert only on binary packages.
Author: joey@kite.ml.org Keywords: debian dpkg deb red hat redhat rpm slackware tgz stampede slp convert package
Primary-site: sunsite.unc.edu /pub/Linux/utils/scripts Author: joey@kitenet.net
32 alien-4.00.tar.gz Primary-site: sunsite.unc.edu /pub/Linux/utils/package
32 alien-6.48.tar.gz
Copying-policy: GPL Copying-policy: GPL
End End

View File

@@ -1,26 +1,30 @@
Summary: Install Debian and Slackware Packages with dpkg. Summary: Install Debian and Slackware Packages with rpm.
Name: alien Name: alien
Packager: Joey Hess <joey@kite.ml.org> Packager: Joey Hess <joey@kitenet.net>
Version: 4.00 Version: 6.48
Release: 1 Release: 1
Source: ftp://kite.ml.org/pub/code/debian/alien_4.00.tar.gz Source: ftp://kitenet.net/pub/code/debian/alien_6.48.tar.gz
Copyright: GPL Copyright: GPL
Group: Utilities/File Group: Utilities/File
Buildroot: /tmp/alien-4.00.build Buildroot: /tmp/alien-6.48.build
Requires: perl
%description %description
Alien allows you to convert Debian and Slackware Packages into Red Hat Alien allows you to convert Debian, Slackware, and Stampede Packages into Red
packages, which can be installed with rpm. 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. This is a tool only suitable for binary packages.
%prep %prep
%setup %setup -n alien
rm -r /tmp/alien-6.48.build || true
%install %install
make DESTDIR=$RPM_BUILD_ROOT 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 %files -f manifest
%doc CHANGES COPYING README alien.lsm

View File

@@ -1,26 +1,30 @@
Summary: Install Debian and Slackware Packages with dpkg. Summary: Install Debian and Slackware Packages with rpm.
Name: alien Name: alien
Packager: Joey Hess <joey@kite.ml.org> Packager: Joey Hess <joey@kitenet.net>
Version: @version@ Version: @version@
Release: 1 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 Copyright: GPL
Group: Utilities/File Group: Utilities/File
Buildroot: /tmp/alien-@version@.build Buildroot: /tmp/alien-@version@.build
Requires: perl
%description %description
Alien allows you to convert Debian and Slackware Packages into Red Hat Alien allows you to convert Debian, Slackware, and Stampede Packages into Red
packages, which can be installed with rpm. 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. This is a tool only suitable for binary packages.
%prep %prep
%setup %setup -n alien
rm -r /tmp/alien-@version@.build || true
%install %install
make DESTDIR=$RPM_BUILD_ROOT 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 %files -f manifest
%doc CHANGES COPYING README alien.lsm