%define upstream_name Config-Properties %define upstream_version 1.70 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Configuration using Java style properties License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Config/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(File::Temp) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Wrap) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description Config::Properties is a near implementation of the java.util.Properties API. It is designed to allow easy reading, writing and manipulation of Java-style property files. The format of a Java-style property file is that of a key-value pair seperated by either whitespace, the colon (:) character, or the equals (=) character. Whitespace before the key and on either side of the seperator is ignored. Lines that begin with either a hash (#) or a bang (!) are considered comment lines and ignored. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README Changes META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Tue Jul 28 2009 Jérôme Quelin <jquelin@mandriva.org> 1.700.0-1mdv2010.0 + Revision: 401701 - rebuild using %%perl_convert_version - fixed license field * Fri May 01 2009 Jérôme Quelin <jquelin@mandriva.org> 1.70-1mdv2010.0 + Revision: 369678 - update to new version 1.70 * Tue Dec 02 2008 Jérôme Quelin <jquelin@mandriva.org> 1.69-1mdv2009.1 + Revision: 309189 - update to new version 1.69 * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.68-2mdv2009.0 + Revision: 268401 - rebuild early 2009.0 package (before pixel changes) * Tue May 06 2008 Jérôme Quelin <jquelin@mandriva.org> 1.68-1mdv2009.0 + Revision: 201992 - import perl-Config-Properties