tidy-vl.spec 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. %define libname libtidy
  2. %define snap 20091203
  3. Name: tidy
  4. Summary: Utility to clean up and pretty print HTML/XHTML/XML
  5. Version: 0.99.0
  6. Release: 3.%{snap}%{?_dist_release}
  7. Group: Applications/Text
  8. License: W3C
  9. URL: http://tidy.sourceforge.net/
  10. Source0: tidy-%{snap}cvs.tar.gz
  11. Source10: tidy-cvs_checkout.sh
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: libtool
  14. BuildRequires: doxygen
  15. BuildRequires: libxslt
  16. Requires: %{libname}%{?_isa} = %{version}-%{release}
  17. %description
  18. When editing HTML it's easy to make mistakes. Wouldn't it be nice if
  19. there was a simple way to fix these mistakes automatically and tidy up
  20. sloppy editing into nicely layed out markup? Well now there is! Dave
  21. Raggett's HTML TIDY is a free utility for doing just that. It also
  22. works great on the atrociously hard to read markup generated by
  23. specialized HTML editors and conversion tools, and can help you
  24. identify where you need to pay further attention on making your pages
  25. more accessible to people with disabilities.
  26. #'
  27. %package -n %{libname}
  28. Summary: Shared libraries for %{name}
  29. Summary(ja): %{name} の共有ライブラリ
  30. Group: System Environment/Libraries
  31. %description -n %{libname}
  32. %{summary}.
  33. %package -n %{libname}-devel
  34. Summary: Development files for %{name}
  35. Summary(ja): %{name} の開発用ファイル
  36. Group: Development/Libraries
  37. Requires: %{libname}%{?_isa} = %{version}-%{release}
  38. Obsoletes: tidy-devel < 0.99.0-10
  39. Provides: tidy-devel = %{version}-%{release}
  40. %description -n %{libname}-devel
  41. %{summary}.
  42. %prep
  43. %setup -q -n %{name}
  44. # htmldocs included in cvs checkout
  45. #setup -q -n %{name} -T -D -b1
  46. sh build/gnuauto/setup.sh
  47. %build
  48. %configure \
  49. --disable-static \
  50. --disable-dependency-tracking
  51. %__make %{?_smp_mflags}
  52. # api docs
  53. doxygen htmldoc/doxygen.cfg
  54. # make doc steps gleaned from build/gmake/Makefile
  55. pushd htmldoc
  56. ../console/tidy -xml-config > tidy-config.xml
  57. ../console/tidy -xml-help > tidy-help.xml
  58. xsltproc -o tidy.1 tidy1.xsl tidy-help.xml
  59. xsltproc -o quickref.html quickref-html.xsl tidy-config.xml
  60. popd
  61. %install
  62. %__rm -rf $RPM_BUILD_ROOT
  63. %__make install DESTDIR=$RPM_BUILD_ROOT
  64. %__install -p -m644 -D htmldoc/tidy.1 $RPM_BUILD_ROOT%{_mandir}/man1/tidy.1
  65. ## Unpackaged files
  66. %__rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  67. %clean
  68. %__rm -rf $RPM_BUILD_ROOT
  69. %post -n %{libname} -p /sbin/ldconfig
  70. %postun -n %{libname} -p /sbin/ldconfig
  71. %files
  72. %defattr(-,root,root,-)
  73. %doc htmldoc/*.html htmldoc/*.css htmldoc/*.gif
  74. %{_bindir}/tab2space
  75. %{_bindir}/tidy
  76. %{_mandir}/man1/tidy.1*
  77. %files -n %{libname}
  78. %defattr(-,root,root,-)
  79. %{_libdir}/libtidy-0.99.so.0*
  80. %files -n %{libname}-devel
  81. %defattr(-,root,root,-)
  82. %doc htmldoc/api/*
  83. %{_includedir}/*.h
  84. %{_libdir}/libtidy.so
  85. %changelog
  86. * Mon Dec 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.99.0-3.20091203
  87. - rebuilt on current VineSeed
  88. * Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.99.0-2.20091203
  89. - rebuild with Vine6 environment
  90. * Mon Aug 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> - 0.99.0-1.20091203
  91. - initial build based on Fedora development
  92. * Thu Dec 03 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.99.0-20.20091203
  93. - 20091203 snapshot
  94. - spec housecleaning
  95. - Tidy erroniously removes whitespace, causing mangled text (#481350)
  96. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.0-19.20070615
  97. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  98. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.0-18.20070615
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  100. * Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 0.99.0-17.20070615
  101. - respin (gcc43)
  102. * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.99.0-16.20070615
  103. - respin (BuildID)
  104. * Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.99.0-15.20070615
  105. - License: W3C
  106. * Tue Jul 31 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.99.0-14.20070615
  107. - BR: libtool (again)
  108. * Mon Jul 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.99.0-13.20070615
  109. - 2007-06-15 snapshot
  110. * Wed Feb 28 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.99.0-12.20070228
  111. - 2007-02-28 snapshot
  112. * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-11.20051025
  113. - fc6 respin
  114. * Wed Jul 12 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-10.20051025
  115. - fc6 respin
  116. * Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net>
  117. - fc5: gcc/glibc respin
  118. * Fri Jan 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-9.20051025
  119. - libtidy returns to be multilib friendly
  120. * Wed Oct 26 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-8.20051025
  121. - Update to 051025 and docs to 051020
  122. * Tue Aug 9 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-7.20050803
  123. - -devel: Provides: libtidy-devel (#165452)
  124. * Tue Aug 9 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-6.20050803
  125. - cleanup doc generation
  126. - add/restore missing docs (manpage, quickref.html)
  127. * Mon Aug 8 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-5.20050803
  128. - Update to 050803 and docs to 050705
  129. - simplify (fedora.us bug #2071)
  130. - drop missing manpage
  131. * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.99.0-4.20041214
  132. - rebuild on all arches
  133. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  134. - rebuilt
  135. * Thu Dec 16 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-2.20041214
  136. - Update to 041214 and docs to 041206.
  137. - Build with dependency tracking disabled.
  138. * Sun Oct 3 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040916
  139. - Update to 040916 and docs to 040810.
  140. * Fri Aug 13 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040811
  141. - Update to 040811, patches applied upstream.
  142. * Wed Jul 28 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040720
  143. - Update to 040720.
  144. - Add partial fix (still incorrect for XHTML 1.1) for usemap handling.
  145. * Mon Jul 5 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040704
  146. - Update to 040704.
  147. * Fri Jun 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040622
  148. - Update to 040622.
  149. * Sat Jun 5 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040603
  150. - Update to 040603.
  151. * Sat May 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040514
  152. - Update to 040514.
  153. * Sun May 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040318
  154. - Update docs to 040317, and generate API docs ourselves.
  155. * Fri Mar 19 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040318
  156. - Update to 040318.
  157. * Tue Mar 16 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040315
  158. - Update to 040315.
  159. * Mon Mar 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040314
  160. - Update to 040314.
  161. * Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040313
  162. - Update to 040313.
  163. * Sun Feb 8 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040205
  164. - Update to 040205.
  165. * Wed Feb 4 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040202
  166. - Update to 040202.
  167. * Sun Feb 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040130
  168. - Update to 040130.
  169. * Sun Jan 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040124
  170. - Update to 040124.
  171. - Honor optflags more closely.
  172. * Sun Jan 11 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040110
  173. - Update to 040110.
  174. * Thu Jan 8 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040106
  175. - Update to 040106.
  176. * Tue Jan 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040104
  177. - Update to 040104.
  178. * Sun Nov 2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20031101
  179. - Update to 031101.
  180. * Thu Oct 30 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20031029
  181. - Update to 031029.
  182. * Fri Oct 3 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20031002
  183. - Update to 031002.
  184. * Sat Sep 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20030926
  185. - Update to 030926.
  186. * Wed Sep 3 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20030901
  187. - Update to 030901.
  188. * Sat Aug 16 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20030815
  189. - Update to 030815.
  190. * Sat Aug 2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20030801
  191. - Update to 030801.
  192. * Mon Jul 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20030716
  193. - First build.