]> git.pld-linux.org Git - packages/Zope-CMFContentPanels.git/commitdiff
- initial release
authorciesiel <ciesiel@pld-linux.org>
Sun, 14 Dec 2003 21:58:23 +0000 (21:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-CMFContentPanels.spec -> 1.1

Zope-CMFContentPanels.spec [new file with mode: 0644]

diff --git a/Zope-CMFContentPanels.spec b/Zope-CMFContentPanels.spec
new file mode 100644 (file)
index 0000000..3354c85
--- /dev/null
@@ -0,0 +1,66 @@
+%include       /usr/lib/rpm/macros.python
+%define                zope_subname    CMFContentPanels
+Summary:       A CMF/Plone portlets product
+Summary(pl):   Produkt dla CMF/Plone pozwalaj±cy na manipulacje panelami portalu
+Name:          Zope-%{zope_subname}
+Version:       1.2.0
+Release:       1
+License:       GPL
+Group:         Development/Tools
+Source0:       http://zope.org/Members/panjunyong/%{zope_subname}/%{zope_subname}-1_2_0/contentpanels-1_2_0.tgz
+# Source0-md5: e882c30a13af77cb3af3c328a6c83aed
+URL:           http://zope.org/Members/panjunyong/CMFContentPanels/
+Requires(post,postun): /usr/sbin/installzopeproduct
+%pyrequires_eq python-modules
+Requires:      Zope
+Requires:      Zope-CMF
+Requires:      Zope-CMFPlone
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Conflicts:     CMF
+Conflicts:     Plone
+
+%description
+A CMF/Plone portlets product.
+
+%description -l pl
+Produkt dla CMF/Plone pozwalaj±cy na manipulacje panelami portalu.
+
+%prep
+%setup -q -n %{zope_subname}
+
+find . -type d -name .svn | xargs rm -rf
+find . -type d -name CVS | xargs rm -rf
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+cp -af {Extensions,i18n,skins,*.py,*.gif,version.txt,refresh.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%postun
+if [ "$1" = "0" ]; then
+        /usr/sbin/installzopeproduct -d %{zope_subname}
+        if [ -f /var/lock/subsys/zope ]; then
+                /etc/rc.d/init.d/zope restart >&2
+        fi
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc HISTORY.txt README.txt INSTALL.txt
+%{_datadir}/%{name}
This page took 0.120088 seconds and 4 git commands to generate.