From 92933477e6c5b0f6b2cd13cc3a510808528787e7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Aug 26 2013 05:06:39 +0000 Subject: need to check in these files to use dgit These files appear in the tarball, so dgit requires they be in git. hmm. --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 77dc8b9..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -alien.lsm -alien.spec diff --git a/alien.lsm b/alien.lsm new file mode 100644 index 0000000..85f69be --- /dev/null +++ b/alien.lsm @@ -0,0 +1,14 @@ +Begin3 +Title: alien +Version: 8.89 +Entered-date: 31MAR97 +Description: Alien converts Slackware .tgz packages, Red Hat .rpm packages, + Debian .deb packages, and Stampede .slp packages. It can + convert from any of the formats to any other format. It works + only on binary packages. It also support LSB packages. +Keywords: debian dpkg deb red hat redhat rpm slackware tgz stampede slp convert package LSB +Author: joey@kitenet.net +Primary-site: sunsite.unc.edu /pub/Linux/utils/package + 80 alien-8.89.tar.gz +Copying-policy: GPL +End diff --git a/alien.spec b/alien.spec new file mode 100644 index 0000000..e94bbe9 --- /dev/null +++ b/alien.spec @@ -0,0 +1,34 @@ +Summary: Install Debian, Slackware, and Stampede packages with rpm. +Name: alien +Packager: Joey Hess +Version: 8.89 +Release: 1 +Source: ftp://kitenet.net/pub/code/debian/alien_8.89.tar.gz +License: GPL +Group: Utilities/File +Buildroot: /tmp/alien-8.89.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-8.89.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