|
|
753baca |
Name: perl-File-Flat
|
|
|
c7ca4bc |
Version: 1.00
|
|
|
3d8a62d |
Release: 2%{?dist}
|
|
|
753baca |
Summary: Implements a flat filesystem
|
|
|
3d8a62d |
License: GPL+ or Artistic
|
|
|
753baca |
Group: Development/Libraries
|
|
|
753baca |
URL: http://search.cpan.org/dist/File-Flat/
|
|
|
753baca |
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Flat-%{version}.tar.gz
|
|
|
753baca |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
753baca |
|
|
|
753baca |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
753baca |
BuildArch: noarch
|
|
|
753baca |
|
|
|
753baca |
BuildRequires: perl(ExtUtils::AutoInstall) >= 0.49
|
|
|
753baca |
BuildRequires: perl(Test::More) >= 0.47
|
|
|
753baca |
BuildRequires: perl(Test::ClassAPI) >= 1.02
|
|
|
3f1bcff |
BuildRequires: perl(File::Find)
|
|
|
753baca |
BuildRequires: perl(prefork) >= 0.02
|
|
|
753baca |
BuildRequires: perl(File::Spec) >= 0.85
|
|
|
3f1bcff |
BuildRequires: perl(File::Copy)
|
|
|
c7ca4bc |
BuildRequires: perl(File::Copy::Recursive)
|
|
|
753baca |
BuildRequires: perl(File::Slurp) >= 9999.04
|
|
|
753baca |
BuildRequires: perl(File::Remove) >= 0.21
|
|
|
753baca |
BuildRequires: perl(File::Temp) >= 0.14
|
|
|
3f1bcff |
BuildRequires: perl(IO::File)
|
|
|
753baca |
|
|
|
af9bdd4 |
# For improved tests
|
|
|
af9bdd4 |
BuildRequires: perl(Test::Pod)
|
|
|
af9bdd4 |
|
|
|
753baca |
%description
|
|
|
753baca |
File::Flat implements a flat filesystem. A flat filesystem is a filesystem
|
|
|
753baca |
in which directories do not exist. It provides an abstraction over any
|
|
|
753baca |
normal filesystem which makes it appear as if directories do not exist.
|
|
|
753baca |
|
|
|
753baca |
%prep
|
|
|
753baca |
%setup -q -n File-Flat-%{version}
|
|
|
753baca |
|
|
|
753baca |
%build
|
|
|
753baca |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
753baca |
make %{?_smp_mflags}
|
|
|
753baca |
|
|
|
753baca |
%install
|
|
|
753baca |
rm -rf $RPM_BUILD_ROOT
|
|
|
753baca |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
753baca |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
753baca |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
753baca |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
753baca |
|
|
|
753baca |
%clean
|
|
|
753baca |
rm -rf $RPM_BUILD_ROOT
|
|
|
753baca |
|
|
|
753baca |
%check
|
|
|
c7ca4bc |
make test AUTOMATED_TESTING=1
|
|
|
753baca |
|
|
|
753baca |
%files
|
|
|
753baca |
%defattr(-,root,root,-)
|
|
|
753baca |
%doc Changes README LICENSE
|
|
|
753baca |
%{perl_vendorlib}/File
|
|
|
753baca |
%{_mandir}/man3/*
|
|
|
753baca |
|
|
|
753baca |
%changelog
|
|
|
3d8a62d |
* Sun Sep 02 2007 Ralf Corsépius <rc040203@freenet.de> - 1.00-2
|
|
|
3d8a62d |
- License update.
|
|
|
3d8a62d |
|
|
|
c7ca4bc |
* Thu Jan 18 2007 Ralf Corsépius <rc040203@freenet.de> - 1.00-1
|
|
|
c7ca4bc |
- Upstream update.
|
|
|
c7ca4bc |
- BR: perl(File::Copy::Recursive).
|
|
|
c7ca4bc |
- Drop BR: perl(File::NCopy).
|
|
|
c7ca4bc |
- Activate AUTOMATED_TESTING (t/99_author.t).
|
|
|
c7ca4bc |
|
|
|
56e18d4 |
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.96-3
|
|
|
56e18d4 |
- Mass rebuild.
|
|
|
56e18d4 |
|
|
|
af9bdd4 |
* Thu Jul 20 2006 Ralf Corsépius <rc040203@freenet.de> - 0.96-2
|
|
|
af9bdd4 |
- BR: perl(Test::Pod).
|
|
|
af9bdd4 |
|
|
|
dfeef6d |
* Thu Jul 20 2006 Ralf Corsépius <rc040203@freenet.de> - 0.96-1
|
|
|
dfeef6d |
- Upstream update.
|
|
|
dfeef6d |
|
|
|
00d771f |
* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 0.95-3
|
|
|
00d771f |
- Rebuild for perl-5.8.8.
|
|
|
00d771f |
|
|
|
3f1bcff |
* Mon Sep 19 2005 Ralf Corsepius <rc040203@freenet.de> - 0.95-2
|
|
|
3f1bcff |
- Spec file cleanup.
|
|
|
3f1bcff |
|
|
|
753baca |
* Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 0.95-1
|
|
|
753baca |
- Spec file cleanup.
|
|
|
753baca |
- FE submission.
|
|
|
753baca |
|
|
|
753baca |
* Tue Jun 28 2005 Ralf Corsepius <ralf@links2linux.de> - 0.95-0.pm.1
|
|
|
753baca |
- Initial packman version.
|