diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f4233e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/dev-tools-4.8.0.tar.xz +SOURCES/lucene-4.8.0-src.tgz diff --git a/.rh-java-common-lucene.metadata b/.rh-java-common-lucene.metadata new file mode 100644 index 0000000..76eeceb --- /dev/null +++ b/.rh-java-common-lucene.metadata @@ -0,0 +1,2 @@ +eb3001fbe1ccc641e6c7cd92d1e46a55f3a20e5b SOURCES/dev-tools-4.8.0.tar.xz +970ac0e7461362213a191b451a1569b1e41f87a1 SOURCES/lucene-4.8.0-src.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/0001-dependency-generation.patch b/SOURCES/0001-dependency-generation.patch new file mode 100644 index 0000000..9613a26 --- /dev/null +++ b/SOURCES/0001-dependency-generation.patch @@ -0,0 +1,74 @@ +From 8d6fc5deeea8e870e3fdcb798a01940e48a0cbe3 Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Fri, 2 May 2014 11:07:23 +0200 +Subject: [PATCH] dependency generation + +Signed-off-by: rpm-build +--- + build.xml | 2 +- + common-build.xml | 7 +++---- + .../org/apache/lucene/dependencies/GetMavenDependenciesTask.java | 2 ++ + 3 files changed, 6 insertions(+), 5 deletions(-) + +diff --git a/build.xml b/build.xml +index 3237141..28fffe3 100644 +--- a/build.xml ++++ b/build.xml +@@ -497,7 +497,7 @@ + + + +- ++ + + + +diff --git a/common-build.xml b/common-build.xml +index 7068fe6..b6d4b9f 100644 +--- a/common-build.xml ++++ b/common-build.xml +@@ -1555,10 +1555,9 @@ ${ant.project.name}.test.dependencies=${test.classpath.list} + + + +- +- ++ + +@@ -1578,7 +1577,7 @@ ${ant.project.name}.test.dependencies=${test.classpath.list} + + + +- ++ + + + +diff --git a/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java b/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java +index 2069c7d..d891bc5 100644 +--- a/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java ++++ b/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java +@@ -481,6 +481,7 @@ public class GetMavenDependenciesTask extends Task { + private Collection getTransitiveDependenciesFromIvyCache + (String groupId, String artifactId, String version) { + SortedSet transitiveDependencies = new TreeSet<>(); ++ /* + // E.g. ~/.ivy2/cache/xerces/xercesImpl/ivy-2.9.1.xml + File ivyXmlFile = new File(new File(new File(ivyCacheDir, groupId), artifactId), "ivy-" + version + ".xml"); + if ( ! ivyXmlFile.exists()) { +@@ -502,6 +503,7 @@ public class GetMavenDependenciesTask extends Task { + + groupId + ':' + artifactId + ':' + version + " from " + + ivyXmlFile.getAbsolutePath(), e); + } ++ */ + return transitiveDependencies; + } + +-- +1.9.0 + diff --git a/SOURCES/0001-disable-ivy-settings.patch b/SOURCES/0001-disable-ivy-settings.patch new file mode 100644 index 0000000..637b85a --- /dev/null +++ b/SOURCES/0001-disable-ivy-settings.patch @@ -0,0 +1,25 @@ +From 161ffbc7a22ed1941bf897a126b80ca6a7fbf3ca Mon Sep 17 00:00:00 2001 +From: Michael Simacek +Date: Thu, 16 Jan 2014 16:27:10 +0100 +Subject: [PATCH] disable ivy settings + +Signed-off-by: Michael Simacek +--- + common-build.xml | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/common-build.xml b/common-build.xml +index f4720a8..fa7aee5 100644 +--- a/common-build.xml ++++ b/common-build.xml +@@ -350,7 +350,6 @@ + you have an idea, fix it. + unless="ivy.settings.uptodate" --> + +- + + + +-- +1.8.4.2 + diff --git a/SOURCES/ivy-conf.xml b/SOURCES/ivy-conf.xml new file mode 100644 index 0000000..13a8299 --- /dev/null +++ b/SOURCES/ivy-conf.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/SOURCES/lucene-4.8.0-analysis-OSGi-MANIFEST.MF b/SOURCES/lucene-4.8.0-analysis-OSGi-MANIFEST.MF new file mode 100644 index 0000000..326e16a --- /dev/null +++ b/SOURCES/lucene-4.8.0-analysis-OSGi-MANIFEST.MF @@ -0,0 +1,63 @@ +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bundle-SymbolicName: org.apache.lucene.analysis +Require-Bundle: org.apache.lucene.core;bundle-version="4.8.0" +Export-Package: org.apache.lucene.analysis.ar;version="4.8.0", + org.apache.lucene.analysis.core;version="4.8.0", + org.apache.lucene.analysis.bg;version="4.8.0", + org.apache.lucene.analysis.br;version="4.8.0", + org.apache.lucene.analysis.ca;version="4.8.0", + org.apache.lucene.analysis.cjk;version="4.8.0", + org.apache.lucene.analysis.cn;version="4.8.0", + org.apache.lucene.analysis.compound;version="4.8.0", + org.apache.lucene.analysis.compound.hyphenation;version="4.8.0", + org.apache.lucene.analysis.cz;version="4.8.0", + org.apache.lucene.analysis.da;version="4.8.0", + org.apache.lucene.analysis.de;version="4.8.0", + org.apache.lucene.analysis.el;version="4.8.0", + org.apache.lucene.analysis.en;version="4.8.0", + org.apache.lucene.analysis.es;version="4.8.0", + org.apache.lucene.analysis.eu;version="4.8.0", + org.apache.lucene.analysis.fa;version="4.8.0", + org.apache.lucene.analysis.fi;version="4.8.0", + org.apache.lucene.analysis.fr;version="4.8.0", + org.apache.lucene.analysis.gl;version="4.8.0", + org.apache.lucene.analysis.hi;version="4.8.0", + org.apache.lucene.analysis.hu;version="4.8.0", + org.apache.lucene.analysis.hunspell;version="4.8.0", + org.apache.lucene.analysis.hy;version="4.8.0", + org.apache.lucene.analysis.id;version="4.8.0", + org.apache.lucene.analysis.in;version="4.8.0", + org.apache.lucene.analysis.it;version="4.8.0", + org.apache.lucene.analysis.lv;version="4.8.0", + org.apache.lucene.analysis.miscellaneous;version="4.8.0", + org.apache.lucene.analysis.ngram;version="4.8.0", + org.apache.lucene.analysis.nl;version="4.8.0", + org.apache.lucene.analysis.no;version="4.8.0", + org.apache.lucene.analysis.path;version="4.8.0", + org.apache.lucene.analysis.payloads;version="4.8.0", + org.apache.lucene.analysis.position;version="4.8.0", + org.apache.lucene.analysis.pt;version="4.8.0", + org.apache.lucene.analysis.query;version="4.8.0", + org.apache.lucene.analysis.reverse;version="4.8.0", + org.apache.lucene.analysis.ro;version="4.8.0", + org.apache.lucene.analysis.ru;version="4.8.0", + org.apache.lucene.analysis.shingle;version="4.8.0", + org.apache.lucene.analysis.sinks;version="4.8.0", + org.apache.lucene.analysis.snowball;version="4.8.0", + org.apache.lucene.analysis.standard;version="4.8.0", + org.apache.lucene.analysis.sv;version="4.8.0", + org.apache.lucene.analysis.synonym;version="4.8.0", + org.apache.lucene.analysis.th;version="4.8.0", + org.apache.lucene.analysis.tr;version="4.8.0", + org.apache.lucene.analysis.util;version="4.8.0", + org.apache.lucene.analysis.wikipedia;version="4.8.0", + org.apache.lucene.collation;version="4.8.0" +Bundle-Version: 4.8.0 +Bundle-Vendor: fedoraproject.org +Bundle-Name: Lucene contributed extensions +Import-Package: org.xml.sax;resolution:=optional, + javax.xml.parsers;resolution:=optional, + org.xml.sax.helpers;resolution:=optional +Bundle-ManifestVersion: 2 + diff --git a/SOURCES/lucene-4.8.0-core-OSGi-MANIFEST.MF b/SOURCES/lucene-4.8.0-core-OSGi-MANIFEST.MF new file mode 100644 index 0000000..c6a285a --- /dev/null +++ b/SOURCES/lucene-4.8.0-core-OSGi-MANIFEST.MF @@ -0,0 +1,23 @@ +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bundle-SymbolicName: org.apache.lucene.core +Import-Package: javax.management +Export-Package: org.apache.lucene;version="4.8.0", + org.apache.lucene.analysis;version="4.8.0", + org.apache.lucene.analysis.tokenattributes;version="4.8.0", + org.apache.lucene.document;version="4.8.0", + org.apache.lucene.index;version="4.8.0", + org.apache.lucene.search;version="4.8.0", + org.apache.lucene.search.payloads;version="4.8.0", + org.apache.lucene.search.spans;version="4.8.0", + org.apache.lucene.search.similarities;version="4.8.0", + org.apache.lucene.store;version="4.8.0", + org.apache.lucene.util;version="4.8.0", + org.apache.lucene.util.fst;version="4.8.0", + org.apache.lucene.util.packed;version="4.8.0", + org.apache.lucene.util.mutable;version="4.8.0", + org.apache.lucene.util.automaton;version="4.8.0" +Bundle-Version: 4.8.0 +Bundle-Vendor: fedoraproject.org +Bundle-Name: High-performance, full-featured text search engine +Bundle-ManifestVersion: 2 diff --git a/SOURCES/lucene-4.8.0-queryparser-OSGi-MANIFEST.MF b/SOURCES/lucene-4.8.0-queryparser-OSGi-MANIFEST.MF new file mode 100644 index 0000000..7e50959 --- /dev/null +++ b/SOURCES/lucene-4.8.0-queryparser-OSGi-MANIFEST.MF @@ -0,0 +1,30 @@ +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bundle-SymbolicName: org.apache.lucene.queryparser +Require-Bundle: org.apache.lucene.core;bundle-version="4.8.0" +Export-Package: org.apache.lucene.queryparser.analyzing;version="4.8.0", + org.apache.lucene.queryparser.classic;version="4.8.0", + org.apache.lucene.queryparser.complexPhrase;version="4.8.0", + org.apache.lucene.queryparser.ext;version="4.8.0", + org.apache.lucene.queryparser.flexible.core;version="4.8.0", + org.apache.lucene.queryparser.flexible.core.builders;version="4.8.0", + org.apache.lucene.queryparser.flexible.core.config;version="4.8.0", + org.apache.lucene.queryparser.flexible.core.messages;version="4.8.0", + org.apache.lucene.queryparser.flexible.core.nodes;version="4.8.0", + org.apache.lucene.queryparser.flexible.core.parser;version="4.8.0", + org.apache.lucene.queryparser.flexible.core.processors;version="4.8.0", + org.apache.lucene.queryparser.flexible.core.util;version="4.8.0", + org.apache.lucene.queryparser.simple;version="4.8.0", + org.apache.lucene.queryparser.surround.parser;version="4.8.0", + org.apache.lucene.queryparser.surround.query;version="4.8.0", + org.apache.lucene.queryparser.xml;version="4.8.0", + org.apache.lucene.queryparser.xml.builders;version="4.8.0" +Bundle-Version: 4.8.0 +Bundle-Vendor: fedoraproject.org +Bundle-Name: Lucene Query parsers and parsing framework +Import-Package: org.xml.sax;resolution:=optional, + javax.xml.parsers;resolution:=optional, + org.xml.sax.helpers;resolution:=optional +Bundle-ManifestVersion: 2 + + diff --git a/SPECS/lucene.spec b/SPECS/lucene.spec new file mode 100644 index 0000000..cfa0017 --- /dev/null +++ b/SPECS/lucene.spec @@ -0,0 +1,640 @@ +# Copyright (c) 2000-2005, JPackage Project +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the +# distribution. +# 3. Neither the name of the JPackage Project nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +%global pkg_name lucene +%{?scl:%scl_package %{pkg_name}} +%{?java_common_find_provides_and_requires} + +Summary: High-performance, full-featured text search engine +Name: %{?scl_prefix}%{pkg_name} +Version: 4.8.0 +Release: 6.7%{?dist} +Epoch: 0 +License: ASL 2.0 +URL: http://lucene.apache.org/ +Source0: http://www.apache.org/dist/lucene/java/%{version}/lucene-%{version}-src.tgz +Source1: lucene-%{version}-core-OSGi-MANIFEST.MF +Source2: lucene-%{version}-analysis-OSGi-MANIFEST.MF +Source3: lucene-%{version}-queryparser-OSGi-MANIFEST.MF +#svn export http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_8_0/dev-tools/ +#tar caf dev-tools-4.8.0.tar.xz dev-tools/ +Source4: dev-tools-%{version}.tar.xz +Source5: ivy-conf.xml + +Patch0: 0001-disable-ivy-settings.patch +Patch1: 0001-dependency-generation.patch + +BuildRequires: git +BuildRequires: %{?scl_prefix}ant +%{!?scl:BuildRequires: ivy-local} +%{?scl:BuildRequires: %{?scl_prefix_maven}apache-ivy} +BuildRequires: %{?scl_prefix}httpcomponents-client +BuildRequires: %{?scl_prefix}jetty-continuation +BuildRequires: %{?scl_prefix}jetty-http +BuildRequires: %{?scl_prefix}jetty-io +BuildRequires: %{?scl_prefix}jetty-server +BuildRequires: %{?scl_prefix}jetty-servlet +BuildRequires: %{?scl_prefix}jetty-util +BuildRequires: %{?scl_prefix}nekohtml +BuildRequires: %{?scl_prefix}xerces-j2 +BuildRequires: %{?scl_prefix}mvn(javax.servlet:servlet-api) +BuildRequires: %{?scl_prefix}maven-local + +# test-framework deps +BuildRequires: junit + +%{?scl:Requires: %scl_runtime} + +Provides: %{name}-core = %{epoch}:%{version}-%{release} +# previously used by eclipse but no longer needed +Obsoletes: %{name}-devel < %{epoch}:%{version}-%{release} +Obsoletes: %{name}-demo < %{epoch}:%{version}-%{release} +# previously distributed separately, but merged into main package +Provides: %{name}-contrib = %{version}-%{release} +Obsoletes: %{name}-contrib < %{version}-%{release} + +BuildArch: noarch + +%description +Apache Lucene is a high-performance, full-featured text search +engine library written entirely in Java. It is a technology suitable +for nearly any application that requires full-text search, especially +cross-platform. + +%package parent +Summary: Parent POM for Lucene + +%description parent +Parent POM for Lucene. + +%package solr-grandparent +Summary: Lucene Solr grandparent POM + +%description solr-grandparent +Lucene Solr grandparent POM. + +%package replicator +Summary: Lucene Replicator Module + +%description replicator +Lucene Replicator Module. + +%package grouping +Summary: Lucene Grouping Module + +%description grouping +Lucene Grouping Module. + +%package highlighter +Summary: Lucene Highlighter Module + +%description highlighter +Lucene Highlighter Module. + +%package misc +Summary: Miscellaneous Lucene extensions + +%description misc +Miscellaneous Lucene extensions. + +%package memory +Summary: Lucene Memory Module + +%description memory +High-performance single-document index to compare against Query. + +%package classification +Summary: Lucene Classification Module + +%description classification +Lucene Classification Module. + +%package join +Summary: Lucene Join Module + +%description join +Lucene Join Module. + +%package suggest +Summary: Lucene Suggest Module + +%description suggest +Lucene Suggest Module. + +%package facet +Summary: Lucene Facets Module + +%description facet +Package for Faceted Indexing and Search. + +%package analysis +Summary: Lucene Common Analyzers + +%description analysis +Lucene Common Analyzers. + +%package sandbox +Summary: Lucene Sandbox Module + +%description sandbox +Lucene Sandbox Module. + +%package queries +Summary: Lucene Queries Module + +%description queries +Lucene Queries Module. + +%package codecs +Summary: Codecs and postings formats for Apache Lucene + +%description codecs +Codecs and postings formats for Apache Lucene. + +%package queryparser +Summary: Lucene QueryParsers Module + +%description queryparser +Lucene QueryParsers Module. + +%package analyzers-smartcn +Summary: Smart Chinese Analyzer + +%description analyzers-smartcn +Lucene Smart Chinese Analyzer. + +%package analyzers-phonetic +Summary: Lucene Phonetic Filters + +%description analyzers-phonetic +Provides phonetic encoding via Commons Codec. + +%package analyzers-stempel +Summary: Lucene Stempel Analyzer + +%description analyzers-stempel +Lucene Stempel Analyzer. + + +%package javadoc +Summary: Javadoc for Lucene + +%description javadoc +%{summary}. + +%prep +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +%if 0%{?rhel} <= 6 +%setup -q -n %{pkg_name}-%{version} +%patch0 -p1 +%patch1 -p1 +%else +%autosetup -n %{pkg_name}-%{version} -S git +%endif + +# dependency generator expects that the directory name is just lucene +mkdir %{pkg_name} +find -maxdepth 1 ! -name CHANGES.txt ! -name LICENSE.txt ! -name README.txt \ + ! -name NOTICE.txt ! -name MIGRATE.txt ! -name ivy-settings.xml \ + ! -path %{pkg_name} -exec mv \{} %{pkg_name}/ \; + +tar xf %{SOURCE4} + +pushd %{pkg_name} + +# remove all binary libs +find . -name "*.jar" -exec rm -f {} \; + +rm sandbox/src/test/org/apache/lucene/sandbox/queries/regex/TestJakartaRegexpCapabilities.java + +# old API +rm -r replicator/src/test/* + +# Because ivy-local is not available before F21 +%{?scl:ln -s %{_sysconfdir}/ivy/ivysettings.xml} + +popd + +%mvn_package ":%{pkg_name}-analysis-modules-aggregator" %{pkg_name}-analysis +%mvn_package ":%{pkg_name}-analyzers-common" %{pkg_name}-analysis +%mvn_package ":{*}-aggregator" @1 + +# Cannot resolve these during ivy build +rm -rf %{pkg_name}/analysis/{icu,kuromoji} +%{?scl:EOF} + + +%build +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +pushd %{pkg_name} +# generate dependencies +ant filter-pom-templates -Divy.settings.file=%{SOURCE5} -Dbuild.sysclasspath=first -Dversion=%{version} + +# These folder are removed +rm -rf build/poms/%{pkg_name}/analysis/{icu,kuromoji} + +# fix source dir + move to expected place +for pom in `find build/poms/%{pkg_name} -name pom.xml`; do + sed 's/\${module-path}/${basedir}/g' "$pom" > "${pom##build/poms/%{pkg_name}/}" +done + +for module in misc test-framework core/src/java facet \ + analysis/stempel codecs/src/java codecs/src/test queryparser \ + core/src/test memory .; do + %pom_remove_plugin :forbiddenapis ${module} +done + +%pom_disable_module src/test core +%pom_disable_module src/test codecs + +# Disable unnecessary modules +%pom_disable_module test-framework +%pom_disable_module icu analysis +%pom_disable_module kuromoji analysis +%pom_disable_module morfologik analysis +%pom_disable_module uima analysis +%pom_disable_module spatial +%pom_disable_module benchmark +%pom_disable_module expressions +%pom_disable_module demo + +popd + +mv lucene/build/poms/pom.xml . + +%pom_disable_module solr +%pom_remove_plugin :gmaven-plugin +%pom_remove_plugin :forbiddenapis + +%pom_remove_dep com.carrotsearch.randomizedtesting: + +# For some reason TestHtmlParser.testTurkish fails when building inside SCLs +%mvn_build -s -f %{?scl:-- -Dmaven.test.failure.ignore=true} + +pushd %{pkg_name} + +# add missing OSGi metadata to manifests +mkdir META-INF +unzip -o core/src/java/target/lucene-core-%{version}.jar META-INF/MANIFEST.MF +cat %{SOURCE1} >> META-INF/MANIFEST.MF +sed -i '/^\r$/d' META-INF/MANIFEST.MF +zip -u core/src/java/target/lucene-core-%{version}.jar META-INF/MANIFEST.MF + +unzip -o analysis/common/target/lucene-analyzers-common-%{version}.jar META-INF/MANIFEST.MF +cat %{SOURCE2} >> META-INF/MANIFEST.MF +sed -i '/^\r$/d' META-INF/MANIFEST.MF +zip -u analysis/common/target/lucene-analyzers-common-%{version}.jar META-INF/MANIFEST.MF + +unzip -o queryparser/target/lucene-queryparser-%{version}.jar META-INF/MANIFEST.MF +cat %{SOURCE3} >> META-INF/MANIFEST.MF +sed -i '/^\r$/d' META-INF/MANIFEST.MF +zip -u queryparser/target/lucene-queryparser-%{version}.jar META-INF/MANIFEST.MF + +popd +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x + +# suggest provides spellchecker +%mvn_alias :%{pkg_name}-suggest :%{pkg_name}-spellchecker + +# compatibility with existing packages +%mvn_alias :%{pkg_name}-analyzers-common :%{pkg_name}-analyzers + +%mvn_install +%{?scl:EOF} + +%files -f .mfiles-%{pkg_name}-core +%dir %{_javadir}/%{pkg_name} +%dir %{_mavenpomdir}/%{pkg_name} +%doc CHANGES.txt LICENSE.txt README.txt NOTICE.txt MIGRATE.txt + +%files parent -f .mfiles-%{pkg_name}-parent +%dir %{_mavenpomdir}/%{pkg_name} +%files solr-grandparent -f .mfiles-%{pkg_name}-solr-grandparent +%dir %{_mavenpomdir}/%{pkg_name} +%files replicator -f .mfiles-%{pkg_name}-replicator +%files grouping -f .mfiles-%{pkg_name}-grouping +%files highlighter -f .mfiles-%{pkg_name}-highlighter +%files misc -f .mfiles-%{pkg_name}-misc +%dir %{_jnidir}/%{pkg_name} +%files memory -f .mfiles-%{pkg_name}-memory +%files classification -f .mfiles-%{pkg_name}-classification +%files join -f .mfiles-%{pkg_name}-join +%files suggest -f .mfiles-%{pkg_name}-suggest +%files facet -f .mfiles-%{pkg_name}-facet +%files analysis -f .mfiles-%{pkg_name}-analysis +%files sandbox -f .mfiles-%{pkg_name}-sandbox +%files queries -f .mfiles-%{pkg_name}-queries +%files codecs -f .mfiles-%{pkg_name}-codecs +%files queryparser -f .mfiles-%{pkg_name}-queryparser +%files analyzers-smartcn -f .mfiles-%{pkg_name}-analyzers-smartcn +%files analyzers-phonetic -f .mfiles-%{pkg_name}-analyzers-phonetic +%files analyzers-stempel -f .mfiles-%{pkg_name}-analyzers-stempel + +%files javadoc -f .mfiles-javadoc +%doc LICENSE.txt + +%changelog +* Thu Jan 15 2015 Michael Simacek - 0:4.8.0-6.7 +- Fix unowned directory + +* Wed Jan 14 2015 Mikolaj Izdebski - 0:4.8.0-6.6 +- Fix Ivy config + +* Wed Jan 14 2015 Michal Srb - 0:4.8.0-6.5 +- SCL-ize whole prep section, fail on non-zero return code + +* Wed Jan 14 2015 Michal Srb - 0:4.8.0-6.4 +- Fix directory ownership +- Fix BR: ant + +* Tue Jan 13 2015 Michael Simacek - 0:4.8.0-6.3 +- Mass rebuild 2015-01-13 + +* Mon Jan 12 2015 Michael Simacek - 0:4.8.0-6.2 +- Rebuild to regenerate requires + +* Fri Jan 09 2015 Michal Srb - 0:4.8.0-6.1 +- Mass rebuild 2015-01-09 + +* Tue Dec 16 2014 Mikolaj Izdebski - 0:4.8.0-6 +- Migrate requires and build-requires to rh-java-common + +* Mon Dec 15 2014 Mikolaj Izdebski - 0:4.8.0-5 +- Mass rebuild 2014-12-15 + +* Mon Dec 15 2014 Mikolaj Izdebski - 0:4.8.0-4 +- Rebuild for rh-java-common collection + +* Fri May 16 2014 Roland Grunberg - 0:4.8.0-3 +- Make final changes to build on DTS 3.0. + +* Fri May 02 2014 Mat Booth - 0:4.8.0-2 +- SCL-ize package + +* Fri May 02 2014 Michael Simacek - 0:4.8.0-1 +- Update to upstream release 4.8.0 + +* Fri May 2 2014 Alexander Kurtakov 0:4.8.0-0.1 +- Initial 4.8.0 effort. + +* Thu Apr 17 2014 Alexander Kurtakov 0:4.7.2-1 +- Update to 4.7.2 upstream release. + +* Thu Apr 3 2014 Alexander Kurtakov 0:4.7.1-1 +- Update to 4.7.1 upstream release. + +* Tue Mar 25 2014 Michael Simacek - 0:4.7.0-8 +- Enable tests that required newer icu4j and nekohtml + +* Fri Mar 14 2014 Michael Simacek - 0:4.7.0-7 +- Generate dependencies for POMs +- Revert to using POM files for build and installation (ivy files don't specify + interproject dependencies) +- Split into subpackages +- Clean up BR's +- Remove unused patches +- Enable tests + +* Thu Mar 13 2014 Alexander Kurtakov 0:4.7.0-6 +- Don't export package that is not in queryparser. + +* Wed Mar 12 2014 Alexander Kurtakov 0:4.7.0-5 +- Add queryparser osgi metadata properly. +- Export lucene.analysys.standard too. + +* Wed Mar 12 2014 Alexander Kurtakov 0:4.7.0-4 +- Export queryParser and queryParser.classic packages for OSGi. + +* Thu Mar 06 2014 Severin Gehwolf - 0:4.7.0-3 +- Fix analyzers-common OSGi metadata: Export o.a.l.a.core and + fix Require-Bundle header. +- Resolves: RHBZ#1073073 + +* Wed Mar 05 2014 Roland Grunberg - 0:4.7.0-2 +- Fix Bundle-RequiredExecutionEnvironment for manifests. (rhbz#1072985) + +* Tue Mar 04 2014 Michael Simacek - 0:4.7.0-1 +- Update to upstream version 4.7.0 + +* Mon Feb 10 2014 Michael Simacek - 0:4.6.1-1 +- Update to upstream version 4.6.1 +- Use XMvn to resolve ivy artifacts and for installation +- Remove contrib subpackage (was merged into main package) + +* Wed Nov 06 2013 Severin Gehwolf 0:3.6.2-4 +- Remove unneeded BR jline. Resolves RHBZ#1023015. + +* Sat Aug 03 2013 Fedora Release Engineering - 0:3.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Mar 1 2013 Krzysztof Daniel 0:3.6.2-2 +- 830762: lucene ships POMs with uninitialized version properties + +* Tue Feb 26 2013 Severin Gehwolf 0:3.6.2-1 +- Update to upstream release 3.6.2 +- Fix build errors related to icu4j v50 incompatibility. + +* Thu Feb 14 2013 Fedora Release Engineering - 0:3.6.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Dec 5 2012 Severin Gehwolf 0:3.6.0-11 +- Remove patches which weren't applied (rpmlint warnings). + +* Mon Dec 3 2012 Severin Gehwolf 0:3.6.0-10 +- Upload new tarball for dev-tools as checksum could not be + reproduced with given commands listed in comment. + +* Tue Nov 27 2012 Severin Gehwolf 0:3.6.0-9 +- Always install grand-parent pom as well. + +* Tue Nov 27 2012 Severin Gehwolf 0:3.6.0-8 +- Always install lucene-parent pom. + +* Mon Nov 26 2012 Severin Gehwolf 0:3.6.0-7 +- Only build lucene-contrib for Fedora. +- This removes BR on icu4j on rhel. + +* Fri Nov 23 2012 Severin Gehwolf 0:3.6.0-6 +- Fix OSGi medatada. In particular: +- Missing import javax.management (lucene-core) +- Missing import javax.xml.parsers and org.xml.sax.helpers + (lucene-analysis) +- BundleVersion updated to 3.6.0 (lucene-core & lucene-analysis) + +* Thu Jul 19 2012 Fedora Release Engineering - 0:3.6.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jul 5 2012 Alexander Kurtakov 0:3.6.0-4 +- Properly install analyzers. + +* Wed Jul 4 2012 Alexander Kurtakov 0:3.6.0-3 +- Really fix manifests. + +* Wed Jul 4 2012 Alexander Kurtakov 0:3.6.0-2 +- Remove duplicated manifest entries. + +* Tue Jul 3 2012 Alexander Kurtakov 0:3.6.0-1 +- Update to upstream 3.6.0. + +* Fri Jan 13 2012 Fedora Release Engineering - 0:2.9.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Sep 12 2011 Alexander Kurtakov 0:2.9.4-7 +- Fix duplicate Manifes-version warnings. + +* Mon Jun 27 2011 Alexander Kurtakov 0:2.9.4-6 +- BR zip - fixes FTBFS. + +* Tue May 3 2011 Alexander Kurtakov 0:2.9.4-5 +- Update OSGi manifests. + +* Tue Feb 08 2011 Fedora Release Engineering - 0:2.9.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Feb 8 2011 Stanislav Ochotnicky - 0:2.9.4-3 +- Fix empty lucene-analyzers (rhbz#675950) + +* Wed Feb 2 2011 Stanislav Ochotnicky - 0:2.9.4-2 +- Add maven metadata (rhbz#566775) + +* Mon Jan 31 2011 Stanislav Ochotnicky - 0:2.9.4-1 +- Update to latest 2.x version (3.x is not API compatible) +- Add new modules +- Enable tests again +- Versionless jars & javadocs + +* Wed Oct 13 2010 Alexander Kurtakov 0:2.4.1-7 +- BR java 1.6.0. + +* Wed Oct 13 2010 Alexander Kurtakov 0:2.4.1-6 +- Fix merge review comments (rhbz#226110). + +* Fri Oct 01 2010 Caolán McNamara 0:2.4.1-5 +- remove empty lines from MANIFEST.MF + +* Fri Oct 01 2010 Caolán McNamara 0:2.4.1-4 +- Resolves: rhbz#615609 custom MANIFEST.MF in lucene drops + "Specification-Version" + +* Mon Jun 7 2010 Alexander Kurtakov 0:2.4.1-3 +- Fix build. +- FIx various rpmlint warnings. + +* Fri Mar 5 2010 Alexander Kurtakov 0:2.4.1-2 +- Drop gcj_support. + +* Tue Dec 1 2009 Orion Poplawski - 0:2.4.1-1 +- Update to 2.4.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 0:2.3.1-5.5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Apr 30 2009 Deepak Bhole - 0:2.3.1-4.5 +- rhbz #465344: Fix Implementation-Version and remove Class-Path from manifest + +* Wed Feb 25 2009 Fedora Release Engineering - 0:2.3.1-4.4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Jul 14 2008 Andrew Overholt 0:2.3.1-3.4 +- Update OSGi manifest data for Eclipse SDK 3.4 + +* Wed Jul 9 2008 Tom "spot" Callaway - 0:2.3.1-3.2 +- drop repotag + +* Wed May 28 2008 Tom "spot" Callaway - 0:2.3.1-3jpp.1 +- fix license tag + +* Mon May 19 2008 Lubomir Rintel - 0:2.3.1-3jpp.0 +- Correct gcj-compat dependencies, so that this builds on RHEL +- Use --without gcj to disable gcj aot compilation + +* Mon May 5 2008 Lubomir Rintel - 0:2.3.1-2jpp.0 +- Unbreak build by repacing the version patch with and -Dversion + +* Mon May 5 2008 Lubomir Rintel - 0:2.3.1-1jpp.0 +- 2.3.1, bugfixes only + +* Tue Feb 19 2008 Lubomir Kundrak - 0:2.3.0-1jpp.0 +- 2.3.0 (#228141) + +* Mon Feb 18 2008 Fedora Release Engineering - 0:1.9.1-2jpp.5 +- Autorebuild for GCC 4.3 + +* Fri Sep 21 2007 Deepak Bhole 1.9.1-1jpp.5 +- Disable tests due to random hangs (see FIXME comment above ant call) + +* Thu Sep 20 2007 Deepak Bhole 0:1.9.1-1jpp.4 +- Rebuild for ppc32 execmem issue and new build-id + +* Thu Aug 02 2007 Ben Konrath 0:1.9.1-1jpp.3 +- Cleanup packaging of OSGi manifests. + +* Tue Jul 31 2007 Ben Konrath 0:1.9.1-1jpp.2 +- Use OSGi manifests from eclipse 3.3.0 instead of merged manifests. +- Resolves: #250221. + +* Tue Jul 17 2007 Ben Konrath 0:1.9.1-1jpp.1 +- Disable db sub-package. +- Disable generating test report. +- Add OSGi manifest. +- Obsolete lucene-devel. + +* Wed Mar 29 2006 Ralph Apel 0:1.9.1-1jpp +- Upgrade to 1.9.1 + +* Tue Apr 26 2005 Ville Skyttä - 0:1.4.3-2jpp +- Add unversioned javadoc dir symlink. +- Crosslink with local JDK javadocs. +- Convert specfile to UTF-8. +- Fix URLs. + +* Mon Jan 10 2005 Kaj J. Niemi 0:1.4.3 +- 1.4.3 + +* Mon Aug 23 2004 Fernando Nasser - 0:1.3-3jpp +- Rebuild with Ant 1.6.2 + +* Tue Jun 01 2004 Randy Watler - 0:1.3-2jpp +- Upgrade to Ant 1.6.X + +* Wed Jan 21 2004 David Walluck 0:1.3-1jpp +- 1.3 + +* Wed Mar 26 2003 Ville Skyttä - 0:1.2-2jpp +- Rebuilt for JPackage 1.5. + +* Thu Mar 6 2003 Ville Skyttä - 1.2-1jpp +- First JPackage release.