rpms/python-chm/devel python-chm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Fri Mar 17 18:06:56 UTC 2006


Author: pertusus

Update of /cvs/extras/rpms/python-chm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26065/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-chm.spec 
Log Message:
auto-import python-chm-0.8.2-2 on branch devel from python-chm-0.8.2-2.src.rpm


--- NEW FILE python-chm.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           python-chm
Version:        0.8.2
Release:        2%{?dist}
Summary:        Python package for CHM files handling

Group:          Development/Languages
License:        GPL
URL:            http://gnochm.sourceforge.net/pychm.html
Source0:        http://dl.sf.net/gnochm/pychm-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel
BuildRequires:  chmlib-devel
Requires:   python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")

%description
The python 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="$RPM_OPT_FLAGS" %{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING NEWS README
%dir %{python_sitearch}/chm/
%{python_sitearch}/chm/*.py
%{python_sitearch}/chm/*.pyc
%{python_sitearch}/chm/*.so
%ghost %{python_sitearch}/chm/*.pyo


%changelog
* Sun Mar 12 2006 Patrice Dumas <pertusus at free.fr> 0.8.2-2
- Fedora Extras submission, loosely based on Dag.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-chm/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Mar 2006 18:05:13 -0000	1.1
+++ .cvsignore	17 Mar 2006 18:06:56 -0000	1.2
@@ -0,0 +1 @@
+pychm-0.8.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-chm/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Mar 2006 18:05:13 -0000	1.1
+++ sources	17 Mar 2006 18:06:56 -0000	1.2
@@ -0,0 +1 @@
+d1bc0d4d2d9f91aef5bf12ab0f92f0da  pychm-0.8.2.tar.gz




More information about the scm-commits mailing list