]> git.pld-linux.org Git - packages/alien.git/blob - alien.spec
- updated to 8.95.6
[packages/alien.git] / alien.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Pakages converter (tgz, rpm, deb, slp)
3 Summary(pl.UTF-8):      Konwerter pakietów (tgz, rpm, deb, slp)
4 Name:           alien
5 Version:        8.95
6 Release:        1
7 License:        GPL v2+
8 Group:          Applications/System
9 Source0:        ftp://ftp.debian.org/debian/pool/main/a/alien/%{name}_%{version}.tar.xz
10 # Source0-md5:  4b7fcb47616593578c87102f74c20d63
11 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
12 # Source1-md5:  44f9b3381776077447bbdb8c64d3f215
13 URL:            http://kitenet.net/~joey/code/alien/
14 BuildRequires:  perl-devel >= 1:5.8.0
15 BuildRequires:  rpm-perlprov >= 3.0.3-16
16 Requires:       /usr/bin/rpm2cpio
17 Requires:       binutils
18 Requires:       cpio
19 Requires:       tar
20 Suggests:       dpkg
21 Suggests:       debhelper
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Alien allows you to convert Debian, Stampede and Slackware Packages
27 into PLD packages, which can be installed with rpm. It can also
28 convert into Slackware, Debian, and Stampede packages. This is a tool
29 only suitable for binary packages.
30
31 %description -l pl.UTF-8
32 Alien pozwala przekonwertować pakiety Debiana, Stampede oraz Slackware
33 w pakiety używane w PLD, które mogą być zainstalowane przy użyciu
34 rpm-a i odwrotnie. Narzędzie to jest przydatne wyłącznie dla pakietów
35 binarnych.
36
37 %prep
38 %setup -q
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} pure_install \
49         DESTDIR=$RPM_BUILD_ROOT \
50         PREFIX=%{_prefix}
51
52 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
53 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.alien-non-english-man-pages
54 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Alien/.packlist
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc debian/changelog README TODO
62 %attr(755,root,root) %{_bindir}/alien
63 %{perl_vendorlib}/Alien
64 %{_mandir}/man1/alien.1*
65 %{_mandir}/man3/Alien::Package*.3pm*
66 %lang(fr) %{_mandir}/fr/man1/alien.1*
67 %lang(pl) %{_mandir}/pl/man1/alien.1*
This page took 0.057441 seconds and 3 git commands to generate.