SPECS: perl-Module-Refresh.spec (NEW) - initial
paszczus
paszczus at pld-linux.org
Fri Mar 13 13:53:36 CET 2009
Author: paszczus Date: Fri Mar 13 12:53:36 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
perl-Module-Refresh.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Module-Refresh.spec
diff -u /dev/null SPECS/perl-Module-Refresh.spec:1.1
--- /dev/null Fri Mar 13 13:53:36 2009
+++ SPECS/perl-Module-Refresh.spec Fri Mar 13 13:53:31 2009
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# 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/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/03/13 12:53:31 paszczus
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list