]> git.pld-linux.org Git - packages/Zope-COREBlog.git/blobdiff - Zope-COREBlog.spec
- added BR: python
[packages/Zope-COREBlog.git] / Zope-COREBlog.spec
index 2a42d1bce97446cc635e97b83d843b4b0959390a..35a1aa6650cdef3c8d629f56754f66472834e52a 100644 (file)
@@ -1,18 +1,18 @@
-%include       /usr/lib/rpm/macros.python
 %define                zope_subname    COREBlog
 Summary:       Blog / Weblog / Web Nikki system on Zope
 Summary(pl):   System bloga/webloga oparty na Zope
 Name:          Zope-%{zope_subname}
-Version:       0.52b
+Version:       1.0
 Release:       2
 License:       GPL
 Group:         Development/Tools
-Source0:       http://zope.org/Members/ats/%{zope_subname}/%{zope_subname}%20%{version}/%{zope_subname}052b.tgz
-# Source0-md5: 8dec27d7275205ce141adbd1ba999169
-URL:           http://zope.org/Members/ats/COREBlog/
+Source0:       http://coreblog.org/junk/%{zope_subname}10.tgz
+# Source0-md5: 1a0c95a7d22d2f3bd5a05ad3b702a256
+URL:           http://coreblog.org/
+BuildRequires:  python
 %pyrequires_eq python-modules
 Requires:      Zope >= 2.6.1
-Requires(post,postun):  /usr/sbin/installzopeproduct
+Requires(post,postun): /usr/sbin/installzopeproduct
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -24,11 +24,14 @@ System bloga/webloga oparty na Zope.
 
 %prep
 %setup -q -n %{zope_subname}
+find . -type d -name CVS | xargs rm -rf
+find . -type f -name .DS_Store | xargs rm -rf
 
 %build
 mkdir docs docs/stripogram
 mv -f changelog.txt docs
 mv -f stripogram/readme.txt docs/stripogram
+rm -rf dtml/changelog.txt
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -53,10 +56,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.087107 seconds and 4 git commands to generate.