update to 0.8.0.20210119git [release 0.8.0.20210119git-1mamba;Tue Jan 19 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 18:10:01 +01:00
parent 4fbf8ec64f
commit 86cbe77a7c

View File

@ -1,25 +1,30 @@
Name: strigi
Version: 0.7.8
Release: 2mamba
Version: 0.8.0.20210119git
Release: 1mamba
Summary: The fastest and smallest desktop searching program
Group: Applications/Databases
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://strigi.sourceforge.net
Source: http://www.vandenoever.info/software/strigi/strigi-%{version}.tar.bz2
Source: https://github.com/fluxer/strigi.git/master/strigi-%{version}.tar.bz2
#Source: http://www.vandenoever.info/software/strigi/strigi-%{version}.tar.bz2
#Source: http://rdieter.fedorapeople.org/strigi/strigi-%{version}.tar.bz2
Patch0: %{name}-0.7.5-ffmpeg.patch
Patch1: %{name}-0.7.5-gcc-4.7.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libbzip2-devel
BuildRequires: libclucene-devel
BuildRequires: libdbus-devel
BuildRequires: libexiv2-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libmagic-devel
BuildRequires: libstdc++6-devel
BuildRequires: libswscale-ffmpeg-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
@ -31,11 +36,8 @@ BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libICE-devel
BuildRequires: libcppunit-devel
BuildRequires: libxml2-devel
BuildRequires: libdbus-devel
BuildRequires: libqt4-devel
BuildRequires: libmagic-devel
BuildRequires: libexiv2-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME:
@ -57,24 +59,24 @@ Strigi is a daemon which uses a very fast and efficient crawler that can index d
It indexes within archives like zip files, and calculates a hash for each file, so it can easily detect duplicates.
This package contains the libmagic library.
%debug_package
%prep
%setup -q
#-D -T
#%patch0 -p1
%patch1 -p1
#%patch1 -p1
%build
#:<< _EOF
QTDIR=%{_libdir}/qt4
PATH=$QTDIR/bin:$PATH
cmake \
%cmake \
-DCMAKE_CXXFLAGS="%{optflags}" \
-DCMAKE_CFLAGS="%{optflags}" \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
%ifarch x86_64
-DLIB_SUFFIX=64 \
%endif
-DENABLE_INOTIFY:BOOL=ON \
-DENABLE_DBUS:BOOL=ON
%build
%make
%install
@ -91,26 +93,25 @@ cmake \
%defattr(-,root,root)
%{_bindir}/deepfind
%{_bindir}/deepgrep
%{_bindir}/lucene2indexer
#%{_bindir}/lucene2indexer
%{_bindir}/rdfindexer
%{_bindir}/strigiclient
%{_bindir}/strigicmd
%{_bindir}/strigidaemon
#%{_bindir}/strigiclient
#%{_bindir}/strigicmd
#%{_bindir}/strigidaemon
%{_bindir}/xmlindexer
%{_datadir}/dbus-1/services/*.service
#%{_datadir}/dbus-1/services/*.service
%{_datadir}/strigi/
#%{_libdir}/libcluceneindex.so.*
%{_libdir}/libsearchclient.so.*
#%{_libdir}/libsearchclient.so.*
%{_libdir}/libstreamanalyzer.so.*
%{_libdir}/libstreams.so.*
%{_libdir}/libstrigihtmlgui.so.*
%{_libdir}/libstrigiqtdbusclient.so.*
#%{_libdir}/libstrigihtmlgui.so.*
#%{_libdir}/libstrigiqtdbusclient.so.*
%dir %{_libdir}/strigi
%{_libdir}/strigi/strigiea_jpeg.so
%{_libdir}/strigi/strigiea_digest.so
%{_libdir}/strigi/strigiea_ffmpeg.so
%{_libdir}/strigi/strigiea_riff.so
%{_libdir}/strigi/strigiindex_cluceneng.so
#%{_libdir}/strigi/strigiindex_cluceneng.so
%{_libdir}/strigi/strigila_cpp.so
%{_libdir}/strigi/strigila_deb.so
%{_libdir}/strigi/strigila_namespaceharvester.so
@ -133,13 +134,13 @@ cmake \
%defattr(-,root,root)
%dir %{_includedir}/strigi
%{_includedir}/strigi/*
%{_libdir}/libsearchclient.so
#%{_libdir}/libsearchclient.so
%{_libdir}/libstreamanalyzer.so
%{_libdir}/libstreams.so
%{_libdir}/libstrigihtmlgui.so
%{_libdir}/libstrigiqtdbusclient.so
%dir %{_libdir}/cmake/LibSearchClient
%{_libdir}/cmake/LibSearchClient/LibSearchClientConfig.cmake
#%{_libdir}/libstrigihtmlgui.so
#%{_libdir}/libstrigiqtdbusclient.so
#%dir %{_libdir}/cmake/LibSearchClient
#%{_libdir}/cmake/LibSearchClient/LibSearchClientConfig.cmake
%dir %{_libdir}/cmake/LibStreamAnalyzer
%{_libdir}/cmake/LibStreamAnalyzer/LibStreamAnalyzer*.cmake
%dir %{_libdir}/cmake/LibStreams
@ -148,9 +149,12 @@ cmake \
%{_libdir}/cmake/Strigi/Strigi*.cmake
%{_libdir}/pkgconfig/libstreamanalyzer.pc
%{_libdir}/pkgconfig/libstreams.pc
%doc NEWS ChangeLog
#%doc NEWS ChangeLog
%changelog
* Tue Jan 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0.20210119git-1mamba
- update to 0.8.0.20210119git
* Wed Dec 23 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.8-2mamba
- rebuilt with gcc 5.3.0