Compare commits

...

No commits in common. "c8-stream-201902" and "c8s-stream-201801" have entirely different histories.

4 changed files with 56 additions and 30 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/jtidy-code-r1261-trunk-jtidy.zip SOURCES/jtidy.tar.xz

View File

@ -1 +1 @@
4c85a4da107a172f0ff8ea7cf3f46ba6f4bc9fe0 SOURCES/jtidy-code-r1261-trunk-jtidy.zip 30053d4dcf957c4699ce25a9935d93b7a7982255 SOURCES/jtidy.tar.xz

View File

@ -0,0 +1,26 @@
#!/bin/sh
#
# JTidy script
# JPackage Project <http://www.jpackage.org/>
# $Id: jtidy.jtidy.script,v 1.1 2002/08/30 20:27:06 scop Exp $
# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then
. /usr/share/java-utils/java-functions
else
echo "Can't find functions library, aborting"
exit 1
fi
# Configuration
MAIN_CLASS=org.w3c.tidy.Tidy
BASE_JARS="jtidy"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,19 +1,19 @@
Name: jtidy Name: jtidy
Version: 1.0 Version: 1.0
Release: 0.32.20101207svn1261%{?dist} Release: 0.28.20100930svn1125%{?dist}
Epoch: 2 Epoch: 2
Summary: HTML syntax checker and pretty printer Summary: HTML syntax checker and pretty printer
License: zlib License: zlib
URL: http://jtidy.sourceforge.net/ URL: http://jtidy.sourceforge.net/
Source0: https://sourceforge.net/code-snapshots/svn/j/jt/jtidy/code/jtidy-code-r1261-trunk-jtidy.zip # svn export -r1125 https://jtidy.svn.sourceforge.net/svnroot/jtidy/trunk/jtidy/ jtidy
# tar caf jtidy.tar.xz jtidy
Source0: %{name}.tar.xz
Source1: %{name}.jtidy.script
BuildArch: noarch BuildArch: noarch
BuildRequires: maven-local BuildRequires: javapackages-local
BuildRequires: mvn(junit:junit) BuildRequires: ant
BuildRequires: mvn(log4j:log4j:1.2.15) BuildRequires: mvn(xerces:dom3-xml-apis)
BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: mvn(org.slf4j:slf4j-log4j12)
# Explicit javapackages-tools requires since jtidy script uses # Explicit javapackages-tools requires since jtidy script uses
# /usr/share/java-utils/java-functions # /usr/share/java-utils/java-functions
Requires: javapackages-tools Requires: javapackages-tools
@ -33,39 +33,39 @@ Summary: API documentation for %{name}
This package contains %{summary}. This package contains %{summary}.
%prep %prep
%setup -q -n %{name}-code-r1261-trunk-jtidy %setup -q -n %{name}
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" 1.6
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.6
%build %build
%mvn_build ant -Dant.build.javac.source=1.4
%install %install
%mvn_install %mvn_file : %{name}
%mvn_alias : net.sf.jtidy:%{name}
%mvn_artifact pom.xml target/%{name}-*.jar
%mvn_install -J target/javadoc
# shell script
mkdir -p %{buildroot}%{_bindir}
cp -ap %{SOURCE1} %{buildroot}%{_bindir}/%{name}
# ant.d
mkdir -p %{buildroot}%{_sysconfdir}/ant.d
cat > %{buildroot}%{_sysconfdir}/ant.d/%{name} << EOF
jtidy
EOF
%jpackage_script 'org.w3c.tidy.Tidy' '' '' '"jtidy"' '%{name}'
%files -f .mfiles %files -f .mfiles
%license LICENSE.txt %license LICENSE.txt
%{_bindir}/%{name} %attr(755, root, root) %{_bindir}/*
%config(noreplace) %{_sysconfdir}/ant.d/%{name}
%files javadoc -f .mfiles-javadoc %files javadoc -f .mfiles-javadoc
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2:1.0-0.32.20101207svn1261
- Mass rebuild for javapackages-tools 201902
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2:1.0-0.31.20101207svn1261
- Mass rebuild for javapackages-tools 201901
* Fri Apr 26 2019 Marian Koncek <mkoncek@redhat.com> - 2:1.0-0.30.20101207svn1261
- Update to upstream revision 1261
* Sat Apr 13 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2:1.0-0.29.20100930svn1125
- Don't strip debugging symbols
* Tue Jul 31 2018 Severin Gehwolf <sgehwolf@redhat.com> - 2:1.0-0.28.20100930svn1125 * Tue Jul 31 2018 Severin Gehwolf <sgehwolf@redhat.com> - 2:1.0-0.28.20100930svn1125
- Add requirement on javapackages-tools since jtidy script uses - Add requirement on javapackages-tools since jtidy script uses
java-functions. java-functions.