Version 1.1.2:

* added support for the static/ directory used by the new
  stylesheets for HTML
* re-enabled the new font-macros in spec-file (see commit from
  Mon Aug  6 15:53:53 UTC 2012 - pgajdos@suse.com) that got
  overwritten

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=107
This commit is contained in:
Frank Sundermeyer
2013-01-17 15:37:41 +00:00
committed by Git OBS Bridge
parent d23828d422
commit 71d4aad718
4 changed files with 37 additions and 21 deletions

View File

@@ -17,12 +17,26 @@
Name: daps
Version: 1.1.1
Version: 1.1.2
Release: 0
###############################################################
#
# ATTENTION: Do NOT edit this file outside of
# https://svn.code.sf.net/p/daps/svn/trunk/daps/packaging/daps.spec
#
# Your changes will be lost on the next update
# If you do not have access to the SVN repository, notify
# <fsundermeyer@opensuse.org> and <toms@opensuse.org>
# or send a patch
#
################################################################
#
# Please submit bugfixes or comments via https://sourceforge.net/p/daps/tickets
#
%define docbuilddir %{_datadir}/daps
%define regcat %{_bindir}/sgml-register-catalog
%define fontdir %{_datadir}/fonts/truetype
%define dbstyles %{_datadir}/xml/docbook/stylesheet/nwalsh/current
%define daps_catalog for-catalog-%{name}.xml
@@ -224,13 +238,7 @@ edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
--add /etc/xml/%{daps_catalog}
%if 0%{?suse_version} > 1220
%reconfigure_fonts_post
%else
if test -x sbin/conf.d/SuSEconfig.fonts
then %run_suseconfig -m fonts
fi
%endif
exit 0
#----------------------
@@ -246,21 +254,19 @@ if [ -x /usr/bin/edit-xml-catalog ] ; then
--del %{name}
fi
%if 0%{?suse_version} > 1220
%reconfigure_fonts_postun
%else
if test -x sbin/conf.d/SuSEconfig.fonts
then %run_suseconfig -m fonts
fi
%endif
%reconfigure_fonts_post
fi
exit 0
#----------------------
%posttrans
%reconfigure_fonts_posttrans
#----------------------
%files
%defattr(-,root,root)
%dir %{fontdir}
%dir %{_ttfontsdir}
%dir %{_sysconfdir}/%{name}
%dir %{_defaultdocdir}/%{name}
@@ -273,8 +279,7 @@ exit 0
%{_bindir}/*
%{_datadir}/emacs/site-lisp/docbook_macros.el
%{docbuilddir}
%{fontdir}/*
%{_ttfontsdir}/*
%exclude %{_defaultdocdir}/%{name}/INSTALL
#----------------------