docbook-dtds-vl.spec 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645
  1. Name: docbook-dtds
  2. Version: 1.0
  3. Release: 55%{?_dist_release}
  4. Group: Applications/Text
  5. Summary: SGML and XML document type definitions for DocBook.
  6. Summary(ja): DocBook 向け SGML/XML DTD
  7. License: Copyright only
  8. URL: http://www.oasis-open.org/docbook/
  9. Obsoletes: docbook-dtd30-sgml < %{version}-%{release}
  10. Obsoletes: docbook-dtd31-sgml < %{version}-%{release}
  11. Obsoletes: docbook-dtd40-sgml < %{version}-%{release}
  12. Obsoletes: docbook-dtd41-sgml < %{version}-%{release}
  13. Obsoletes: docbook-dtd412-xml < %{version}-%{release}
  14. Provides: docbook-dtd-xml = %{version}-%{release}
  15. Provides: docbook-dtd-sgml = %{version}-%{release}
  16. Provides: docbook-dtd30-sgml = %{version}-%{release}
  17. Provides: docbook-dtd31-sgml = %{version}-%{release}
  18. Provides: docbook-dtd40-sgml = %{version}-%{release}
  19. Provides: docbook-dtd41-sgml = %{version}-%{release}
  20. Provides: docbook-dtd412-xml = %{version}-%{release}
  21. Provides: docbook-dtd42-sgml = %{version}-%{release}
  22. Provides: docbook-dtd42-xml = %{version}-%{release}
  23. Provides: docbook-dtd43-sgml = %{version}-%{release}
  24. Provides: docbook-dtd43-xml = %{version}-%{release}
  25. Provides: docbook-dtd44-sgml = %{version}-%{release}
  26. Provides: docbook-dtd44-xml = %{version}-%{release}
  27. Provides: docbook-dtd45-sgml = %{version}-%{release}
  28. Provides: docbook-dtd45-xml = %{version}-%{release}
  29. Requires(post): /usr/bin/xmlcatalog
  30. Requires(postun): /usr/bin/xmlcatalog
  31. Requires(post): /bin/chmod
  32. Requires(post,postun): sed
  33. Requires: sgml-common >= 0.6.3-4
  34. Requires: xml-common >= 0.6.3-8
  35. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  36. BuildArch: noarch
  37. Source0: http://www.oasis-open.org/docbook/sgml/3.0/docbk30.zip
  38. Source1: http://www.oasis-open.org/docbook/sgml/3.1/docbk31.zip
  39. Source2: http://www.oasis-open.org/docbook/sgml/4.0/docbk40.zip
  40. Source3: http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip
  41. Source4: http://www.oasis-open.org/docbook/xml/4.1.2/docbkx412.zip
  42. Source5: http://www.oasis-open.org/docbook/sgml/4.2/docbook-4.2.zip
  43. Source6: http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip
  44. Source7: http://www.docbook.org/sgml/4.3/docbook-4.3.zip
  45. Source8: http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip
  46. Source9: http://www.docbook.org/sgml/4.4/docbook-4.4.zip
  47. Source10: http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip
  48. Source11: http://www.docbook.org/sgml/4.5/docbook-4.5.zip
  49. Source12: http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip
  50. # fix old catalog files
  51. Patch0: docbook-dtd30-sgml-1.0.catalog.patch
  52. Patch1: docbook-dtd31-sgml-1.0.catalog.patch
  53. Patch2: docbook-dtd40-sgml-1.0.catalog.patch
  54. Patch3: docbook-dtd41-sgml-1.0.catalog.patch
  55. Patch4: docbook-dtd42-sgml-1.0.catalog.patch
  56. # fix euro sign in 4.2 dtds
  57. Patch5: docbook-4.2-euro.patch
  58. # Fix ISO entities in 4.3/4.4/4.5 SGML
  59. Patch6: docbook-dtds-ents.patch
  60. # Use system rewrite for web URL's in sgml catalogs to prevent reading from the network(#478680)
  61. Patch7: docbook-sgml-systemrewrite.patch
  62. # use XML at the end of public identificators of XML 4.1.2 ISO entities
  63. Patch8: docbook-dtd412-entities.patch
  64. BuildRequires: unzip
  65. %define openjadever 1.3.2
  66. #PreReq: openjade = %{openjadever}
  67. %define version_list "{3,4}.{0,1}-sgml 4.1.2-xml 4.{2,3,4,5}-{sgml,xml}"
  68. %description
  69. The DocBook Document Type Definition (DTD) describes the syntax of
  70. technical documentation texts (articles, books and manual pages).
  71. This syntax is XML-compliant and is developed by the OASIS consortium.
  72. This package contains SGML and XML versions of the DocBook DTD.
  73. %prep
  74. %setup -c -T
  75. # DocBook V3.0
  76. mkdir 3.0-sgml
  77. cd 3.0-sgml
  78. unzip %{SOURCE0}
  79. %patch0 -p0 -b docbook.cat
  80. cd ..
  81. # DocBook V3.1
  82. mkdir 3.1-sgml
  83. cd 3.1-sgml
  84. unzip %{SOURCE1}
  85. %patch1 -p0 -b docbook.cat
  86. cd ..
  87. # DocBook V4.0
  88. mkdir 4.0-sgml
  89. cd 4.0-sgml
  90. unzip %{SOURCE2}
  91. %patch2 -p0 -b docbook.cat
  92. cd ..
  93. # DocBook V4.1
  94. mkdir 4.1-sgml
  95. cd 4.1-sgml
  96. unzip %{SOURCE3}
  97. %patch3 -p0 -b docbook.cat
  98. cd ..
  99. # DocBook XML V4.1.2
  100. mkdir 4.1.2-xml
  101. cd 4.1.2-xml
  102. unzip %{SOURCE4}
  103. cd ..
  104. # DocBook V4.2
  105. mkdir 4.2-sgml
  106. cd 4.2-sgml
  107. unzip %{SOURCE5}
  108. %patch4 -p0 -b docbook.cat
  109. cd ..
  110. # DocBook XML V4.2
  111. mkdir 4.2-xml
  112. cd 4.2-xml
  113. unzip %{SOURCE6}
  114. cd ..
  115. # DocBook V4.3
  116. mkdir 4.3-sgml
  117. cd 4.3-sgml
  118. unzip %{SOURCE7}
  119. cd ..
  120. # DocBook XML V4.3
  121. mkdir 4.3-xml
  122. cd 4.3-xml
  123. unzip %{SOURCE8}
  124. cd ..
  125. # DocBook V4.4
  126. mkdir 4.4-sgml
  127. cd 4.4-sgml
  128. unzip %{SOURCE9}
  129. cd ..
  130. # DocBook XML V4.4
  131. mkdir 4.4-xml
  132. cd 4.4-xml
  133. unzip %{SOURCE10}
  134. cd ..
  135. # DocBook v4.5
  136. mkdir 4.5-sgml
  137. cd 4.5-sgml
  138. unzip %{SOURCE11}
  139. cd ..
  140. # DocBook XML v4.5
  141. mkdir 4.5-xml
  142. cd 4.5-xml
  143. unzip %{SOURCE12}
  144. cd ..
  145. # Fix &euro; in SGML.
  146. %patch5 -p1
  147. # Fix ISO entities in 4.3/4.4/4.5 SGML
  148. %patch6 -p1
  149. # Rewrite SYSTEM to use local catalog instead web ones (#478680)
  150. %patch7 -p1
  151. # Add XML to the end of public identificators of 4.1.2 XML entities
  152. %patch8 -p1
  153. # Increase NAMELEN (bug #36058, bug #159382).
  154. sed -e's,\(NAMELEN\s\+\)44\(\s\*\)\?,\1256,' -i.namelen */docbook.dcl
  155. # fix of \r\n issue from rpmlint
  156. sed -i 's/\r//' */*.txt
  157. if [ `id -u` -eq 0 ]; then
  158. chown -R root:root .
  159. chmod -R a+rX,g-w,o-w .
  160. fi
  161. %build
  162. %install
  163. rm -rf $RPM_BUILD_ROOT
  164. # Symlinks
  165. mkdir -p $RPM_BUILD_ROOT/etc/sgml
  166. for fmt in sgml xml; do
  167. ln -s $fmt-docbook-4.5.cat \
  168. $RPM_BUILD_ROOT/etc/sgml/$fmt-docbook.cat
  169. done
  170. eval set %{version_list}
  171. for dir
  172. do
  173. cd $dir
  174. fmt=${dir#*-} ver=${dir%%-*}
  175. DESTDIR=$RPM_BUILD_ROOT%{_datadir}/sgml/docbook/$fmt-dtd-$ver
  176. case $fmt in
  177. sgml) mkdir -p $DESTDIR ; install *.dcl $DESTDIR ;;
  178. xml) mkdir -p $DESTDIR/ent ; install ent/* $DESTDIR/ent ;;
  179. esac
  180. install *.dtd *.mod $DESTDIR
  181. install docbook.cat $DESTDIR/catalog
  182. cd ..
  183. # File for %%ghost
  184. touch $RPM_BUILD_ROOT/etc/sgml/$fmt-docbook-$ver.cat
  185. done
  186. %clean
  187. rm -rf $RPM_BUILD_ROOT
  188. %post
  189. catcmd='%{_bindir}/xmlcatalog --noout'
  190. xmlcatalog=%{_datadir}/sgml/docbook/xmlcatalog
  191. ## Clean up pre-docbook-dtds mess caused by broken trigger.
  192. for v in 3.0 3.1 4.0 4.1 4.2
  193. do
  194. if [ -f /etc/sgml/sgml-docbook-$v.cat ]
  195. then
  196. $catcmd --sgml --del /etc/sgml/sgml-docbook-$v.cat \
  197. %{_datadir}/sgml/openjade-1.3.1/catalog 2>/dev/null
  198. fi
  199. done
  200. # The STYLESHEETS/catalog command is for the case in which the style sheets
  201. # were installed after another DTD but before this DTD
  202. for STYLESHEETS in %{_datadir}/sgml/docbook/dsssl-stylesheets-*; do : ; done
  203. case $STYLESHEETS in
  204. *-"*") STYLESHEETS= ;;
  205. esac
  206. eval set %{version_list}
  207. for dir
  208. do
  209. fmt=${dir#*-} ver=${dir%%-*}
  210. sgmldir=%{_datadir}/sgml/docbook/$fmt-dtd-$ver
  211. ## SGML catalog
  212. # Update the centralized catalog corresponding to this version of the DTD
  213. for cat_dir in %{_datadir}/sgml/sgml-iso-entities-8879.1986 $sgmldir $STYLESHEETS; do
  214. $catcmd --sgml --add /etc/sgml/$fmt-docbook-$ver.cat $cat_dir/catalog
  215. done
  216. ## XML catalog
  217. if [ $fmt = xml -a -w $xmlcatalog ]; then
  218. while read f desc; do
  219. case $ver in 4.[45]) f=${f/-/} ;; esac
  220. $catcmd --add public "$desc" $sgmldir/$f $xmlcatalog
  221. done <<ENDENT
  222. ent/iso-pub.ent ISO 8879:1986//ENTITIES Publishing//EN
  223. ent/iso-grk1.ent ISO 8879:1986//ENTITIES Greek Letters//EN
  224. dbpoolx.mod -//OASIS//ELEMENTS DocBook XML Information Pool V$ver//EN
  225. ent/iso-box.ent ISO 8879:1986//ENTITIES Box and Line Drawing//EN
  226. docbookx.dtd -//OASIS//DTD DocBook XML V$ver//EN
  227. ent/iso-grk3.ent ISO 8879:1986//ENTITIES Greek Symbols//EN
  228. ent/iso-amsn.ent ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN
  229. ent/iso-num.ent ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN
  230. dbcentx.mod -//OASIS//ENTITIES DocBook XML Character Entities V$ver//EN
  231. ent/iso-grk4.ent ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN
  232. dbnotnx.mod -//OASIS//ENTITIES DocBook XML Notations V$ver//EN
  233. ent/iso-dia.ent ISO 8879:1986//ENTITIES Diacritical Marks//EN
  234. ent/iso-grk2.ent ISO 8879:1986//ENTITIES Monotoniko Greek//EN
  235. dbgenent.mod -//OASIS//ENTITIES DocBook XML Additional General Entities V$ver//EN
  236. dbhierx.mod -//OASIS//ELEMENTS DocBook XML Document Hierarchy V$ver//EN
  237. ent/iso-amsa.ent ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN
  238. ent/iso-amso.ent ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN
  239. ent/iso-cyr1.ent ISO 8879:1986//ENTITIES Russian Cyrillic//EN
  240. ent/iso-tech.ent ISO 8879:1986//ENTITIES General Technical//EN
  241. ent/iso-amsc.ent ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN
  242. soextblx.dtd -//OASIS//DTD XML Exchange Table Model 19990315//EN
  243. calstblx.dtd -//OASIS//DTD DocBook XML CALS Table Model V$ver//EN
  244. ent/iso-lat1.ent ISO 8879:1986//ENTITIES Added Latin 1//EN
  245. ent/iso-amsb.ent ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN
  246. ent/iso-lat2.ent ISO 8879:1986//ENTITIES Added Latin 2//EN
  247. ent/iso-amsr.ent ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN
  248. ent/iso-cyr2.ent ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN
  249. ENDENT
  250. for f in System URI; do
  251. $catcmd --add rewrite$f "http://www.oasis-open.org/docbook/xml/$ver" \
  252. $sgmldir $xmlcatalog
  253. done
  254. fi
  255. done
  256. # Historic versions of this scriptlet contained the following comment:
  257. # <quote>
  258. # Fix up SGML super catalog so that there isn't an XML DTD before an
  259. # SGML one. We need to do this (*sigh*) because xmlcatalog messes up
  260. # the order of the lines, and SGML tools don't like to see XML things
  261. # they aren't expecting.
  262. # </quote>
  263. # But the code that followed just found the first XML DTD and the first
  264. # SGML DTD, swappinmg these two lines if the XML one preceded.
  265. # But that only ensures that there is an SGML DTD before all XML ones.
  266. # No one complained, so either this was enough, or the buggy SGML tools
  267. # are long dead, or their users do not use bugzilla.
  268. # Anyway, the following code, introduced in 1.0-46, does better: it ensures
  269. # that all XML DTDs are after all SGML ones, by moving them to the end.
  270. sed -ni '
  271. /xml-docbook/ H
  272. /xml-docbook/ !p
  273. $ {
  274. g
  275. s/^\n//p
  276. }
  277. ' /etc/sgml/catalog
  278. # Finally, make sure everything in /etc/sgml is readable!
  279. /bin/chmod a+r /etc/sgml/*
  280. %postun
  281. catcmd='%{_bindir}/xmlcatalog --noout'
  282. xmlcatalog=%{_datadir}/sgml/docbook/xmlcatalog
  283. entities="
  284. ent/iso-pub.ent
  285. ent/iso-grk1.ent
  286. dbpoolx.mod
  287. ent/iso-box.ent
  288. docbookx.dtd
  289. ent/iso-grk3.ent
  290. ent/iso-amsn.ent
  291. ent/iso-num.ent
  292. dbcentx.mod
  293. ent/iso-grk4.ent
  294. dbnotnx.mod
  295. ent/iso-dia.ent
  296. ent/iso-grk2.ent
  297. dbgenent.mod
  298. dbhierx.mod
  299. ent/iso-amsa.ent
  300. ent/iso-amso.ent
  301. ent/iso-cyr1.ent
  302. ent/iso-tech.ent
  303. ent/iso-amsc.ent
  304. soextblx.dtd
  305. calstblx.dtd
  306. ent/iso-lat1.ent
  307. ent/iso-amsb.ent
  308. ent/iso-lat2.ent
  309. ent/iso-amsr.ent
  310. ent/iso-cyr2.ent
  311. "
  312. eval set %{version_list}
  313. for dir
  314. do
  315. fmt=${dir#*-} ver=${dir%%-*}
  316. sgmldir=%{_datadir}/sgml/docbook/$fmt-dtd-$ver
  317. ## SGML catalog
  318. # Update the centralized catalog corresponding to this version of the DTD
  319. $catcmd --sgml --del /etc/sgml/catalog /etc/sgml/$fmt-docbook-$ver.cat
  320. rm -f /etc/sgml/$fmt-docbook-$ver.cat
  321. ## XML catalog
  322. if [ $fmt = xml -a -w $xmlcatalog ]; then
  323. for f in $entities; do
  324. case $ver in 4.[45]) f=${f/-/} ;; esac
  325. $catcmd --del $sgmldir/$f $xmlcatalog
  326. done
  327. $catcmd --del $sgmldir $xmlcatalog
  328. fi
  329. done
  330. # See the comment attached to this command in the %%post scriptlet.
  331. sed -ni '
  332. /xml-docbook/ H
  333. /xml-docbook/ !p
  334. $ {
  335. g
  336. s/^\n//p
  337. }
  338. ' /etc/sgml/catalog
  339. %triggerin -- openjade >= %{openjadever}
  340. eval set %{version_list}
  341. for dir
  342. do
  343. fmt=${dir#*-} ver=${dir%%-*}
  344. %{_bindir}/xmlcatalog --sgml --noout --add /etc/sgml/$fmt-docbook-$ver.cat \
  345. %{_datadir}/sgml/openjade-%{openjadever}/catalog
  346. done
  347. %triggerun -- openjade >= %{openjadever}
  348. [ $2 = 0 ] || exit 0
  349. eval set %{version_list}
  350. for dir
  351. do
  352. fmt=${dir#*-} ver=${dir%%-*}
  353. %{_bindir}/xmlcatalog --sgml --noout --del /etc/sgml/$fmt-docbook-$ver.cat \
  354. %{_datadir}/sgml/openjade-%{openjadever}/catalog
  355. done
  356. %files
  357. %defattr (-,root,root)
  358. %doc --parents 3.1-sgml/ChangeLog
  359. %doc --parents 4.1-sgml/ChangeLog
  360. %doc --parents */*.txt
  361. %config(noreplace) /etc/sgml/sgml-docbook.cat
  362. %config(noreplace) /etc/sgml/xml-docbook.cat
  363. %{_datadir}/sgml/docbook/sgml-dtd-3.0
  364. %{_datadir}/sgml/docbook/sgml-dtd-3.1
  365. %{_datadir}/sgml/docbook/sgml-dtd-4.0
  366. %{_datadir}/sgml/docbook/sgml-dtd-4.1
  367. %{_datadir}/sgml/docbook/sgml-dtd-4.2
  368. %{_datadir}/sgml/docbook/sgml-dtd-4.3
  369. %{_datadir}/sgml/docbook/sgml-dtd-4.4
  370. %{_datadir}/sgml/docbook/sgml-dtd-4.5
  371. %{_datadir}/sgml/docbook/xml-dtd-4.1.2
  372. %{_datadir}/sgml/docbook/xml-dtd-4.2
  373. %{_datadir}/sgml/docbook/xml-dtd-4.3
  374. %{_datadir}/sgml/docbook/xml-dtd-4.4
  375. %{_datadir}/sgml/docbook/xml-dtd-4.5
  376. %ghost %config(noreplace) /etc/sgml/*ml-docbook-*.cat
  377. %changelog
  378. * Sun May 8 2011 IWAI, Masaharu <iwai@alib.jp> 1.0-55
  379. - drop %%{version}-%%{release} in file path
  380. * Fri Apr 22 2011 IWAI, Masaharu <iwai@alib.jp> 1.0-54
  381. - add Requires(post,postun): sed
  382. * Sun Mar 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-53
  383. - updated based on FC 1.0-52
  384. * Wed Mar 03 2010 Ondrej Vasik <ovasik@redhat.com> - 1.0-52
  385. - remove explicit lib dependency (#225700)
  386. * Wed Mar 03 2010 Ondrej Vasik <ovasik@redhat.com> - 1.0-51
  387. - fix Merge Review comments (#225700) - unversion requires,
  388. fix buildroot
  389. * Thu Dec 17 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-50
  390. - comment patches
  391. - License: Copyright only
  392. * Tue Oct 27 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-49
  393. - do not obsolete self
  394. * Mon May 11 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-47
  395. - add requires(post) for /bin/chmod (#498680)
  396. * Wed Apr 8 2009 Stepan Kasal <skasal@redhat.com> - 1.0-46
  397. - remove perl dependency (#462997)
  398. - make %%install and the scriptlets more compact
  399. * Thu Feb 19 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0.44
  400. - fix ISO entities for 4.5 SGML, use XML at the end of
  401. public identificators of XML 4.1.2 ISO entities
  402. * Thu Feb 19 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-43
  403. - register sgml catalogs before xml catalogs in openjade
  404. (#486257)
  405. * Thu Feb 05 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-42
  406. - Use SYSTEM rewrite for web URL's in sgml catalogs to
  407. prevent reading from the network(#478680)
  408. * Fri Sep 26 2008 Ondrej Vasik <ovasik@redhat.com> - 1.0-41
  409. - Removed openjade requirement - registration reworked to
  410. triggers(#234345)
  411. * Fri Jul 11 2008 Ondrej Vasik <ovasik@redhat.com> - 1.0-38
  412. - fixed typo in post scriptlet(causing mishandling of DocBook
  413. 4.4 and 4.5 DTDs,#453513)
  414. * Tue Oct 23 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-34
  415. - corrected most of rpmlint issues
  416. - (PreReq, tab/spaces , wrong permissions on some files,
  417. - wrong file end encoding of txt files, non config files
  418. - in /etc, some requires issues, versioned provides and
  419. - obsoletes, fixed license tag)
  420. * Fri Oct 19 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-33
  421. - fixed wrong attributes for docs(#326581)
  422. * Mon Oct 1 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-32
  423. - DocBook 4.5 SGML and XML.(#312941)
  424. * Wed Jun 20 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-31
  425. - .cat files touched and ghosted to be owned by package
  426. - (bug #193475)
  427. * Tue Dec 13 2005 Tim Waugh <twaugh@redhat.com> 1.0-30
  428. - Fix ISO entities in 4.3/4.4 SGML.
  429. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.0-27vl5
  430. - applied new versioning policy, spec in utf-8
  431. * Thu Jun 9 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-27vl1
  432. - based on Fedora 1.0-27
  433. * Thu Jun 2 2005 Tim Waugh <twaugh@redhat.com> 1.0-27
  434. - Increase NAMELEN (bug #36058, bug #159382).
  435. * Tue Feb 1 2005 Tim Waugh <twaugh@redhat.com> 1.0-26
  436. - DocBook 4.4 SGML and XML.
  437. * Mon Sep 13 2004 Tim Waugh <twaugh@redhat.com> 1.0-25
  438. - DocBook 4.3 SGML and XML (bug #131861).
  439. - added Japanese summary
  440. * Sat Mar 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-24vl1
  441. - based on Fedora 1.0-24
  442. * Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com> 1.0-24
  443. - Use ':' instead of '.' as separator for chown.
  444. * Tue Sep 30 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-22vl2
  445. - fixed %postun to remove old version /etc/sgml-*.cat
  446. * Mon Sep 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-22vl1
  447. - based on Rawhide 1.0-22.1
  448. * Wed Aug 6 2003 Tim Waugh <twaugh@redhat.com> 1.0-22
  449. - More work-arounds for buggy xmlcatalog.
  450. * Tue Jul 15 2003 Tim Waugh <twaugh@redhat.com> 1.0-21
  451. - Fix &euro; in SGML tools.
  452. * Wed May 28 2003 Tim Waugh <twaugh@redhat.com> 1.0-20
  453. - Fix summary and description (bug #73005).
  454. * Tue Jun 3 2003 Jun Nishii <jun@vinelinux.org> 1.0-19vl2
  455. - fixed some typo in scripts
  456. - use for loop in scripts
  457. * Sat May 3 2003 IWAI Masaharu <iwai@alib.jp> 1.0-19vl1
  458. - update %%post and %%postun script from rawhide 1.0-19
  459. - build with openjade-1.3.2
  460. * Mon Nov 25 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0-15vl2
  461. - use PreReq rather than dual Conflicts (it's too bad for apt)
  462. * Mon Nov 25 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0-15vl1
  463. - based on 1.0-15 from Rawhide and rebuilt for Vine Linux
  464. * Wed Nov 20 2002 Tim Powers <timp@redhat.com>
  465. - rebuild in current collinst
  466. * Mon Jul 30 2002 Tim Waugh <twaugh@redhat.com> 1.0-14
  467. - Fix typo in XML catalog (Eric Raymond).
  468. * Tue Jul 23 2002 Tim Waugh <twaugh@redhat.com> 1.0-13
  469. - Provide docbook-dtd42-sgml and docbook-dtd42-xml.
  470. * Thu Jul 18 2002 Tim Waugh <twaugh@redhat.com> 1.0-12
  471. - Fix up SGML super catalog if necessary.
  472. * Wed Jul 17 2002 Tim Waugh <twaugh@redhat.com> 1.0-11
  473. - Add DocBook V4.2.
  474. * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.0-10
  475. - automated rebuild
  476. * Thu May 23 2002 Tim Powers <timp@redhat.com> 1.0-9
  477. - automated rebuild
  478. * Thu Mar 14 2002 Tim Waugh <twaugh@redhat.com> 1.0-8
  479. - Allow for shared /usr/share (bug #61147).
  480. * Tue Mar 12 2002 Tim Waugh <twaugh@redhat.com> 1.0-7
  481. - Make sure that the config files are readable.
  482. * Fri Mar 8 2002 Tim Waugh <twaugh@redhat.com> 1.0-6
  483. - Make %%post scriptlet quiet (bug #60820).
  484. * Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0-5
  485. - Make sure to clean up old catalog files.
  486. * Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0-3
  487. - Rebuild in new environment.
  488. * Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 1.0-2
  489. - Prepare for openjade 1.3.1.
  490. * Thu Jan 17 2002 Tim Waugh <twaugh@redhat.com> 1.0-1
  491. - Merged all the DTD packages into one (bug #58448).
  492. - Use /usr/share/sgml exclusively.
  493. - Prevent catalog files from disappearing on upgrade (bug #58463).
  494. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  495. - automated rebuild
  496. * Mon Nov 5 2001 Tim Waugh <twaugh@redhat.com> 1.0-8
  497. - Hmm, still need to depend on sgml-common for /etc/sgml.
  498. * Mon Nov 5 2001 Tim Waugh <twaugh@redhat.com> 1.0-7
  499. - Use xmlcatalog (libxml2) instead of install-catalog (sgml-common) in
  500. scriptlets.
  501. - Conflict with install-catalog if it can't handle quotes in catalogs.
  502. - Use release number in centralized catalog name, so that the scriptlets
  503. work properly.
  504. * Wed Oct 10 2001 Tim Waugh <twaugh@redhat.com> 1.0-6
  505. - Change some Requires: to PreReq:s (bug #54507).
  506. * Mon Oct 8 2001 Tim Waugh <twaugh@redhat.com> 1.0-5
  507. - Use release number in the installed directory name, so that the
  508. package scripts work.
  509. * Sat Oct 6 2001 Tim Waugh <twaugh@redhat.com> 1.0-4
  510. - Restore the /etc/sgml/catalog manipulation again.
  511. - Oops, fix DTD path.
  512. * Sat Oct 6 2001 Tim Waugh <twaugh@redhat.com> 1.0-2
  513. - Require xml-common. Use xmlcatalog.
  514. - Move files to /usr/share/xml.
  515. * Tue Jun 12 2001 Tim Waugh <twaugh@redhat.com> 1.0-1
  516. - Build for Red Hat Linux.
  517. * Sat Jun 09 2001 Chris Runge <crunge@pobox.com>
  518. - Provides: docbook-dtd-xml (not docbook-dtd-sgml)
  519. - undo catalog patch and dbcentx patch (this resulted in an effectively
  520. broken DTD when the document was processed with XSL stylesheets); added a
  521. symbolic link to retain docbook.cat -> catalog; added ent
  522. - added ChangeLog to doc
  523. * Fri Jun 08 2001 Chris Runge <crunge@pobox.com>
  524. - created a 4.1.2 version
  525. - update required a change to OTHERCAT in postun
  526. - update required a change to the Makefile patch (no dbgenent.ent any more,
  527. apparently)
  528. * Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com>
  529. - Scripts require fileutils.
  530. - Make scripts quieter.
  531. * Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com>
  532. - Don't play so many macro games.
  533. - Don't use 'rpm' in post scripts.
  534. - Be sure to own xml-dtd-4.1 directory.
  535. * Sun Jan 14 2001 Tim Waugh <twaugh@redhat.com>
  536. - Change requirement on /usr/bin/install-catalog to sgml-common.
  537. * Tue Jan 09 2001 Tim Waugh <twaugh@redhat.com>
  538. - Change group.
  539. - Use %%{_tmppath}.
  540. - Correct typo.
  541. - rm before install
  542. - openjade not jade.
  543. - Build requires unzip.
  544. - Require install-catalog for post and postun.
  545. - Change Copyright: to License:.
  546. - Remove Packager: line.
  547. * Tue Jan 09 2001 Tim Waugh <twaugh@redhat.com>
  548. - Based on Eric Bischoff's new-trials packages.