Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
dblatex
dblatex.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dblatex.spec of Package dblatex
# # spec file for package dblatex # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define name dblatex %define _version 0.3 %define release 1 Summary: DocBook to LaTeX Publishing Name: %{name} Version: %{_version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc Patch0: %{name}-setup.patch License: GPL Group: Productivity/Publishing/DocBook BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot #BuildArch: noarch BuildRequires: python-devel libxslt ImageMagick transfig pyxml grep dos2unix Requires: pyxml Vendor: Benoît Guillon <marsgui@users.sourceforge.net> Url: http://dblatex.sourceforge.net %py_requires # Take care of renaming: %if %suse_version > 1020 Requires: docbook_4 texlive texlive-latex texlive-bin texlive-bin-latex BuildRequires: texlive texlive-latex texlive-bin texlive-bin-latex %else Requires: docbook_4 tetex te_latex BuildRequires: docbook_4 tetex te_latex %endif %description dblatex is a program that transforms your SGML/XMLDocBook documents to DVI, PostScript or PDF by translating them into pure LaTeX as a first process. MathML 2.0 markups are supported, too. It started as a clone of DB2LaTeX. Authors: -------- Benoît Guillon <marsgui@users.sourceforge.net> Andreas Hoenen <andreas.hoenen@arcor.de> %prep %setup -q %patch0 -p1 %__cp docs/manual.pdf . %build env CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install %{__python} setup.py install \ --prefix=%{_prefix} \ --root=$RPM_BUILD_ROOT \ --record-rpm=INSTALLED_FILES [ -e %{py_sitedir}/dbtexmf/dblatex/xetex/fontspec.py ] && \ dos2unix %{py_sitedir}/dbtexmf/dblatex/xetex/fontspec.py %{__grep} -v -e '%dir %{_defaultdocdir}$' INSTALLED_FILES > _tmp %{__mv} _tmp INSTALLED_FILES %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) #%doc manual.pdf #%{_mandir}/man1/%{name}* %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