]> git.pld-linux.org Git - packages/Zope-ExternalEditor.git/blame - Zope-ExternalEditor.spec
- up to 0.9.3
[packages/Zope-ExternalEditor.git] / Zope-ExternalEditor.spec
CommitLineData
0b7ee419 1%define zope_subname ExternalEditor
2c5f793a 2Summary: A Zope product integrating Zope more seamlessly with client-side tools
33629311 3Summary(pl.UTF-8): Dodatek do Zope lepiej intergrujący Zope z narzędziami od strony klienta
0b7ee419 4Name: Zope-%{zope_subname}
e70d0d15 5Version: 0.9.3
9f05c9eb 6Release: 1
96eec1ce 7License: ZPL 2.0
0b7ee419 8Group: Development/Tools
9f05c9eb 9Source0: http://plope.com/software/ExternalEditor/ExternalEditor-%{version}-src.tgz
e70d0d15 10# Source0-md5: 6519dbddb7755d91823025d9c14adaa1
9f05c9eb 11URL: http://plope.com/software/ExternalEditor/
8a83038a 12BuildRequires: python
22d0412b 13BuildRequires: rpmbuild(macros) >= 1.268
0b7ee419 14%pyrequires_eq python-modules
8a83038a 15Requires(post,postun): /usr/sbin/installzopeproduct
22d0412b 16Requires: Zope
0b7ee419 17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
0b7ee419 20%description
22d0412b
ER
21ExternalEditor is a Zope product, a new way to integrate Zope more
22seamlessly with client-side tools. This package is supposed to be
23installed on Zope server, there is a zopeedit tool for clients.
0b7ee419 24
03abcbdb
JR
25%description -l pl.UTF-8
26ExternalEditor jest dodatkiem do Zope, umożliwiającym w nowy, bardziej
27przezroczysty sposób integrować Zope z narzędziami od strony klienta.
28Ten pakiet powinien być zainstalowany na serwerze Zope. Od strony
29klienta dostęp do niego zapewnia pakiet zopeedit.
8d001a33 30
0b7ee419 31%prep
8d001a33 32%setup -q -n %{zope_subname}
0b7ee419 33
0b7ee419 34%install
35rm -rf $RPM_BUILD_ROOT
543c1f9c 36install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
21a8432b 37# install -d $RPM_BUILD_ROOT%{_mandir}/man1
22a7391b 38
70208fc5 39cp -af {Plugins,*.py,*.gif,*.dtml,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
21a8432b 40# cp -af man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
0b7ee419 41
543c1f9c
JK
42%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
43%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
0b7ee419 44
f98fb57b 45# rm $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}/*.py
0b7ee419 46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%post
543c1f9c 51/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
22d0412b 52%service -q zope restart
0b7ee419 53
0b7ee419 54%postun
543c1f9c 55if [ "$1" = "0" ]; then
22d0412b
ER
56 /usr/sbin/installzopeproduct -d %{zope_subname}
57 %service -q zope restart
0b7ee419 58fi
59
60%files
61%defattr(644,root,root,755)
70208fc5 62%doc CHANGES.txt INSTALL-UNIX.txt README.txt
21a8432b 63# %%{_mandir}/man1/*
543c1f9c 64%{_datadir}/%{name}
This page took 0.090623 seconds and 4 git commands to generate.