94 lines
2.7 KiB
RPMSpec
94 lines
2.7 KiB
RPMSpec
Name: libxapian
|
|
Version: 1.2.12
|
|
Release: 1mamba
|
|
Summary: An Open Source Search Engine Library released under the GPL
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|
URL: http://www.xapian.org
|
|
Source: http://www.oligarchy.co.uk/xapian/%{version}/xapian-core-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: perl
|
|
BuildRequires: graphviz
|
|
BuildRequires: tetex
|
|
BuildRequires: doxygen
|
|
BuildRequires: help2man
|
|
BuildRequires: valgrind
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Xapian is a highly adaptable toolkit which allows developers to easily add advanced indexing and search facilities to their own applications.
|
|
It supports the Probabilistic Information Retrieval model and also supports a rich set of boolean query operators.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
Xapian is a highly adaptable toolkit which allows developers to easily add advanced indexing and search facilities to their own applications. It supports
|
|
the Probabilistic Information Retrieval model and also supports a rich set of boolean query operators,
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q -n xapian-core-%{version}
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
# remove documentation
|
|
rm -fr %{buildroot}%{_datadir}/doc
|
|
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/*
|
|
%dir %{_includedir}/xapian
|
|
%{_includedir}/xapian/*.h
|
|
%{_includedir}/*.h
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.la
|
|
%{_libdir}/*.so
|
|
%{_datadir}/aclocal/*.m4
|
|
%dir %{_libdir}/cmake/xapian
|
|
%{_libdir}/cmake/xapian/xapian-config-version.cmake
|
|
%{_libdir}/cmake/xapian/xapian-config.cmake
|
|
%{_mandir}/man1/*
|
|
%doc ChangeLog NEWS README
|
|
%doc ChangeLog.examples docs/*.html docs/*.pdf docs/apidoc/html HACKING
|
|
|
|
%changelog
|
|
* Tue Sep 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.12-1mamba
|
|
- update to 1.2.12
|
|
|
|
* Tue Nov 18 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-1mamba
|
|
- update to 1.0.9
|
|
|
|
* Wed Apr 25 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.9.10-1mamba
|
|
- package created by autospec
|