%define pkg_name File-Flat %define pkg_version 1.00 %define rpm_pkg_version 1.00 %define rpm_pkg_release 1.n0i.2 Summary: Implements a flat filesystem Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Test::ClassAPI) >= 1.02} %{!?_without_test:BuildRequires: perl(Test::More) >= 0.47} %{!?_without_test:BuildRequires: perl(File::Copy)} %{!?_without_test:BuildRequires: perl(File::Find)} %{!?_without_test:BuildRequires: perl(File::NCopy) >= 0.32} %{!?_without_test:BuildRequires: perl(File::Remove) >= 0.21} %{!?_without_test:BuildRequires: perl(File::Slurp) >= 9999.04} %{!?_without_test:BuildRequires: perl(File::Spec) >= 0.85} %{!?_without_test:BuildRequires: perl(File::Temp) >= 0.14} %{!?_without_test:BuildRequires: perl(IO::File)} %{!?_without_test:BuildRequires: perl(prefork) >= 0.02} %description File::Flat implements a flat filesystem. A flat filesystem is a filesystem in which directories do not exist. It provides an abstraction over any normal filesystem which makes it appear as if directories do not exist. In effect, it will automatically create directories as needed. This is create for things like install scripts and such, as you never need to worry about the existance of directories, just write to a file, no matter where it is. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes LICENSE README %changelog * Tue May 22 2007 Marius Feraru - 1.00-1.n0i.2 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 1.00 * Thu Jul 28 2005 Marius Feraru 0.95-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7