This commit is contained in:
parent
1ce97c17c2
commit
3db1e4fae9
118
xapian-core.spec
Normal file
118
xapian-core.spec
Normal file
@ -0,0 +1,118 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: xapian-core
|
||||
Version: 0.9.6
|
||||
Release: 0
|
||||
#
|
||||
License: GPL
|
||||
Group: Productivity/Databases/Servers
|
||||
#
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
Requires: %{name}-libs = %{version}
|
||||
#
|
||||
URL: http://www.xapian.org/
|
||||
Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
|
||||
#
|
||||
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 libs
|
||||
Group: Development/Libraries/C and C++
|
||||
#
|
||||
Summary: Xapian search engine libraries.
|
||||
%description libs
|
||||
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
|
||||
libraries for applications using Xapian functionality.
|
||||
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries/C and C++
|
||||
#
|
||||
Requires: %{name}-libs = %{version}
|
||||
Requires: libstdc++-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
|
||||
indexing and search facilities to applications. This package provides the
|
||||
files needed for building packages which use Xapian.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
%configure
|
||||
%{__make}
|
||||
|
||||
%install
|
||||
# makeinstall doesn't work properly with libtool built libraries
|
||||
#%{__make} DESTDIR=%{buildroot} install docdatadir=%{_docdir}/%{name}
|
||||
%makeinstall docdatadir=%{_docdir}/%{name}
|
||||
%{__cp} -vr \
|
||||
AUTHORS COPYING ChangeLog ChangeLog.examples \
|
||||
HACKING INSTALL NEWS PLATFORMS README examples \
|
||||
%{buildroot}%{_docdir}/%{name}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/xapian-tcpsrv
|
||||
%{_bindir}/quartzcheck
|
||||
%{_bindir}/quartzcompact
|
||||
%{_bindir}/quartzdump
|
||||
%{_bindir}/quest
|
||||
%{_bindir}/delve
|
||||
%{_bindir}/copydatabase
|
||||
%{_bindir}/simpleindex
|
||||
%{_bindir}/simplesearch
|
||||
%{_bindir}/simpleexpand
|
||||
%{_bindir}/xapian-compact
|
||||
%{_mandir}/man1/copydatabase.1*
|
||||
%{_mandir}/man1/delve.1*
|
||||
%{_mandir}/man1/quartzcheck.1*
|
||||
%{_mandir}/man1/quartzcompact.1*
|
||||
%{_mandir}/man1/quartzdump.1*
|
||||
%{_mandir}/man1/quest.1*
|
||||
%{_mandir}/man1/xapian-compact.1*
|
||||
%{_mandir}/man1/xapian-config.1*
|
||||
%{_mandir}/man1/xapian-tcpsrv.1*
|
||||
%dir %{_docdir}/%{name}/
|
||||
%doc %{_docdir}/%{name}/AUTHORS
|
||||
%doc %{_docdir}/%{name}/COPYING
|
||||
%doc %{_docdir}/%{name}/ChangeLog
|
||||
%doc %{_docdir}/%{name}/ChangeLog.examples
|
||||
%doc %{_docdir}/%{name}/HACKING
|
||||
%doc %{_docdir}/%{name}/INSTALL
|
||||
%doc %{_docdir}/%{name}/NEWS
|
||||
%doc %{_docdir}/%{name}/PLATFORMS
|
||||
%doc %{_docdir}/%{name}/README
|
||||
|
||||
%files libs
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libxapian.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/xapian-config
|
||||
%{_includedir}/xapian
|
||||
%{_includedir}/xapian.h
|
||||
%{_libdir}/libxapian.so
|
||||
%{_libdir}/libxapian.a
|
||||
%{_libdir}/libxapian.la
|
||||
%{_datadir}/aclocal/xapian.m4
|
||||
%doc %{_docdir}/%{name}/*.html
|
||||
%doc %{_docdir}/%{name}/apidoc*
|
||||
%doc %{_docdir}/%{name}/examples/
|
Loading…
x
Reference in New Issue
Block a user