]> git.pld-linux.org Git - packages/Zope-WebMail.git/blame - Zope-WebMail.spec
- rel. 2 for rebuild with python 2.4
[packages/Zope-WebMail.git] / Zope-WebMail.spec
CommitLineData
17415705 1%define zope_subname WebMail
7253fc67 2Summary: A mail client for Zope
3Summary(pl): Klient poczty elektronicznej dla Zope
17415705 4Name: Zope-%{zope_subname}
e9752e6a 5Version: 4.3.1
903e9b73 6Release: 2
21e82a10
JB
7License: GPL v2+
8Group: Development/Tools
e9752e6a 9Source0: http://www.pentila.com/produits/WebMail/%{zope_subname}-%{version}.tgz
10# Source0-md5: b35b48977be73eb8511296f3d3f7a244
11URL: http://www.pentila.com/produits/WebMail/
17415705 12%pyrequires_eq python-modules
13Requires: Zope
f059f4b6 14Requires(post,postun): /usr/sbin/installzopeproduct
17415705 15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
17415705 18%description
40dba3e4 19WebMail is a mail client for Zope.
17415705 20
21%description -l pl
40dba3e4 22WebMail jest klientem poczty elektronicznej dla Zope.
17415705 23
24%prep
21e82a10 25%setup -q -n %{zope_subname}
17415705 26
21e82a10 27find . -type d -name CVS | xargs rm -rf
17415705 28
29%install
30rm -rf $RPM_BUILD_ROOT
7253fc67 31install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
21e82a10 32
e9752e6a 33cp -af {dtml,style_sheet,www,*.py,refresh.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
17415705 34
7253fc67 35%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
36%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
17415705 37
38# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
17415705 39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%post
7253fc67 44/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
17415705 45if [ -f /var/lock/subsys/zope ]; then
46 /etc/rc.d/init.d/zope restart >&2
47fi
48
49%postun
7253fc67 50if [ "$1" = "0" ]; then
f059f4b6 51 /usr/sbin/installzopeproduct -d %{zope_subname}
52 if [ -f /var/lock/subsys/zope ]; then
53 /etc/rc.d/init.d/zope restart >&2
54 fi
17415705 55fi
56
57%files
58%defattr(644,root,root,755)
21e82a10 59# contains authors
e9752e6a 60%doc LICENSE.txt CHANGES.txt
7253fc67 61%{_datadir}/%{name}
This page took 0.038601 seconds and 4 git commands to generate.