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