strigi-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. Name: strigi
  2. Summary: A desktop search program
  3. Summary(ja): デスクトップ検索プログラム
  4. Version: 0.7.8
  5. Release: 2%{?_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. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.8-2
  113. - rebuild with exiv2-0.24
  114. * Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.8-1
  115. - new upstream release
  116. - remove Patch50 (strigi-0.7.5-static_convenience_libs.patch)
  117. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.5-3
  118. - rebuild with exiv2-0.23
  119. * Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.5-2
  120. - rebuild with exiv2-0.22
  121. * Sun Sep 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.5-1
  122. - updated to 0.7.5
  123. - dropt clucene support
  124. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.2-5
  125. - rebuilt with exiv2-0.21.1
  126. * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.2-4
  127. - rebuilt with rpm-4.8.1
  128. - added Japanese summaries
  129. * Wed May 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.2-3
  130. - rebuilt with exiv2-0.19
  131. * Sun Apr 11 2010 NAKAMURA Kenta <kenta@vinelinux.org> 0.7.2-2
  132. - rebuilt to support strigiclient (x86_64)
  133. * Fri Feb 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.2-1
  134. - new upstream release
  135. - built with new toolchain
  136. * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.0-1
  137. - new upstream release
  138. * Mon Apr 13 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.4-2
  139. - rebuild with exiv2-0.18.1-1
  140. * Tue Feb 17 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.4-1
  141. - new upstream release
  142. - update Patch0 and delete Patch1
  143. * Wed Jan 21 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.11-2
  144. - add Patch0 and Patch1
  145. * Sun Dec 7 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.11-1
  146. - new upstream release
  147. * Tue Aug 5 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.10-1
  148. - new upstream release
  149. * Sun May 4 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.9-1
  150. - new upstream release
  151. * Wed Nov 21 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.7-0vl1
  152. - new upstream release
  153. * Thu Sep 6 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.5-0vl1
  154. - new upstream release
  155. * Thu Aug 16 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.4-0vl1
  156. - new upstream release
  157. * Thu Jun 28 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.1-5vl2
  158. - rebuild with qt4-4.3.0-0vl1
  159. * Sun May 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.1-5vl1
  160. - initial release for VineSeed
  161. * Wed May 16 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.1-5
  162. - Split out a strigi-libs subpackage as suggested in BZ#223586
  163. _ Include a strigidaemon autostart desktop file
  164. * Sat May 05 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.1-4
  165. - Add dbus-devel BR.
  166. * Sat May 05 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.1-3
  167. - Misc. fixes from package review
  168. * Fri May 04 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.1-2
  169. - Updates from reviews:
  170. - Have the -devel subpackage require pkgconfig
  171. - Add a versioned dependency on cmake and remove dbus-qt buildrequire
  172. * Fri May 04 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.1-1
  173. - New release
  174. * Wed May 02 2007 Deji Akingunola <dakingun@gmail.com> - 0.3.11-3
  175. - Allow building on FC6
  176. * Thu Feb 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.3.11-2
  177. - Assorted fixed arising from reviews
  178. * Wed Jan 17 2007 Deji Akingunola <dakingun@gmail.com> - 0.3.11-1
  179. - Initial packaging for Fedora Extras