]> git.pld-linux.org Git - packages/Zope-CMFCollector.git/commitdiff
- initial release
authorciesiel <ciesiel@pld-linux.org>
Sun, 27 Jul 2003 07:52:17 +0000 (07:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-CMFCollector.spec -> 1.1

Zope-CMFCollector.spec [new file with mode: 0644]

diff --git a/Zope-CMFCollector.spec b/Zope-CMFCollector.spec
new file mode 100644 (file)
index 0000000..4c36b87
--- /dev/null
@@ -0,0 +1,66 @@
+%define                zope_subname    CMFCollector
+Summary:       CMFCollector is an issue collector for Zope.
+Summary(pl):   CMFCollector jest dodatkiem do Zope umo¿liwiaj±cy zbieranie wyników
+Name:          Zope-%{zope_subname}
+Version:       0.9b
+Release:       1
+License:       GNU
+Group:         Development/Tools
+Source0:       http://cvs.zope.org/CMF/%{zope_subname}/%{zope_subname}.tar.gz?tarball=1
+# Source0-md5: 151c906d1058115f3f98155ec042f8fe
+
+URL:           http://cvs.zope.org/CMF/%{zope_subname}/
+Requires:      python >= 2.2
+Requires:      python-modules >= 2.2
+Requires:      python-libs >= 2.2
+Requires:      Zope
+Requires:      CMF
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# define       python_prefix           %(echo `python -c "import sys; print sys.prefix"`)
+# define        python_version          %(echo `python -c "import sys; print sys.version[:3]"`)
+# define        python_libdir           %{python_prefix}/lib/python%{python_version}
+# define        python_sitedir          %{python_libdir}/site-packages
+
+%define                zope_lib        /usr/lib/zope/Addons
+%define        product_dir     /usr/lib/zope/Products
+
+%description
+CMFCollector is an issue collector for Zope.
+
+%description -l pl
+CMFCollector jest dodatkiem do Zope umo¿liwiaj±cy zbieranie wyników
+
+%prep
+%setup -q -c %{zope_subname}.tar.gz?tarball=1
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{zope_lib}
+install -d $RPM_BUILD_ROOT%{product_dir}
+cp -af * $RPM_BUILD_ROOT%{zope_lib}/%{zope_subname}
+rm -rf $RPM_BUILD_ROOT%{zope_lib}/%{zope_subname}/*.txt
+ln -s %{zope_lib}/%{zope_subname}/ $RPM_BUILD_ROOT%{product_dir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%preun
+
+%postun
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc %{zope_subname}/*.txt
+%{zope_lib}
+%{product_dir}
This page took 0.074897 seconds and 4 git commands to generate.