%global pkg_name Sysadm-Install %global pkg_version 0.24 %global rpm_pkg_version 0.24 %global rpm_pkg_release 1.n0i.2 Summary: Typical installation tasks for system administrators 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/M/MS/MSCHILLI/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl %if %{!?_without_test:1}0 BuildRequires: perl(Cwd) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) >= 0.16 BuildRequires: perl(LWP::Simple) BuildRequires: perl(Log::Log4perl) >= 1.00 BuildRequires: perl(Term::ReadKey) BuildRequires: perl(Test::More) %endif %description Have you ever wished for your installation shell scripts to run reproducably, without much programming fuzz, and even with optional logging enabled? Then give up shell programming, use Perl. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path eg/} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %{__rm} -rf $RPM_BUILD_ROOT%{_bindir} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes eg/ README %changelog * Thu Nov 08 2007 Marius Feraru - 0.24-1.n0i.2 - version 0.24 - spec update (new reb00t build tools) * Sat Jun 02 2007 Marius Feraru - 0.23-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 - version 0.23