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

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

diff --git a/Zope-WebMail.spec b/Zope-WebMail.spec
new file mode 100644 (file)
index 0000000..615f08b
--- /dev/null
@@ -0,0 +1,59 @@
+%include       /usr/lib/rpm/macros.python
+%define                zope_subname    WebMail
+Summary:       Webmail - is a mail client for Zope
+Summary(pl):   Webmail - jest klientem poczty elektronicznej dla Zope
+Name:          Zope-%{zope_subname}
+Version:       4.1
+Release:       1
+License:       GNU
+Group:         Development/Tools      
+Source0:       http://zope.org/Members/sgiraud/%{zope_subname}/%{zope_subname}/%{zope_subname}_%{version}.tar.gz
+# Source0-md5: 3cc5047f150c66be431a6d1babc403c6
+URL:           http://zope.org/Members/sgiraud/WebMail
+%pyrequires_eq python-modules
+Requires:      Zope
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        product_dir     /usr/lib/zope/Products
+
+%description
+Webmail - is a mail client for Zope
+
+%description -l pl
+Webmail - jest klientem poczty elektronicznej dla Zope
+
+%prep
+%setup -q -c %{zope_subname}-%{version}
+
+%build
+rm -rf `find . -type d -name CVS`
+
+%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.078443 seconds and 4 git commands to generate.