[hibernate-search] Initial import

Marek Goldmann goldmann at fedoraproject.org
Fri Oct 18 13:03:44 UTC 2013


commit f41e2d93a397ae2bd198bbfd2a392fc02653fb61
Author: Marek Goldmann <marek.goldmann at gmail.com>
Date:   Fri Oct 18 15:03:41 2013 +0200

    Initial import

 .gitignore            |    1 +
 hibernate-search.spec |  107 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 109 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..231c72b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hibernate-search-4.4.0.CR1-CLEAN.tar.gz
diff --git a/hibernate-search.spec b/hibernate-search.spec
new file mode 100644
index 0000000..b250cbf
--- /dev/null
+++ b/hibernate-search.spec
@@ -0,0 +1,107 @@
+%global namedreltag .CR1
+%global namedversion %{version}%{?namedreltag}
+
+Name:             hibernate-search
+Version:          4.4.0
+Release:          0.4%{namedreltag}%{?dist}
+Summary:          Hibernate Search
+License:          LGPLv2+
+Url:              http://search.hibernate.org
+
+# wget https://github.com/hibernate/hibernate-search/archive/4.4.0.CR1.tar.gz
+# tar -xf 4.4.0.CR1.tar.gz
+# rm -rf hibernate-search-4.4.0.CR1/orm/src/test/resources/org/hibernate/search/test/bridge/tika/
+# tar -cvjf hibernate-search-4.4.0.CR1-CLEAN.tar.gz hibernate-search-4.4.0.CR1/
+Source0:          hibernate-search-%{namedversion}-CLEAN.tar.gz
+
+BuildRequires:    maven-local
+BuildRequires:    jboss-logging
+BuildRequires:    jboss-logging-tools
+BuildRequires:    avro
+BuildRequires:    jgroups
+BuildRequires:    slf4j
+BuildRequires:    jboss-transaction-1.1-api
+BuildRequires:    lucene
+BuildRequires:    lucene-contrib
+BuildRequires:    h2
+BuildRequires:    maven-checkstyle-plugin
+BuildRequires:    maven-processor-plugin
+BuildRequires:    maven-injection-plugin
+BuildRequires:    byteman
+BuildRequires:    hibernate-commons-annotations
+BuildRequires:    geronimo-jta
+BuildRequires:    solr3
+BuildRequires:    junit
+BuildRequires:    tika
+
+BuildArch:        noarch
+
+%description
+Full text search engines like Apache Lucene are very powerful technologies to
+add efficient free text search capabilities to applications. However, Lucene
+suffers several mismatches when dealing with object domain models. Amongst
+other things indexes have to be kept up to date and mismatches between index
+structure and domain model as well as query mismatches have to be avoided.
+
+Hibernate Search addresses these shortcomings - it indexes your domain model
+with the help of a few annotations, takes care of database/index
+synchronization and brings back regular managed objects from free text queries.
+
+Hibernate Search is using Apache Lucene under the cover.
+
+%package javadoc
+Summary:          Javadocs for %{name}
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n hibernate-search-%{namedversion}
+
+%pom_disable_module integrationtest/as
+%pom_disable_module integrationtest/spring
+%pom_disable_module testing
+%pom_disable_module modules
+%pom_disable_module orm
+%pom_disable_module legacy
+
+# This will be enabled soon
+%pom_disable_module infinispan
+
+%pom_remove_plugin ":maven-enforcer-plugin"
+
+%pom_remove_dep "org.apache.tika:tika-parsers" engine/pom.xml
+%pom_add_dep "org.apache.tika:tika-core" engine/pom.xml
+
+%pom_xpath_remove "pom:dependencies/pom:dependency[pom:scope = 'test']" engine/pom.xml
+
+%pom_xpath_set "pom:dependencies/pom:dependency[pom:artifactId = 'solr-analysis-extras']/pom:version" 3 pom.xml
+
+%build
+%mvn_build -f
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%dir %{_javadir}/%{name}
+%doc lgpl.txt README.md
+
+%files javadoc -f .mfiles-javadoc
+%doc lgpl.txt
+
+%changelog
+* Fri Oct 18 2013 Marek Goldmann <mgoldman at redhat.com> - 4.4.0-0.4.CR1
+- Updated license and dist macro
+
+* Fri Oct 18 2013 Marek Goldmann <mgoldman at redhat.com> - 4.4.0-0.3.CR1
+- Cleaned up source from mp3 (?!) files
+
+* Wed Oct 16 2013 Marek Goldmann <mgoldman at redhat.com> - 4.4.0-0.2.CR1
+- Use version 3 (compat) of solr
+
+* Wed Oct 09 2013 Marek Goldmann <mgoldman at redhat.com> - 4.4.0-0.1.CR1
+- Initial import
+
+
+
diff --git a/sources b/sources
index e69de29..13245dc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2b4beddfc9abe1b8509e225105a26e98  hibernate-search-4.4.0.CR1-CLEAN.tar.gz


More information about the scm-commits mailing list