diff --git a/.cvsignore b/.cvsignore index e69de29..a3e4c8c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Filesys-Df-0.92.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..dbb05ea --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Filesys-Df-0_92-2_fc9:HEAD:perl-Filesys-Df-0.92-2.fc9.src.rpm:1217411306 diff --git a/perl-Filesys-Df.spec b/perl-Filesys-Df.spec new file mode 100644 index 0000000..936a241 --- /dev/null +++ b/perl-Filesys-Df.spec @@ -0,0 +1,57 @@ +Name: perl-Filesys-Df +Version: 0.92 +Release: 2%{?dist} +Summary: Perl extension for filesystem disk space information +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Filesys-Df/ +Source0: http://www.cpan.org/modules/by-module/Filesys/Filesys-Df-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides a way to obtain filesystem disk space information. +This is a Unix only distribution. If you want to gather this information +for Unix and Windows, use Filesys::DfPortable. The only major benefit of +using Filesys::Df over Filesys::DfPortable, is that Filesys::Df supports +the use of open filehandles as arguments. + +%prep +%setup -q -n Filesys-Df-%{version} +#readme is with dos EOL, convert it to unix +sed -i 's/\r//' README + +%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 -type f -name '*.bs' -empty -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 README +%{perl_vendorarch}/* +%{_mandir}/man3/* + +%changelog +* Thu Jul 24 2008 Miroslav Suchy 0.92-2 +- fixed README end of lines. +- remove zero sized *.bs files. + +* Tue Jul 15 2008 Miroslav Suchy 0.92-1 +- Specfile autogenerated by cpanspec 1.77. diff --git a/sources b/sources index e69de29..a048c16 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a8b0aa3e5151a8a6c8b3067625980934 Filesys-Df-0.92.tar.gz