From ed115d85e41bcfc2608c480a3b20c5cbc7df865a Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C5=82awomir=20Paszkiewicz?= Date: Fri, 13 Mar 2009 12:53:31 +0000 Subject: [PATCH 1/1] - initial Changed files: perl-Module-Refresh.spec -> 1.1 --- perl-Module-Refresh.spec | 58 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 perl-Module-Refresh.spec diff --git a/perl-Module-Refresh.spec b/perl-Module-Refresh.spec new file mode 100644 index 0000000..41f1300 --- /dev/null +++ b/perl-Module-Refresh.spec @@ -0,0 +1,58 @@ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Module +%define pnam Refresh +Summary: Module::Refresh - Refresh %INC files when updated on disk +Name: perl-Module-Refresh +Version: 0.13 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Module/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: d968e32fc272b5a258f527504c99dc7d +URL: http://search.cpan.org/dist/Module-Refresh/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module is a generalization of the functionality provided by +Apache::StatINC and Apache::Reload. It's designed to make it +easy to do simple iterative development when working in a persistent +environment. + +It does not require mod_perl. + +Initialize the module refresher. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} pure_install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes +%{perl_vendorlib}/Module/*.pm +%{_mandir}/man3/* -- 2.44.0