8
0
Files
perl-AppConfig/perl-AppConfig.spec

72 lines
2.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-AppConfig (Version 1.66)
#
# Copyright (c) 2010 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-AppConfig
Version: 1.66
Release: 80
Requires: perl = %{perl_version} perl-File-HomeDir
BuildRequires: perl-File-HomeDir
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic
Url: http://cpan.org/modules/by-module/AppConfig/
Summary: Perl module for reading configuration files and parsing command line arguments
Source: AppConfig-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
AppConfig is a Perl module for managing application configuration
information. It maintains the state of any number of variables and
provides methods for parsing configuration files and command line
arguments.
Authors:
--------
Andy Wardley <abw@cre.canon.co.uk
%prep
%setup -q -n AppConfig-%{version}
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make %{?_smp_mflags}
%check
make test
# ---------------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%files
%defattr(-,root,root,-)
%doc Changes MANIFEST README TODO
%doc %{_mandir}/man?/*
%{perl_vendorlib}/AppConfig*
%{perl_vendorarch}/auto/AppConfig
/var/adm/perl-modules/perl-AppConfig
%changelog