From 747f69bc974828c23838af25f02857c9f906ec75 Mon Sep 17 00:00:00 2001 From: Rakesh Pandit Date: Jun 08 2009 03:56:25 +0000 Subject: Initial import. --- diff --git a/.cvsignore b/.cvsignore index e69de29..277beda 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +php-markdown-1.0.1m.zip diff --git a/import.log b/import.log new file mode 100644 index 0000000..a6fc41a --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +php-markdown-1_0_1m-2_fc10:HEAD:php-markdown-1.0.1m-2.fc10.src.rpm:1244433021 diff --git a/php-markdown.spec b/php-markdown.spec new file mode 100644 index 0000000..e268533 --- /dev/null +++ b/php-markdown.spec @@ -0,0 +1,46 @@ +Name: php-markdown +Version: 1.0.1m +Release: 2%{?dist} +Summary: Markdown implementation in PHP + +Group: Development/Languages +License: BSD +URL: http://michelf.com/projects/php-markdown/ +Source0: http://michelf.com/docs/projets/%{name}-%{version}.zip +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +Requires: php + +%description +This is a PHP implementation of John Gruber's Markdown. This is a +Python implementation of John Gruber's Markdown. It is almost +completely compliant with the reference implementation. + +%prep +%setup -q -n 'PHP Markdown 1.0.1m' + + +%build +# Empty build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/php/ +install -p -m 644 markdown.php $RPM_BUILD_ROOT%{_datadir}/php/ + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc License.text 'PHP Markdown Readme.text' +%{_datadir}/php/markdown.php + + +%changelog +* Sun May 24 2009 Rakesh Pandit 1.0.1m-2 +- Fixed mixed use of space and tabs, using install in place of cp + +* Sun May 24 2009 Rakesh Pandit 1.0.1m-1 +- Initial package diff --git a/sources b/sources index e69de29..09a9876 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0111093efcb81e455e7bbd959d4cff54 php-markdown-1.0.1m.zip