Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
docbook2odf
docbook2odf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File docbook2odf.spec of Package docbook2odf
# # spec file for package docbook2odf # # Copyright (c) 2009, 2010 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/ # # svn20100224 is define version 0.263 %define db2odfdir %{_datadir}/%{name} Summary: Stylesheets & Utils to Transform DocBook XML to OpenDocument Format Name: docbook2odf Version: svn20120806 Release: 1 Source0: %{name}-%{version}.tar.bz2 Source10: changed.xsl Source100: %{name}-rpmlintrc Patch0: %{name}+colspan.diff Patch1: %{name}+text-changed.diff Patch2: %{name}_changed+imgpath.patch Patch3: %{name}+ulink.diff License: GPL-2.0 Group: Productivity/Publishing/DocBook BuildRoot: %{_tmppath}/%{name}.%{version}-%{release}-buildroot BuildArch: noarch Vendor: Roman Fordinál <fordinal@webcom.sk> # Url: http://sourceforge.net/projects/docbook2odf Url: http://svn.comsultia.com/docbook2odf/trunk Requires: docbook-xsl-stylesheets Requires: perl-PerlMagick Requires: perl-Archive-Zip # In the past, perl-XML-Sablotron was used. This is not needed anymore # and could be replaced by the following package: Requires: perl-XML-LibXSLT BuildRequires: fdupes %description Docbook2odf is a toolkit that automaticaly converts DocBook to OASIS OpenDocument (ODF, the ISO standardized format used for texts, spreadsheets and presentations). Conversion is based on a XSLT which makes it easy to convert DocBook->ODF, ODT, ODS and ODP as all these documents are XML based. Also goal of docbook2odf is to generate well formatted documents in OpenDocument, ready to be used in instant, with actually considering current rules of the Corporate Identity of organizations. Final results should not be restricted to text like documents but also many other forms could be generated, like presentations, charts or forms with images and multimedia. Author ------ Roman Fordinál <fordinal@webcom.sk> %define INSTALL_SCRIPT %__install -m755 %define INSTALL_DATA %__cp %define __find /usr/bin/find %prep %setup -q -n %{name}-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 # Copy the stylesheet: cp %{S:10} xsl/document-content/ %{__find} -name .cvsignore | xargs %{__rm} %build %install %__mkdir_p $RPM_BUILD_ROOT/%{db2odfdir} \ $RPM_BUILD_ROOT/%{_bindir} \ $RPM_BUILD_ROOT%{_mandir}/man1/ %{INSTALL_DATA} -a xsl $RPM_BUILD_ROOT%{db2odfdir}/ %{INSTALL_SCRIPT} utils/docbook2odf $RPM_BUILD_ROOT/%{_bindir}/ %{__cp} docs/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/ %clean %{__rm} -fr $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc examples README # # If we includes the tests directory, you'll get rpmlint warnings %doc tests %{_datadir}/%{name} %{_bindir}/%{name} %{_mandir}/man1/* %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