[hawtdb] Initial import (#970515).
by gil
commit b3a8a1262e89735ddd6f9eed1f9b0a885964f95d
Author: gil <puntogil(a)libero.it>
Date: Mon Jun 10 16:33:06 2013 +0200
Initial import (#970515).
hawtdb.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/hawtdb.spec b/hawtdb.spec
index 11228fd..2c1a318 100644
--- a/hawtdb.spec
+++ b/hawtdb.spec
@@ -55,12 +55,14 @@ This package contains javadoc for %{name}.
# org.fusesource.hawtdb.api.IOPagingException: Invalid extent read request. The requested page was not an extent: 2
# org.junit.ComparisonFailure: expected:<[Change 1]> but was:<[page:2]>
# org.fusesource.hawtdb.api.IndexException: Page did not contain the expected btree headers
+#
rm -r hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/BTreeIndexTest.java \
hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/DeferredBTreeIndexTest.java \
hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/DeferredHashIndexTest.java \
hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/FixedCapacityHashIndexTest.java \
hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/HashIndexTest.java \
- hawtdb/src/test/java/org/fusesource/hawtdb/internal/page/TxPageFileTest.java
+ hawtdb/src/test/java/org/fusesource/hawtdb/internal/page/TxPageFileTest.java \
+ hawtdb/src/test/java/org/fusesource/hawtdb/internal/io/MemoryMappedFileTest.java
%build
10 years, 11 months
[hawtdb] Initial import (#970515).
by gil
commit 78620e3b44d034b7cee678588350707495734b55
Author: gil <puntogil(a)libero.it>
Date: Mon Jun 10 15:45:02 2013 +0200
Initial import (#970515).
.gitignore | 1 +
hawtdb.spec | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 98 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..dcba9e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hawtdb-project-1.6.tar.gz
diff --git a/hawtdb.spec b/hawtdb.spec
new file mode 100644
index 0000000..11228fd
--- /dev/null
+++ b/hawtdb.spec
@@ -0,0 +1,96 @@
+Name: hawtdb
+Version: 1.6
+Release: 1%{?dist}
+Summary: A Powerful Key/Value Store
+Group: Development/Libraries
+# CDDL: hawtdb/src/main/java/org/fusesource/hawtdb/api/Callback.java
+License: ASL 2.0 and CDDL
+URL: http://hawtdb.fusesource.org/
+Source0: https://github.com/fusesource/hawtdb/archive/%{name}-project-%{version}.t...
+
+BuildRequires: fusesource-pom
+BuildRequires: java-devel
+
+BuildRequires: apache-commons-logging
+BuildRequires: hawtbuf
+# test deps
+BuildRequires: junit
+BuildRequires: log4j
+
+BuildRequires: maven-local
+BuildRequires: maven-plugin-bundle
+BuildRequires: maven-surefire-provider-junit4
+
+Requires: apache-commons-logging
+Requires: hawtbuf
+
+Requires: java
+BuildArch: noarch
+
+%description
+HawtDB is an embedded MVCC Key/Value Database.
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q -n %{name}-%{name}-project-%{version}
+
+# remove unavailable org.fusesource.mvnplugins:fuse-javadoc-skin
+%pom_xpath_remove "pom:project/pom:build/pom:extensions"
+# remove unavailable org.apache.maven.wagon:wagon-webdav-jackrabbit
+%pom_xpath_remove "pom:project/pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-site-plugin']/pom:dependencies"
+
+# unavailable deps
+%pom_disable_module %{name}-website
+
+# Unwanted javadoc jar
+%pom_remove_plugin :maven-javadoc-plugin %{name}
+
+# These tests fails
+# org.fusesource.hawtdb.api.IOPagingException: Invalid extent read request. The requested page was not an extent: 2
+# org.junit.ComparisonFailure: expected:<[Change 1]> but was:<[page:2]>
+# org.fusesource.hawtdb.api.IndexException: Page did not contain the expected btree headers
+rm -r hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/BTreeIndexTest.java \
+ hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/DeferredBTreeIndexTest.java \
+ hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/DeferredHashIndexTest.java \
+ hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/FixedCapacityHashIndexTest.java \
+ hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/HashIndexTest.java \
+ hawtdb/src/test/java/org/fusesource/hawtdb/internal/page/TxPageFileTest.java
+
+%build
+
+mvn-rpmbuild package javadoc:aggregate
+
+%install
+
+mkdir -p %{buildroot}%{_javadir}
+install -m 644 %{name}/target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+mkdir -p %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}-project.pom
+%add_maven_depmap JPP-%{name}-project.pom
+install -pm 644 %{name}/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+mkdir -p %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%files
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavenpomdir}/JPP-%{name}-project.pom
+%{_mavendepmapfragdir}/%{name}
+%doc changelog.md license.txt readme.md
+
+%files javadoc
+%{_javadocdir}/%{name}
+%doc license.txt
+
+%changelog
+* Tue Jun 04 2013 gil cattaneo <puntogil(a)libero.it> 1.6-1
+- initial rpm
\ No newline at end of file
diff --git a/sources b/sources
index e69de29..07bc40a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7ea02a59f0e1530dcb9b8873217ea533 hawtdb-project-1.6.tar.gz
10 years, 11 months
[httpcomponents-core] Fix license tag (CC-BY added)
by Michal Srb
commit df72555b0eede1d330de75de7214b4ca119f2bc3
Author: Michal Srb <msrb(a)redhat.com>
Date: Mon Jun 10 14:47:07 2013 +0200
Fix license tag (CC-BY added)
httpcomponents-core.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec
index 5de0756..c718918 100644
--- a/httpcomponents-core.spec
+++ b/httpcomponents-core.spec
@@ -3,9 +3,12 @@
Name: httpcomponents-core
Summary: Set of low level Java HTTP transport components for HTTP services
Version: 4.2.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Group: Development/Libraries
-License: ASL 2.0
+# The project is licensed under ASL 2.0, but it contains annotations
+# in the package org.apache.http.annotation which are derived
+# from JCIP-ANNOTATIONS project (CC-BY licensed)
+License: ASL 2.0 and CC-BY
URL: http://hc.apache.org/
Source0: http://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-...
BuildArch: noarch
@@ -96,6 +99,9 @@ done
%doc LICENSE.txt NOTICE.txt
%changelog
+* Mon Jun 10 2013 Michal Srb <msrb(a)redhat.com> - 4.2.4-4
+- Fix license tag (CC-BY added)
+
* Fri May 17 2013 Alexander Kurtakov <akurtako(a)redhat.com> 4.2.4-3
- Fix bundle plugin configuration to produce sane manifest.
- Do not duplicate javadoc files list.
10 years, 11 months
[httpcomponents-client] Enable tests on Fedora
by Michal Srb
commit e0f09d8ba954569d684ce87a758842f5c4b5d8b4
Author: Michal Srb <msrb(a)redhat.com>
Date: Mon Jun 10 13:58:33 2013 +0200
Enable tests on Fedora
httpcomponents-client.spec | 29 +++++++++++++++++++++++------
1 files changed, 23 insertions(+), 6 deletions(-)
---
diff --git a/httpcomponents-client.spec b/httpcomponents-client.spec
index 6143566..fbe7fef 100644
--- a/httpcomponents-client.spec
+++ b/httpcomponents-client.spec
@@ -3,7 +3,7 @@
Name: httpcomponents-client
Summary: HTTP agent implementation based on httpcomponents HttpCore
Version: 4.2.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: Development/Libraries
License: ASL 2.0
URL: http://hc.apache.org/
@@ -12,10 +12,15 @@ Source0: http://archive.apache.org/dist/httpcomponents/httpclient/sour
BuildArch: noarch
BuildRequires: maven-local
-BuildRequires: httpcomponents-project
-BuildRequires: httpcomponents-core
-BuildRequires: apache-mime4j
-BuildRequires: apache-commons-codec
+BuildRequires: mvn(commons-codec:commons-codec)
+BuildRequires: mvn(commons-logging:commons-logging)
+BuildRequires: mvn(org.apache.httpcomponents:httpcore)
+BuildRequires: mvn(org.apache.httpcomponents:project)
+%if 0%{?fedora}
+# Test dependencies
+BuildRequires: mvn(org.mockito:mockito-core)
+BuildRequires: mvn(junit:junit)
+%endif
%description
HttpClient is a HTTP/1.1 compliant HTTP agent implementation based on
@@ -40,11 +45,13 @@ Group: Documentation
%pom_disable_module httpclient-cache
%pom_disable_module httpclient-osgi
%pom_disable_module fluent-hc
-%pom_remove_dep :mockito-core httpclient
%pom_remove_plugin :maven-notice-plugin
%pom_remove_plugin :docbkx-maven-plugin
%pom_remove_plugin :clirr-maven-plugin
%pom_remove_plugin :maven-clover2-plugin httpclient
+%if !0%{?fedora}
+%pom_remove_dep :mockito-core httpclient
+%endif
# Add proper Apache felix bundle plugin instructions
# so that we get a reasonable OSGi manifest.
@@ -94,7 +101,14 @@ done
%build
%mvn_file ":{*}" httpcomponents/@1
+
+# Build with tests enabled on Fedora
+%if 0%{?fedora}
+%mvn_build
+%else
%mvn_build -f
+%endif
+
%install
%mvn_install
@@ -108,6 +122,9 @@ done
%doc LICENSE.txt NOTICE.txt
%changelog
+* Mon Jun 10 2013 Michal Srb <msrb(a)redhat.com> - 4.2.5-2
+- Enable tests on Fedora
+
* Thu Apr 25 2013 Michal Srb <msrb(a)redhat.com> - 4.2.5-1
- Update to upstream version 4.2.5
10 years, 11 months