]> git.pld-linux.org Git - packages/Zope-WebMail.git/blame - Zope-WebMail.spec
- tabs in preamble
[packages/Zope-WebMail.git] / Zope-WebMail.spec
CommitLineData
17415705 1%define zope_subname WebMail
7253fc67 2Summary: A mail client for Zope
d014ed86 3Summary(pl.UTF-8): 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/
5fcbbefb 12BuildRequires: python
11d079d9 13BuildRequires: rpmbuild(macros) >= 1.268
17415705 14%pyrequires_eq python-modules
f059f4b6 15Requires(post,postun): /usr/sbin/installzopeproduct
11d079d9 16Requires: Zope
17415705 17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
17415705 20%description
40dba3e4 21WebMail is a mail client for Zope.
17415705 22
f563b896 23%description -l pl.UTF-8
40dba3e4 24WebMail jest klientem poczty elektronicznej dla Zope.
17415705 25
26%prep
21e82a10 27%setup -q -n %{zope_subname}
17415705 28
21e82a10 29find . -type d -name CVS | xargs rm -rf
17415705 30
31%install
32rm -rf $RPM_BUILD_ROOT
7253fc67 33install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
21e82a10 34
e9752e6a 35cp -af {dtml,style_sheet,www,*.py,refresh.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
17415705 36
7253fc67 37%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
38%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
17415705 39
40# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
17415705 41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%post
7253fc67 46/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
11d079d9 47%service -q zope restart
17415705 48
49%postun
7253fc67 50if [ "$1" = "0" ]; then
f059f4b6 51 /usr/sbin/installzopeproduct -d %{zope_subname}
11d079d9 52 %service -q zope restart
17415705 53fi
54
55%files
56%defattr(644,root,root,755)
21e82a10 57# contains authors
e9752e6a 58%doc LICENSE.txt CHANGES.txt
7253fc67 59%{_datadir}/%{name}
This page took 0.048934 seconds and 5 git commands to generate.