]> git.pld-linux.org Git - packages/Zope-FSDump.git/commitdiff
- initial release auto/ac/Zope-FSDump-0_7-1
authorciesiel <ciesiel@pld-linux.org>
Tue, 18 May 2004 17:18:06 +0000 (17:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-FSDump.spec -> 1.1

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

diff --git a/Zope-FSDump.spec b/Zope-FSDump.spec
new file mode 100644 (file)
index 0000000..8d7f326
--- /dev/null
@@ -0,0 +1,61 @@
+%include       /usr/lib/rpm/macros.python
+%define                zope_subname    FSDump
+Summary:       Exports through-the-web objects (folders, DTML, etc.) as "natural" filesystem equivalents
+Summary(pl):   Umo¿liwia "zrzut" objektów z Zope
+Name:          Zope-%{zope_subname}
+Version:       0.7
+Release:       1
+License:       ZPL 2.0
+Group:         Development/Tools
+Source0:       http://zope.org/Members/tseaver/%{zope_subname}/%{version}/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: a7ad85b5752c7c8bfc58bcdaef10d894
+URL:           http://zope.org/Members/tseaver/FSDump/
+%pyrequires_eq python-modules
+Requires:      Zope
+Requires(post,postun): /usr/sbin/installzopeproduct
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FSDump exports through-the-web objects (folders, DTML, etc.) 
+as "natural" filesystem equivalents.
+
+%description -l pl
+FSDump umo¿liwia "zrzut" objektów z Zope.
+
+%prep
+%setup -q -n %{zope_subname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+cp -af {help,interfaces,www,*.py,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 CHANGES.txt README.txt TODO.txt
+%{_datadir}/%{name}
This page took 0.774744 seconds and 4 git commands to generate.