1 |
Summary: Install Debian and Slackware Packages with RPM |
2 |
Name: alien |
3 |
Version: 8.84 |
4 |
Release: %mkrel 2 |
5 |
URL: http://sourceforge.net/projects/alien/ |
6 |
Source: http://ftp.debian.org/debian/pool/main/a/alien/alien_%version.tar.gz |
7 |
Patch0: alien_8.74-do-not-own-sys-directories.diff |
8 |
License: GPLv2+ |
9 |
Group: Archiving/Other |
10 |
Requires: dpkg >= 1.13.26, rpm-build |
11 |
BuildRequires: perl-devel |
12 |
BuildArch: noarch |
13 |
|
14 |
%description |
15 |
Alien is a program that converts between the rpm (%{_vendor}, Mandriva, Redhat), |
16 |
dpkg (Debian), slp (Stampede), and tgz (Slackware) file formats. |
17 |
If you want to use a package from another distribution than the one |
18 |
you have installed on your system, you can use alien to convert |
19 |
it to your preferred package format and install it. |
20 |
|
21 |
%prep |
22 |
%setup -q -n %name |
23 |
%patch0 -p0 |
24 |
|
25 |
%build |
26 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
27 |
perl -pi -e 's/: :\s*extra_/:: extra_/' Makefile |
28 |
|
29 |
%make |
30 |
|
31 |
%install |
32 |
rm -rf $RPM_BUILD_ROOT |
33 |
%makeinstall_std VARPREFIX=%buildroot PREFIX=%buildroot%_prefix |
34 |
|
35 |
%clean |
36 |
rm -rf $RPM_BUILD_ROOT |
37 |
|
38 |
%files |
39 |
%defattr(-,root,root) |
40 |
%_bindir/* |
41 |
%dir %_datadir/alien |
42 |
%_mandir/*/* |
43 |
%{_datadir}/alien/patches |
44 |
%{perl_vendorlib}/Alien |
45 |
/var/lib/alien |
46 |
|
47 |
|
48 |
|