]> git.pld-linux.org Git - packages/Zope-CMFContentPanels.git/blame - Zope-CMFContentPanels.spec
- tabs in preamble
[packages/Zope-CMFContentPanels.git] / Zope-CMFContentPanels.spec
CommitLineData
c765e4ee 1%define zope_subname CMFContentPanels
96d8f3d1 2#%%define sub_ver RC1
c765e4ee 3Summary: A CMF/Plone portlets product
487d20d2 4Summary(pl.UTF-8): Produkt dla CMF/Plone pozwalający na manipulacje panelami portalu
c765e4ee 5Name: Zope-%{zope_subname}
9b367581 6Version: 2.0
9c5fcdc4 7Release: 1
c765e4ee 8License: GPL
9Group: Development/Tools
9b367581 10Source0: http://plone.org/products/cmfcontentpanels/releases/%{version}/contentpanels-2_0.tgz
11# Source0-md5: 95e2e17255faca6f1122fc64723074b2
9580bfcc 12URL: http://www.zopechina.com/products-en/CMFContentPanels/
da97fe75 13BuildRequires: python
d3da4ba0
ER
14BuildRequires: rpmbuild(macros) >= 1.268
15Requires(post,postun): /usr/sbin/installzopeproduct
c765e4ee 16%pyrequires_eq python-modules
17Requires: Zope
18Requires: Zope-CMF
19Requires: Zope-CMFPlone
c765e4ee 20Conflicts: CMF
21Conflicts: Plone
d3da4ba0
ER
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
c765e4ee 24
25%description
26A CMF/Plone portlets product.
27
d008b134
JR
28%description -l pl.UTF-8
29Produkt dla CMF/Plone pozwalający na manipulacje panelami portalu.
c765e4ee 30
31%prep
32%setup -q -n %{zope_subname}
33
34find . -type d -name .svn | xargs rm -rf
35find . -type d -name CVS | xargs rm -rf
36
37%install
38rm -rf $RPM_BUILD_ROOT
39install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
40
41cp -af {Extensions,i18n,skins,*.py,*.gif,version.txt,refresh.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
42
43%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
44%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
45
46# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%post
52/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
d3da4ba0 53%service -q zope restart
c765e4ee 54
55%postun
56if [ "$1" = "0" ]; then
1b7bd528 57 /usr/sbin/installzopeproduct -d %{zope_subname}
d3da4ba0 58 %service -q zope restart
c765e4ee 59fi
60
61%files
62%defattr(644,root,root,755)
9580bfcc 63%doc HISTORY.txt SUPPORT_WIKI.txt README.txt INSTALL.txt TODO.txt CREDIT.txt FAQ.txt
c765e4ee 64%{_datadir}/%{name}
This page took 0.066353 seconds and 4 git commands to generate.