|
|
957aa2 |
%{?scl:%scl_package jtidy}
|
|
|
957aa2 |
%{!?scl:%global pkg_name %{name}}
|
|
|
957aa2 |
|
|
|
957aa2 |
Name: %{?scl_prefix}jtidy
|
|
|
957aa2 |
Version: 1.0
|
|
|
957aa2 |
Release: 0.24.20100930svn1125.2%{?dist}
|
|
|
957aa2 |
Epoch: 2
|
|
|
957aa2 |
Summary: HTML syntax checker and pretty printer
|
|
|
957aa2 |
License: zlib
|
|
|
957aa2 |
URL: http://jtidy.sourceforge.net/
|
|
|
957aa2 |
# svn export -r1125 https://jtidy.svn.sourceforge.net/svnroot/jtidy/trunk/jtidy/ jtidy
|
|
|
957aa2 |
# tar caf jtidy.tar.xz jtidy
|
|
|
957aa2 |
Source0: %{pkg_name}.tar.xz
|
|
|
957aa2 |
Source1: %{pkg_name}.jtidy.script
|
|
|
957aa2 |
BuildArch: noarch
|
|
|
957aa2 |
|
|
|
957aa2 |
BuildRequires: %{?scl_prefix}javapackages-local
|
|
|
957aa2 |
BuildRequires: %{?scl_prefix}ant
|
|
|
957aa2 |
BuildRequires: %{?scl_prefix}mvn(xerces:dom3-xml-apis)
|
|
|
957aa2 |
|
|
|
957aa2 |
%description
|
|
|
957aa2 |
JTidy is a Java port of HTML Tidy, a HTML syntax checker and pretty
|
|
|
957aa2 |
printer. Like its non-Java cousin, JTidy can be used as a tool for
|
|
|
957aa2 |
cleaning up malformed and faulty HTML. In addition, JTidy provides a
|
|
|
957aa2 |
DOM interface to the document that is being processed, which
|
|
|
957aa2 |
effectively makes you able to use JTidy as a DOM parser for real-world
|
|
|
957aa2 |
HTML.
|
|
|
957aa2 |
|
|
|
957aa2 |
%package javadoc
|
|
|
957aa2 |
Summary: API documentation for %{pkg_name}
|
|
|
957aa2 |
|
|
|
957aa2 |
%description javadoc
|
|
|
957aa2 |
This package contains %{summary}.
|
|
|
957aa2 |
|
|
|
957aa2 |
%prep
|
|
|
957aa2 |
%setup -q -n %{pkg_name}
|
|
|
957aa2 |
|
|
|
957aa2 |
%build
|
|
|
957aa2 |
ant -Dant.build.javac.source=1.4
|
|
|
957aa2 |
|
|
|
957aa2 |
%install
|
|
|
957aa2 |
%mvn_file : %{pkg_name}
|
|
|
957aa2 |
%mvn_alias : net.sf.jtidy:%{pkg_name}
|
|
|
957aa2 |
%mvn_artifact pom.xml target/%{pkg_name}-*.jar
|
|
|
957aa2 |
|
|
|
957aa2 |
%mvn_install -J target/javadoc
|
|
|
957aa2 |
|
|
|
957aa2 |
# shell script
|
|
|
957aa2 |
mkdir -p %{buildroot}%{_bindir}
|
|
|
957aa2 |
cp -ap %{SOURCE1} %{buildroot}%{_bindir}/%{pkg_name}
|
|
|
957aa2 |
|
|
|
957aa2 |
# ant.d
|
|
|
957aa2 |
mkdir -p %{buildroot}%{_sysconfdir}/ant.d
|
|
|
957aa2 |
cat > %{buildroot}%{_sysconfdir}/ant.d/%{pkg_name} << EOF
|
|
|
957aa2 |
jtidy
|
|
|
957aa2 |
EOF
|
|
|
957aa2 |
|
|
|
957aa2 |
%files -f .mfiles
|
|
|
957aa2 |
%license LICENSE.txt
|
|
|
957aa2 |
%attr(755, root, root) %{_bindir}/*
|
|
|
957aa2 |
%config(noreplace) %{_sysconfdir}/ant.d/%{pkg_name}
|
|
|
957aa2 |
|
|
|
957aa2 |
%files javadoc -f .mfiles-javadoc
|
|
|
957aa2 |
%license LICENSE.txt
|
|
|
957aa2 |
|
|
|
957aa2 |
%changelog
|
|
|
957aa2 |
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 2:1.0-0.24.20100930svn1125.2
|
|
|
957aa2 |
- Mass rebuild 2017-06-22
|
|
|
957aa2 |
|
|
|
957aa2 |
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 2:1.0-0.24.20100930svn1125.1
|
|
|
957aa2 |
- Automated package import and SCL-ization
|
|
|
957aa2 |
|
|
|
957aa2 |
* Wed Mar 22 2017 Michael Simacek <msimacek@redhat.com> - 2:1.0-0.24.20100930svn1125
|
|
|
957aa2 |
- Install with XMvn
|
|
|
957aa2 |
|
|
|
957aa2 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.0-0.23.20100930svn1125
|
|
|
957aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
957aa2 |
|
|
|
957aa2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.0-0.22.20100930svn1125
|
|
|
957aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
957aa2 |
|
|
|
957aa2 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.0-0.21.20100930svn1125
|
|
|
957aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
957aa2 |
|
|
|
957aa2 |
* Wed Nov 5 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2:1.0-0.20.20100930svn1125
|
|
|
957aa2 |
- Remove workaround for RPM bug #646523
|
|
|
957aa2 |
|
|
|
957aa2 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.0-0.19.20100930svn1125
|
|
|
957aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
957aa2 |
|
|
|
957aa2 |
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2:1.0-0.18.20100930svn1125
|
|
|
957aa2 |
- Use .mfiles generated during build
|
|
|
957aa2 |
|
|
|
957aa2 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2:1.0-0.17.20100930svn1125
|
|
|
957aa2 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
957aa2 |
|
|
|
957aa2 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.0-0.16.20100930svn1125
|
|
|
957aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
957aa2 |
|
|
|
957aa2 |
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2:1.0-0.15.20100930svn1125
|
|
|
957aa2 |
- Update to current packaging guidelines
|
|
|
957aa2 |
|
|
|
957aa2 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2:1.0-0.14.20100930svn1125
|
|
|
957aa2 |
- Rebuild to regenerate API documentation
|
|
|
957aa2 |
- Resolves: CVE-2013-1571
|
|
|
957aa2 |
|
|
|
957aa2 |
* Wed Feb 6 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2:1.0-0.13.20100930svn1125
|
|
|
957aa2 |
- Add missing BR and R: xml-commons-apis
|
|
|
957aa2 |
- Resolves: rhbz#908421
|
|
|
957aa2 |
|
|
|
957aa2 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.0-0.12.20100930svn1125
|
|
|
957aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
957aa2 |
|
|
|
957aa2 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.0-0.11.20100930svn1125
|
|
|
957aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
957aa2 |
|
|
|
957aa2 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.0-0.10.20100930svn1125
|
|
|
957aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
957aa2 |
|
|
|
957aa2 |
* Wed Oct 6 2010 Chris Spike <chris.spike@arcor.de> 2:1.0-0.9.20100930svn1125
|
|
|
957aa2 |
- Fixed Obsoletes for jtidy-scripts
|
|
|
957aa2 |
|
|
|
957aa2 |
* Thu Sep 30 2010 Chris Spike <chris.spike@arcor.de> 2:1.0-0.8.20100930svn1125
|
|
|
957aa2 |
- Updated to latest upstream svn revision
|
|
|
957aa2 |
- Installed pom.xml
|
|
|
957aa2 |
- Added 'net.sf.jtidy:jtidy' to maven depmap
|
|
|
957aa2 |
- Added 'jtidy:jtidy' to maven depmap
|
|
|
957aa2 |
|
|
|
957aa2 |
* Tue Sep 28 2010 Chris Spike <chris.spike@arcor.de> 2:1.0-0.7.r938
|
|
|
957aa2 |
- Added ant javac source attribute
|
|
|
957aa2 |
- Removed version from ant build requires
|
|
|
957aa2 |
|
|
|
957aa2 |
* Tue Sep 28 2010 Chris Spike <chris.spike@arcor.de> 2:1.0-0.6.r938
|
|
|
957aa2 |
- Fixed unversioned Obsoletes
|
|
|
957aa2 |
- Fixed wrapper script file permissions
|
|
|
957aa2 |
|
|
|
957aa2 |
* Mon Sep 27 2010 Chris Spike <chris.spike@arcor.de> 2:1.0-0.5.r938
|
|
|
957aa2 |
- Dropped gcj_support
|
|
|
957aa2 |
- Updated to latest upstream version
|
|
|
957aa2 |
- Moved shell script to main package and obsoleted script subpackage
|
|
|
957aa2 |
- Updated description
|
|
|
957aa2 |
- Removed xml-commons-apis and jaxp_parser_impl from requires and build requires
|
|
|
957aa2 |
- Removed xml-commons-apis from ant config file
|
|
|
957aa2 |
|
|
|
957aa2 |
* Tue Jan 26 2010 Deepak Bhole <dbhole@redhat.com> - 2:1.0-0.3.r7dev.1.5
|
|
|
957aa2 |
- Fixed rhbz#512545 -- updated group
|
|
|
957aa2 |
|
|
|
957aa2 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.0-0.4.r7dev.1.4
|
|
|
957aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
957aa2 |
|
|
|
957aa2 |
* Fri Mar 20 2009 Deepak Bhole <dbhole@redhat.com> - 2:1.0-0.3.r7dev.1.4
|
|
|
957aa2 |
- Add patch to set source to 1.4
|
|
|
957aa2 |
|
|
|
957aa2 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.0-0.3.r7dev.1.3
|
|
|
957aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
957aa2 |
|
|
|
957aa2 |
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2:1.0-0.2.r7dev.1.3
|
|
|
957aa2 |
- drop repotag
|
|
|
957aa2 |
- fix license tag
|
|
|
957aa2 |
|
|
|
957aa2 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2:1.0-0.2.r7dev.1jpp.2
|
|
|
957aa2 |
- Autorebuild for GCC 4.3
|
|
|
957aa2 |
|
|
|
957aa2 |
* Fri Mar 16 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 2:1.0-0.1.r7dev.1jpp.2
|
|
|
957aa2 |
- Remove gnu-crypto build requirement.
|
|
|
957aa2 |
|
|
|
957aa2 |
* Thu Feb 15 2007 Andrew Overholt <overholt@redhat.com> 2:1.0-0.1.r7dev.1jpp.1
|
|
|
957aa2 |
- Don't remove JAXP APIs because we don't ship that version of
|
|
|
957aa2 |
xml-commons-apis anymore.
|
|
|
957aa2 |
|
|
|
957aa2 |
* Mon Feb 12 2007 Fernando Nasser <fnasser@redhat.com> 1:1.0-0.20000804r7dev.8jpp.1
|
|
|
957aa2 |
- Import
|
|
|
957aa2 |
|
|
|
957aa2 |
* Mon Feb 12 2007 Fernando Nasser <fnasser@redhat.com> 1:1.0-0.20000804r7dev.8jpp
|
|
|
957aa2 |
- Fix duplicate requires and missing build requires for xml-commons-apis
|
|
|
957aa2 |
|
|
|
957aa2 |
* Mon Feb 12 2007 Ralph Apel <r.apel at r-apel.de> 1:1.0-0.20000804r7dev.7jpp
|
|
|
957aa2 |
- Add gcj_support option
|
|
|
957aa2 |
|
|
|
957aa2 |
* Thu Jun 01 2006 Fernando Nasser <fnasser@redhat.org> 1:1.0-0.20000804r7dev.6jpp
|
|
|
957aa2 |
- First JPP 1.7 build
|
|
|
957aa2 |
|
|
|
957aa2 |
* Tue Feb 22 2005 David Walluck <david@jpackage.org> 1:1.0-0.20000804r7dev.5jpp
|
|
|
957aa2 |
- add ant conf
|
|
|
957aa2 |
- own non-versioned javadoc symlink
|
|
|
957aa2 |
- Requires: xml-commons-apis
|
|
|
957aa2 |
- use build-classpath
|
|
|
957aa2 |
- macros
|
|
|
957aa2 |
|
|
|
957aa2 |
* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 1:1.0-0.20000804r7dev.4jpp
|
|
|
957aa2 |
- Rebuild with ant-1.6.2
|
|
|
957aa2 |
|
|
|
957aa2 |
* Mon May 5 2003 Ville Skyttä <ville.skytta at iki.fi> - 1:1.0-0.20000804r7dev.3jpp
|
|
|
957aa2 |
- Fix non-versioned javadoc symlinking.
|
|
|
957aa2 |
|
|
|
957aa2 |
* Mon Apr 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 1:1.0-0.20000804r7dev.2jpp
|
|
|
957aa2 |
- Rebuild for JPackage 1.5.
|
|
|
957aa2 |
- Fix Group tags.
|
|
|
957aa2 |
- Include non-versioned javadoc symlink.
|
|
|
957aa2 |
- Scripts subpackage.
|
|
|
957aa2 |
|
|
|
957aa2 |
* Fri Aug 30 2002 Ville Skyttä <ville.skytta at iki.fi> 1:1.0-0.20000804r7dev.1jpp
|
|
|
957aa2 |
- Change version to 1.0, put revision to release, add Epoch.
|
|
|
957aa2 |
- Don't use included DOM and SAX, require jaxp_parser_impl.
|
|
|
957aa2 |
- Add non-versioned jar symlink.
|
|
|
957aa2 |
- Add shell script.
|
|
|
957aa2 |
- Vendor, Distribution tags.
|
|
|
957aa2 |
|
|
|
957aa2 |
* Mon Jan 21 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 20000804-0.r7dev.5jpp
|
|
|
957aa2 |
- versioned dir for javadoc
|
|
|
957aa2 |
- no dependencies for javadoc package
|
|
|
957aa2 |
- section macro
|
|
|
957aa2 |
|
|
|
957aa2 |
* Mon Dec 17 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 20000804-0.r7dev.4jpp
|
|
|
957aa2 |
- new versioning scheme
|
|
|
957aa2 |
- jar name is now jtidy.jar
|
|
|
957aa2 |
- javadoc in javadoc package
|
|
|
957aa2 |
|
|
|
957aa2 |
* Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 04aug2000r7-dev-3jpp
|
|
|
957aa2 |
- new jpp extension
|
|
|
957aa2 |
- compiled with xalan2
|
|
|
957aa2 |
|
|
|
957aa2 |
* Mon Nov 19 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 04aug2000r7-dev-2jpp
|
|
|
957aa2 |
- fixed changelog
|
|
|
957aa2 |
- fixed license
|
|
|
957aa2 |
|
|
|
957aa2 |
* Mon Nov 19 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 04aug2000r7-dev-1jpp
|
|
|
957aa2 |
- r7dev
|
|
|
957aa2 |
|
|
|
957aa2 |
* Mon Nov 19 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 04aug2000r6-1jpp
|
|
|
957aa2 |
- first release
|