packages: perl-Text-Trac/perl-Text-Trac.spec (NEW) - initial
arekm
arekm at pld-linux.org
Sun Feb 20 22:50:40 CET 2011
Author: arekm Date: Sun Feb 20 21:50:40 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
---- Files affected:
packages/perl-Text-Trac:
perl-Text-Trac.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Text-Trac/perl-Text-Trac.spec
diff -u /dev/null packages/perl-Text-Trac/perl-Text-Trac.spec:1.1
--- /dev/null Sun Feb 20 22:50:40 2011
+++ packages/perl-Text-Trac/perl-Text-Trac.spec Sun Feb 20 22:50:34 2011
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Text
+%define pnam Trac
+Summary: Text::Trac - extension for formatting text with Trac Wiki Style
+Name: perl-Text-Trac
+Version: 0.15
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 57757c5e9c742232b811af33b224357a
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Text::Trac parses text with Trac WikiFormatting and convert it to html
+format.
+
+%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} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{perl_vendorlib}/Text/Trac.pm
+%{perl_vendorlib}/Text/Trac
+%{_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 2011/02/20 21:50:34 arekm
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list