SPECS: perl-Text-WikiText.spec (NEW) - initial

arekm arekm at pld-linux.org
Fri Aug 8 23:30:43 CEST 2008


Author: arekm                        Date: Fri Aug  8 21:30:43 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   perl-Text-WikiText.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Text-WikiText.spec
diff -u /dev/null SPECS/perl-Text-WikiText.spec:1.1
--- /dev/null	Fri Aug  8 23:30:43 2008
+++ SPECS/perl-Text-WikiText.spec	Fri Aug  8 23:30:37 2008
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+Summary:	Text::WikiFormat perl module for translating Wiki formatted text into other formats
+Name:		perl-Text-WikiFormat
+Version:	0.79
+Release:	1
+# same as perl
+# Source0-md5:	7f3e888ff898f67332216c4a25523f30
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+Source0:	http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/Text-WikiFormat-%{version}.tar.gz
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Text::WikiFormat - the original Wiki web site had a very simple
+interface to edit and to add pages. Its formatting rules are simple
+and easy to use. They are also easy to translate into other, more
+complicated markup languages with this module. It creates HTML by
+default, but can produce valid POD, DocBook, XML, or any other format
+imaginable.
+
+%prep
+%setup -q -n Text-WikiFormat-%{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 Changes README
+%{perl_vendorlib}/Text/WikiFormat.pm
+%{perl_vendorlib}/Text/WikiFormat
+%{_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/08/08 21:30:37  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list