SHA256
1
0
forked from pool/xapian-core
Raymond Wooninck 2011-05-03 19:21:16 +00:00 committed by Git OBS Bridge
parent e4ee18f582
commit 1a8cabeb8e

View File

@ -25,19 +25,19 @@ Requires: %{name}-libs = %{version}
Url: http://www.xapian.org/ Url: http://www.xapian.org/
Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
Source1: %{name}-rpmlintrc Source1: %{name}-rpmlintrc
#
Summary: The Xapian Probabilistic Information Retrieval Library Summary: The Xapian Probabilistic Information Retrieval Library
%description %description
Xapian is an Open Source Probabilistic Information Retrieval Library. It Xapian is an Open Source Probabilistic Information Retrieval Library. It
offers a highly adaptable toolkit that allows developers to easily add advanced offers a highly adaptable toolkit that allows developers to easily add advanced
indexing and search facilities to applications indexing and search facilities to applications
%package -n libxapian15 %package -n libxapian22
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Provides: xapian-core-libs Provides: xapian-core-libs
#
Summary: Xapian search engine libraries Summary: Xapian search engine libraries
%description -n libxapian15
%description -n libxapian22
Xapian is an Open Source Probabilistic Information Retrieval framework. It Xapian is an Open Source Probabilistic Information Retrieval framework. It
offers a highly adaptable toolkit that allows developers to easily add advanced offers a highly adaptable toolkit that allows developers to easily add advanced
indexing and search facilities to applications. This package provides the indexing and search facilities to applications. This package provides the
@ -47,10 +47,11 @@ libraries for applications using Xapian functionality
%package devel %package devel
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
# #
Requires: libxapian15 = %{version} Requires: libxapian22 = %{version}
Requires: gcc-c++ zlib-devel Requires: gcc-c++ zlib-devel
# #
Summary: Files needed for building packages which use Xapian Summary: Files needed for building packages which use Xapian
%description devel %description devel
Xapian is an Open Source Probabilistic Information Retrieval framework. It Xapian is an Open Source Probabilistic Information Retrieval framework. It
offers a highly adaptable toolkit that allows developers to easily add advanced 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 find . -name \*.spec|xargs rm
fdupes %{buildroot}%{_defaultdocdir}/%{name} 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 %clean
@ -137,7 +138,7 @@ fdupes %{buildroot}%{_defaultdocdir}/%{name}
%{_mandir}/man1/xapian-replicate.1* %{_mandir}/man1/xapian-replicate.1*
%{_mandir}/man1/xapian-replicate-server.1* %{_mandir}/man1/xapian-replicate-server.1*
%files -n libxapian15 %files -n libxapian22
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/libxapian.so.* %{_libdir}/libxapian.so.*