Changes of Revision 2
[-] | Added | tidy.spec |
x 1
2 +Autoreqprov: on 3 + 4 +%define libname libtidy 5 + 6 +%define snap 20070228 7 + 8 +Name: tidy 9 +Summary: Utility to clean up and pretty print HTML/XHTML/XML 10 +Version: 0.99.0 11 +Release: 1 12 + 13 +Group: Applications/Text 14 +License: W3C Software License 15 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 16 + 17 +# timestamp 01-Feb-2007 18 +Source0: tidy-%{snap}cvs.tar.gz 19 +Source10: tidy-cvs_checkout.sh 20 + 21 +BuildRequires: libtool doxygen libxslt 22 +%if 0%{?centos_version} < 4 23 +BuildRequires: automake gcc gcc-c++ cpp 24 +%endif 25 + 26 +%description 27 +When editing HTML it's easy to make mistakes. Wouldn't it be nice if 28 +there was a simple way to fix these mistakes automatically and tidy up 29 +sloppy editing into nicely layed out markup? Well now there is! Dave 30 +Raggett's HTML TIDY is a free utility for doing just that. It also 31 +works great on the atrociously hard to read markup generated by 32 +specialized HTML editors and conversion tools, and can help you 33 +identify where you need to pay further attention on making your pages 34 +more accessible to people with disabilities. 35 + 36 +%package -n %{libname} 37 +Summary: Shared libraries for tidy 38 +Group: System Environment/Libraries 39 +%description -n %{libname} 40 +%{summary}. 41 + 42 +%package -n %{libname}-devel 43 +Summary: Development files for libtidy 44 +Group: Development/Libraries 45 +Obsoletes: tidy-devel < %{version}-%{release} 46 +Provides: tidy-devel = %{version}-%{release} 47 +Requires: %{libname} = %{version}-%{release} 48 +%description -n %{libname}-devel 49 +%{summary}. 50 + 51 + 52 +%prep 53 +%setup -q -n %{name} 54 + 55 +# htmldocs included in cvs checkout 56 +#setup -q -n %{name} -T -D -b1 57 + 58 +sh build/gnuauto/setup.sh 59 + 60 + 61 +%build 62 +%configure \ 63 + --disable-static \ 64 + --disable-dependency-tracking 65 + 66 +make %{?_smp_mflags} 67 + 68 +# api docs 69 +doxygen htmldoc/doxygen.cfg 70 + 71 +# make doc steps gleaned from build/gmake/Makefile 72 +pushd htmldoc 73 +../console/tidy -xml-config > tidy-config.xml 74 +../console/tidy -xml-help > tidy-help.xml 75 +xsltproc -o tidy.1 tidy1.xsl tidy-help.xml 76 +xsltproc -o quickref.html quickref-html.xsl tidy-config.xml 77 +popd 78 + 79 + 80 +%install 81 +rm -rf $RPM_BUILD_ROOT 82 + 83 +make install DESTDIR=$RPM_BUILD_ROOT 84 + 85 +install -p -m644 -D htmldoc/tidy.1 $RPM_BUILD_ROOT%{_mandir}/man1/tidy.1 86 + 87 +## Unpackaged files 88 +rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la 89 + 90 + 91 +%clean 92 +rm -rf $RPM_BUILD_ROOT 93 + 94 + 95 +%post -n %{libname} -p /sbin/ldconfig 96 + 97 +%postun -n %{libname} -p /sbin/ldconfig 98 + 99 + 100 +%files 101 +%defattr(-,root,root,-) 102 +%doc htmldoc/*.html htmldoc/*.css htmldoc/*.gif 103 +%{_bindir}/* 104 +%{_mandir}/man1/* 105 + 106 +%files -n %{libname} 107 +%defattr(-,root,root,-) 108 +%{_libdir}/lib*.so.* 109 + 110 +%files -n %{libname}-devel 111 +%defattr(-,root,root,-) 112 +%doc htmldoc/api/* 113 +%{_includedir}/* 114 +%{_libdir}/lib*.so 115 + 116 + 117 +%changelog 118 +* Wed Feb 28 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.99.0-12.20070228 119 +- 2007-02-28 snapshot 120 + 121 +* Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-11.20051025 122 +- fc6 respin 123 + 124 +* Wed Jul 12 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-10.20051025 125 +- fc6 respin 126 + 127 +* Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net> 128 +- fc5: gcc/glibc respin 129 + 130 +* Fri Jan 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-9.20051025 131 +- libtidy returns to be multilib friendly 132 + 133 +* Wed Oct 26 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-8.20051025 134 +- Update to 051025 and docs to 051020 135 + 136 +* Tue Aug 9 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-7.20050803 137 +- -devel: Provides: libtidy-devel (#165452) 138 + 139 +* Tue Aug 9 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-6.20050803 140 +- cleanup doc generation 141 +- add/restore missing docs (manpage, quickref.html) 142 + 143 +* Mon Aug 8 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.99.0-5.20050803 144 +- Update to 050803 and docs to 050705 145 +- simplify (fedora.us bug #2071) 146 +- drop missing manpage 147 + 148 +* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.99.0-4.20041214 149 +- rebuild on all arches 150 + 151 +* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 152 +- rebuilt 153 + 154 +* Thu Dec 16 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-2.20041214 155 +- Update to 041214 and docs to 041206. 156 +- Build with dependency tracking disabled. 157 + 158 +* Sun Oct 3 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040916 159 +- Update to 040916 and docs to 040810. 160 + 161 +* Fri Aug 13 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040811 162 +- Update to 040811, patches applied upstream. 163 + 164 +* Wed Jul 28 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040720 165 +- Update to 040720. 166 +- Add partial fix (still incorrect for XHTML 1.1) for usemap handling. 167 + 168 +* Mon Jul 5 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040704 169 +- Update to 040704. 170 + 171 +* Fri Jun 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040622 172 +- Update to 040622. 173 + 174 +* Sat Jun 5 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040603 175 +- Update to 040603. 176 + 177 +* Sat May 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040514 178 +- Update to 040514. 179 + 180 +* Sun May 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.2.20040318 181 +- Update docs to 040317, and generate API docs ourselves. 182 + 183 +* Fri Mar 19 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040318 184 +- Update to 040318. 185 + 186 +* Tue Mar 16 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040315 187 +- Update to 040315. 188 + 189 +* Mon Mar 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040314 190 +- Update to 040314. 191 + 192 +* Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040313 193 +- Update to 040313. 194 + 195 +* Sun Feb 8 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040205 196 +- Update to 040205. 197 + 198 +* Wed Feb 4 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.0-0.fdr.1.20040202 199 +- Update to 040202. 200 + 201 |
||
[+] | Deleted | _aggregate ^ |
@@ -1,5 +0,0 @@ -<aggregatelist> - <aggregate project="home:jg:devel"> - <package>tidy</package> - </aggregate> -</aggregatelist> | ||
Added | tidy-20070228cvs.tar.gz ^ | |
[+] | Added | tidy-cvs_checkout.sh ^ |
@@ -0,0 +1,22 @@ +#!/bin/bash + +if [ $# -gt 0 ]; then + DATE=$1 + shift +else + DATE=$(date +%Y%m%d) +fi + +MODULE="$(basename $0 -cvs_checkout.sh)" + +set -x +rm -rf $MODULE + +cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy export -D $DATE $MODULE + +## tar it up +tar czf $MODULE-${DATE}cvs.tar.gz $MODULE + +## cleanup +rm -rf $MODULE + |