File: alien.spec

package info (click to toggle)
alien 8.05
  • links: PTS
  • area: main
  • in suites: woody
  • size: 580 kB
  • ctags: 104
  • sloc: perl: 1,456; makefile: 43
file content (40 lines) | stat: -rw-r--r-- 1,136 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Summary: Install Debian, Slackware, and Stampede packages with rpm.
Name: alien
Packager: Joey Hess <joey@kitenet.net>
Version: 8.05
Release: 1
Source: ftp://kitenet.net/pub/code/debian/alien_8.05.tar.gz
Copyright: GPL
Group: Utilities/File
Buildroot: /tmp/alien-8.05.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 convert into Slackware, Debian and Stampede packages.

This is a tool only suitable for binary packages.

%prep
%setup -n alien
rm -rf /tmp/alien-8.05.build

%install
perl Makefile.PL
make
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
rm -rf $RPM_BUILD_ROOT/killme
find $RPM_BUILD_ROOT -not -type d -printf "/%%P\n" | \
	sed '/\/man\//s/$/\*/' > manifest

%files -f manifest
%defattr(-,root,root)
%doc debian/changelog COPYING README alien.lsm