diff --git a/.cvsignore b/.cvsignore index e69de29..373ae24 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Config-INI-0.014.tar.gz diff --git a/perl-Config-INI.spec b/perl-Config-INI.spec new file mode 100644 index 0000000..c01990f --- /dev/null +++ b/perl-Config-INI.spec @@ -0,0 +1,51 @@ +Name: perl-Config-INI +Version: 0.014 +Release: 1%{?dist} +Summary: Config::INI Perl module +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Config-INI/ +Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Config-INI-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Mixin::Linewise::Readers) >= 0.001 +BuildRequires: perl(Mixin::Linewise::Writers) >= 0.001 +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Config::INI - simple .ini-file format. + +%prep +%setup -q -n Config-INI-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes LICENSE README examples +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Apr 19 2009 Iain Arnell 0.014-1 +- Specfile autogenerated by cpanspec 1.77. diff --git a/sources b/sources index e69de29..c2cc546 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +184be93729b019aba169a39fbe466531 Config-INI-0.014.tar.gz