automatic update by autodist [release 2.14-1mamba;Sun May 01 2011]

This commit is contained in:
Automatic Build System 2024-01-06 08:43:28 +01:00
parent b5c5db4f7e
commit 737e41b42b
2 changed files with 69 additions and 0 deletions

View File

@ -1,2 +1,10 @@
# perl-Config-Tiny
Config::Tiny is a perl class to read and write .ini style configuration files with as little code as possible, reducing load time
and memory overhead. Most of the time it is accepted that Perl applications use a lot of memory and modules. The ::Tiny
family of modules is specifically intended to provide an ultralight alternative to the standard modules.
This module is primarily for reading human written files, and anything we write shouldn't need to have documentation/comments.
If you need something with more power move up to Config::Simple, Config::General or one of the many other Config:: modules. To rephrase,
Config::Tiny does not preserve your comments, whitespace, or the order of your config file.

61
perl-Config-Tiny.spec Normal file
View File

@ -0,0 +1,61 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Config-Tiny
Version: 2.14
Release: 1mamba
Summary: Config::Tiny - Read/Write .ini style files with as little code as possible
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Config-Tiny-%{version}.tar.gz
License: GPL, Artistic
BuildRequires: perl(Test::Pod)
#BuildRequires: perl(Test::MinimumVersion)
BuildRequires: perl-devel
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Config::Tiny is a perl class to read and write .ini style configuration files with as little code as possible, reducing load time
and memory overhead. Most of the time it is accepted that Perl applications use a lot of memory and modules. The ::Tiny
family of modules is specifically intended to provide an ultralight alternative to the standard modules.
This module is primarily for reading human written files, and anything we write shouldn't need to have documentation/comments.
If you need something with more power move up to Config::Simple, Config::General or one of the many other Config:: modules. To rephrase,
Config::Tiny does not preserve your comments, whitespace, or the order of your config file.
%prep
%setup -q -n Config-Tiny-%{version}
chmod a-x Changes lib/Config/Tiny.pm
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test AUTOMATED_TESTING=1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{perl_vendorlib}/Config/
%{_mandir}/man3/*.3pm.gz
%doc Changes LICENSE README
%changelog
* Sun May 01 2011 Automatic Build System <autodist@mambasoft.it> 2.14-1mamba
- automatic update by autodist
* Fri Feb 18 2011 gil <puntogil@libero.it> 2.12-1mamba
- package created by autospec