2007-01-10 16:56:16 +00:00
|
|
|
#
|
2007-06-11 11:07:51 +00:00
|
|
|
# spec file for package perl-AppConfig (Version 1.65)
|
2007-01-10 16:56:16 +00:00
|
|
|
#
|
|
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
|
#
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
Name: perl-AppConfig
|
2007-06-11 11:07:51 +00:00
|
|
|
Version: 1.65
|
|
|
|
|
Release: 1
|
2007-05-17 09:51:08 +00:00
|
|
|
Requires: perl = %{perl_version} perl-File-HomeDir
|
|
|
|
|
BuildRequires: perl-File-HomeDir
|
2007-01-10 16:56:16 +00:00
|
|
|
Autoreqprov: on
|
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
License: Artistic License
|
|
|
|
|
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
|
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
|
2007-06-11 11:07:51 +00:00
|
|
|
* Mon Jun 11 2007 - anicka@suse.cz
|
|
|
|
|
- update to 1.65
|
|
|
|
|
* documentation added
|
|
|
|
|
- move testing to %%check
|
2007-05-17 09:51:08 +00:00
|
|
|
* Wed May 16 2007 - pth@suse.de
|
|
|
|
|
- Add explicit dependencies on perl-File-HomeDir.
|
|
|
|
|
- Run tests.
|
2007-01-10 16:56:16 +00:00
|
|
|
* Tue Jan 09 2007 - anicka@suse.cz
|
|
|
|
|
- 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.
|
|
|
|
|
* Wed Sep 13 2006 - anicka@suse.cz
|
|
|
|
|
- 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
|
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
|
* Mon Oct 31 2005 - dmueller@suse.de
|
|
|
|
|
- build as nonroot
|
|
|
|
|
* Thu Feb 26 2004 - mjancar@suse.cz
|
|
|
|
|
- update to 1.56
|
|
|
|
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
|
|
|
|
- require the perl version we build with
|
|
|
|
|
* Tue Jul 15 2003 - freitag@suse.de
|
|
|
|
|
- fixed specfile to use vendorbranch and use macros
|
|
|
|
|
* Sun Jun 22 2003 - coolo@suse.de
|
|
|
|
|
- package directories
|
|
|
|
|
* Mon May 19 2003 - freitag@suse.de
|
|
|
|
|
- removed perllocal.pod and updated to new version 1.55
|
|
|
|
|
* Thu Jan 30 2003 - ro@suse.de
|
|
|
|
|
- no noarch
|
|
|
|
|
* Thu Nov 28 2002 - freitag@suse.de
|
|
|
|
|
- added noarch Architecture flag.
|
|
|
|
|
* Thu Nov 28 2002 - freitag@suse.de
|
|
|
|
|
- new package perl-AppConfig
|