2007-01-10 16:56:16 +00:00
|
|
|
#
|
2007-07-10 17:07:10 +00:00
|
|
|
# spec file for package perl-AppConfig (Version 1.66)
|
2007-01-10 16:56:16 +00:00
|
|
|
#
|
2010-01-11 17:11:00 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 16:56:16 +00:00
|
|
|
#
|
2009-06-18 14:58:07 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2007-01-10 16:56:16 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
2009-06-18 14:58:07 +00:00
|
|
|
|
2007-01-10 16:56:16 +00:00
|
|
|
Name: perl-AppConfig
|
2007-07-10 17:07:10 +00:00
|
|
|
Version: 1.66
|
2010-01-11 17:11:00 +00:00
|
|
|
Release: 80
|
2007-05-17 09:51:08 +00:00
|
|
|
Requires: perl = %{perl_version} perl-File-HomeDir
|
|
|
|
|
BuildRequires: perl-File-HomeDir
|
2009-06-18 14:58:07 +00:00
|
|
|
AutoReqProv: on
|
2007-01-10 16:56:16 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2010-01-11 17:11:00 +00:00
|
|
|
License: Artistic
|
2009-06-18 14:58:07 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/AppConfig/
|
2007-01-10 16:56:16 +00:00
|
|
|
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
|
2010-01-11 17:11:00 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-06-11 11:07:51 +00:00
|
|
|
|
|
|
|
|
%check
|
2007-05-17 09:51:08 +00:00
|
|
|
make test
|
2007-01-10 16:56:16 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
2007-05-17 09:51:08 +00:00
|
|
|
%changelog
|