forked from pool/perl-Config-IniFiles
103 lines
2.9 KiB
RPMSpec
103 lines
2.9 KiB
RPMSpec
|
#
|
||
|
# spec file for package perl-Config-IniFiles (Version 2.39)
|
||
|
#
|
||
|
# Copyright (c) 2005 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://www.suse.de/feedback/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: perl-Config-IniFiles
|
||
|
License: Artistic License
|
||
|
Group: Development/Libraries/Perl
|
||
|
URL: http://sourceforge.net/projects/config-inifiles/
|
||
|
Provides: p_cnfini
|
||
|
Obsoletes: p_cnfini
|
||
|
Requires: perl = %{perl_version}
|
||
|
Autoreqprov: on
|
||
|
Summary: A module for reading .ini-style configuration files
|
||
|
Version: 2.39
|
||
|
Release: 1
|
||
|
Source: Config-IniFiles-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
Config::IniFiles provides a way to have readable configuration files
|
||
|
outside your Perl script.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Scott Hutton
|
||
|
Rich Bowen <rbowen@rcbowen.com>
|
||
|
Jeremy Wadsack <dgsupport at wadsack-allen dot com>
|
||
|
|
||
|
%prep
|
||
|
%setup -n Config-IniFiles-%{version}
|
||
|
# ---------------------------------------------------------------------------
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
%{__make}
|
||
|
%{__make} test
|
||
|
# ---------------------------------------------------------------------------
|
||
|
|
||
|
%install
|
||
|
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
|
||
|
%{__make} \
|
||
|
DESTDIR=$RPM_BUILD_ROOT \
|
||
|
install_vendor
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
|
||
|
|
||
|
%files
|
||
|
%defattr(-, root, root)
|
||
|
%dir %{perl_vendorlib}/Config
|
||
|
%attr(0644,root,root) %{perl_vendorlib}/Config/IniFiles.pm
|
||
|
%dir %{perl_vendorarch}/auto/Config
|
||
|
%{perl_vendorarch}/auto/Config/IniFiles
|
||
|
%doc %{perl_installman3dir}/Config::IniFiles.3pm.gz
|
||
|
/var/adm/perl-modules/perl-Config-IniFiles
|
||
|
|
||
|
%changelog -n perl-Config-IniFiles
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Mon Jul 11 2005 - schubi@suse.de
|
||
|
- update to 2.39
|
||
|
* Tue Oct 21 2003 - lmuelle@suse.de
|
||
|
- add norootforbuild to the spec file
|
||
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
||
|
- require the perl version we build with
|
||
|
* Thu Aug 14 2003 - lmuelle@suse.de
|
||
|
- update to version 2.38
|
||
|
* Fri Jun 13 2003 - lmuelle@suse.de
|
||
|
- use perl macros in file list
|
||
|
* Fri Jun 13 2003 - lmuelle@suse.de
|
||
|
- add missing directories
|
||
|
* Mon May 19 2003 - lmuelle@suse.de
|
||
|
- remove perllocal.pod after install
|
||
|
* Mon May 05 2003 - lmuelle@suse.de
|
||
|
- update to 2.37
|
||
|
- remove superfluous document directory, #26659
|
||
|
* Thu Aug 08 2002 - mls@suse.de
|
||
|
- use macro in filelist
|
||
|
* Tue Jul 09 2002 - ray@suse.de
|
||
|
- update to 2.27
|
||
|
* Tue Jul 02 2002 - mls@suse.de
|
||
|
- remove race in .packlist generation
|
||
|
* Mon Feb 25 2002 - choeger@suse.de
|
||
|
- perlmodule and some README files had been executable
|
||
|
* Mon May 21 2001 - choeger@suse.de
|
||
|
- update to version 2.19
|
||
|
* Wed Nov 15 2000 - choeger@suse.de
|
||
|
- long package name
|
||
|
- buildroot
|
||
|
* Wed Aug 16 2000 - choeger@suse.de
|
||
|
- first package, v0.09
|