]> git.pld-linux.org Git - packages/Zope-FSDump.git/blame - Zope-FSDump.spec
- converted to UTF-8
[packages/Zope-FSDump.git] / Zope-FSDump.spec
CommitLineData
f1df0d19 1%define zope_subname FSDump
2Summary: Exports through-the-web objects (folders, DTML, etc.) as "natural" filesystem equivalents
b463ad64 3Summary(pl.UTF-8): Pakiet umożliwiający "zrzut" obiektów z Zope
f1df0d19 4Name: Zope-%{zope_subname}
c32a506e 5Version: 0.9.2
291739b8 6Release: 1
f1df0d19 7License: ZPL 2.0
8Group: Development/Tools
75c9dee8 9Source0: http://zope.org/Members/tseaver/%{zope_subname}/%{zope_subname}-%{version}/%{zope_subname}-%{version}.tar.gz
c32a506e 10# Source0-md5: c8bb0b5fa3e04bfe1dfa811271e37871
f1df0d19 11URL: http://zope.org/Members/tseaver/FSDump/
b1a829c0 12BuildRequires: python
b4e09b3d
ER
13BuildRequires: rpmbuild(macros) >= 1.268
14Requires(post,postun): /usr/sbin/installzopeproduct
f1df0d19 15%pyrequires_eq python-modules
16Requires: Zope
f1df0d19 17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
b4e09b3d
ER
21FSDump exports through-the-web objects (folders, DTML, etc.) as
22"natural" filesystem equivalents.
f1df0d19 23
b463ad64
JR
24%description -l pl.UTF-8
25FSDump umożliwia "zrzut" obiektów z Zope.
f1df0d19 26
27%prep
28%setup -q -n %{zope_subname}-%{version}
29
30%install
31rm -rf $RPM_BUILD_ROOT
32install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
33
a341da8e 34cp -af FSDump/{help,interfaces,www,*.py,version.txt} \
f1df0d19 35 $RPM_BUILD_ROOT%{_datadir}/%{name}
36
37%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
38%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
39
40# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%post
46/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
b4e09b3d 47%service -q zope restart
f1df0d19 48
49%postun
50if [ "$1" = "0" ]; then
51 /usr/sbin/installzopeproduct -d %{zope_subname}
b4e09b3d 52 %service -q zope restart
f1df0d19 53fi
54
55%files
56%defattr(644,root,root,755)
a341da8e 57%doc FSDump/{CHANGES.txt,INSTALL.txt,README.txt,TODO.txt}
f1df0d19 58%{_datadir}/%{name}
This page took 0.129612 seconds and 4 git commands to generate.