xapian-core-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. Summary: The Xapian Probabilistic Information Retrieval Library
  2. Name: xapian-core
  3. Version: 1.2.19
  4. Release: 1%{_dist_release}
  5. License: GPL
  6. Group: Applications/Databases
  7. Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz
  8. URL: http://xapian.org/
  9. BuildRequires: gcc-c++ zlib-devel libuuid-devel
  10. Requires: %{name}-libs = %{version}
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: Takemikaduchi
  15. %description
  16. Xapian is an Open Source Probabilistic Information Retrieval Library. It
  17. offers a highly adaptable toolkit that allows developers to easily add advanced
  18. indexing and search facilities to applications.
  19. %package libs
  20. Summary: Xapian search engine libraries.
  21. Group: System Environment/Libraries
  22. %description libs
  23. Xapian is an Open Source Probabilistic Information Retrieval framework. It
  24. offers a highly adaptable toolkit that allows developers to easily add advanced
  25. indexing and search facilities to applications. This package provides the
  26. libraries for applications using Xapian functionality.
  27. %package devel
  28. Group: Development/Libraries
  29. Summary: Files needed for building packages which use Xapian.
  30. Requires: %{name}-libs = %{version}
  31. %description devel
  32. Xapian is an Open Source Probabilistic Information Retrieval framework. It
  33. offers a highly adaptable toolkit that allows developers to easily add advanced
  34. indexing and search facilities to applications. This package provides the
  35. files needed for building packages which use Xapian.
  36. %prep
  37. %setup -q -n %{name}-%{version}
  38. %build
  39. # As of 1.1.0, Xapian uses libtool 2.2.x which allows us to override libtool's
  40. # sometimes conservative take on which directories are in the default dynamic
  41. # linker search path, so we no longer incorrectly try to set rpath for
  42. # /usr/lib64. Hence there's no longer a need to run "autoreconf --force" here
  43. # and it's better not to as it avoids having to cope with incompatibilities
  44. # with older versions of the autotools which older distros have.
  45. #autoreconf --force
  46. %configure
  47. make
  48. %install
  49. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  50. mkdir -p %{buildroot}
  51. # makeinstall doesn't work properly with libtool built libraries
  52. make DESTDIR=%{buildroot} install
  53. # Move the docs to the right place
  54. mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_datadir}/doc/%{name}-devel-%{version}
  55. # Copy HACKING now, as "%doc HACKING" would overwrite everything
  56. cp HACKING %{buildroot}%{_datadir}/doc/%{name}-devel-%{version}
  57. # Copy the rest while we are in this directory
  58. mkdir -p %{buildroot}%{_datadir}/doc/%{name}-%{version}
  59. cp AUTHORS ChangeLog ChangeLog.examples COPYING NEWS PLATFORMS README %{buildroot}%{_datadir}/doc/%{name}-%{version}
  60. %post libs -p /sbin/ldconfig
  61. %postun libs -p /sbin/ldconfig
  62. %clean
  63. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  64. %files
  65. %defattr(-, root, root)
  66. %{_bindir}/xapian-tcpsrv
  67. %{_bindir}/xapian-progsrv
  68. %{_bindir}/quest
  69. %{_bindir}/delve
  70. %{_bindir}/copydatabase
  71. %{_bindir}/simpleindex
  72. %{_bindir}/simplesearch
  73. %{_bindir}/simpleexpand
  74. %{_bindir}/xapian-check
  75. %{_bindir}/xapian-chert-update
  76. %{_bindir}/xapian-compact
  77. %{_bindir}/xapian-inspect
  78. %{_bindir}/xapian-replicate
  79. %{_bindir}/xapian-replicate-server
  80. %{_bindir}/xapian-metadata
  81. %doc %{_datadir}/doc/%{name}-%{version}
  82. # man pages may be gzipped, hence the trailing wildcard.
  83. %{_mandir}/man1/xapian-tcpsrv.1*
  84. %{_mandir}/man1/xapian-progsrv.1*
  85. %{_mandir}/man1/quest.1*
  86. %{_mandir}/man1/delve.1*
  87. %{_mandir}/man1/copydatabase.1*
  88. %{_mandir}/man1/xapian-check.1*
  89. %{_mandir}/man1/xapian-chert-update.1*
  90. %{_mandir}/man1/xapian-compact.1*
  91. %{_mandir}/man1/xapian-inspect.1*
  92. %{_mandir}/man1/xapian-replicate.1*
  93. %{_mandir}/man1/xapian-replicate-server.1*
  94. %{_mandir}/man1/xapian-metadata.1*
  95. %files libs
  96. %defattr(-, root, root)
  97. %{_libdir}/libxapian*.so.*
  98. %files devel
  99. %defattr(-, root, root)
  100. %{_bindir}/xapian-config
  101. %{_includedir}/xapian
  102. %{_includedir}/xapian.h
  103. %{_libdir}/libxapian*.so
  104. %{_libdir}/libxapian*.a
  105. %{_libdir}/libxapian*.la
  106. %{_libdir}/cmake/xapian
  107. %{_datadir}/aclocal/xapian*.m4
  108. %doc %{_datadir}/doc/%{name}-devel-%{version}
  109. # man pages may be gzipped, hence the trailing wildcard.
  110. %{_mandir}/man1/xapian-config.1*
  111. %changelog
  112. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.19-1
  113. - new upstream release
  114. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.16-1
  115. - new upstream release
  116. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-1
  117. - initial build