alien/alien.spec

128 lines
4.3 KiB
RPMSpec

Name: alien
Version: 8.95.7
Release: 1mamba
Summary: A program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats
Group: System/Management
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://joeyh.name/code/alien/
Source: http://http.debian.net/debian/pool/main/a/alien/alien_%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl >= 2:5.36.0
Requires: dpkg
Requires: debhelper
%description
Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.
%prep
%setup -q -n alien
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl \
DESTDIR= \
PREFIX=%{buildroot}%{_prefix} \
VARPREFIX=%{buildroot}/var
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f .packlist
%defattr(-,root,root)
%changelog
* Sun Jun 23 2024 Automatic Build System <autodist@openmamba.org> 8.95.7-1mamba
- automatic version update by autodist
* Sat Apr 15 2023 Sdk Build System <sdk@mambasoft.it> 8.95.6-2mamba
- rebuilt with perl 5.36.0
* Thu May 26 2022 Automatic Build System <autodist@mambasoft.it> 8.95.6-1mamba
- automatic version update by autodist
* Sun Aug 22 2021 Automatic Build System <autodist@mambasoft.it> 8.95.5-1mamba
- automatic version update by autodist
* Thu Apr 08 2021 Automatic Build System <autodist@mambasoft.it> 8.95.4-1mamba
- automatic version update by autodist
* Sat Feb 13 2021 Automatic Build System <autodist@mambasoft.it> 8.95.3-1mamba
- automatic version update by autodist
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 8.95.2-1mamba
- automatic version update by autodist
* Tue Apr 21 2020 Automatic Build System <autodist@mambasoft.it> 8.95.1-1mamba
- automatic update by autodist
* Fri Mar 18 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 8.95-1mamba
- update to 8.95
- require dpkg and debhelper
* Tue Nov 18 2014 Automatic Build System <autodist@mambasoft.it> 8.93-1mamba
- automatic update by autodist
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 8.92-1mamba
- automatic update by autodist
* Thu Jul 10 2014 Automatic Build System <autodist@mambasoft.it> 8.91-1mamba
- automatic update by autodist
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 8.90-1mamba
- automatic update by autodist
* Wed Aug 28 2013 Automatic Build System <autodist@mambasoft.it> 8.89-1mamba
- automatic update by autodist
* Fri Aug 10 2012 Automatic Build System <autodist@mambasoft.it> 8.88-1mamba
- automatic version update by autodist
* Tue Apr 24 2012 Automatic Build System <autodist@mambasoft.it> 8.87-1mamba
- automatic version update by autodist
* Wed Apr 20 2011 Automatic Build System <autodist@mambasoft.it> 8.84-1mamba
- automatic update by autodist
* Thu Sep 16 2010 Automatic Build System <autodist@mambasoft.it> 8.83-1mamba
- automatic update by autodist
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 8.81-1mamba
- automatic update by autodist
* Mon Apr 26 2010 Automatic Build System <autodist@mambasoft.it> 8.80-1mamba
- automatic update by autodist
* Mon Jan 18 2010 Automatic Build System <autodist@mambasoft.it> 8.79-1mamba
- automatic update by autodist
* Sun Jul 12 2009 Automatic Build System <autodist@mambasoft.it> 8.78-1mamba
- automatic update by autodist
* Mon Jun 15 2009 Automatic Build System <autodist@mambasoft.it> 8.76-1mamba
- automatic update by autodist
* Mon Jun 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 8.75-1mamba
- package created by autospec