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
|
|
|
#
|
2009-06-18 14:58:07 +00:00
|
|
|
# Copyright (c) 2009 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
|
2009-06-18 14:58:07 +00:00
|
|
|
Release: 79
|
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
|
|
|
|
|
License: Artistic License
|
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
|
|
|
|
|
make
|
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
|
2009-06-18 14:58:07 +00:00
|
|
|
* Mon Jul 09 2007 anicka@suse.cz
|
2007-07-10 17:07:10 +00:00
|
|
|
- update to 1.66
|
|
|
|
|
* Removed File::HomeDir from the test scripts.
|
2009-06-18 14:58:07 +00:00
|
|
|
* Mon Jun 11 2007 anicka@suse.cz
|
2007-06-11 11:07:51 +00:00
|
|
|
- update to 1.65
|
|
|
|
|
* documentation added
|
|
|
|
|
- move testing to %%check
|
2009-06-18 14:58:07 +00:00
|
|
|
* Wed May 16 2007 pth@suse.de
|
2007-05-17 09:51:08 +00:00
|
|
|
- Add explicit dependencies on perl-File-HomeDir.
|
|
|
|
|
- Run tests.
|
2009-06-18 14:58:07 +00:00
|
|
|
* Tue Jan 09 2007 anicka@suse.cz
|
2007-01-10 16:56:16 +00:00
|
|
|
- update to 1.64
|
|
|
|
|
* Bug fix to prevent crashing for users with no home directory
|
|
|
|
|
* Increase File::HomeDir dep to 0.61 which supports no home
|
|
|
|
|
directory cases properly.
|
2009-06-18 14:58:07 +00:00
|
|
|
* Wed Sep 13 2006 anicka@suse.cz
|
2007-01-10 16:56:16 +00:00
|
|
|
- update to 1.63
|
|
|
|
|
* removed "use warnings" and "use base Exporter"
|
|
|
|
|
* Use File::HomeDir to find $HOME
|
|
|
|
|
* Fixed a POD bug in AppConfig::Sys and added a 99_pod.t test
|
|
|
|
|
* Added a LICENSE file
|
2009-06-18 14:58:07 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-10 16:56:16 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-18 14:58:07 +00:00
|
|
|
* Mon Oct 31 2005 dmueller@suse.de
|
2007-01-10 16:56:16 +00:00
|
|
|
- build as nonroot
|
2009-06-18 14:58:07 +00:00
|
|
|
* Thu Feb 26 2004 mjancar@suse.cz
|
2007-01-10 16:56:16 +00:00
|
|
|
- update to 1.56
|
2009-06-18 14:58:07 +00:00
|
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
2007-01-10 16:56:16 +00:00
|
|
|
- require the perl version we build with
|
2009-06-18 14:58:07 +00:00
|
|
|
* Tue Jul 15 2003 freitag@suse.de
|
2007-01-10 16:56:16 +00:00
|
|
|
- fixed specfile to use vendorbranch and use macros
|
2009-06-18 14:58:07 +00:00
|
|
|
* Sun Jun 22 2003 coolo@suse.de
|
2007-01-10 16:56:16 +00:00
|
|
|
- package directories
|
2009-06-18 14:58:07 +00:00
|
|
|
* Mon May 19 2003 freitag@suse.de
|
2007-01-10 16:56:16 +00:00
|
|
|
- removed perllocal.pod and updated to new version 1.55
|
2009-06-18 14:58:07 +00:00
|
|
|
* Thu Jan 30 2003 ro@suse.de
|
2007-01-10 16:56:16 +00:00
|
|
|
- no noarch
|
2009-06-18 14:58:07 +00:00
|
|
|
* Thu Nov 28 2002 freitag@suse.de
|
2007-01-10 16:56:16 +00:00
|
|
|
- added noarch Architecture flag.
|
2009-06-18 14:58:07 +00:00
|
|
|
* Thu Nov 28 2002 freitag@suse.de
|
2007-01-10 16:56:16 +00:00
|
|
|
- new package perl-AppConfig
|