source: projects/specs/branches/6/d/docbook2epub/docbook2epub-vl.spec @ 3341

Revision 3341, 1.1 KB checked in by iwaim, 13 years ago (diff)

new: docbook2epub 1.0.4-1

Line 
1Summary: a Python/XSLT application to convert a DocBook XML document to ePub
2Name: docbook2epub
3Version: 1.0.4
4Release: 1%{?_dist_release}
5License: New BSD License
6Group: Applications/Publishing
7URL: http://code.google.com/p/epub-tools/
8Source0: http://epub-tools.googlecode.com/files/%{name}-%{version}.zip
9BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
10
11BuildRequires: python-devel >= 2.4
12BuildRequires: python-setuptools unzip
13Requires: python-lxml docbook-style-xsl >= 1.74.2
14
15BuildArch: noarch
16
17Vendor: Project Vine
18Distribution: Vine Linux
19Packager: iwaim
20
21%description
22docbook2epub is a Python/XSLT application to convert a DocBook XML document to ePub.
23
24%prep
25%setup -q -n %{name}
26
27%build
28%__python setup.py build
29
30%install
31%__rm -rf %{buildroot}
32%__python setup.py install --root=%{buildroot}
33pushd epubtools
34%__python setup.py install --root=%{buildroot}
35popd
36
37%clean
38%__rm -rf %{buildroot}
39
40%files
41%defattr(-,root,root,-)
42%{_bindir}/db2epub.py
43%{python_sitelib}/docbook2epub*
44%{python_sitelib}/epubtools*
45
46%changelog
47* Fri Apr  8 2011 IWAI, Masaharu <iwai@alib.jp> 1.0.4-1
48- Initial build.
49
50
Note: See TracBrowser for help on using the repository browser.