[qpid-proton-java] Rebased on Proton 0.7.
by Darryl L. Pierce
commit 40454a82796076b5690506d1acfd74e00dd6055b
Author: Darryl L. Pierce <mcpierce(a)gmail.com>
Date: Thu May 1 14:27:12 2014 -0400
Rebased on Proton 0.7.
.gitignore | 1 +
qpid-proton-java.spec | 26 +++++++++++++++++---------
sources | 2 +-
3 files changed, 19 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index dd22b7e..b494b09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/qpid-proton-0.6.tar.gz
+/qpid-proton-0.7.tar.gz
diff --git a/qpid-proton-java.spec b/qpid-proton-java.spec
index 5bc54db..7c47e37 100644
--- a/qpid-proton-java.spec
+++ b/qpid-proton-java.spec
@@ -1,6 +1,6 @@
Name: qpid-proton-java
-Version: 0.6
-Release: 3%{?dist}
+Version: 0.7
+Release: 1%{?dist}
Summary: Java libraries for Qpid Proton
License: ASL 2.0
URL: http://qpid.apache.org/proton/
@@ -20,15 +20,19 @@ BuildRequires: mvn(org.mockito:mockito-core)
BuildArch: noarch
+
%description
Java language bindings for the Qpid Proton messaging framework.
+# === qpid-proton-java-javadoc
+
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
+
%prep
%setup -q -n qpid-proton-%{version}
@@ -39,33 +43,37 @@ rm -r tools docs config.sh examples/messenger/c \
examples/include CMakeLists.txt bin proton-c \
tests/smoke tests/ruby tests/python tests/tools
-#sed -i 's|bcpkix-jdk15on|bcprov-jdk16|' proton-j/proton/pom.xml
sed -i 's|PEMReader|PEMParser|' \
- proton-j/proton/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslEngineFacadeFactory.java
+ proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslEngineFacadeFactory.java
sed -i 's|pemReader = new PEMParser(reader, passwordFinder);|pemReader = new PEMParser(reader);|' \
- proton-j/proton/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslEngineFacadeFactory.java
+ proton-j/src/main/java/org/apache/qpid/proton/engine/impl/ssl/SslEngineFacadeFactory.java
-#%%pom_disable_module "tests"
%pom_remove_dep org.python:jython-standalone tests
rm -r tests/java/org/apache/qpid/proton/JythonTest.java
-%pom_xpath_remove "pom:profiles/pom:profile[pom:id = 'proton-jni']" tests
+
%build
%mvn_build
+
%install
%mvn_install
+
%files -f .mfiles
%dir %{_javadir}/%{name}
-%doc proton-j/proton-api/LICENSE
+%doc proton-j/LICENSE
%doc examples/messenger/java/README.txt
%files javadoc -f .mfiles-javadoc
-%doc proton-j/proton-api/LICENSE
+%doc proton-j/LICENSE
+
%changelog
+* Thu May 1 2014 Darryl L. Pierce <dpierce(a)redhat.com> - 0.7-1
+- Rebased on Proton 0.7.
+
* Fri Mar 28 2014 Michael Simacek <msimacek(a)redhat.com> - 0.6-3
- Use Requires: java-headless rebuild (#1067528)
diff --git a/sources b/sources
index a81ddae..7dc1201 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8987587270dd8208cab072daa44cdc37 qpid-proton-0.6.tar.gz
+ec46fd02f1ac9f4b03e08aad22ab2506 qpid-proton-0.7.tar.gz
9 years, 7 months
[jortho/f19] Initial import
by Michael Šimáček
Summary of changes:
dace089... Initial import (*)
(*) This commit already existed in another branch; no separate mail sent
9 years, 7 months
[jortho/f20] Initial import
by Michael Šimáček
Summary of changes:
dace089... Initial import (*)
(*) This commit already existed in another branch; no separate mail sent
9 years, 7 months
[jortho] Initial import
by Michael Šimáček
commit dace0890beb275083eca8fc8006102e01194b6f4
Author: Michael Simacek <msimacek(a)redhat.com>
Date: Thu May 1 15:47:26 2014 +0200
Initial import
.gitignore | 2 +
jortho-template.pom | 44 +++++++++++++++++++++++++++++++++++
jortho.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 2 +
4 files changed, 111 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..254e5bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/JOrtho_1.0.zip
+/dictionary_en_2013_03.zip
diff --git a/jortho-template.pom b/jortho-template.pom
new file mode 100644
index 0000000..c17dd2f
--- /dev/null
+++ b/jortho-template.pom
@@ -0,0 +1,44 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>com.inet.jortho</groupId>
+ <artifactId>jortho</artifactId>
+ <version>@VERSION@</version>
+ <packaging>jar</packaging>
+
+ <name>JOrtho</name>
+ <url>http://jortho.sourceforge.net</url>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <resources>
+ <resource>
+ <directory>src</directory>
+ <includes>
+ <include>**/*.cnf</include>
+ <include>**/*.properties</include>
+ </includes>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.0</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
diff --git a/jortho.spec b/jortho.spec
new file mode 100644
index 0000000..29734ef
--- /dev/null
+++ b/jortho.spec
@@ -0,0 +1,63 @@
+Name: jortho
+Version: 1.0
+Release: 1%{?dist}
+Summary: A spell checker for Java
+License: GPLv2+
+URL: http://jortho.sourceforge.net/
+Source0: http://downloads.sourceforge.net/project/jortho/JOrtho%20Library/1.0/JOrt...
+Source1: http://downloads.sourceforge.net/project/jortho/Dictionaries/2013-03/dict...
+Source2: jortho-template.pom
+
+BuildArch: noarch
+BuildRequires: maven-local
+
+%description
+JOrtho is a spell checker for Java. The library works with any
+JTextComponent from the Swing framework and checks as you type.
+The dictionary is based on the free Wiktionary.org, and is
+applicable for multiple languages. You can select the
+spell checking language via a context menu. The features
+of JOrtho are the highlighting of potentially wrongly spelled words,
+a context menu with suggestions for correct forms of the word
+and a context menu with option to change the checking language.
+At the moment there are eight languages for spell checking available:
+English, German, French, Spanish, Italian, Russian, Polish, and Arabic.
+
+%package javadoc
+Summary: API documentation for %{name}
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -c
+find -name '*.class' -exec rm -f '{}' \;
+find -name '*.jar' -exec rm -f '{}' \;
+find -name '*.zip' -exec rm -f '{}' \;
+
+unzip %SOURCE1 -d dicts/
+
+sed 's/@VERSION@/%{version}/g' %SOURCE2 > pom.xml
+
+%mvn_file : %{name}
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+mkdir -p %{buildroot}%{_datadir}/%{name}
+install -pm 644 dicts/dictionary_en.ortho %{buildroot}%{_datadir}/%{name}/
+
+%files -f .mfiles
+%doc license.txt
+%doc manual.html
+%{_datadir}/%{name}
+
+%files javadoc -f .mfiles-javadoc
+%doc license.txt
+
+%changelog
+* Mon Apr 28 2014 Michael Simacek <msimacek(a)redhat.com> - 1.0-1
+- Initial version
diff --git a/sources b/sources
index e69de29..0a4784d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+0c2f66a4cb1dd492125fd65009382db6 JOrtho_1.0.zip
+96c15a5db2177c3721d2f3196bbfabcb dictionary_en_2013_03.zip
9 years, 7 months