]> git.pld-linux.org Git - packages/Zope-fcForum.git/commitdiff
- initial release
authorciesiel <ciesiel@pld-linux.org>
Sun, 5 Oct 2003 19:58:30 +0000 (19:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-fcForum.spec -> 1.1

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

diff --git a/Zope-fcForum.spec b/Zope-fcForum.spec
new file mode 100644 (file)
index 0000000..9df3f3c
--- /dev/null
@@ -0,0 +1,58 @@
+%include       /usr/lib/rpm/macros.python
+%define                zope_subname    fcForum
+Summary:       Message Board Product for Zope
+Summary(pl):   Forum dla Zope
+Name:          Zope-%{zope_subname}
+Version:       2.0.1
+Release:       1
+License:       ZPL 2.0
+Group:         Development/Tools      
+######         Unknown group!
+Source0:       http://www.genix.biz/files/%{zope_subname}-2-0-1.tgz
+# Source0-md5: 9c74b9b6f532aee732345485301c3c85
+URL:           http://www.genix.biz/forum_dev/index_html
+%pyrequires_eq python-modules
+Requires:      Zope
+Requires:      Zope-CookieCrumbler
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        product_dir     /usr/lib/zope/Products
+
+%description
+Message Board Product for Zope
+
+%description -l pl
+Forum dla Zope
+
+%prep
+%setup -q -c %{zope_subname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{product_dir}
+cp -af * $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}
+
+%py_comp $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}
+%py_ocomp $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}
+
+# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
+# rm -rf $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}/*.txt
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%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
+%{product_dir}/%{zope_subname}
This page took 0.094148 seconds and 4 git commands to generate.