]> git.pld-linux.org Git - packages/Zope-ZWiki.git/blame - Zope-ZWiki.spec
- updated to 0.61.0
[packages/Zope-ZWiki.git] / Zope-ZWiki.spec
CommitLineData
7598e700 1%define zope_subname ZWiki
c324bb13 2# %%define sub_ver rc1
7ffa9cb8 3Summary: Zope product which allows you to build wiki webs in Zope
4d0e5a94 4Summary(pl.UTF-8): Produkt Zope umożliwiający budowanie stron WWW typu wiki
7598e700 5Name: Zope-%{zope_subname}
c483bcae 6Version: 0.61.0
8c97c3be 7Release: 1
7598e700 8License: GPL
9Group: Development/Tools
4cfaec00 10Source0: http://zwiki.org/releases/%{zope_subname}-%{version}.tgz
c483bcae 11# Source0-md5: 74252d6629434e2324505486eee2dfac
7598e700 12URL: http://zwiki.org/FrontPage/
4c62d555 13BuildRequires: python
7132930c
ER
14BuildRequires: rpmbuild(macros) >= 1.268
15Requires(post,postun): /usr/sbin/installzopeproduct
7598e700 16Requires: Zope
7132930c 17%pyrequires_eq python-modules
7598e700 18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
7ffa9cb8 22ZWiki is a Zope product which allows you to build wiki webs in Zope.
7598e700 23
519bde7d
JR
24%description -l pl.UTF-8
25ZWiki to produkt Zope umożliwiający budowanie stron WWW typu wiki.
7598e700 26
27%prep
28%setup -q -n %{zope_subname}
29
30%build
7598e700 31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
35cp -af * $RPM_BUILD_ROOT%{_datadir}/%{name}
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 {} \;;
41rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/docs
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%post
47/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
7132930c 48%service -q zope restart
7598e700 49
50%postun
51if [ "$1" = "0" ]; then
52 /usr/sbin/installzopeproduct -d %{zope_subname}
7132930c 53 %service -q zope restart
7598e700 54fi
55
56%files
57%defattr(644,root,root,755)
7598e700 58%{_datadir}/%{name}
This page took 0.12886 seconds and 4 git commands to generate.