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