File perl-AppConfig.spec of Package perl-AppConfig

#
# spec file for package perl-AppConfig (Version 1.66)
#
# 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
Version:        1.66
Release:        1
Requires:       perl = %{perl_version} perl-File-HomeDir
BuildRequires:  perl-File-HomeDir
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

%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
* Mon Jul 09 2007 - anicka@suse.cz
- update to 1.66
  * Removed File::HomeDir from the test scripts.
* Mon Jun 11 2007 - anicka@suse.cz
- update to 1.65
  * documentation added
- move testing to %%check
* Wed May 16 2007 - pth@suse.de
- Add explicit dependencies on perl-File-HomeDir.
- Run tests.
* 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
openSUSE Build Service is sponsored by