Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:Lazy_Kent
chm2pdf
chm2pdf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chm2pdf.spec of Package chm2pdf
# # spec file for package chm2pdf # # Copyright (c) 2012 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: chm2pdf Version: 0.9.1 Release: 0 License: GPL-2.0 Summary: Convert CHM Files to PDF Ones Url: http://code.google.com/p/chm2pdf/ Group: Productivity/Publishing/PDF Source0: http://chm2pdf.googlecode.com/files/%{name}-%{version}.tar.gz Source1: chm2pdf.1 # PATCH-FIX-UPSTREAM chm2pdf-0.9.1-insecure_temp_dirs.patch -- don't use static names to create temp dirs Patch0: chm2pdf-0.9.1-insecure_temp_dirs.patch # PATCH-FIX-UPSTREAM chm2pdf-0.9.1-bashisms.patch -- fix bashisms in chm2pdf Patch1: chm2pdf-0.9.1-bashisms.patch %if 0%{?suse_version} >= 1210 BuildRequires: python-distribute %else BuildRequires: python-setuptools %endif Requires: chmlib Requires: chmlib-examples Requires: htmldoc Requires: python-PyCHM Recommends: python-beautifulsoup BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %py_requires %description This simple script converts files from CHM format to PDF. %prep %setup -q %patch0 %patch1 %build %install python setup.py install \ --root=%{buildroot} \ --prefix=%{_prefix} \ --record-rpm=INSTALLED_FILES install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1 %files -f INSTALLED_FILES %defattr(-,root,root,-) %doc LICENSE README %doc %{_mandir}/man?/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor