automatic version update by autodist [release 3.1.1-1mamba;Fri Apr 23 2021]

This commit is contained in:
Automatic Build System 2024-01-05 18:40:37 +01:00
parent fd383138dc
commit 0a753bf65a

View File

@ -1,156 +1,31 @@
%define majver %(echo %version | cut -d. -f1-2)
%define apiver 2.0
%define MAJver %(echo %version | cut -d. -f1)
%define apiver %{MAJver}.0
%define evo_pluginsdir %(pkg-config evolution-plugin --variable=plugindir)
Name: tracker
Version: 2.1.2
Version: 3.1.1
Release: 1mamba
Summary: An object database, tag/metadata database, search tool and indexer
Group: Applications/Databases
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org/projects/tracker/
URL: https://www.gnome.org/projects/tracker/
Source0: http://ftp.acc.umu.se/pub/GNOME/sources/tracker/%{majver}/tracker-%{version}.tar.xz
Source1: gnome_system_search.png
Patch0: tracker-0.8.17-doc-build.patch
Patch1: tracker-0.8.17-eds-build-fix.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: enca-devel
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: gtk-doc
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libexempi-devel
BuildRequires: libexif-devel
BuildRequires: libffi-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libgee1-devel
BuildRequires: libgif-devel
BuildRequires: libglib-devel
BuildRequires: libgnome-keyring-devel
BuildRequires: libgsf-devel
BuildRequires: libgst-plugins-base010-devel
BuildRequires: libgstreamer010-devel
BuildRequires: libgtk-devel
BuildRequires: libiptcdata-devel
BuildRequires: libjpeg-devel
%if "%{stage1}" != "1"
BuildRequires: libnautilus-extension-devel
%endif
BuildRequires: libnm-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: libqt4-devel
BuildRequires: librest-devel
BuildRequires: libselinux-devel
BuildRequires: libicu-devel
BuildRequires: libjson-glib-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtag-devel
BuildRequires: libtiff-devel
BuildRequires: libtotem-pl-parser-devel
BuildRequires: libunistring-devel
BuildRequires: libuuid-devel
BuildRequires: libstemmer-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: pkg-config
BuildRequires: upower-devel
## AUTOBUILDREQ-END
BuildRequires: libgee-devel
#%if "%{stage1}" != "1"
#BuildRequires: evolution-devel
#BuildRequires: firefox
#BuildRequires: xulrunner-devel
#BuildRequires: dia
#%endif
BuildRequires: gnome-desktop-devel
BuildRequires: vala-devel
BuildRequires: pygtk-devel
BuildRequires: libgrss-devel
BuildRequires: libtotem-pl-parser-devel >= 3.10
BuildRequires: upower-devel >= 0.9.23
BuildRequires: libopenjpeg1-devel
Requires: odt2txt
BuildRoot: %{_tmppath}/%{name}-%{version}-root
#Build Configuration:
#
# Prefix: /usr
# Source code location: .
# Compiler: i586-openmamba-linux-gnu-gcc
# Compiler Warnings: no
#
# Win32: no
#
# Enable gtk doc (for documentation): yes
#
# Enable functional tests: no
# Enable unit tests: yes
#
# Support for HAL: no (disabled)
# Support for UPower: yes
# Support for Cyrillic languages (enca): yes
# Support for network status detection: yes
# Unicode support library: libunistring
#
#Applications:
#
# Build with Journal support: yes
# Build with SQLite FTS support: yes
#
# Build tracker-preferences: yes
# Build tracker-explorer: yes
# Build tracker-needle: yes
# Build tracker-search-bar: yes
#
#Metadata Extractors:
#
# Support libstreamanalyzer: no (disabled)
# Support PNG: yes
# Support PDF: yes
# Support GIF: yes (xmp: yes)
# Support JPEG: yes (xmp: yes, exif: yes, iptc: yes)
# Support TIFF: yes (xmp: yes, exif: yes, iptc: yes)
# Support Vorbis (ogg/etc): no (disabled)
# Support Flac: no (disabled)
# Support MS & Open Office: yes
# Support XML / HTML: yes
# Support embedded / sidecar XMP: yes
# Support generic media formats: yes (GStreamer) (backend: Discoverer)
# Support media art processing: yes (GdkPixbuf)
# Support cue sheet parsing: no
# Support playlists (w/ Totem): yes
# Support ISO image parsing: no
#
#Data Miners:
#
# Applications: yes (MeeGo support: no (disabled))
# RSS: no
# Evolution: no (disabled) (/dev/null)
# Thunderbird: yes (/usr/lib/thunderbird-15.0.1/extensions)
# FireFox: yes (/usr/lib/firefox-15.0.1/extensions)
# Flickr: yes
#
#Plugins:
#
# Nautilus: (tagging widget) yes (/usr/lib/nautilus/extensions-3.0)
#
#Writeback:
#
# Audio files using Taglib: yes
# XMP: yes
#
#Frameworks / Options:
#
# Support Maemo no
# Support libmeegotouch no (disabled)
# Support Guaranteed Metadata no (e.g. guess nie:title from files)
%description
Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer.
@ -171,42 +46,12 @@ Summary: Headers for developing programs that will use %{name}
Group: Development/Libraries
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: tracker-devel
Obsoletes: tracker-devel
Obsoletes: tracker-devel < 3.1.1
%description -n libtracker-devel
Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer.
This package contains the static libraries and header files needed for developing with tracker
%package search-tool
Summary: Tracker search tools
Group: Graphical Desktop/Applications/Utilities
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description search-tool
Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer.
This package contains the graphical frontend to tracker search and tagging facilities.
%package evolution-plugin
Summary: Tracker's evolution plugin
Group: Applications/Networking
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description evolution-plugin
Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer.
This package contains Tracker's evolution plugin
%package firefox-plugin
Summary: Tracker plugin for Firefox
Group: Applications/Networking
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description firefox-plugin
Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer.
This package contains Tracker's plugin for Firefox
%package apidocs
Summary: %{name} API documentation
Group: Documentation
@ -214,43 +59,31 @@ Requires: gtk-doc
%description apidocs
Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer.
This package contains the API documentation for %{name}
#% debug_package
%prep
%setup -q
#%patch0 -p0
#%patch1 -p0
#-D -T
%build
%configure \
--enable-tracker-search-bar \
%if "%{stage1}" != "1"
--enable-gtk-doc \
%endif
--disable-functional-tests \
--enable-miner-evolution=no
#:<< _EOF
%meson \
-Dsystemd_user_services=true \
-Ddocs=false
# FIXME: re-enable evolution plugin when api compatible
# --enable-miner-evolution=no
# --enable-libstreamanalyzer \
# --enable-libvorbis \
# --enable-libflac \
#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
#sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%meson_install
rm -rf %{buildroot}%{_datadir}/tracker-tests
%find_lang %{name}
%find_lang %{name}3
:<< __OLD
for png in 32x32 22x22 16x16; do
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${png}/apps/
convert -geometry $png %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/${png}/apps/gnome_system_search.png
@ -259,207 +92,94 @@ done
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/
#sed -i 's/Icon=system-search/Icon=gnome_system_search.png/' %{buildroot}%{_datadir}/applications/tracker-search-tool.desktop
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
if [ $1 -ge 1 ]; then
if [ -w /etc/ld.so.conf ]; then
if [ -d /etc/ld.so.conf.d ]; then
sed -i "\|^/usr/lib/tracker-[0-9\.]*|d" /etc/ld.so.conf
fi
fi
fi
exit 0
%post -n libtracker -p /sbin/ldconfig
%post -n libtracker
/sbin/ldconfig
exit 0
%postun -n libtracker -p /sbin/ldconfig
%postun -n libtracker
/sbin/ldconfig
exit 0
%post search-tool
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
exit 0
%postun search-tool
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
exit 0
%files -f %{name}.lang
%files -f %{name}3.lang
%defattr(-,root,root)
#%{_sysconfdir}/ld.so.conf.d/tracker.conf
#%{_sysconfdir}/bash_completion.d/tracker-prompt.sh
%{_bindir}/tracker
#%{_bindir}/tracker-needle
#%{_libexecdir}/tracker-miner-rss
%{_bindir}/tracker3
%{_userunitdir}/tracker-*.service
#%{_datadir}/appdata/tracker-needle.appdata.xml
#%{_datadir}/appdata/tracker-preferences.appdata.xml
#%{_datadir}/applications/tracker-needle.desktop
#%if "%{stage1}" != "1"
#%{_datadir}/applications/trackerbird-launcher.desktop
#%endif
%{_datadir}/bash-completion/completions/tracker
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.service
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.*.xml
%dir %{_datadir}/tracker
%{_datadir}/tracker/*.xml
%dir %{_datadir}/tracker/domain-ontologies
%{_datadir}/tracker/domain-ontologies/default.rule
%dir %{_datadir}/tracker/ontologies
%dir %{_datadir}/tracker/ontologies/nepomuk
%{_datadir}/tracker/ontologies/nepomuk/*
#%{_datadir}/tracker/extract-rules/*.rule
#%{_datadir}/tracker/miners/org.freedesktop.Tracker1.Miner.*.service
%dir %{_datadir}/tracker/stop-words
%{_datadir}/tracker/stop-words/stopwords.*
%{_mandir}/man1/tracker-*.1*
#%{_mandir}/man5/tracker-*.5*
%doc AUTHORS COPYING
%{_datadir}/bash-completion/completions/tracker3
%{_datadir}/dbus-1/services/org.freedesktop.portal.Tracker.service
%dir %{_datadir}/tracker3
%dir %{_datadir}/tracker3/ontologies
%dir %{_datadir}/tracker3/ontologies/nepomuk
%{_datadir}/tracker3/ontologies/nepomuk/*
%dir %{_datadir}/tracker3/stop-words
%{_datadir}/tracker3/stop-words/stopwords.*
%{_mandir}/man1/tracker-xdg-portal-3.1*
%{_mandir}/man1/tracker3-endpoint.1*
%{_mandir}/man1/tracker3-export.1*
%{_mandir}/man1/tracker3-import.1*
%{_mandir}/man1/tracker3-sparql.1*
%{_mandir}/man1/tracker3-sql.1*
%files -n libtracker
%defattr(-,root,root)
%{_libdir}/libtracker-control-*.so.*
#%{_libdir}/libtracker-extract-%{apiver}.so.*
%{_libdir}/libtracker-miner-*.so.*
%{_libdir}/libtracker-sparql-*.so.*
%{_libdir}/girepository-1.0/Tracker-*.typelib
%{_libdir}/girepository-1.0/TrackerControl-*.typelib
%{_libdir}/girepository-1.0/TrackerMiner-*.typelib
%dir %{_libdir}/tracker-%{apiver}
#%dir %{_libdir}/tracker-%{apiver}/extract-modules
#%{_libdir}/tracker-%{apiver}/extract-modules/libextract-*.so
#%{_libdir}/tracker-%{apiver}/extract-modules/libextract-*.la
%{_libdir}/tracker-%{apiver}/libtracker-common.la
%{_libdir}/tracker-%{apiver}/libtracker-common.so
%{_libdir}/tracker-%{apiver}/libtracker-common.so.*
%{_libdir}/tracker-%{apiver}/libtracker-data.la
%{_libdir}/tracker-%{apiver}/libtracker-data.so*
#%{_libdir}/tracker-%{apiver}/libtracker-extract.la
#%{_libdir}/tracker-%{apiver}/libtracker-extract.so
#%{_libdir}/tracker-%{apiver}/libtracker-extract.so.*
#%dir %{_libdir}/tracker-%{apiver}/writeback-modules
#%{_libdir}/tracker-%{apiver}/writeback-modules/libwriteback-taglib.la
#%{_libdir}/tracker-%{apiver}/writeback-modules/libwriteback-taglib.so
#%{_libdir}/tracker-%{apiver}/writeback-modules/libwriteback-xmp.la
#%{_libdir}/tracker-%{apiver}/writeback-modules/libwriteback-xmp.so
#%{_libexecdir}/tracker-extract
#%{_libexecdir}/tracker-miner-apps
#%{_libexecdir}/tracker-miner-fs
##%{_libexecdir}/tracker-miner-rss
#%{_libexecdir}/tracker-miner-user-guides
%{_libexecdir}/tracker-store
#%{_libexecdir}/tracker-writeback
##%{_libexecdir}/tracker-miner-flickr
%{_libdir}/girepository-1.0/Tracker-%{apiver}.typelib
%{_libdir}/libtracker-sparql-%{apiver}.so.*
%dir %{_libdir}/tracker-%{apiver}/trackertestutils
%{_libdir}/tracker-%{apiver}/trackertestutils/*
%{_libexecdir}/tracker-xdg-portal-3
%dir %{_libexecdir}/tracker3
%{_libexecdir}/tracker3/*
%doc AUTHORS COPYING
%files -n libtracker-devel
%defattr(-,root,root)
#%dir %{_includedir}/tracker-%{apiver}
%dir %{_includedir}/tracker-%{apiver}/libtracker-control
%{_includedir}/tracker-%{apiver}/libtracker-control/*.h
#%dir %{_includedir}/tracker-%{apiver}/libtracker-extract
#%{_includedir}/tracker-%{apiver}/libtracker-extract/*.h
%dir %{_includedir}/tracker-%{apiver}/libtracker-miner
%{_includedir}/tracker-%{apiver}/libtracker-miner/*.h
%dir %{_includedir}/tracker-%{apiver}
%dir %{_includedir}/tracker-%{apiver}/libtracker-sparql
%{_includedir}/tracker-%{apiver}/libtracker-sparql/*.h
%{_libdir}/tracker-%{apiver}/libtracker-common.a
%{_libdir}/tracker-%{apiver}/libtracker-data.a
#%{_libdir}/tracker-%{apiver}/libtracker-extract.a
%{_libdir}/libtracker-control-%{apiver}.a
%{_libdir}/libtracker-control-%{apiver}.la
%{_libdir}/libtracker-control-%{apiver}.so
#%{_libdir}/libtracker-extract-%{apiver}.la
#%{_libdir}/libtracker-extract-%{apiver}.so
%{_libdir}/libtracker-miner-%{apiver}.a
%{_libdir}/libtracker-miner-%{apiver}.la
%{_libdir}/libtracker-miner-%{apiver}.so
%{_libdir}/libtracker-sparql-*.a
%{_libdir}/libtracker-sparql-*.la
%{_libdir}/libtracker-sparql-*.so
#%{_libdir}/tracker-%{apiver}/extract-modules/libextract-*.a
#%{_libdir}/tracker-%{apiver}/writeback-modules/libwriteback-*.a
#%{_libdir}/nautilus/extensions-3.0/libnautilus-tracker-tags.a
%{_datadir}/gir-1.0/Tracker-*.gir
%{_datadir}/gir-1.0/TrackerControl-%{apiver}.gir
%{_datadir}/gir-1.0/TrackerMiner-*.gir
%{_libdir}/pkgconfig/tracker-control-%{apiver}.pc
#%{_libdir}/pkgconfig/tracker-extract-%{apiver}.pc
%{_libdir}/pkgconfig/tracker-miner-%{apiver}.pc
%{_libdir}/pkgconfig/tracker-sparql-*.pc
%{_datadir}/vala/vapi/tracker-control-%{apiver}.deps
%{_datadir}/vala/vapi/tracker-control-%{apiver}.vapi
%{_datadir}/vala/vapi/tracker-miner-%{apiver}.deps
%{_datadir}/vala/vapi/tracker-miner-%{apiver}.vapi
%{_datadir}/vala/vapi/tracker-sparql-*.deps
%{_datadir}/vala/vapi/tracker-sparql-*.vapi
%{_libdir}/libtracker-sparql-%{apiver}.so
%{_datadir}/gir-1.0/Tracker-3.0.gir
%{_datadir}/vala/vapi/tracker-sparql-3.0.deps
%{_datadir}/vala/vapi/tracker-sparql-3.0.vapi
%{_libdir}/pkgconfig/tracker-sparql-3.0.pc
%{_libdir}/pkgconfig/tracker-testutils-3.0.pc
#%doc ChangeLog NEWS README
%files search-tool
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/tracker-*.desktop
#%{_bindir}/tracker-preferences
#%{_bindir}/tracker-search-tool
#%files apidocs
#%defattr(-,root,root)
#%dir %{_datadir}/gtk-doc/html/libtracker-control
#%{_datadir}/gtk-doc/html/libtracker-control/*
#%dir %{_datadir}/gtk-doc/html/libtracker-miner
#%{_datadir}/gtk-doc/html/libtracker-miner/*
#%if "%{stage1}" != "1"
#%{_libdir}/nautilus/extensions-3.0/libnautilus-tracker-tags.la
#%{_libdir}/nautilus/extensions-3.0/libnautilus-tracker-tags.so
#%dir %{_datadir}/gtk-doc/html/ontology
#%{_datadir}/gtk-doc/html/ontology/*
#%endif
#%{_libexecdir}/tracker-search-bar
%{_datadir}/pixmaps/gnome_system_search.png
#%{_datadir}/icons/hicolor/scalable/apps/tracker.svg
%{_datadir}/icons/hicolor/*x*/apps/*.png
#%{_datadir}/applications/tracker-preferences.desktop
#%{_datadir}/applications/tracker-search-tool.desktop
#%{_mandir}/man1/tracker-preferences.1.gz
#%{_mandir}/man1/tracker-search-bar.1.gz
#%{_mandir}/man1/tracker-search-tool.1.gz
#%files evolution-plugin
#%defattr(-, root, root)
#%{_libdir}/evolution/2.32/plugins/liborg-freedesktop-Tracker-evolution-plugin.la
#%{_libdir}/evolution/2.32/plugins/liborg-freedesktop-Tracker-evolution-plugin.so
#%{_libdir}/evolution/2.32/plugins/org-freedesktop-Tracker-evolution-plugin.eplug
%if "%{stage1}" != "1"
%files firefox-plugin
%defattr(-,root,root)
#%{_prefix}/lib/thunderbird-*/extensions/trackerbird*bustany.org
#%dir %{_datadir}/xul-ext/trackerbird/
#%{_datadir}/xul-ext/trackerbird/*
#%{_prefix}/lib/firefox-addons/extensions/trackerfox@bustany.org
#%dir %{_datadir}/xul-ext/trackerfox/
#%{_datadir}/xul-ext/trackerfox/*
%endif
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/libtracker-control
%{_datadir}/gtk-doc/html/libtracker-control/*
#%dir %{_datadir}/gtk-doc/html/libtracker-common
#%{_datadir}/gtk-doc/html/libtracker-common/*
#%dir %{_datadir}/gtk-doc/html/libtracker-extract
#%{_datadir}/gtk-doc/html/libtracker-extract/*
%dir %{_datadir}/gtk-doc/html/libtracker-miner
%{_datadir}/gtk-doc/html/libtracker-miner/*
%if "%{stage1}" != "1"
%dir %{_datadir}/gtk-doc/html/ontology
%{_datadir}/gtk-doc/html/ontology/*
%endif
%dir %{_datadir}/gtk-doc/html/libtracker-sparql
%{_datadir}/gtk-doc/html/libtracker-sparql/*
#%dir %{_datadir}/gtk-doc/html/libtracker-sparql
#%{_datadir}/gtk-doc/html/libtracker-sparql/*
%changelog
* Fri Apr 23 2021 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
- automatic version update by autodist
* Thu Sep 24 2020 Automatic Build System <autodist@mambasoft.it> 2.3.6-1mamba
- automatic version update by autodist
* Tue Aug 25 2020 Automatic Build System <autodist@mambasoft.it> 2.3.5-1mamba
- automatic version update by autodist
* Tue Mar 10 2020 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
- automatic version update by autodist
* Wed Feb 19 2020 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic version update by autodist
* Sun Jan 19 2020 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Sun Aug 04 2019 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
- automatic version update by autodist
* Thu Aug 16 2018 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
- automatic version update by autodist