SPECS: perl-Acme-Comment.spec (NEW) - new
glen
glen at pld-linux.org
Tue Sep 16 12:47:17 CEST 2008
Author: glen Date: Tue Sep 16 10:47:17 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-Acme-Comment.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Acme-Comment.spec
diff -u /dev/null SPECS/perl-Acme-Comment.spec:1.1
--- /dev/null Tue Sep 16 12:47:17 2008
+++ SPECS/perl-Acme-Comment.spec Tue Sep 16 12:47:12 2008
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without autodeps # don't BR packages needed only for resolving deps
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Acme
+%define pnam Comment
+Summary: Acme::Comment
+Name: perl-Acme-Comment
+Version: 1.02
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Acme/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: ff89fa9ae4346027732ff68a0c7dc2d0
+URL: http://search.cpan.org/dist/Acme-Comment/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Acme::Comment allows multi-line comments which are filtered out.
+Unlike the pseudo multi-line comment if (0) {}, the code being
+commented out need not be syntactically valid.
+
+%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 README
+%dir %{perl_vendorlib}/Acme
+%{perl_vendorlib}/Acme/*.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 2008/09/16 10:47:12 glen
+- new
================================================================
More information about the pld-cvs-commit
mailing list