]> git.pld-linux.org Git - packages/Zope-stripogram.git/blame - Zope-stripogram.spec
- converted to UTF-8
[packages/Zope-stripogram.git] / Zope-stripogram.spec
CommitLineData
1cd1cb33 1%define zope_subname stripogram
2Summary: Library for converting HTML to Plain Text
a3385139 3Summary(pl.UTF-8): Biblioteka konwertująca format HTML do zwykłego tekstu
1cd1cb33 4Name: Zope-%{zope_subname}
5Version: 1.4
945f59f9 6Release: 2
1cd1cb33 7License: GPL
8Group: Development/Tools
b883c532 9Source0: http://dl.sourceforge.net/squishdot/%{zope_subname}-1-4.tgz
1cd1cb33 10# Source0-md5: d09a0fa325ec2ae9a6a94b0b4aabd408
11URL: http://zope.org/Members/chrisw/StripOGram/
81381f2f 12BuildRequires: python
b883c532
ER
13BuildRequires: rpmbuild(macros) >= 1.268
14Requires(post,postun): /usr/sbin/installzopeproduct
1cd1cb33 15%pyrequires_eq python-modules
16Requires: Zope
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21stripogram is a library for converting HTML to Plain Text.
22
a3385139
JR
23%description -l pl.UTF-8
24stripogram jest biblioteką konwertującą format HTML do zwykłego
1cd1cb33 25tekstu.
26
27%prep
28%setup -q -n %{zope_subname}
29
30%install
31rm -rf $RPM_BUILD_ROOT
32install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
33
34cp -af *.py $RPM_BUILD_ROOT%{_datadir}/%{name}
35
36%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
37%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
38
39# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%post
45/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
b883c532 46%service -q zope restart
1cd1cb33 47
48%postun
49if [ "$1" = "0" ]; then
50 /usr/sbin/installzopeproduct -d %{zope_subname}
b883c532 51 %service -q zope restart
1cd1cb33 52fi
53
54%files
55%defattr(644,root,root,755)
56%doc readme.txt
57%{_datadir}/%{name}
This page took 0.094193 seconds and 4 git commands to generate.