docbook-dtds-vl.spec 20 KB

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