!1 Init package with version 8.95
From: @desert-sailor Reviewed-by: @wang-ke-yan Signed-off-by: @wang-ke-yan
This commit is contained in:
commit
5d8b9f1363
53
alien.spec
Normal file
53
alien.spec
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
Summary: Converter between the rpm, dpkg, stampede slp, and Slackware tgz file formats
|
||||||
|
Name: alien
|
||||||
|
Version: 8.95
|
||||||
|
Release: 1
|
||||||
|
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
URL: https://sourceforge.net/projects/alien-pkg-convert/
|
||||||
|
Source: http://downloads.sourceforge.net/alien-pkg-convert/%{name}_%{version}.tar.xz
|
||||||
|
|
||||||
|
Requires: dpkg, debhelper, rpm-build
|
||||||
|
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor VARPREFIX=%{buildroot}
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=%{buildroot} \
|
||||||
|
VARPREFIX=%{buildroot} \
|
||||||
|
PREFIX=%{buildroot}%{_prefix}
|
||||||
|
|
||||||
|
%{__rm} -rf %{buildroot}%{perl_vendorarch}/auto/Alien
|
||||||
|
|
||||||
|
chmod 755 %{buildroot}%{_bindir}/alien
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license GPL
|
||||||
|
%doc README debian/changelog
|
||||||
|
%{_bindir}/*
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man?/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jan 24 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 8.95-1
|
||||||
|
- Initial package
|
||||||
BIN
alien_8.95.tar.xz
Normal file
BIN
alien_8.95.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user