File alien.spec of Package alien

# spec file for package alien
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           alien
Version:        8.88
Release:        0
Summary:        A Perl Script to Convert Packages
License:        GPL-2.0+
Group:          System/Packages
Source:         %{name}_%{version}.tar.gz
Patch1:         alien-strip-tilde-from-version.patch
%if 0%{?suse_version} < 1120
BuildRequires:  perl-macros
%if %suse_version > 1220
BuildRequires:  debhelper
Requires:       debhelper
BuildRequires:  deb
Requires:       deb
Requires:       cpio
Requires:       make
Requires:       perl = %{perl_version}
Requires:       rpm
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Experimental Perl script to convert software packages. The following
formats are supported: deb (Debian), rpm (Red Hat), and tgz

%setup -q -n %{name}
%patch1 -p1

perl Makefile.PL

make PREFIX=%{buildroot}%{_prefix} VARPREFIX=%{buildroot} extra_install

rm -rf %{buildroot}

%files -f %{name}.files
%doc GPL README TODO gendiff.txt debian/changelog

openSUSE Build Service is sponsored by