]> git.pld-linux.org Git - packages/python-subway.git/commitdiff
- new spec
authorjpc <jpc@pld-linux.org>
Wed, 14 Sep 2005 14:36:48 +0000 (14:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-subway.spec -> 1.1

python-subway.spec [new file with mode: 0644]

diff --git a/python-subway.spec b/python-subway.spec
new file mode 100644 (file)
index 0000000..eeb550e
--- /dev/null
@@ -0,0 +1,66 @@
+%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}
This page took 0.07031 seconds and 4 git commands to generate.