forked from pool/python-pychm
Accepting request 244910 from home:TheBlackCat:branches:KDE:Extra
Python chm reader OBS-URL: https://build.opensuse.org/request/show/244910 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pychm?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
pychm-0.8.4.1.tar.gz
Normal file
3
pychm-0.8.4.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ecf6ba39c05d4808a401dc86e5d9fbf3c73501dd5f9959c57da746c98087d790
|
||||||
|
size 25773
|
28
python-pychm.changes
Normal file
28
python-pychm.changes
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 15 21:42:38 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Rename package to python-pychm to meet python packaging rules
|
||||||
|
This also brings the package and spec file names into agreement
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 15 20:45:58 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to 0.8.4.1:
|
||||||
|
* New maintainer (Mikhail Gusarov)
|
||||||
|
* Fix compilation under OS X and Windows.
|
||||||
|
- Complete rewrite of the spec file to match current python
|
||||||
|
packaging conventions.
|
||||||
|
- Updated URL and point source package to pypi download location.
|
||||||
|
- Update license to GPL-2.0+ (it was listed as GPL-2.0)
|
||||||
|
- Build now requires python-setuptools
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 30 18:50:29 UTC 2011 - lazy.kent@opensuse.org
|
||||||
|
|
||||||
|
- renamed to python-PyCHM
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 30 23:18:08 UTC 2010 - lazy.kent.suse@gmail.com
|
||||||
|
|
||||||
|
- initial package created - 0.8.4
|
||||||
|
|
58
python-pychm.spec
Normal file
58
python-pychm.spec
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
# spec file for package python-pychm
|
||||||
|
#
|
||||||
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: python-pychm
|
||||||
|
Version: 0.8.4.1
|
||||||
|
Release: 0
|
||||||
|
License: GPL-2.0+
|
||||||
|
Summary: Python package to handle CHM files
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
URL: https://github.com/dottedmag/pychm
|
||||||
|
Source0: https://pypi.python.org/packages/source/p/pychm/pychm-%{version}.tar.gz
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-setuptools
|
||||||
|
BuildRequires: chmlib-devel
|
||||||
|
BuildRequires: swig
|
||||||
|
Provides: python-PyCHM = %{version}
|
||||||
|
# change to < for next version (after 0.8.4.1)
|
||||||
|
Obsoletes: python-PyCHM <= %{version}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?suse_version} <= 1110
|
||||||
|
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
The chm package provides three modules, chm, chmlib and extra, which
|
||||||
|
provide access to the API implemented by the C library chmlib and some
|
||||||
|
additional classes and functions. They are used to access MS-ITSS
|
||||||
|
encoded files - Compressed Html Help files (.chm).
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pychm-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" python setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
python setup.py install --root="%{buildroot}" --prefix="%{_prefix}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING README
|
||||||
|
%{python_sitearch}/*
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user