Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
xmlroff
xmlroff.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xmlroff.spec of Package xmlroff
# # spec file for package xmlroff # # Copyright (c) 2009 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/ # # norootforbuild Summary: XSL-FO processor Name: xmlroff Version: 0.6.2 Release: 1 License: Distributable Group: Productivity/Publishing/XML URL: http://xmlroff.org/ Source0: http://ftp.debian.org/debian/pool/main/x/xmlroff/%{name}_%{version}.orig.tar.gz Source1: %{name}-%{version}-rpmlintrc Patch0: %{name}_%{version}-1.2.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libgnomeprint-devel libxml2-devel libxslt-devel cairo-devel BuildRequires: pango-devel gtk2-devel docbook-xsl-stylesheets %description xmlroff is a fast, free, high-quality, multi-platform XSL formatter that aims to excel at DocBook formatting and that integrates easily with other programs and with scripting languages. The xmlroff XSL Formatter is a library -- libfo -- and a command-line program -- xmlroff -- for formatting XML according to the XSL 1.0 Recommendation. %package devel Requires: libxml2-devel libxslt-devel cairo-devel Summary: XSL-FO processor Group: Development/Libraries/C and C++ Autoreqprov: on %description devel xmlroff is a fast, free, high-quality, multi-platform XSL formatter that aims to excel at DocBook formatting and that integrates easily with other programs and with scripting languages. The xmlroff XSL Formatter is a library -- libfo -- and a command-line program -- xmlroff -- for formatting XML according to the XSL 1.0 Recommendation. %prep %setup -q %patch0 -p1 %{__cp} %{S:1} . %build %configure --with-html-dir=%{_defaultdocdir}/%{name}/html # --docdir=%{_defaultdocdir}/%{name} \ %{__make} %{?_smp_mflags} # "Compile" the manpage pushd . cd docs DB=http://docbook.sourceforge.net/release/xsl/current/ xsltproc --nonet $DB/manpages/docbook.xsl %{name}.xml xsltproc --nonet --output %{name}.html $DB/html/docbook.xsl %{name}.xml popd # echo "*** PWD=$PWD ***" %install [ -e %buildroot ] || %{__mkdir} %buildroot # %{__rm} -rf $RPM_BUILD_ROOT # %{__mkdir} -p $RPM_BUILD_ROOT%{_mandir}/man1/ \ # $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/html # $RPM_BUILD_ROOT%{_datadir}/gtk-doc \ # $RPM_BUILD_ROOT%{_libdir}/pkgconfig \ # $RPM_BUILD_ROOT%{_libdir}/ \ # $RPM_BUILD_ROOT%{_includedir} # [ -e %buildroot ] || %{__mkdir} %buildroot %makeinstall # Install the manpage separately: %{__install} -m 644 docs/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 %{__install} -m 644 docs/%{name}.html \ $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} # %{__install} -m 644 COPYING NEWS README TODO \ $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} # Install the HTML docu separately: # %{__install} -m 644 docs/html/* $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/html/ %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root,-) #%doc COPYING NEWS README TODO docs/%{name}.html %dir %{_defaultdocdir}/%{name} %{_defaultdocdir}/%{name}/COPYING %{_defaultdocdir}/%{name}/NEWS %{_defaultdocdir}/%{name}/README %{_defaultdocdir}/%{name}/TODO %{_defaultdocdir}/%{name}/%{name}.html # %{_bindir}/* %{_libdir}/*.so.* %{_libdir}/*.so %{_datadir}/xml/libfo-*/ %{_mandir}/man1/xmlroff.* %files devel %defattr(-,root,root) # %{_datadir}/gtk-doc/html/%{name} %{_defaultdocdir}/%{name}/html %{_includedir}/libfo-*/ %{_libdir}/pkgconfig/*.pc %{_libdir}/*.a %{_libdir}/*.la # %defattr(644, root, root, 755) %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