]> git.pld-linux.org Git - packages/Zope-Epoz.git/commitdiff
- initial release
authorciesiel <ciesiel@pld-linux.org>
Sat, 15 May 2004 00:04:14 +0000 (00:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-Epoz.spec -> 1.3

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

diff --git a/Zope-Epoz.spec b/Zope-Epoz.spec
new file mode 100644 (file)
index 0000000..e964eda
--- /dev/null
@@ -0,0 +1,63 @@
+%include       /usr/lib/rpm/macros.python
+%define        zope_subname    Epoz
+Summary:       epoz allows you to edit Zope or Plone-objects with a wysiwyg-editor (primary ver.)
+Summary(pl):   Dodatek do Zope lub Plone umo¿liwiaj±cy manipulacje na obiektach w trybie WYSIWYG
+Name:          Zope-%{zope_subname}
+Version:       0.8.1
+Release:       1
+License:       ZPL 2.0
+Group:         Development/Tools
+Source0:       http://mjablonski.zope.de/Epoz/releases/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: 095fc9bdac90b0451170b17b78e4206c
+URL:           http://mjablonski.zope.de/Epoz/
+%pyrequires_eq python-modules
+Requires:      Zope
+Requires(post,postun): /usr/sbin/installzopeproduct
+Obsoletes:     Zope-epoz
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+epoz allows you to edit Zope or Plone-objects with a wysiwyg-editor.
+(primary version)
+
+%description -l pl
+Dodatek do Zope lub Plone umo¿liwiaj±cy manipulacje na obiektach w
+trybie WYSIWYG - (wersja pierwotna).
+
+%prep
+%setup -q -c
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af %{zope_subname}/{Extensions,skins,*.py,version.txt} $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 %{zope_subname}/{CHANGES.txt,HISTORY.txt,README.txt,TODO.txt}
+%{_datadir}/%{name}
This page took 0.062563 seconds and 4 git commands to generate.