]> git.pld-linux.org Git - packages/Zope-CMFPloneWebMail.git/blame - Zope-CMFPloneWebMail.spec
- remove R:python
[packages/Zope-CMFPloneWebMail.git] / Zope-CMFPloneWebMail.spec
CommitLineData
a3c93705 1%define zope_subname PloneWebMail
2Summary: E-mail client for Plone (IMAP)
f37ecf36 3Summary(pl): Klient poczty elektronicznej (IMAP) dla Plone
a3c93705 4Name: Zope-CMF%{zope_subname}
5Version: 1.0
b87695c9 6Release: 3
a3c93705 7License: GPL v2
8Group: Development/Tools
9Source0: http://plonewebmail.openprojects.it/Members/admin/%{zope_subname}-%{version}final.tar.gz
10# Source0-md5: 255541e6a43c9de4fa6fccce523c5ffa
11URL: http://plonewebmail.openprojects.it/
12Requires(post,postun): /usr/sbin/installzopeproduct
13%pyrequires_eq python-modules
14Requires: Zope
b87695c9 15Requires: Zope-CMF >= 1:1.4
a3c93705 16Requires: Zope-CMFPlone >= 2.0
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21PloneWebMail is a e-mail client for Plone (IMAP).
22
23%description -l pl
f37ecf36 24PloneWebMail jest klientem poczty elektronicznej (IMAP) dla Plone.
a3c93705 25
26%prep
27%setup -q -n %{zope_subname}
28
a3c93705 29%install
30rm -rf $RPM_BUILD_ROOT
31install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
32
33cp -af {Extensions,i18n,skins,*.py,VERSION.TXT,refresh.txt,*.gif} $RPM_BUILD_ROOT%{_datadir}/%{name}
34
35%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
36%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
37
38# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%post
44/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
45if [ -f /var/lock/subsys/zope ]; then
46 /etc/rc.d/init.d/zope restart >&2
47fi
48
49%postun
50if [ "$1" = "0" ]; then
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
55fi
56
57%files
58%defattr(644,root,root,755)
59%doc CHANGES.TXT README.TXT INSTALL.TXT CREDITS.txt
60%{_datadir}/%{name}
This page took 0.086375 seconds and 4 git commands to generate.