[packages/python-cssmin] new, version 0.1.4

glen glen at pld-linux.org
Sun Mar 17 04:11:01 CET 2013


commit 2f2f2c5017d044e4cd216195e5f598fdede9e189
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 17 05:10:43 2013 +0200

    new, version 0.1.4

 python-cssmin.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
---
diff --git a/python-cssmin.spec b/python-cssmin.spec
new file mode 100644
index 0000000..57afd69
--- /dev/null
+++ b/python-cssmin.spec
@@ -0,0 +1,43 @@
+%define		module	cssmin
+Summary:	A Python port of the YUI CSS compression algorithm
+Name:		python-%{module}
+Version:	0.1.4
+Release:	1
+# same as yui?
+License:	BSD
+Group:		Libraries/Python
+Source0:	http://pypi.python.org/packages/source/c/cssmin/cssmin-%{version}.tar.gz
+# Source0-md5:	b9149b8a58e70cac5f7972b0dcce776f
+URL:		https://pypi.python.org/pypi/cssmin/
+BuildRequires:	python-distribute
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Python port of the YUI CSS compression algorithm.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/cssmin
+%{py_sitescriptdir}/%{module}.py[co]
+%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-cssmin.git/commitdiff/2f2f2c5017d044e4cd216195e5f598fdede9e189



More information about the pld-cvs-commit mailing list