summaryrefslogtreecommitdiffstats
path: root/perl-Alien-Packages.spec
blob: 3f888a99f4e0e059c894b8798932c0f00f414c13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Name:           perl-Alien-Packages
Version:        0.003
Release:        2%{?dist}
Summary:        Find information of installed packages
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Alien-Packages/
Source0:        http://www.cpan.org/authors/id/R/RE/REHSACK/Alien-Packages-%{version}.tar.gz
BuildArch:      noarch
# Build:
BuildRequires:  perl
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(strict)
BuildRequires:  perl(vars)
BuildRequires:  perl(warnings)
# Run-time:
BuildRequires:  perl(Carp)
BuildRequires:  perl(File::Spec)
BuildRequires:  perl(IPC::Cmd)
BuildRequires:  perl(Module::Pluggable) >= 4.5
# Tests:
BuildRequires:  perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Find information of packages installed in the OS, e.g. Debian dpkg, AIX lslpp,
Microsoft MSI, Sun pkginfo, NetBSD portable packages, FreeBSD ports, Red Hat
RPM.

%prep
%setup -q -n Alien-Packages-%{version}

%build
%{__perl} Build.PL installdirs=vendor
./Build

%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0

%{_fixperms} $RPM_BUILD_ROOT/*

%check
./Build test

%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Thu Aug 06 2015 Tim Orling <ticotimo@gmail.com> - 0.003-2
- Add better description and summary
- Cleanup spec file per review (#1242723)

* Thu Apr 02 2015 Tim Orling <ticotimo@gmail.com> - 0.003-1
- Specfile autogenerated by cpanspec 1.78.