]> git.pld-linux.org Git - packages/Zope-ExtFile.git/blame - Zope-ExtFile.spec
- converted to UTF-8
[packages/Zope-ExtFile.git] / Zope-ExtFile.spec
CommitLineData
3c2d43a6 1%define zope_subname ExtFile
2Summary: Product stores large files in an external file-repository
96038e25 3Summary(pl.UTF-8): Produkt umożliwiający obsługę dużych plików w zewnętrznych repozytoriach
3c2d43a6 4Name: Zope-%{zope_subname}
6ba98e05 5Version: 1.4.4
6Release: 1
3c2d43a6 7License: Distributable
8Group: Development/Tools
94cace18 9Source0: http://zope.org/Members/shh/%{zope_subname}/%{version}/%{zope_subname}-%{version}.tar.gz
6ba98e05 10# Source0-md5: 4e13441da832a904cb75ad367388ae8b
94cace18 11URL: http://zope.org/Members/shh/ExtFile/
9341315c 12BuildRequires: python
f040c979 13BuildRequires: rpmbuild(macros) >= 1.268
3c2d43a6 14%pyrequires_eq python-modules
3c2d43a6 15Requires(post,postun): /usr/sbin/installzopeproduct
f040c979
ER
16Requires: Zope
17Requires: python-Imaging
3c2d43a6 18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22The ExtFile Product stores large files in an external file-repository
23and is able to display icons for different MIME-Types.
24
96038e25
JR
25%description -l pl.UTF-8
26Produkt ExtFile umożliwia obsługę dużych plików w zewnętrznych
27repozytoriach i wyświetlanie ich ikonek dla różnych typów MIME.
3c2d43a6 28
29%prep
30%setup -q -n %{zope_subname}
31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
35
3eba552c 36cp -af {Extensions,dtml,icons,tests,utilities,www,*.py,version.txt,refresh.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
3c2d43a6 37
38%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
39%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
40
41# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%post
47/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
f040c979 48%service -q zope restart
3c2d43a6 49
50%postun
51if [ "$1" = "0" ]; then
83163a82 52 /usr/sbin/installzopeproduct -d %{zope_subname}
f040c979 53 %service -q zope restart
3c2d43a6 54fi
55
56%files
57%defattr(644,root,root,755)
70601ea1 58%doc doc-1.1/ CHANGES.txt README.txt UPGRADE.txt
3c2d43a6 59%{_datadir}/%{name}
This page took 0.093539 seconds and 4 git commands to generate.