SPECS: python-Cellulose.spec (NEW) - initial revision

cactus cactus at pld-linux.org
Mon May 28 22:51:38 CEST 2007


Author: cactus                       Date: Mon May 28 20:51:38 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   python-Cellulose.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-Cellulose.spec
diff -u /dev/null SPECS/python-Cellulose.spec:1.1
--- /dev/null	Mon May 28 22:51:38 2007
+++ SPECS/python-Cellulose.spec	Mon May 28 22:51:33 2007
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+#
+# TODO :
+# - polish desc
+#
+%define	module	Cellulose
+
+Summary:	Python/Cellulose package
+Summary(pl.UTF-8):	Pakiet Python/Cellulose
+Name:		python-%{module}
+Version:	0.1.2
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+Source0:	http://cheeseshop.python.org/packages/source/C/Cellulose/%{module}-%{version}.tar.gz 
+# Source0-md5:	0ee1805e197db54ca8ce3d0783e1015b
+URL:		http://cheeseshop.python.org/pypi/Cellulose/
+BuildRequires:	python >= 1:2.4
+BuildRequires:	python-setuptools
+%pyrequires_eq	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Stateful, object-oriented, pseudo-functional programming in python.
+
+#% description -l pl.UTF-8
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+cp -af cellulose $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGELOG LICENSE README TODO
+%doc docs
+%{py_sitescriptdir}/cellulose
+
+%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/05/28 20:51:33  cactus
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list