]> git.pld-linux.org Git - packages/Zope-kupu.git/commitdiff
- initial release auto/ac/Zope-kupu-1_3_1-1
authorciesiel <ciesiel@pld-linux.org>
Sat, 8 Oct 2005 15:17:56 +0000 (15:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-kupu.spec -> 1.1

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

diff --git a/Zope-kupu.spec b/Zope-kupu.spec
new file mode 100644 (file)
index 0000000..1ee6bd6
--- /dev/null
@@ -0,0 +1,70 @@
+%define        zope_subname    kupu
+Summary:       Kupu is a 'document-centric' open source client-side editor for web browsers
+Summary(pl):   Kupu jest edytorem klienckim pracuj±cym z popularnymi przegl±darkami WWW
+Name:          Zope-%{zope_subname}
+Version:       1.3.1
+Release:       1
+License:       Kupu
+Group:         Development/Tools
+Source0:       http://kupu.oscom.org/midcom-serveattachmentguid-f40122579e491f7a7417987bef0c49ee/kupu-%{version}.tar.gz
+# Source0-md5: 992cff3ccc2dc42a3e7c19344cf52dc4
+Patch0:                %{name}-python_ver.patch
+URL:           http://kupu.oscom.org/
+BuildRequires: python
+%pyrequires_eq python-modules
+Requires:      Zope
+Requires:      Zope-FileSystemSite >= 1.3
+Requires(post,postun): /usr/sbin/installzopeproduct
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Kupu is a 'document-centric' open source client-side editor 
+for Mozilla, Netscape and Internet Explorer.
+This version kupu is only for Zope.
+
+%description -l pl
+Kupu jest edytorem klienckim pracuj±cym z popularnymi 
+przegl±darkami WWW (Mozilla, Netscape and Internet Explorer).
+Wersja dla Zope.
+
+%prep
+%setup -q -n %{zope_subname}
+%patch0 -p1
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af {Extensions,apache-lenya,cnf,common,default,form,i18n,multi} \
+    {plone,python,roundup,silva,tests,tools,widgeteer,zope2,zope3,*.zcml} \
+    {*.py,*.kupu,*.gif,*.xsl,refresh.txt,version.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 doc/*
+%{_datadir}/%{name}
This page took 0.103703 seconds and 4 git commands to generate.