]> git.pld-linux.org Git - packages/Zope-WebMail.git/blame - Zope-WebMail.spec
- spaces->tabs
[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}
5Version: 4.1
c87a8bc6 6Release: 4
21e82a10
JB
7License: GPL v2+
8Group: Development/Tools
17415705 9Source0: http://zope.org/Members/sgiraud/%{zope_subname}/%{zope_subname}/%{zope_subname}_%{version}.tar.gz
10# Source0-md5: 3cc5047f150c66be431a6d1babc403c6
11URL: http://zope.org/Members/sgiraud/WebMail
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
8d85fea4 33cp -af {dtml,style_sheet,www,*.py,*.dtml,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
JB
59# contains authors
60%doc LICENSE.txt
7253fc67 61%{_datadir}/%{name}
This page took 0.082691 seconds and 4 git commands to generate.