strigi-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. Name: strigi
  2. Summary: A desktop search program
  3. Summary(ja): デスクトップ検索プログラム
  4. Version: 0.7.8
  5. Release: 4%{?_dist_release}
  6. Group: Applications/Productivity
  7. License: LGPLv2+
  8. #URL: http://strigi.sourceforge.net/
  9. URL: http://www.vandenoever.info/software/strigi/
  10. Source0: http://www.vandenoever.info/software/strigi/strigi-%{version}.tar.bz2
  11. Source1: strigiclient.desktop
  12. Source2: strigi-daemon.desktop
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: bison
  15. BuildRequires: bzip2-devel
  16. BuildRequires: cmake >= 2.6.0
  17. #BuildRequires: clucene-core-devel
  18. BuildRequires: cppunit-devel
  19. BuildRequires: dbus-devel dbus-x11
  20. BuildRequires: desktop-file-utils
  21. BuildRequires: exiv2-devel
  22. BuildRequires: gamin-devel
  23. BuildRequires: libxml2-devel
  24. BuildRequires: qt4-devel
  25. BuildRequires: zlib-devel
  26. %description
  27. Strigi is a fast and light desktop search engine. It can handle a large range
  28. of file formats such as emails, office documents, media files, and file
  29. archives. It can index files that are embedded in other files. This means email
  30. attachments and files in zip files are searchable as if they were normal files
  31. on your harddisk.
  32. Strigi is normally run as a background daemon that can be accessed by many
  33. other programs at once. In addition to the daemon, Strigi comes with powerful
  34. replacements for the popular unix commands 'find' and 'grep'. These are called
  35. 'deepfind' and 'deepgrep' and can search inside files just like the strigi
  36. daemon can.
  37. %package libs
  38. Summary: Strigi libraries
  39. Summary(ja): Strigi 検索エンジンライブラリ
  40. Group: System Environment/Libraries
  41. %description libs
  42. Strigi search engine libraries
  43. %package devel
  44. Summary: Development files for the strigi desktop search engine
  45. Summary(ja): Strigi デスクトップ検索エンジンの開発用ファイル
  46. Group: Development/Libraries
  47. Requires: %{name}-libs = %{version}-%{release}
  48. %description devel
  49. Development files for the strigi desktop search engine
  50. %prep
  51. %setup -q
  52. %build
  53. mkdir build
  54. cd build
  55. export CFLAGS="%{optflags}"
  56. export CXXFLAGS="%{optflags}"
  57. export FFLAGS="%{optflags}"
  58. %ifarch x86_64 ppc64
  59. %define lib_suffix 64
  60. %else
  61. %define lib_suffix %{nil}
  62. %endif
  63. cmake \
  64. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
  65. -DLIB_DESTINATION=%{_libdir} \
  66. -DLIB_SUFFIX=%{lib_suffix} \
  67. -DENABLE_CLUCENE:BOOL=OFF \
  68. -DENABLE_CLUCENE_NG:BOOL=OFF \
  69. -DENABLE_DBUS:BOOL=ON \
  70. -DENABLE_FAM:BOOL=ON \
  71. -DENABLE_FFMPEG:BOOL=OFF \
  72. -DENABLE_INOTIFY:BOOL=ON \
  73. %{?_cmake_skip_rpath} \
  74. ..
  75. make VERBOSE=1 %{?_smp_mflags}
  76. %install
  77. rm -rf $RPM_BUILD_ROOT
  78. cd build
  79. make DESTDIR=$RPM_BUILD_ROOT install
  80. desktop-file-install \
  81. --vendor="" \
  82. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  83. %{SOURCE1}
  84. # Add an autostart desktop file for the strigi daemon
  85. install -p -m644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/strigi-daemon.desktop
  86. %clean
  87. rm -rf $RPM_BUILD_ROOT
  88. %post libs -p /sbin/ldconfig
  89. %postun libs -p /sbin/ldconfig
  90. %files
  91. %defattr(-,root,root,-)
  92. %doc AUTHORS COPYING ChangeLog
  93. %{_sysconfdir}/xdg/autostart/strigi-daemon.desktop
  94. %{_bindir}/*
  95. %{_datadir}/applications/strigiclient.desktop
  96. %{_datadir}/dbus-1/services/*
  97. %{_datadir}/strigi
  98. %files libs
  99. %defattr(-,root,root,-)
  100. %{_libdir}/*.so.*
  101. %{_libdir}/strigi
  102. %files devel
  103. %defattr(-,root,root,-)
  104. %{_includedir}/strigi
  105. %{_libdir}/*.so
  106. %{_libdir}/pkgconfig/libstream*.pc
  107. %{_libdir}/cmake/LibSearchClient
  108. %{_libdir}/cmake/LibStreamAnalyzer
  109. %{_libdir}/cmake/LibStreams
  110. %{_libdir}/cmake/Strigi/
  111. %changelog
  112. * Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.8-4
  113. - rebuild with gcc-5.4.0
  114. * Fri Nov 06 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.8-3
  115. - rebuild with exiv2-0.25
  116. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.8-2
  117. - rebuild with exiv2-0.24
  118. * Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.8-1
  119. - new upstream release
  120. - remove Patch50 (strigi-0.7.5-static_convenience_libs.patch)
  121. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.5-3
  122. - rebuild with exiv2-0.23
  123. * Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.5-2
  124. - rebuild with exiv2-0.22
  125. * Sun Sep 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.5-1
  126. - updated to 0.7.5
  127. - dropt clucene support
  128. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.2-5
  129. - rebuilt with exiv2-0.21.1
  130. * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.2-4
  131. - rebuilt with rpm-4.8.1
  132. - added Japanese summaries
  133. * Wed May 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.2-3
  134. - rebuilt with exiv2-0.19
  135. * Sun Apr 11 2010 NAKAMURA Kenta <kenta@vinelinux.org> 0.7.2-2
  136. - rebuilt to support strigiclient (x86_64)
  137. * Fri Feb 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.2-1
  138. - new upstream release
  139. - built with new toolchain
  140. * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.0-1
  141. - new upstream release
  142. * Mon Apr 13 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.4-2
  143. - rebuild with exiv2-0.18.1-1
  144. * Tue Feb 17 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.4-1
  145. - new upstream release
  146. - update Patch0 and delete Patch1
  147. * Wed Jan 21 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.11-2
  148. - add Patch0 and Patch1
  149. * Sun Dec 7 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.11-1
  150. - new upstream release
  151. * Tue Aug 5 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.10-1
  152. - new upstream release
  153. * Sun May 4 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.9-1
  154. - new upstream release
  155. * Wed Nov 21 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.7-0vl1
  156. - new upstream release
  157. * Thu Sep 6 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.5-0vl1
  158. - new upstream release
  159. * Thu Aug 16 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.4-0vl1
  160. - new upstream release
  161. * Thu Jun 28 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.1-5vl2
  162. - rebuild with qt4-4.3.0-0vl1
  163. * Sun May 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.1-5vl1
  164. - initial release for VineSeed
  165. * Wed May 16 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.1-5
  166. - Split out a strigi-libs subpackage as suggested in BZ#223586
  167. _ Include a strigidaemon autostart desktop file
  168. * Sat May 05 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.1-4
  169. - Add dbus-devel BR.
  170. * Sat May 05 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.1-3
  171. - Misc. fixes from package review
  172. * Fri May 04 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.1-2
  173. - Updates from reviews:
  174. - Have the -devel subpackage require pkgconfig
  175. - Add a versioned dependency on cmake and remove dbus-qt buildrequire
  176. * Fri May 04 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.1-1
  177. - New release
  178. * Wed May 02 2007 Deji Akingunola <dakingun@gmail.com> - 0.3.11-3
  179. - Allow building on FC6
  180. * Thu Feb 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.3.11-2
  181. - Assorted fixed arising from reviews
  182. * Wed Jan 17 2007 Deji Akingunola <dakingun@gmail.com> - 0.3.11-1
  183. - Initial packaging for Fedora Extras