forked from pool/xapian-core
This commit is contained in:
parent
e4ee18f582
commit
1a8cabeb8e
@ -25,19 +25,19 @@ Requires: %{name}-libs = %{version}
|
||||
Url: http://www.xapian.org/
|
||||
Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}-rpmlintrc
|
||||
#
|
||||
Summary: The Xapian Probabilistic Information Retrieval Library
|
||||
|
||||
%description
|
||||
Xapian is an Open Source Probabilistic Information Retrieval Library. It
|
||||
offers a highly adaptable toolkit that allows developers to easily add advanced
|
||||
indexing and search facilities to applications
|
||||
|
||||
%package -n libxapian15
|
||||
%package -n libxapian22
|
||||
Group: Development/Libraries/C and C++
|
||||
Provides: xapian-core-libs
|
||||
#
|
||||
Summary: Xapian search engine libraries
|
||||
%description -n libxapian15
|
||||
|
||||
%description -n libxapian22
|
||||
Xapian is an Open Source Probabilistic Information Retrieval framework. It
|
||||
offers a highly adaptable toolkit that allows developers to easily add advanced
|
||||
indexing and search facilities to applications. This package provides the
|
||||
@ -47,10 +47,11 @@ libraries for applications using Xapian functionality
|
||||
%package devel
|
||||
Group: Development/Libraries/C and C++
|
||||
#
|
||||
Requires: libxapian15 = %{version}
|
||||
Requires: libxapian22 = %{version}
|
||||
Requires: gcc-c++ zlib-devel
|
||||
#
|
||||
Summary: Files needed for building packages which use Xapian
|
||||
|
||||
%description devel
|
||||
Xapian is an Open Source Probabilistic Information Retrieval framework. It
|
||||
offers a highly adaptable toolkit that allows developers to easily add advanced
|
||||
@ -98,9 +99,9 @@ files needed for building packages which use Xapian
|
||||
find . -name \*.spec|xargs rm
|
||||
fdupes %{buildroot}%{_defaultdocdir}/%{name}
|
||||
|
||||
%post -n libxapian15 -p /sbin/ldconfig
|
||||
%post -n libxapian22 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libxapian15 -p /sbin/ldconfig
|
||||
%postun -n libxapian22 -p /sbin/ldconfig
|
||||
|
||||
|
||||
%clean
|
||||
@ -137,7 +138,7 @@ fdupes %{buildroot}%{_defaultdocdir}/%{name}
|
||||
%{_mandir}/man1/xapian-replicate.1*
|
||||
%{_mandir}/man1/xapian-replicate-server.1*
|
||||
|
||||
%files -n libxapian15
|
||||
%files -n libxapian22
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libxapian.so.*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user