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