SPECS: Zope-COREBlog2.spec (NEW) - initial release

ciesiel ciesiel at pld-linux.org
Sat Jan 7 13:30:34 CET 2006


Author: ciesiel                      Date: Sat Jan  7 12:30:34 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

---- Files affected:
SPECS:
   Zope-COREBlog2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/Zope-COREBlog2.spec
diff -u /dev/null SPECS/Zope-COREBlog2.spec:1.1
--- /dev/null	Sat Jan  7 13:30:34 2006
+++ SPECS/Zope-COREBlog2.spec	Sat Jan  7 13:30:29 2006
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+%define		zope_subname	COREBlog2
+%define		sub_ver b
+%define		header_load _08b
+Summary:	Blog / Weblog / Web Nikki system on Zope and Plone
+Summary(pl):	System bloga/webloga oparty na Zope i Plone
+Name:		Zope-%{zope_subname}
+Version:	0.8
+Release:	0.%{sub_ver}.1
+License:	GPL
+Group:		Development/Tools
+Source0:	http://coreblog.org/junk/%{zope_subname}%{header_load}.tgz
+# Source0-md5:	6a75d95b2068266b5dd59e1781eff54a
+URL:		http://coreblog.org/
+BuildRequires:	python
+%pyrequires_eq	python-modules
+Requires:	Zope >= 2.7.7
+Requires:	Zope-CMFPlone >= 2.1.1
+Requires(post,postun):	/usr/sbin/installzopeproduct
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Blog / Weblog / Web Nikki system on Zope and Plone.
+
+%description -l pl
+System bloga/webloga oparty na Zope i Plone.
+
+%prep
+%setup -q -n %{zope_subname}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+cp -af * $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 {} \;;
+rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/{README.txt,changelog.txt,LICENSE.*}
+
+%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 README.txt changelog.txt
+%{_datadir}/%{name}
+
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/01/07 12:30:29  ciesiel
+- initial release
+
================================================================


More information about the pld-cvs-commit mailing list