SPECS: python-Mako.spec (NEW) - new
beorn
beorn at pld-linux.org
Fri Sep 14 20:14:41 CEST 2007
Author: beorn Date: Fri Sep 14 18:14:41 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
python-Mako.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-Mako.spec
diff -u /dev/null SPECS/python-Mako.spec:1.1
--- /dev/null Fri Sep 14 20:14:41 2007
+++ SPECS/python-Mako.spec Fri Sep 14 20:14:36 2007
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+%define fname Mako
+Summary: Templating system for Python
+Summary(pl.UTF-8): System szablonów dla języka Python
+Name: python-%{fname}
+Version: 0.1.8
+Release: 0.1
+License: MIT
+Group: Libraries/Python
+Source0: http://cheeseshop.python.org/packages/source/M/Mako/%{fname}-%{version}.tar.gz
+# Source0-md5: b4f3528ec0986a91e38c7f329a3f2b82
+URL: http://www.makotemplates.org/
+BuildRequires: python >= 1:2.4
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+%pyrequires_eq python-modules
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mako is a template library written in Python. It provides a familiar,
+non-XML syntax which compiles into Python modules for maximum
+performance.
+
+%description -l pl.UTF-8
+Mako jest biblioteką szablonów napisaną w języku Python. Zapewnia
+przyjazną, nie-XMLową składnię, która jest kompilowana do modułów
+Pythona dla zwiększenia wydajności.
+
+%prep
+%setup -qn %{fname}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+python setup.py install \
+ --root=$RPM_BUILD_ROOT \
+ --optimize=2
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{py_sitescriptdir}/mako
+%{py_sitescriptdir}/%{fname}-%{version}-py*.egg-info
+%{_examplesdir}/%{name}-%{version}
+
+%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 2007/09/14 18:14:36 beorn
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list