File alien.spec of Package alien
#
# spec file for package alien (Version 8.68)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: alien
BuildRequires: deb
Version: 8.68
Release: 1
Requires: perl = %{perl_version}
Requires: deb rpm make cpio
Autoreqprov: on
Group: System/Packages
License: GPL v2 or later
URL: http://kitenet.net/programs/alien/
Summary: A Perl Script to Convert Packages
Source: %{name}_%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Experimental Perl script to convert software packages. The following
formats are supported: deb (Debian), rpm (Red Hat), and tgz
(Slackware).
Authors:
--------
Joey Hess <joey@kite.ml.org>
Christoph Lameter <clameter@debian.org>
Randoph Chung <rc42@cornell.edu>
%prep
%setup -q -n %{name}
%build
dh_testdir
perl Makefile.PL
make
%install
%perl_make_install
make PREFIX=$RPM_BUILD_ROOT%{_prefix} VARPREFIX=$RPM_BUILD_ROOT extra_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc GPL README TODO gendiff.txt debian/changelog
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/Alien
%{perl_vendorlib}/Alien
%{_bindir}/alien
%{_datadir}/alien
/var/adm/perl-modules/alien
/var/lib/alien
%changelog
* Thu Jul 26 2007 - prusnak@suse.cz
- update to 8.68
* (8.66) use date -R as 822-date will soon be deprecated
* (8.67) correct a bug that caused alien to ignore failing commands
* (8.68) show output of installation of package with -i, since
some packages install scripts may have important output or even
be interactive
* Wed Jan 03 2007 - prusnak@suse.cz
- update to 8.65
* Fix alien's own spec file, s/Copyright/License/.
* Add support for rpm scripts that use RPM_INSTALL_PREFIX, by
setting RPM_INSTALL_PREFIX as part of the converted script.
Closes: #400863
* When converting LSB packages, do not increment the release number.
* Use rpmbuild to build lsb packages, not rpm, if lsb-rpm is not
available.
* Thu Jul 27 2006 - mjancar@suse.cz
- update to 8.64
* Minor improvement to usage message
* Correct code to properly use RPMBUILDOPT (not RPMBUILDOPTS)
* Look at and chmod the right directories.
* Fix a bug in conffile script extraction from tgz files (caused by
return from runpipe not defaulting to a scalar).
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 12 2006 - mjancar@suse.cz
- update to 8.61
* Mon Aug 01 2005 - mjancar@suse.cz
- update to 8.56
* Tue Dec 21 2004 - mcihar@suse.cz
- update to 8.50
* Tue Aug 03 2004 - mcihar@suse.cz
- update to 8.46
* Mon May 31 2004 - mcihar@suse.cz
- update to 8.44
* Mon Jan 26 2004 - mcihar@suse.cz
- updated to 8.43
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Wed Aug 20 2003 - mjancar@suse.cz
- require the perl version we build with
* Thu Aug 07 2003 - mcihar@suse.cz
- updated to 8.34:
* Fixed changelog parsing regexp.
* Updated j2sdk patch.
* Mon Jul 28 2003 - ro@suse.de
- install perl stuff to vendor location
* Tue May 27 2003 - mcihar@suse.cz
- updated to 8.30, changes:
* Added -v to enable verbose mode, which lists each shell command
as it is run. Also added --veryverbose for verbose with command
output too.
* Use -V for version. (-v used to be documented, but never worked)
* alien.spec: pass PREFIX to Makefile.PL so it works on systems
(such as red hat 8) where the generated Makefile does not use
$PREFIX in all paths.
* Support rpms that contain no files. Closes: #184714
* Corrected precidence problem that made alien not catch mkdir of the work
directory failing if the directory already existed (and let it delete the
existing directory). Closes: #181061
* Fixed several other instances of the same precidence problem in the code.
* Use rpmbuild -bb instead of rpm -bb, as it seems that rpm -bb has stopped
working in recent versions of rpm, as shipped by red hat (Debian's rpm,
confusingly, continues to support rpm -bb, possibly because of how I hack
its popt stuff up for debian.) This may fail with older, pre-rpmbuild
rpm's; if so you should upgrade to a more current version I guess.
* Updated js2k patch from Gerald Turner.
* Wed Nov 13 2002 - mcihar@suse.cz
- updated to 8.20, major changes:
* Pach from Erwan MAS <erwan@mas.nom.fr> that allows specification of the
version of a tgz file, for files that don't have a parseable version
number.
* Added support inspired by aj for converted rpm packages that create
users/groups in their preinst, and which alien therefore cannot ship the
files with proper ownerships in the .deb. In this case alien will now
insert appropriate chown commands into the postinst script of the
converted package.
* perl 5.8 fixes.
* Wed Aug 28 2002 - mcihar@suse.cz
- corrected requires, now requires deb because most users will want
to use this for deb<=>rpm conversion
* Tue Aug 06 2002 - mcihar@suse.cz
- fixed filelist and build script to work with perl thread-multi
* Tue Jul 30 2002 - ro@suse.de
- update to 8.16 (fixes rpm unpacking with owners/perms)
- fix build with perl-5.8.0
* Fri Jun 07 2002 - mcihar@suse.cz
- updated to version 8.10:
* Build alien with debhelper v4.
* Deal with packages with strange characters in their filenames.
* Support rpms with a description consisting of just blank lines.
* Made more robust in the face of empty rpms.
* The "vmware and dpkg on drugs" release.
* LSB package support. It can generate LSB packages
* Support ancient (bo-era) debs with upper-case field names.
* Tue Jan 15 2002 - cihlar@suse.cz
- updated to version 7.31:
* Use --target noarch instead of --target=noarch when
building rpms
* Trap stderr of rpm and debian/rules building packages
and only display if the build fails
* Fri Nov 23 2001 - cihlar@suse.cz
- updated to version 7.30:
* supports converting to and from Solaris "pkg" packages
* moves files for better FHS compliance
* several minor fixes
* Thu Jul 26 2001 - cihlar@suse.cz
- removed .Rpm.pm.swp
* Tue Jul 24 2001 - cihlar@suse.cz
- updated to version 7.27
* Mon Apr 09 2001 - cihlar@suse.cz
- updated to version 7.21
* Mon Mar 05 2001 - cihlar@suse.cz
- updated to version 7.20
* Wed Nov 22 2000 - cihlar@suse.cz
- update to version 7.10
- bzipped sources
* Tue Aug 22 2000 - ro@suse.de
- fixed perl path
* Thu Jul 13 2000 - cihlar@suse.cz
- fixed creating of rpm package
* Wed May 24 2000 - cihlar@suse.cz
- upgrade to version 7.4
* Mon May 15 2000 - cihlar@suse.cz
- Group sorted
* Tue May 02 2000 - cihlar@suse.cz
- fixed obtaining of $control in Fromdeb.pm
* Mon Apr 03 2000 - cihlar@suse.cz
- upgrade to version 6.59
- added BuildRoot
* Fri Jan 14 2000 - ro@suse.de
- update to 6.54
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Mon Jun 28 1999 - uli@suse.de
- update 6.18 -> 6.41
- removed patch
* Thu Oct 08 1998 - ro@suse.de
- update to version 6.18
- removed change from 6.15 to 6.16 since we don't have dir RPMS/noarch (yet)
* Tue Nov 25 1997 - ro@suse.de
- update to version 5.19
* Sun Sep 14 1997 - ke@suse.de
* Update: version 5.17. Should handle doinst.sh etc. scripts.
* Wed Jun 25 1997 - Karl Eichwalder <ke@suse.de>
* repack to fix perms.
* Tue Jun 24 1997 - Karl Eichwalder <ke@suse.de>
* initial package: version 5.9