packages: php-markdown/php-markdown.spec (NEW) - new

glen glen at pld-linux.org
Mon May 16 12:59:26 CEST 2011


Author: glen                         Date: Mon May 16 10:59:26 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/php-markdown:
   php-markdown.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-markdown/php-markdown.spec
diff -u /dev/null packages/php-markdown/php-markdown.spec:1.1
--- /dev/null	Mon May 16 12:59:26 2011
+++ packages/php-markdown/php-markdown.spec	Mon May 16 12:59:20 2011
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+%define		php_min_version 5.0.0
+Summary:	Markdown text-to-html converter
+Name:		php-markdown
+Version:	1.0.1n
+Release:	1
+License:	BSD-Style License
+Group:		Development/Languages/PHP
+Source0:	http://pear.michelf.com/get/%{name}-%{version}.tgz
+# Source0-md5:	371cc451cd8776758924309d9fbcad06
+URL:		http://pear.michelf.com/package/Markdown/
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.610
+Requires:	php-common >= 4:%{php_min_version}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PHP Markdown is a port to PHP of the Markdown program written by John
+Gruber. Markdown is two things: a plain text markup syntax, and a
+software tool that converts the plain text markup to HTML for
+publishing on the web.
+
+The Markdown syntax allows you to write text naturally and format it
+without using HTML tags. More importantly: in Markdown format, your
+text stays enjoyable to read for a human being, and this is true
+enough that it makes a Markdown document publishable as-is, as plain
+text. If you are using text-formatted email, you already know some
+part of the syntax.
+
+%prep
+%setup -qn Markdown-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}
+cp -p markdown.php $RPM_BUILD_ROOT%{php_data_dir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.text
+%{php_data_dir}/markdown.php
+
+%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/05/16 10:59:20  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list