Author: wiget                        Date: Sat Dec  5 16:19:21 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: packages/python-Markdown/python-Markdown.spec
diff -u /dev/null packages/python-Markdown/python-Markdown.spec:1.1
--- /dev/null   Sat Dec  5 17:19:21 2009
+++ packages/python-Markdown/python-Markdown.spec       Sat Dec  5 17:19:16 2009
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+%define        module  Markdown
+Summary:       Python implementation of Markdown.
+Name:          python-%{module}
+Version:       2.0.3
+Release:       1
+License:       BSD
+Group:         Development/Languages/Python
+Source0:       
http://pypi.python.org/packages/source/M/Markdown/%{module}-%{version}.tar.gz
+# Source0-md5: 751e8055be2433dfd1a82e0fb1b12f13
+URL:           http://www.freewisdom.org/projects/python-markdown
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-modules
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a Python implementation of John Gruber's Markdown. It is almost
+completely compliant with the reference implementation.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs
+%attr(755,root,root) %{_bindir}/markdown
+%{py_sitescriptdir}/markdown
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/*.egg-info
+%endif
+
+%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  2009/12/05 16:19:16  wiget
+- initial
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to