Author: glen                         Date: Sun Feb 13 12:48:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- created with pldcpan

---- Files affected:
packages/perl-Text-Markdown:
   perl-Text-Markdown.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Text-Markdown/perl-Text-Markdown.spec
diff -u /dev/null packages/perl-Text-Markdown/perl-Text-Markdown.spec:1.1
--- /dev/null   Sun Feb 13 13:48:19 2011
+++ packages/perl-Text-Markdown/perl-Text-Markdown.spec Sun Feb 13 13:48:14 2011
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+
+%define                pdir    Text
+%define                pnam    Markdown
+%include       /usr/lib/rpm/macros.perl
+Summary:       Text::Markdown - Convert Markdown syntax to (X)HTML
+Name:          perl-Text-Markdown
+Version:       1.000031
+Release:       1
+License:       BSD
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-authors/id/B/BO/BOBTFISH/Text-Markdown-%{version}.tar.gz
+# Source0-md5: 88ace17b0debebe88f0ea45a76c397ed
+URL:           http://search.cpan.org/dist/Text-Markdown/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-HTML-Tidy
+BuildRequires: perl-List-MoreUtils
+BuildRequires: perl-Test-Differences
+BuildRequires: perl-Test-Exception
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Markdown is a text-to-HTML filter; it translates an easy-to-read /
+easy-to-write structured text format into HTML. Markdown's text format
+is most similar to that of plain text email, and supports features
+such as headers, *emphasis*, code blocks, blockquotes, and links.
+
+Markdown's syntax is designed not as a generic markup language, but
+specifically to serve as a front-end to (X)HTML. You can use
+span-level HTML tags anywhere in a Markdown document, and you can use
+block level HTML tags (like <div> and <table> as well).
+
+%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
+%attr(755,root,root) %{_bindir}/Markdown.pl
+%{_mandir}/man1/Markdown.pl.1p*
+%{_mandir}/man3/Text::Markdown.3pm*
+%{perl_vendorlib}/Text/Markdown.pm
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/02/13 12:48:14  glen
+- created with pldcpan
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to