]> git.pld-linux.org Git - packages/Zope-CMFPhotoAlbum.git/blobdiff - Zope-CMFPhotoAlbum.spec
- spaces -> tabs
[packages/Zope-CMFPhotoAlbum.git] / Zope-CMFPhotoAlbum.spec
index 10697b0746a88056c2e4d0ff778eff4c26df27f5..2199e924aff352fed33090e5567ba5f38c80c7e1 100644 (file)
@@ -1,22 +1,23 @@
-%include       /usr/lib/rpm/macros.python
 %define                zope_subname    CMFPhotoAlbum
+%define                sub_ver rc2
 Summary:       A Zope product providing Photo Album in your CMF
 Summary(pl):   Dodatek dla Zope umo¿liwiaj±cy operacje na zdjêciach w CMF
 Name:          Zope-%{zope_subname}
-Version:       0.3
-Release:       5
+Version:       0.4
+Release:       0.%{sub_ver}.3
 License:       GPL v2+
 Group:         Development/Tools
-Source0:       http://dl.sourceforge.net/collective/%{zope_subname}-%{version}.tar.gz
-# Source0-md5: 523f48d4d7e5d69373dcac87fffcad99
+Source0:       http://dl.sourceforge.net/collective/%{zope_subname}-%{version}%{sub_ver}.tar.gz
+# Source0-md5: 5b1157ccdbd7638495481db8c3aefcbe
 URL:           http://sourceforge.net/projects/collective/
+BuildRequires: python
 %pyrequires_eq python-modules
-Requires:      Zope-CMF >= 1.3
+Requires:      Zope-CMF >= 1:1.4
 Requires:      Zope-CMFPlone >= 1.0.1
 Requires:      Zope >= 2.6.1
 Requires:      Zope-BTreeFolder2 >= 0.5
 Requires:      Zope-CMFPhoto
-Requires(post,postun):  /usr/sbin/installzopeproduct
+Requires(post,postun): /usr/sbin/installzopeproduct
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Conflicts:     CMF
@@ -36,7 +37,7 @@ zdj
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
 
-cp -af {Extensions,i18n,skins,*.py} $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af {Extensions,i18n,skins,*.py,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
@@ -54,10 +55,10 @@ 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
+       /usr/sbin/installzopeproduct -d %{zope_subname}
+       if [ -f /var/lock/subsys/zope ]; then
+               /etc/rc.d/init.d/zope restart >&2
+       fi
 fi
 
 %files
This page took 0.079186 seconds and 4 git commands to generate.