]> git.pld-linux.org Git - packages/Zope-CMFPloneWebMail.git/commitdiff
- initial release auto/ac/Zope-CMFPloneWebMail-1_0-1
authorciesiel <ciesiel@pld-linux.org>
Sat, 20 Nov 2004 21:20:54 +0000 (21:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-CMFPloneWebMail.spec -> 1.1

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

diff --git a/Zope-CMFPloneWebMail.spec b/Zope-CMFPloneWebMail.spec
new file mode 100644 (file)
index 0000000..cd6de3a
--- /dev/null
@@ -0,0 +1,62 @@
+%define                zope_subname    PloneWebMail
+Summary:       E-mail client for Plone (IMAP)
+Summary(pl):   Klient poczty elektronicznej dla Plone (IMAP)
+Name:          Zope-CMF%{zope_subname}
+Version:       1.0
+Release:       1
+License:       GPL v2
+Group:         Development/Tools
+Source0:       http://plonewebmail.openprojects.it/Members/admin/%{zope_subname}-%{version}final.tar.gz
+# Source0-md5: 255541e6a43c9de4fa6fccce523c5ffa
+URL:           http://plonewebmail.openprojects.it/
+Requires(post,postun): /usr/sbin/installzopeproduct
+%pyrequires_eq python-modules
+Requires:      Zope
+Requires:      Zope-CMF >= 1.3
+Requires:      Zope-CMFPlone >= 2.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PloneWebMail is a e-mail client for Plone (IMAP).
+
+%description -l pl
+PloneWebMail jest klientem poczty elektronicznej dla Plone (IMAP).
+
+%prep
+%setup -q -n %{zope_subname}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+cp -af {Extensions,i18n,skins,*.py,VERSION.TXT,refresh.txt,*.gif} $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%postun
+if [ "$1" = "0" ]; then
+       /usr/sbin/installzopeproduct -d %{zope_subname}
+       if [ -f /var/lock/subsys/zope ]; then
+               /etc/rc.d/init.d/zope restart >&2
+       fi
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES.TXT README.TXT INSTALL.TXT CREDITS.txt
+%{_datadir}/%{name}
This page took 0.067404 seconds and 4 git commands to generate.