From 1be7fc91bc717063333d5cf90a2fa5f618b06b18 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 31 May 2012 13:33:35 +0200 Subject: [PATCH] RPM: make main package Package idzebra-2.0 was not built; instead idzebra pacakge was build. Now as before: idzebra-2.0 is package for main exectuables; idzebra is main package and empty (SRPM name). --- idzebra.spec | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/idzebra.spec b/idzebra.spec index 8fd0e6f..14a6d31 100644 --- a/idzebra.spec +++ b/idzebra.spec @@ -2,10 +2,8 @@ Name: idzebra %define namev idzebra-2.0 Version: %{idmetaversion} -Release: 1indexdata -Requires: lib%{namev}-modules = %{version} +Release: 2indexdata License: GPL -Group: Applications/Databases Vendor: Index Data ApS Source: idzebra-%{version}.tar.gz BuildRoot: %{_tmppath}/idzebra-%{version}-root @@ -14,13 +12,24 @@ URL: http://www.indexdata.dk/zebra/ BuildRequires: libyaz4-devel >= 4.2.0 BuildRequires: expat-devel, bzip2-devel, tcl, zlib-devel Summary: High-performance, structured text indexing and retrival engine. - +Group: Applications/Databases %description Zebra is a high-performance, general-purpose structured text indexing and retrieval engine. It reads structured records in a variety of input formats (eg. email, XML, MARC) and allows access to them through exact boolean search expressions and relevance-ranked free-text queries. +%package -n %{namev} +Summary: High-performance, structured text indexing and retrival engine. +Group: Applications/Databases +Requires: lib%{namev}-modules = %{version} +%description -n %{namev} +Zebra is a high-performance, general-purpose structured text indexing +and retrieval engine. It reads structured records in a variety of input +formats (eg. email, XML, MARC) and allows access to them through exact +boolean search expressions and relevance-ranked free-text queries. + + %package -n lib%{namev} Summary: Zebra libraries Group: Libraries @@ -45,7 +54,7 @@ Requires: lib%{namev} = %{version} libyaz4-devel bzip2-devel Development libraries for the Zebra search engine. %prep -%setup -n idzebra-%{version} +%setup %build @@ -68,7 +77,7 @@ rm ${RPM_BUILD_ROOT}/%{_mandir}/man1/idzebra-config.* %clean rm -fr ${RPM_BUILD_ROOT} -%files +%files -n %{namev} %defattr(-,root,root) %doc README LICENSE.zebra NEWS %config /usr/share/idzebra-2.0/tab -- 1.7.10.4