docbook-dtds-vl.spec 22 KB

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