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