1 | Summary: Norman Walsh's modular stylesheets for DocBook. |
---|
2 | Summary(ja): Norman Walsh 作の DocBook 用スタイルシート |
---|
3 | Name: docbook-style-dsssl |
---|
4 | Version: 1.79 |
---|
5 | Release: 12%{?_dist_release} |
---|
6 | Group: Applications/Text |
---|
7 | |
---|
8 | License: Copyright only |
---|
9 | URL: http://docbook.sourceforge.net/ |
---|
10 | |
---|
11 | Source0: http://prdownloads.sourceforge.net/docbook/docbook-dsssl-%{version}.tar.gz |
---|
12 | Source1: %{name}.Makefile |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildArch: noarch |
---|
16 | |
---|
17 | %define openjadever 1.3.2 |
---|
18 | Requires: openjade = %{openjadever} |
---|
19 | Requires: docbook-dtds |
---|
20 | Requires: sgml-common |
---|
21 | Requires(post): sgml-common |
---|
22 | Requires(preun): sgml-common |
---|
23 | Conflicts: docbook-utils < 0.6.9 |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | |
---|
28 | %description |
---|
29 | These DSSSL stylesheets allow to convert any DocBook document to another |
---|
30 | printed (for example, RTF or PostScript) or online (for example, HTML) format. |
---|
31 | They are highly customizable. |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q -n docbook-dsssl-%{version} |
---|
35 | cp %{SOURCE1} Makefile |
---|
36 | |
---|
37 | |
---|
38 | %build |
---|
39 | |
---|
40 | |
---|
41 | %install |
---|
42 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
43 | |
---|
44 | DESTDIR=$RPM_BUILD_ROOT |
---|
45 | make install BINDIR=$DESTDIR%{_bindir} DESTDIR=$DESTDIR%{_datadir}/sgml/docbook/dsssl-stylesheets-%{version} MANDIR=$DESTDIR%{_mandir} |
---|
46 | cd .. |
---|
47 | ln -s dsssl-stylesheets-%{version} $DESTDIR%{_datadir}/sgml/docbook/dsssl-stylesheets |
---|
48 | |
---|
49 | |
---|
50 | %clean |
---|
51 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
52 | |
---|
53 | %post |
---|
54 | rel=$(echo /etc/sgml/sgml-docbook-3.0-*.cat) |
---|
55 | rel=${rel##*-} |
---|
56 | rel=${rel%.cat} |
---|
57 | for centralized in /etc/sgml/*-docbook-*.cat |
---|
58 | do |
---|
59 | /usr/bin/install-catalog --remove $centralized \ |
---|
60 | /usr/share/sgml/docbook/dsssl-stylesheets-*/catalog \ |
---|
61 | >/dev/null 2>/dev/null |
---|
62 | done |
---|
63 | |
---|
64 | for centralized in /etc/sgml/*-docbook-*$rel.cat |
---|
65 | do |
---|
66 | /usr/bin/install-catalog --add $centralized \ |
---|
67 | /usr/share/sgml/openjade-%{openjadever}/catalog \ |
---|
68 | > /dev/null 2>/dev/null |
---|
69 | /usr/bin/install-catalog --add $centralized \ |
---|
70 | /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog \ |
---|
71 | > /dev/null 2>/dev/null |
---|
72 | done |
---|
73 | |
---|
74 | |
---|
75 | %preun |
---|
76 | if [ "$1" = "0" ]; then |
---|
77 | for centralized in /etc/sgml/*-docbook-*.cat |
---|
78 | do /usr/bin/install-catalog --remove $centralized /usr/share/sgml/openjade-%{openjadever}/catalog > /dev/null 2>/dev/null |
---|
79 | /usr/bin/install-catalog --remove $centralized /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog > /dev/null 2>/dev/null |
---|
80 | done |
---|
81 | fi |
---|
82 | exit 0 |
---|
83 | |
---|
84 | |
---|
85 | %files |
---|
86 | %defattr (-,root,root) |
---|
87 | %doc BUGS README RELEASE-NOTES.txt ChangeLog WhatsNew |
---|
88 | %{_bindir}/collateindex.pl |
---|
89 | %{_datadir}/sgml/docbook/dsssl-stylesheets-%{version} |
---|
90 | %{_datadir}/sgml/docbook/dsssl-stylesheets |
---|
91 | %{_mandir}/man1/collateindex.pl.1* |
---|
92 | |
---|
93 | |
---|
94 | %changelog |
---|
95 | * Fri Apr 22 2011 IWAI, Masaharu <iwai@alib.jp> 1.79-12 |
---|
96 | - add Vendor and Distribution tags |
---|
97 | |
---|
98 | * Sun Mar 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.79-11 |
---|
99 | - based on FC 1.79-10 |
---|
100 | * Tue Feb 02 2010 Ondrej Vasik <ovasik@redhat.com> - 1.79-10 |
---|
101 | - fix merge review issues(#225703) |
---|
102 | * Fri Dec 18 2009 Ondrej Vasik <ovasik@redhat.com> - 1.79-9 |
---|
103 | - License Copyright only |
---|
104 | * Fri Aug 28 2009 Ondrej Vasik <ovasik@redhat.com> - 1.79-8 |
---|
105 | - ship manpage for collateindex.pl |
---|
106 | - preserve attributes and timestamps in Makefile |
---|
107 | * Thu Nov 10 2005 Tim Waugh <twaugh@redhat.com> 1.79-2 |
---|
108 | - Ship olink.dsl (bug #172523). |
---|
109 | |
---|
110 | * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.79-1vl5 |
---|
111 | - applied new versioning policy, spec in utf-8 |
---|
112 | - s/Copyright/License/ |
---|
113 | |
---|
114 | * Thu Jun 9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.79-1vl1 |
---|
115 | - new upstream release |
---|
116 | - No longer need articleinfo patch |
---|
117 | - added Japanese summary |
---|
118 | |
---|
119 | * Wed Jun 4 2003 Jun NISHII <jun@vinelinux.org> 1.78-2vl2 |
---|
120 | - keep silence in preun |
---|
121 | |
---|
122 | * Sat May 3 2003 IWAI Masaharu <iwai@alib.jp> 1.78-2vl1 |
---|
123 | - update %%post and %%preun script from rawhide 1.78-2 |
---|
124 | - source update to 1.78 |
---|
125 | - drop docbook-dsssl-1.76-seealso.patch (Patch1): upstream merged |
---|
126 | - update Makefile (Source1) |
---|
127 | - require newest openjade (version 1.3.2) |
---|
128 | |
---|
129 | * Wed Nov 27 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.77-0vl1 |
---|
130 | - source update to 1.77 |
---|
131 | - Don't apply patch2 |
---|
132 | - require newest openjade (version 1.3.1) |
---|
133 | |
---|
134 | * Tue Sep 24 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.76-6vl1 |
---|
135 | - update to 1.76 based on rawhide 1.76-6 |
---|
136 | - Change URL |
---|
137 | |
---|
138 | * Thu Oct 11 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.64-3vl1 |
---|
139 | - Rebuild for Vine. |
---|
140 | |
---|
141 | * Wed Jul 25 2001 Bill Nottingham <notting@redhat.com> 1.64-3 |
---|
142 | - bump release |
---|
143 | |
---|
144 | * Thu May 9 2001 Tim Waugh <twaugh@redhat.com> 1.64-2 |
---|
145 | - Make an unversioned dsssl-stylesheets symbolic link. |
---|
146 | |
---|
147 | * Wed May 2 2001 Tim Waugh <twaugh@redhat.com> 1.64-1 |
---|
148 | - 1.64 (fixes #38095). |
---|
149 | - Fix up post/preun scripts so that we don't get duplicate entries with |
---|
150 | different versions on upgrade. |
---|
151 | |
---|
152 | * Sun Mar 25 2001 Tim Waugh <twaugh@redhat.com> 1.59-10 |
---|
153 | - Fix up Makefile (patch from SATO Satoru). |
---|
154 | - Change postun to preun. |
---|
155 | - Make preun conditional on remove rather than upgrade. |
---|
156 | |
---|
157 | * Tue Mar 6 2001 Tim Waugh <twaugh@redhat.com> |
---|
158 | - PreReq docbook-dtd-sgml (it was a requirement before), so that the |
---|
159 | scripts work right. |
---|
160 | |
---|
161 | * Tue Feb 20 2001 Tim Waugh <twaugh@redhat.com> |
---|
162 | - Change Requires(...) to PreReq at Preston's request. |
---|
163 | - PreReq at least openjade-1.3-12, so that its catalogs get installed. |
---|
164 | |
---|
165 | * Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com> |
---|
166 | - Make scripts quieter. |
---|
167 | |
---|
168 | * Tue Jan 23 2001 Tim Waugh <twaugh@redhat.com> |
---|
169 | - Last fix was wrong; corrected (require openjade 1.3). |
---|
170 | |
---|
171 | * Fri Jan 19 2001 Tim Waugh <twaugh@redhat.com> |
---|
172 | - Require jade not openjade (bug #24306). |
---|
173 | |
---|
174 | * Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com> |
---|
175 | - Don't play so many macro games. |
---|
176 | - Change requirement on /usr/bin/install-catalog to sgml-common. |
---|
177 | - Be sure to own dsssl-stylesheets-1.59 directory. |
---|
178 | |
---|
179 | * Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com> |
---|
180 | - Change group. |
---|
181 | - openjade not jade. |
---|
182 | - %%{_tmppath}. |
---|
183 | - rm before install. |
---|
184 | - Change Copyright: to License:. |
---|
185 | - Remove Packager: line. |
---|
186 | |
---|
187 | * Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com> |
---|
188 | - Based on Eric Bischoff's new-trials packages. |
---|