]> git.pld-linux.org Git - packages/Zope-Epoz.git/blame - Zope-Epoz.spec
- up to 2.0.2
[packages/Zope-Epoz.git] / Zope-Epoz.spec
CommitLineData
7cf01c45 1%define zope_subname Epoz
26c9a592 2Summary: epoz allows you to edit Zope or Plone-objects with a WYSIWYG-editor (primary ver.)
e5397c65 3Summary(pl.UTF-8): Dodatek do Zope lub Plone umożliwiający manipulacje na obiektach w trybie WYSIWYG
7cf01c45 4Name: Zope-%{zope_subname}
b9283d48 5Version: 2.0.2
5c4b175f 6Release: 1
7cf01c45 7License: ZPL 2.0
8Group: Development/Tools
0584da94 9Source0: http://iungo.org/products/Epoz/releases/%{zope_subname}-%{version}.tar.gz
b9283d48 10# Source0-md5: b5e15ee8450715832475968a02886e8c
0584da94 11URL: http://iungo.org/products/Epoz/
6b7b35b2 12BuildRequires: python
5eb81442 13BuildRequires: rpmbuild(macros) >= 1.268
7cf01c45 14%pyrequires_eq python-modules
7cf01c45 15Requires(post,postun): /usr/sbin/installzopeproduct
5eb81442 16Requires: Zope
7cf01c45 17Obsoletes: Zope-epoz
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
26c9a592 22epoz allows you to edit Zope or Plone-objects with a WYSIWYG-editor.
7cf01c45 23(primary version)
24
b9db8714
JR
25%description -l pl.UTF-8
26Dodatek do Zope lub Plone umożliwiający manipulacje na obiektach w
7cf01c45 27trybie WYSIWYG - (wersja pierwotna).
28
29%prep
30%setup -q -c
31
7cf01c45 32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
5c4b175f 35cp -af %{zope_subname}/{Extensions,epoz,*.py,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
7cf01c45 36
37%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
38%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
39
40# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%post
46/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
5eb81442 47%service -q zope restart
7cf01c45 48
49%postun
50if [ "$1" = "0" ]; then
51 /usr/sbin/installzopeproduct -d %{zope_subname}
5eb81442 52 %service -q zope restart
7cf01c45 53fi
54
55%files
56%defattr(644,root,root,755)
d34f0654 57%doc %{zope_subname}/{CHANGES.txt,HISTORY.txt,README.txt,TODO.txt,FAQ.txt,mx*.txt}
7cf01c45 58%{_datadir}/%{name}
This page took 0.111679 seconds and 4 git commands to generate.