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