[jcsp] Initial import (#854237).
by gil
commit 6d909d3de9b332aa6dbaaea3aa773364ab2f5243
Author: gil <puntogil(a)libero.it>
Date: Fri Nov 7 14:20:34 2014 +0100
Initial import (#854237).
.gitignore | 1 +
jcsp-create-tarball.sh | 26 +++++++++++
jcsp.spec | 113 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 141 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..701b49c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jcsp-1.1-rc5-clean.tar.xz
diff --git a/jcsp-create-tarball.sh b/jcsp-create-tarball.sh
new file mode 100644
index 0000000..38565ea
--- /dev/null
+++ b/jcsp-create-tarball.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+if [ $# -ne 1 ]; then
+ echo "Usage: ./create-sources VERSION"
+ exit 1
+fi
+
+VERSION=${1}
+NAME="jcsp"
+
+wget https://github.com/codehaus/${NAME}/archive/${VERSION}.tar.gz
+tar -xf ${VERSION}.tar.gz
+rm ${VERSION}.tar.gz
+find ./${NAME}-${VERSION} -name "*.jar" -delete
+find ./${NAME}-${VERSION} -name "*.class" -delete
+# Remove unused files
+rm -Rf ./${NAME}-${VERSION}/*gradle*
+rm -Rf ./${NAME}-${VERSION}/wrapper
+rm -Rf ./${NAME}-${VERSION}/.gitignore
+rm -Rf ./${NAME}-${VERSION}/src/jcsp-demos
+rm -Rf ./${NAME}-${VERSION}/src/org/jcsp/win32/Installing\ NT\ Services.txt
+rm -Rf ./${NAME}-${VERSION}/src/org/jcsp/win32/*.c*
+rm -Rf ./${NAME}-${VERSION}/src/org/jcsp/win32/*.h*
+rm -Rf ./${NAME}-${VERSION}/JCSP\ Networking.pdf
+
+tar cJf ${NAME}-${VERSION}-clean.tar.xz ./${NAME}-${VERSION}
\ No newline at end of file
diff --git a/jcsp.spec b/jcsp.spec
new file mode 100644
index 0000000..1e6d3f9
--- /dev/null
+++ b/jcsp.spec
@@ -0,0 +1,113 @@
+%global namedreltag -rc5
+%global namedversion %{version}%{?namedreltag}
+Name: jcsp
+Version: 1.1
+Release: 0.2.rc5%{?dist}
+Summary: Communicating Sequential Processes for Java (JCSP)
+License: LGPLv2+
+URL: https://xircles.codehaus.org/projects/jcsp
+# sh jcsp-create-tarball.sh < VERSION-TAG >
+Source0: %{name}-%{namedversion}-clean.tar.xz
+Source1: %{name}-create-tarball.sh
+
+BuildRequires: mvn(org.apache.felix:org.osgi.core)
+# test deps
+BuildRequires: mvn(junit:junit)
+BuildRequires: maven-local
+BuildRequires: maven-plugin-bundle
+BuildRequires: maven-surefire-provider-junit
+BuildRequires: maven-surefire-report-plugin
+
+BuildArch: noarch
+
+%description
+JCSP (Communication Sequential Processes for Java) is a
+library providing a concurrency model that is a combination
+of ideas from Hoare's CSP and Milner's pi-calculus.
+
+Communicating Sequential Processes (CSP) is a mathematical
+theory for specifying and verifying complex patterns of
+behavior arising from interactions between concurrent
+objects.
+
+JSCP provides a base range of CSP primitives plus a rich set of
+extensions. Also included is a package providing CSP process
+wrappers giving a channel interface to all Java AWT widgets
+and graphics operations. It is extensively (java/documented)
+and includes much teaching.
+
+JCSP is an alternative concurrency model to the threads and
+mechanisms built into Java. It is also compatible with
+it since it is implemented on top of it.
+
+%package javadoc
+Summary: Javadoc for %{name}
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q -n %{name}-%{namedversion}
+
+%pom_remove_plugin :cobertura-maven-plugin
+%pom_remove_plugin :findbugs-maven-plugin
+%pom_remove_plugin :jdepend-maven-plugin
+%pom_remove_plugin :rat-maven-plugin
+%pom_remove_plugin :taglist-maven-plugin
+
+# remove wagon-webdav
+%pom_xpath_remove "pom:project/pom:build/pom:extensions"
+# fix resouce directory and filter these ones
+%pom_xpath_inject "pom:project/pom:build" "
+<resources>
+ <resource>
+ <directory>src</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ <exclude>**/doc-files/**</exclude>
+ <exclude>**/win32/*Services.txt</exclude>
+ <exclude>**/package.html</exclude>
+ </excludes>
+ </resource>
+</resources>"
+
+%pom_xpath_remove "pom:project/pom:reporting/pom:plugins/pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:configuration/pom:excludePackageNames"
+
+%pom_xpath_remove "pom:project/pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions/pom:Export-Package"
+%pom_xpath_inject "pom:project/pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions" '
+<Export-Package>org.jcsp.*;version="${project.version}"</Export-Package>'
+
+sed -i 's|${name}|${project.name}|' pom.xml
+
+sed -i "s|59 Temple Place, Suite 330, Boston, MA 02111-1307 USA|51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA|" pom.xml
+
+for d in LICENCE README ; do
+ iconv -f iso8859-1 -t utf-8 $d.txt > $d.txt.conv && mv -f $d.txt.conv $d.txt
+ sed -i 's/\r//' $d.txt
+done
+
+rm -r src/org/jcsp/win32 \
+ src/org/jcsp/net/remote/SpawnerServiceNT.java \
+ src/org/jcsp/net/tcpip/TCPIPCNSServerNT.java
+
+%build
+
+%mvn_file : %{name}
+%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc LICENCE.txt README.txt
+
+%files javadoc -f .mfiles-javadoc
+%doc LICENCE.txt
+
+%changelog
+* Fri Oct 31 2014 gil cattaneo <puntogil(a)libero.it> 1.1-0.2.rc5
+- remove win32 java stuff
+- fix description
+
+* Tue Sep 04 2012 gil cattaneo <puntogil(a)libero.it> 1.1-0.1.rc5
+- initial rpm
diff --git a/sources b/sources
index e69de29..94c6927 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6e8f25fff68a24c67591e1c50b7c02da jcsp-1.1-rc5-clean.tar.xz
9 years, 5 months
[extra166y] Initial import (#1159976).
by gil
commit 40470092c3f9e211cb06507b7ccf79603fbc8f9f
Author: gil <puntogil(a)libero.it>
Date: Fri Nov 7 10:50:02 2014 +0100
Initial import (#1159976).
.gitignore | 1 +
extra166y-1.7.0.pom | 16 ++++++++
extra166y-OSGi.bnd | 18 +++++++++
extra166y-osgi-manifest.patch | 32 +++++++++++++++++
extra166y.spec | 77 +++++++++++++++++++++++++++++++++++++++++
sources | 1 +
6 files changed, 145 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..22954f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jsr166-1.7.0.tar.xz
diff --git a/extra166y-1.7.0.pom b/extra166y-1.7.0.pom
new file mode 100644
index 0000000..5429ac3
--- /dev/null
+++ b/extra166y-1.7.0.pom
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.codehaus.jsr166-mirror</groupId>
+ <artifactId>extra166y</artifactId>
+ <version>1.7.0</version>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/extra166y-OSGi.bnd b/extra166y-OSGi.bnd
new file mode 100644
index 0000000..de5fba0
--- /dev/null
+++ b/extra166y-OSGi.bnd
@@ -0,0 +1,18 @@
+Export-Package: extra166y;uses:="sun.misc";version="@VERSION@"
+Implementation-Title: Extra166y
+Implementation-Version: @VERSION@
+Built-By: ${user.name}
+Specification-Vendor: Doug Lea
+Bundle-Name: extra166y
+Created-By: ${java.version} (${java.vendor})
+Implementation-Vendor: Doug Lea
+Bundle-Vendor: Doug Lea
+Bundle-Version: @VERSION@
+Bundle-ManifestVersion: 2
+Specification-Title: Extra166y
+Bundle-Description: build
+Bundle-DocURL: http://jsr166.codehaus.org
+Bundle-SymbolicName: extra166y
+Import-Package: extra166y;resolution:=optional;version="@VERSION@",sun.misc;resolution:=optional
+Specification-Version: @VERSION@
+Extension-Name: extra166y
\ No newline at end of file
diff --git a/extra166y-osgi-manifest.patch b/extra166y-osgi-manifest.patch
new file mode 100644
index 0000000..ce7c06d
--- /dev/null
+++ b/extra166y-osgi-manifest.patch
@@ -0,0 +1,32 @@
+--- build.xml 2010-11-25 13:48:45.000000000 +0100
++++ build.xml-gil 2014-11-03 19:10:50.375388995 +0100
+@@ -716,7 +716,11 @@
+
+ </target>
+
+-
++ <taskdef resource="aQute/bnd/ant/taskdef.properties" >
++ <classpath>
++ <fileset dir="/usr/share/java" includes="aqute-bnd.jar" />
++ </classpath>
++ </taskdef>
+
+ <target name="extra166yjar"
+ depends="extra166ycompile"
+@@ -724,10 +728,12 @@
+
+ <mkdir dir="${build.extra166ylib.dir}"/>
+
+- <jar destfile="${extra166yproduct.jar}" index="true">
+- <fileset dir="${build.extra166y.dir}"/>
+- </jar>
+-
++ <bnd
++ classpath="${build.extra166y.dir}"
++ failok="false"
++ exceptions="false"
++ files="extra166y.bnd"
++ output="${extra166yproduct.jar}"/>
+ </target>
+
+
diff --git a/extra166y.spec b/extra166y.spec
new file mode 100644
index 0000000..4345373
--- /dev/null
+++ b/extra166y.spec
@@ -0,0 +1,77 @@
+Name: extra166y
+Version: 1.7.0
+Release: 2%{?dist}
+Summary: Concurrency JSR-166 - Collections supporting parallel operations
+License: Public Domain
+URL: http://gee.cs.oswego.edu/dl/concurrency-interest
+# cvs -d :pserver:anonymous@gee.cs.oswego.edu/home/jsr166/jsr166 login
+# cvs -d :pserver:anonymous@gee.cs.oswego.edu/home/jsr166/jsr166 export -r release-1_7_0 jsr166
+# available in java 7 rt.jar
+# rm -r jsr166/src/main/java
+# rm -r jsr166/src/jsr166x jsr166/.cvsignore
+# rm -r jsr166/src/jsr166y
+# rm -r jsr166/src/loops
+# rm -r jsr166/src/test/jtreg
+# rm -r jsr166/src/test/loops
+# rm -r jsr166/src/test/tck
+# find jsr166 -type f -name "*.jar" -delete
+# find jsr166 -type f -name "*.class" -delete
+# tar cJf jsr166-1.7.0.tar.xz jsr166
+Source0: jsr166-%{version}.tar.xz
+Source1: http://repository.codehaus.org/org/codehaus/jsr166-mirror/%{name}/%{versi...
+Source2: extra166y-OSGi.bnd
+Patch0: extra166y-osgi-manifest.patch
+BuildRequires: ant
+BuildRequires: aqute-bnd
+BuildRequires: javapackages-local
+BuildRequires: junit
+BuildArch: noarch
+
+%description
+Implementation of Java collections supporting parallel operations using
+Fork-Join concurrent framework provided by JSR-166.
+
+%package javadoc
+Summary: Javadoc for %{name}
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q -n jsr166
+%patch0 -p0
+
+# Use JVM jsr166
+for s in $(find . -name "*.java");do
+ sed -i "s|jsr166y.|java.util.concurrent.|" ${s}
+done
+sed -i '/configure-compiler, jsr166ycompile/d' build.xml
+
+sed -i '/<compilerarg line="${build.args}"/d' build.xml
+
+cp -p %{SOURCE2} extra166y.bnd
+sed -i "s|@VERSION@|%{version}|" extra166y.bnd
+
+%build
+
+%mvn_file org.codehaus.jsr166-mirror:%{name} %{name}
+export CLASSPATH=$(build-classpath junit)
+ant extra166yjar extra166ydist-docs
+%mvn_artifact %{SOURCE1} build/%{name}lib/%{name}.jar
+
+%install
+%mvn_install -J dist/%{name}docs
+
+%files -f .mfiles
+%doc src/main/intro.html src/main/readme
+
+%files javadoc -f .mfiles-javadoc
+%doc src/main/intro.html src/main/readme
+
+%changelog
+* Mon Nov 03 2014 gil cattaneo <puntogil(a)libero.it> 1.7.0-2
+- fix license and URL tag
+- remove unused test sources
+
+* Mon Nov 03 2014 gil cattaneo <puntogil(a)libero.it> 1.7.0-1
+- initial rpm
diff --git a/sources b/sources
index e69de29..7c961e6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+eab243873eb538267078370c31ea4441 jsr166-1.7.0.tar.xz
9 years, 5 months
[tycho] fedoraproject-p2: Fix occasionally failing to generate metadata
by Mat Booth
commit fcbdbd67cfa987f66d5afdb8b8f40de93774b4da
Author: Mat Booth <mat.booth(a)redhat.com>
Date: Thu Nov 6 17:50:12 2014 +0000
fedoraproject-p2: Fix occasionally failing to generate metadata
sources | 2 +-
tycho.spec | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/sources b/sources
index c981f66..0730cf6 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-d161fe939ac7b482269c0b1e10f089df fedoraproject-p2-621c4a0.tar.xz
+117044ec8dfc758c126604a1a70ed082 fedoraproject-p2-efdb3ab.tar.xz
127267aa75abd86df6815bcbd7f2492d tycho-0.21.0.tar.bz2
df988e4679b2f7364a5d171544c7449a eclipse-bootstrap.tar.xz
diff --git a/tycho.spec b/tycho.spec
index 13299e5..6897b1a 100644
--- a/tycho.spec
+++ b/tycho.spec
@@ -15,7 +15,7 @@
# %%global snap -SNAPSHOT
%global snap %{nil}
-%global fp_p2_sha 621c4a0
+%global fp_p2_sha efdb3ab
%global fp_p2_version 0.0.1
%global fp_p2_snap -SNAPSHOT
@@ -23,7 +23,7 @@
Name: tycho
Version: 0.21.0
-Release: 18%{?dist}
+Release: 19%{?dist}
Summary: Plugins and extensions for building Eclipse plugins and OSGI bundles with Maven
Group: Development/Libraries
@@ -423,6 +423,9 @@ ln -s %{_javadir}/%{name}/org.fedoraproject.p2.jar %{buildroot}%{_datadir}/xmvn/
%{_javadocdir}/%{name}
%changelog
+* Thu Nov 06 2014 Mat Booth <mat.booth(a)redhat.com> - 0.21.0-19
+- fedoraproject-p2: Fix occasionally failing to generate metadata
+
* Tue Oct 28 2014 Roland Grunberg <rgrunber(a)redhat.com> - 0.21.0-18
- Fixes to bootstrap build.
- Package com.ibm.icu (icu4j-eclipse) for bootstrap build.
9 years, 5 months
[jogl2] Add Xcursor BR
by Clément David
commit b4c029f0fcdb23443ad987e4b2ac7238355cb3da
Author: Clément DAVID <clement.david(a)scilab-enterprises.com>
Date: Thu Nov 6 13:32:23 2014 +0100
Add Xcursor BR
jogl2.spec | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/jogl2.spec b/jogl2.spec
index ea3a393..8ad88d1 100644
--- a/jogl2.spec
+++ b/jogl2.spec
@@ -26,6 +26,7 @@ BuildRequires: libXt-devel
BuildRequires: libXrender-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libXrandr-devel
+BuildRequires: libXcursor-devel
BuildRequires: maven-local
Requires: java >= 1:1.6.0
@@ -169,6 +170,7 @@ find %{buildroot}%{_docdir}/%{name} -name '*.html' \
%changelog
* Thu Oct 16 2014 Clément David <c.david86(a)gmail.com> - 2.2.4-1
- Update version
+- Add the Xcursor dependency
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.0.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9 years, 5 months
[maven-assembly-plugin] Update to upstream version 2.5.1
by Mikolaj Izdebski
commit 06c1d8dec67f09f526ff37542cab98c3b1e9a8eb
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Thu Nov 6 05:51:21 2014 +0100
Update to upstream version 2.5.1
.gitignore | 1 +
maven-assembly-plugin.spec | 5 ++++-
sources | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d017eba..bd1ac3e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ maven-assembly-plugin-2.2.2-source-release.zip
/maven-assembly-plugin-2.4-source-release.zip
/maven-assembly-plugin-2.4.1-source-release.zip
/maven-assembly-plugin-2.5-source-release.zip
+/maven-assembly-plugin-2.5.1-source-release.zip
diff --git a/maven-assembly-plugin.spec b/maven-assembly-plugin.spec
index 8536ff5..955379a 100644
--- a/maven-assembly-plugin.spec
+++ b/maven-assembly-plugin.spec
@@ -1,5 +1,5 @@
Name: maven-assembly-plugin
-Version: 2.5
+Version: 2.5.1
Release: 1%{?dist}
Summary: Maven Assembly Plugin
License: ASL 2.0
@@ -59,6 +59,9 @@ This package provides %{summary}.
%doc LICENSE NOTICE
%changelog
+* Thu Nov 6 2014 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 2.5.1-1
+- Update to upstream version 2.5.1
+
* Fri Oct 24 2014 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 2.5-1
- Update to upstream version 2.5
diff --git a/sources b/sources
index 620507a..ee2f385 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-526faee4321d0558f86b87da680d8dd2 maven-assembly-plugin-2.5-source-release.zip
+90caba903bd37cb87e9d69312a8340c3 maven-assembly-plugin-2.5.1-source-release.zip
9 years, 6 months