]> git.pld-linux.org Git - packages/Zope-I18NLayer.git/blame_incremental - Zope-I18NLayer.spec
- tabs in preamble
[packages/Zope-I18NLayer.git] / Zope-I18NLayer.spec
... / ...
CommitLineData
1%define zope_subname I18NLayer
2Summary: Provide multilanguage content support for existing document types
3Summary(pl.UTF-8): Umożliwia tworzenie wielojęzykowych dokumentów w środowisku Zope
4Name: Zope-%{zope_subname}
5Version: 0.6.0
6Release: 1
7License: GPL v2+
8Group: Development/Tools
9#Source0: http://dl.sourceforge.net/collective/%{zope_subname}-%{version}.tar.gz
10Source0: http://dl.sourceforge.net/collective/I18NLayer-%{version}.tar.gz
11# Source0-md5: 63097d2b464724c381afd3d598233994
12URL: http://plone.org/Members/longsleep/I18NLayer/
13BuildRequires: python
14BuildRequires: rpmbuild(macros) >= 1.268
15%pyrequires_eq python-modules
16Requires: Zope
17Requires: Zope-CMFPlone
18Requires: Zope-PloneLanguageTool
19Requires: Zope-archetypes
20
21Requires(post,postun): /usr/sbin/installzopeproduct
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26I18NLayer provides a transparent overlay above multiple content
27objects to provide multilanguage content support for existing document
28types.
29
30%description -l pl.UTF-8
31I18NLayer dostarcza mechanizm tworzenia wielojęzykowych dokumentów dla
32produktów Zope.
33
34%prep
35%setup -q -n %{zope_subname}
36
37%install
38rm -rf $RPM_BUILD_ROOT
39install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
40
41cp -af {Extensions,i18n,skins,tests,*.py,version.txt} \
42 $RPM_BUILD_ROOT%{_datadir}/%{name}
43
44%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
45%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
46
47# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%post
53/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
54%service -q zope restart
55
56%postun
57if [ "$1" = "0" ]; then
58 /usr/sbin/installzopeproduct -d %{zope_subname}
59 %service -q zope restart
60fi
61
62%files
63%defattr(644,root,root,755)
64%doc CHANGELOG
65%{_datadir}/%{name}
This page took 0.041006 seconds and 4 git commands to generate.