SPECS: python-subway.spec (NEW) - new spec
jpc
jpc at pld-linux.org
Wed Sep 14 16:36:54 CEST 2005
Author: jpc Date: Wed Sep 14 14:36:53 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new spec
---- Files affected:
SPECS:
python-subway.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-subway.spec
diff -u /dev/null SPECS/python-subway.spec:1.1
--- /dev/null Wed Sep 14 16:36:54 2005
+++ SPECS/python-subway.spec Wed Sep 14 16:36:48 2005
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+%define module subway
+%define snap 20050913
+
+Summary: A pythonic, object-oriented web development stack
+#Summary(pl):
+Name: python-%{module}
+Version: 0
+Release: 0.%{snap}.1
+License: BSD
+Group: Development/Languages/Python
+Source0: %{module}-%{snap}.tar.bz2
+# Source0-md5: 82655b144bcf72047d3aeeb9357380f7
+URL: http://subway.python-hosting.com/
+BuildRequires: python
+%pyrequires_eq python-modules
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Subway project aims to create a Web development stack combining the
+ideas and spirit of Ruby on Rails with a comprehensive suite of
+prewritten Python web libraries and tools.
+
+#description -l pl
+
+#%package examples
+#Summary: Example files for CherryPy
+#Summary(pl): Pliki przykładów dla CherryPy
+#Group: Development/Languages/Python
+#Requires: %{name} = %{version}-%{release}
+
+#%description examples
+#Example files for CherryPy.
+
+#%description examples -l pl
+#Pliki przykładów dla CherryPy.
+
+%prep
+%setup -q -n %{module}-%{snap}
+
+%build
+%py_comp subway/
+%py_ocomp subway/
+
+%install
+rm -rf $RPM_BUILD_ROOT
+#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_bindir}}
+
+cp -r subway $RPM_BUILD_ROOT%{py_sitescriptdir}
+install subway_create.py $RPM_BUILD_ROOT%{_bindir}
+
+#cp -r cherrypy/tutorial $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+#doc
+%attr(755,root,root) %{_bindir}/*
+%{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 <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/09/14 14:36:48 jpc
+- new spec
+
================================================================
More information about the pld-cvs-commit
mailing list