mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
put the spec back, and fixed it up
This commit is contained in:
@@ -18,6 +18,7 @@ VER=$(shell perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)
|
||||
|
||||
extra_build:
|
||||
perl -i -pe "s/\@version\@/$(VER)/g" <alien.lsm.in >alien.lsm
|
||||
perl -i -pe "s/\@version\@/$(VER)/g" <alien.spec.in >alien.spec
|
||||
|
||||
extra_install:
|
||||
install -d $(PREFIX)/usr/share/alien/patches \
|
||||
@@ -41,5 +42,5 @@ WriteMakefile(
|
||||
'depend' => {'all:' => 'extra_build',
|
||||
'install:' => 'extra_install',
|
||||
'pure_install:' => 'extra_install'},
|
||||
'clean' => {FILES => 'alien.lsm alien'},
|
||||
'clean' => {FILES => 'alien'},
|
||||
);
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
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
|
||||
|
||||
%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 -r /tmp/alien-@version@.build || true
|
||||
|
||||
%install
|
||||
perl Makefile.PL
|
||||
make
|
||||
make pure_install PREFIX=$RPM_BUILD_ROOT INSTALLDIRS=perl \
|
||||
INSTALLMAN1DIR=$RPM_BUILD_ROOT/usr/share/man/man1 \
|
||||
INSTALLMAN3DIR=$RPM_BUILD_ROOT/usr/share/man/man3 \
|
||||
INSTALLSCRIPT=$RPM_BUILD_ROOT/usr/bin \
|
||||
INSTALLARCHLIB=$RPM_BUILD_ROOT/killme
|
||||
rm -rf $RPM_BUILD_ROOT/killme
|
||||
find $RPM_BUILD_ROOT -not -type d -printf "/%%P\n" > manifest
|
||||
|
||||
%files -f manifest
|
||||
%doc debian/changelog COPYING README alien.lsm
|
||||
|
||||
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -3,6 +3,8 @@ alien (6.99.1) unstable; urgency=low
|
||||
* Major typo fix in Tgz.pm.
|
||||
* Fixed newlines in tgz filelist.
|
||||
* Fixed some undefined value warnings.
|
||||
* Put the rpm spec file back in. Converting the debs to rpms fails
|
||||
because rpm doesn't use the same perl include path. Bummer.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sat, 22 Apr 2000 16:12:44 -0700
|
||||
|
||||
|
||||
Reference in New Issue
Block a user