[jdiff] Initial import (#817278).
by gil
commit c467473aedf444bb5aa733e3aabc8ebb06780448
Author: gil <puntogil(a)libero.it>
Date: Thu May 10 17:22:14 2012 +0200
Initial import (#817278).
.gitignore | 1 +
jdiff-pom-template.xml | 6 +++
jdiff-script | 31 ++++++++++++++
jdiff.spec | 104 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
5 files changed, 143 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9c75028 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jdiff-1.1.1-clean-src-cvs.tar.gz
diff --git a/jdiff-pom-template.xml b/jdiff-pom-template.xml
new file mode 100644
index 0000000..cc532a6
--- /dev/null
+++ b/jdiff-pom-template.xml
@@ -0,0 +1,6 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>jdiff</groupId>
+ <artifactId>jdiff</artifactId>
+ <version>@version@</version>
+</project>
\ No newline at end of file
diff --git a/jdiff-script b/jdiff-script
new file mode 100644
index 0000000..eed3b3f
--- /dev/null
+++ b/jdiff-script
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+# jdiff script by gil
+
+# Source functions library
+. /usr/share/java-utils/java-functions
+
+# Source system prefs
+if [ -f /etc/java/jdiff.conf ] ; then
+ . /etc/java/jdiff.conf
+fi
+
+# Source user prefs
+if [ -f $HOME/.jdiffrc ] ; then
+ . $HOME/.jdiffrc
+fi
+
+# Configuration
+MAIN_CLASS="jdiff.JDiff"
+BASE_FLAGS=
+BASE_OPTIONS=
+BASE_JARS="jdiff xerces-j2 ant.jar ant-launcher.jar ../jvm/java/lib/tools"
+
+# Set parameters
+set_jvm
+set_classpath $BASE_JARS
+set_flags $BASE_FLAGS
+set_options $BASE_OPTIONS
+
+# Let's start
+run "$@"
\ No newline at end of file
diff --git a/jdiff.spec b/jdiff.spec
new file mode 100644
index 0000000..9f71406
--- /dev/null
+++ b/jdiff.spec
@@ -0,0 +1,104 @@
+
+Name: jdiff
+Version: 1.1.1
+Release: 1%{?dist}
+Summary: An HTML Report of API Differences
+Group: Development/Libraries
+License: LGPLv2+
+URL: http://javadiff.sourceforge.net/
+# cvs -d:pserver:anonymous@javadiff.cvs.sourceforge.net:/cvsroot/javadiff login
+# cvs -z3 -d:pserver:anonymous@javadiff.cvs.sourceforge.net:/cvsroot/javadiff export -rHEAD jdiff
+# removing unneeded files
+# find jdiff -name .cvsignore -delete
+# find jdiff -name "*.jar" -delete
+# find jdiff -name "*.class" -delete
+# tar czf jdiff-1.1.1-clean-src-cvs.tar.gz jdiff
+Source0: jdiff-1.1.1-clean-src-cvs.tar.gz
+Source1: jdiff-pom-template.xml
+Source2: jdiff-script
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+
+BuildRequires: ant
+BuildRequires: junit
+BuildRequires: xerces-j2
+
+Requires: ant
+Requires: xerces-j2
+
+Requires: java
+Requires: jpackage-utils
+BuildArch: noarch
+
+%description
+JDiff is a Javadoc doclet which generates an HTML
+report of all the packages, classes, constructors,
+methods, and fields which have been removed, added
+or changed in any way, including their documentation,
+when two APIs are compared. This is very useful for
+describing exactly what has changed between two
+releases of a product. Only the API (Application
+Programming Interface) of each version is compared.
+It does not compare what the source code does when
+executed.
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+Requires: jpackage-utils
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q -n jdiff
+perl -pi -e 's/\r$//g' doc/CHANGES.txt doc/KNOWN_LIMITATIONS.txt doc/TODO doc/dev_notes.txt
+
+perl -pi -e 's/\r$//g' LICENSE.txt README.txt
+
+ln -sf $(build-classpath xerces-j2) lib/xerces.jar
+
+# fix non ASCII chars
+native2ascii -encoding UTF8 test/old/ChangedPackageDoc2/ChangedMethod.java test/old/ChangedPackageDoc2/ChangedMethod.java
+native2ascii -encoding UTF8 test/new/ChangedPackageDoc2/ChangedMethod.java test/new/ChangedPackageDoc2/ChangedMethod.java
+
+%build
+export CLASSPATH=$(build-classpath junit):`pwd`/build/lib/jdiff.jar:`pwd`/build/lib/antjdiff.jar
+%{ant} -Dbuild.sysclasspath=only release
+
+%javadoc -classpath `pwd`/build/lib/jdiff.jar:`pwd`/build/lib/antjdiff.jar:$(build-classpath xerces-j2 ant.jar ../jvm/java/lib/tools) \
+-d apidocs -sourcepath src -subpackages jdiff
+
+%install
+
+mkdir -p %{buildroot}%{_javadir}
+install -pm 644 build/lib/ant%{name}.jar %{buildroot}%{_javadir}/ant%{name}.jar
+install -pm 644 build/lib/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+mkdir -p %{buildroot}%{_mavenpomdir}
+install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+sed -i "s|@version@|%{version}|" %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+mkdir -p %{buildroot}%{_javadocdir}/%{name}
+cp -pr apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+mkdir -p %{buildroot}%{_bindir}
+install -pm 755 %{SOURCE2} %{buildroot}%{_bindir}/%{name}
+
+%files
+%{_bindir}/%{name}
+%{_javadir}/*%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+%doc LICENSE.txt README.txt doc/jdiff.html doc/CHANGES.txt doc/KNOWN_LIMITATIONS.txt doc/TODO doc/dev_notes.txt
+
+%files javadoc
+%{_javadocdir}/%{name}
+%doc LICENSE.txt
+
+%changelog
+* Wed Apr 25 2012 gil cattaneo <puntogil(a)libero.it> 1.1.1-1
+- initial rpm
+
diff --git a/sources b/sources
index e69de29..31de1ab 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ff7469c09618fb40c5bf9b1cb69f94fe jdiff-1.1.1-clean-src-cvs.tar.gz
12 years
[bouncycastle-pg] change SOURCE0 see rhbz#806262
by gil
commit 285f92d2e0adb97d57b7781267b61a48a7a2c26a
Author: gil <puntogil(a)libero.it>
Date: Thu May 10 11:47:14 2012 +0200
change SOURCE0 see rhbz#806262
bouncycastle-pg.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/bouncycastle-pg.spec b/bouncycastle-pg.spec
index b01eb27..7e4181b 100644
--- a/bouncycastle-pg.spec
+++ b/bouncycastle-pg.spec
@@ -1,8 +1,8 @@
%global ver 146
-%global archivever jdk15on-%(echo %{ver}|sed 's|\\\.||')
+%global archivever jdk16-%(echo %{ver}|sed 's|\\\.||')
Name: bouncycastle-pg
Version: 1.46
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Bouncy Castle OpenPGP API
Group: Development/Libraries
License: MIT
@@ -95,6 +95,9 @@ install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-bcpg.pom
%doc LICENSE.html
%changelog
+* Thu May 10 2012 gil cattaneo <puntogil(a)libero.it> 1.46-7
+- change SOURCE0 see rhbz#806262
+
* Tue May 08 2012 gil cattaneo <puntogil(a)libero.it> 1.46-6
- used %%global instead %%define
- removed the checks for fedora version
12 years
[bouncycastle-pg] change SOURCE0 see rhbz#806262
by gil
commit 917f6a7ea4ef502e33358d12c0515d534d4dd8ac
Author: gil <puntogil(a)libero.it>
Date: Thu May 10 11:43:19 2012 +0200
change SOURCE0 see rhbz#806262
.gitignore | 1 +
sources | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 501ff44..dac4dcd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/bcpg-jdk15on-146.tar.gz
+/bcpg-jdk16-146.tar.gz
diff --git a/sources b/sources
index c27f1a8..453ea47 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f7189c81b3a0492acc5d21e5d342dba9 bcpg-jdk15on-146.tar.gz
+f8c3b1c4f1e1474da8edf1caf8c193cb bcpg-jdk16-146.tar.gz
12 years
[bouncycastle-pg/f17] change SOURCE0 see rhbz#806262
by gil
commit 094f26582357ee4b926fc6b82085524e5944db33
Author: gil <puntogil(a)libero.it>
Date: Thu May 10 11:42:13 2012 +0200
change SOURCE0 see rhbz#806262
.gitignore | 1 +
bouncycastle-pg.spec | 7 +++++--
sources | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 501ff44..dac4dcd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/bcpg-jdk15on-146.tar.gz
+/bcpg-jdk16-146.tar.gz
diff --git a/bouncycastle-pg.spec b/bouncycastle-pg.spec
index b01eb27..7e4181b 100644
--- a/bouncycastle-pg.spec
+++ b/bouncycastle-pg.spec
@@ -1,8 +1,8 @@
%global ver 146
-%global archivever jdk15on-%(echo %{ver}|sed 's|\\\.||')
+%global archivever jdk16-%(echo %{ver}|sed 's|\\\.||')
Name: bouncycastle-pg
Version: 1.46
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Bouncy Castle OpenPGP API
Group: Development/Libraries
License: MIT
@@ -95,6 +95,9 @@ install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-bcpg.pom
%doc LICENSE.html
%changelog
+* Thu May 10 2012 gil cattaneo <puntogil(a)libero.it> 1.46-7
+- change SOURCE0 see rhbz#806262
+
* Tue May 08 2012 gil cattaneo <puntogil(a)libero.it> 1.46-6
- used %%global instead %%define
- removed the checks for fedora version
diff --git a/sources b/sources
index c27f1a8..453ea47 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f7189c81b3a0492acc5d21e5d342dba9 bcpg-jdk15on-146.tar.gz
+f8c3b1c4f1e1474da8edf1caf8c193cb bcpg-jdk16-146.tar.gz
12 years