%define pkg_name File-DirSync %define pkg_version 1.22 %define rpm_pkg_version 1.22 %define rpm_pkg_release 1.n0i.12 Summary: Synchronize two directories rapidly Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/B/BB/BBB/%{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)} %{!?_without_test:BuildRequires: perl(File::Copy) >= 1} %{!?_without_test:BuildRequires: perl(File::Path) >= 1} %description File::DirSync will make two directories exactly the same. The goal is to perform this synchronization process as quickly as possible with as few stats and reads and writes as possible. It usually can perform the synchronization process within a few milliseconds - even for gigabytes or more of information. %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 -b -m} %doc Changes README %changelog * Tue Aug 28 2007 Marius Feraru - 1.22-1.n0i.12 - version 1.22 * Sun Aug 12 2007 Marius Feraru - 1.21-1.n0i.11 - version 1.21 * Tue May 22 2007 Marius Feraru - 1.14-2.n0i.10 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 * Mon Apr 24 2006 Marius Feraru - 1.14-1.n0i.9 - version 1.14 * Thu Jul 28 2005 Marius Feraru 1.12-2.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.12-1.n0i.7 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:1.12-1.n0i.6 - automatic rebuild (perl 5.8.6) * Fri Apr 30 2004 Marius Feraru 0:1.12-1.n0i.5 - automatic rebuild * Wed Apr 21 2004 Marius Feraru 0:1.12-1.n0i.4 - automatic rebuild * Sat Apr 03 2004 Marius Feraru 0:1.12-1.n0i.3 - version 1.12 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 * Thu Jan 29 2004 Marius FERARU 0:1.11-0.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Sat Jul 5 2003 Marius FERARU 1.11-0.n0i - version 1.11 - Initial build.