Package alien: Specfile

Name: alien
Version: 8.83
Release: alt2

Summary: Install Debian and Slackware Packages with RPM

Group: Archiving/Other
License: GPL
Url: http://kitenet.net/programs/alien/

Packager: Vitaly Lipatov <lav@altlinux.ru>

BuildArch: noarch

#Source: http://kitenet.net/programs/alien/%{name}_%version.tar.bz2
Source: http://ftp.debian.org/debian/pool/main/a/alien/%{name}_%version.tar.bz2
Patch: %name-Makefile.PL.patch

# Automatically added by buildreq on Mon Feb 13 2006
BuildRequires: perl-devel perl-podlators

%description
Alien allows you to convert Debian, Slackware and Stampede Packages
into RPM packages. It can also convert RPM packages into Slackware,
Debian and Stampede packages.

This is a tool only suitable for binary packages.

%prep
%setup -n %name
%patch -p2

%build
perl Makefile.PL INSTALLDIRS=vendor
%perl_vendor_build INSTALLMAN1DIR=%_man1dir INSTALLMAN3DIR=%_man3dir

%install

%make_install pure_install \
	DESTDIR=%buildroot \
	PREFIX=%prefix \
	VARPREFIX=%buildroot \
	INSTALLMAN1DIR=%_man1dir \
	INSTALLMAN3DIR=%_man3dir
rm -rf %buildroot%_datadir/%name/

%files
%_bindir/%name
%perl_vendor_privlib/Alien/
%_man1dir/*
%_man3dir/*

%changelog
* Sun Dec 19 2010 Vitaly Lipatov <lav@altlinux.ru> 8.83-alt2
- cleanup spec, fix build (thanks, real@)

* Sat Oct 02 2010 Vitaly Lipatov <lav@altlinux.ru> 8.83-alt1
- new version 8.83 (with rpmrb script)

* Fri Jan 22 2010 Vitaly Lipatov <lav@altlinux.ru> 8.79-alt1
- new version 8.79 (with rpmrb script)

* Thu Mar 05 2009 Vitaly Lipatov <lav@altlinux.ru> 8.74-alt1
- new version 8.74 (with rpmrb script)

* Fri Feb 13 2009 Vitaly Lipatov <lav@altlinux.ru> 8.73-alt1
- new version 8.73 (with rpmrb script)

* Mon Jul 21 2008 Vitaly Lipatov <lav@altlinux.ru> 8.72-alt1
- new version 8.72 (with rpmrb script)

* Tue Jan 01 2008 Vitaly Lipatov <lav@altlinux.ru> 8.69-alt1
- new version 8.69 (with rpmrb script)

* Sun Jun 18 2006 Vitaly Lipatov <lav@altlinux.ru> 8.64-alt0.1
- new version 8.64 (with rpmrb script)
- change Source URL

* Fri Feb 17 2006 Vitaly Lipatov <lav@altlinux.ru> 8.63-alt1
- new version (8.63)
- remove my patch (the same in mainstream now)

* Fri Feb 17 2006 Vitaly Lipatov <lav@altlinux.ru> 8.62-alt1
- remove empty dir from package
- fix bug with dir permission unpacked with cpio -d (see bug #9106 also)

* Mon Feb 13 2006 Vitaly Lipatov <lav@altlinux.ru> 8.62-alt0.1
- new version

* Tue Dec 27 2005 Vitaly Lipatov <lav@altlinux.ru> 8.60-alt0.1
- new version
- cleanup spec

* Mon Oct 07 2002 Stanislav Ievlev <inger@altlinux.ru> 8.20-alt1
- 8.20

* Thu Aug 02 2001 Dmitry V. Levin <ldv@altlinux.ru> 7.27-alt1
- 7.27

* Mon Jun 25 2001 Sergie Pugachev <fd_rag@altlinux.ru> 7.24-alt2
- Rebuild with perl-5.6.1

* Wed Jun 20 2001 Sergie Pugachev <fd_rag@altlinux.ru> 7.24-alt1
- 7.24

* Wed Jan 17 2001 Dmitry V. Levin <ldv@fandra.org> 7.15-ipl1mdk
- 7.15

* Tue Jan 09 2001 Dmitry V. Levin <ldv@fandra.org> 7.13-ipl2mdk
- RE adaptions.

* Thu Jan 04 2001 David BAUDENS <baudens@mandrakesoft.com> 7.13-2mdk
- Requires: perl-devel
- Use %%make macro
- Fix description
- Fix make install
- Fix %%files section
- Spec clean up

* Thu Jan 04 2001 Lenny Cartier <lenny@mandrakesoft.com> 7.13-1mdk
- updated to 7.13

* Mon Dec 11 2000 Lenny Cartier <lenny@mandrakesoft.com> 7.12-1mdk
- updated to 7.12

* Thu Nov 23 2000 Daouda Lo <daouda@mandrakesoft.com> 7.10-1mdk
- release

* Fri Nov 17 2000 Lenny Cartier <lenny@mandrakesoft.com> 7.9-1mdk
- updated to 7.9

* Tue Sep 26 2000 Lenny Cartier <lenny@mandrakesoft.com> 7.8-1mdk
- updated to 0.7.8

* Thu Jul 27 2000 Lenny Cartier <lenny@mandrakesoft.com> 7.5-2mdk
- BM
- macros

* Mon Jun 26 2000 Laurent Grawet <laurent.grawet@ibelgique.com> 7.5-1mdk
- version 7.5
- added /usr/lib/perl5/site_perl/5.005/Alien/* in %files section
- added %clean section

* Fri May 05 2000 Geoffrey Lee <snailtalk@linux-mandrake.com> 7.0-1mdk
- version 7.0
- various spec improvements
- some spec file fixes after it was broken when upgrading to 7.0

* Thu Apr 20 2000 Lenny Cartier <lenny@mandrakesoft.com> 6.59-1mdk
- v6.59
- fix location of manpage
- fix group
- fix file section

* Mon Dec 06 1999 Lenny Cartier <lenny@mandrakesoft.com>
- dummy as I am I forgot the .bz2 archive, fixed.

* Fri Dec 03 1999 lenny Cartier <lenny@mandrakesoft.com>
- new in contribs
- fix filelist