Author: jpc                          Date: Sat Feb 19 22:08:08 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new spec

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

---- Diffs:

================================================================
Index: SPECS/python-cherrypy.spec
diff -u /dev/null SPECS/python-cherrypy.spec:1.1
--- /dev/null   Sat Feb 19 23:08:08 2005
+++ SPECS/python-cherrypy.spec  Sat Feb 19 23:08:02 2005
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+%define        fname   CherryPy
+%define                module  %(echo %{fname} | tr A-Z a-z)
+%define                _rc     b
+
+Summary:       A pythonic, object-oriented web development framework
+#Summary(pl):
+Name:          python-%{module}
+Version:       2.0.0
+Release:       0%{_rc}.1
+License:       BSD
+Group:         Development/Languages/Python
+Source0:       
http://dl.sourceforge.net/%{module}/%{fname}-%{version}%{_rc}.tar.gz
+# Source0-md5: 1a7822256854f67ab1b3def7923d9920
+URL:           http://www.cherrypy.org
+BuildRequires: python
+%pyrequires_eq python-modules
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+CherryPy is a pythonic, object-oriented web development framework.
+
+CherryPy allows developers to build web applications in much the same
+way they would build any other object-oriented Python program. This
+usually results in smaller source code developed in less time.
+
+CherryPy is now more than three years old and it is has proven very
+fast and stable. It is being used in production by many sites, from
+the simplest ones to the most demanding ones.
+
+Oh, and most importantly: CherryPy is fun to work with :-)
+
+#%description -l pl
+
+%package examples
+Summary:       Example files for CherryPy
+#Summary(pl):
+Group:         Development/Languages/Python
+Requires:      %{name} = %{version}-%{release}
+
+%description examples
+Example files for CherryPy
+
+#%description examples -l pl
+
+%prep
+%setup -q -n %{fname}-%{version}%{_rc}
+
+%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
+
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tutorial
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/ -name \*.py | xargs rm -f
+
+cp -r cherrypy/tutorial $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.txt CHERRYPYTEAM.txt README.txt
+%{py_sitescriptdir}/%{module}
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
+%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  2005/02/19 22:08:02  jpc
+- new spec
+
================================================================

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to