]> git.pld-linux.org Git - SPECS.git/blob - python-chm.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / python-chm.spec
1 %define         modulename      pychm
2 Summary:        Python package to handle CHM files
3 Summary(pl.UTF-8):      Pakiet dla pythona do obsługi plików CHM
4 Name:           python-chm
5 Version:        0.8.4
6 Release:        6
7 License:        GPL v2+
8 Group:          Libraries/Python
9 Source0:        http://downloads.sourceforge.net/gnochm/%{modulename}-%{version}.tar.gz
10 # Source0-md5:  ff7f0baf94290c44263a1618e7e6a116
11 URL:            http://gnochm.sourceforge.net/pychm.html
12 BuildRequires:  rpmbuild(macros) >= 1.710
13 BuildRequires:  chmlib-devel
14 BuildRequires:  python
15 BuildRequires:  python-devel >= 1:2.5
16 BuildRequires:  python-modules
17 BuildRequires:  rpm-pythonprov
18 %pyrequires_eq  python
19 Obsoletes:      pychm
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 The chm package provides three modules, chm, chmlib and extra, which
24 provide access to the API implemented by the C library chmlib and some
25 additional classes and functions. They are used to access MS-ITSS
26 encoded files - Compressed HTML Help files (.chm).
27
28 %description -l pl.UTF-8
29 Pakiet chm udostępnia trzy moduły - chm, chmlib i extra, które
30 udostępniają dostęp do API biblioteki chmlib oraz kilka dodatkowych
31 klas i funkcji. Są one wykorzystywane do dostępu zakodowanych w
32 MS-ITSS plików - skompresowanych plików pomocy HTML(.chm).
33
34 %prep
35 %setup -q -n %{modulename}-%{version}
36
37 %build
38 %py_build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 %py_install
43
44 %py_postclean
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc ChangeLog NEWS README
52 %dir %{py_sitedir}/chm
53 %attr(755,root,root) %{py_sitedir}/chm/*.so
54 %{py_sitedir}/chm/*.py[oc]
55 %{py_sitedir}/pychm-*.egg-info
This page took 0.15642 seconds and 3 git commands to generate.