]> git.pld-linux.org Git - packages/Zope-PloneExFile.git/commitdiff
- initital auto/ac/Zope-PloneExFile-2_03-1
authorundefine <undefine@pld-linux.org>
Wed, 8 Jun 2005 15:31:12 +0000 (15:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-PloneExFile.spec -> 1.1

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

diff --git a/Zope-PloneExFile.spec b/Zope-PloneExFile.spec
new file mode 100644 (file)
index 0000000..4ad5355
--- /dev/null
@@ -0,0 +1,61 @@
+%define                zope_subname    PloneExFile
+Summary:       A Plone content type with an attachment
+Summary(pl):   Typ Plone z za³±cznikami
+Name:          Zope-%{zope_subname}
+Version:       2.03
+Release:       1
+License:       ZPL
+Group:         Development/Tools
+Source0:       http://dl.sourceforge.net/ingeniweb/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: d866d1e8460d168f9b262a58d637ea7f
+URL:           http://sourceforge.net/projects/ingeniweb/
+%pyrequires_eq python-modules
+Requires:      Zope
+Requires:      Zope-ZAttachmentAttribute >= 2.0
+Requires(post,postun): /usr/sbin/installzopeproduct
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Plone content type with an attachment.
+
+%description -l pl
+Typ Plone z za³±cznikami.
+
+%prep
+%setup -q -n %{zope_subname}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+cp -af Extensions i18n skins website *.py *.txt \
+       $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%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 CHANGES ChangeLog README.txt TODO.txt doc/*
+%{_datadir}/%{name}
This page took 0.0921149999999999 seconds and 4 git commands to generate.