From 671419269f0b50f41af71b857aa7b072be0d528c Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Jul 28 2008 06:28:49 +0000 Subject: Initial import for the first time build --- diff --git a/chm2pdf.spec b/chm2pdf.spec new file mode 100644 index 0000000..1645074 --- /dev/null +++ b/chm2pdf.spec @@ -0,0 +1,50 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: chm2pdf +Version: 0.9.1 +Release: 3%{?dist} +Summary: A tool to convert CHM files to PDF files +Group: Applications/Publishing +License: GPLv2+ +URL: http://code.google.com/p/chm2pdf/ +Source: http://chm2pdf.googlecode.com/files/chm2pdf-%{version}.tar.gz + +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: python-devel +Requires: python >= 2.5, python-chm, htmldoc + +%description +A simple Python script that converts CHM files into PDF files. + +%prep +%setup -q + + +%build +CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README LICENSE +%{_bindir}/chm2pdf +%{python_sitelib}/chm2pdf-0.9-py2.5.egg-info + + +%changelog +* Fri Jul 25 2008 Kushal Das 0.9.1-3 +- Fixed as asked in the review + +* Wed Jul 23 2008 Kushal Das 0.9.1-2 +- Fixed the group + +* Wed Jul 23 2008 Kushal Das 0.9.1-1 +- Initial RPM release + diff --git a/sources b/sources index e69de29..4ef9778 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2d5518e3284cca496270566c2554b713 chm2pdf-0.9.1.tar.gz