Update to 2.2.0

- Switch to the meson build system
This commit is contained in:
Kalev Lember 2019-02-20 23:23:23 +01:00
parent 2a4ed6c185
commit b706502849
3 changed files with 22 additions and 17 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/tracker-miners-2.1.3.tar.xz
/tracker-miners-2.1.4.tar.xz
/tracker-miners-2.1.5.tar.xz
/tracker-miners-2.2.0.tar.xz

View File

@ -1 +1 @@
SHA512 (tracker-miners-2.1.5.tar.xz) = 37bf6d44635843037613cfe681cd536a8b33ba34c092183d9d66289713deaaff5322d09028b447484e6bf72a01199c041fb295d6431d2f7cff3498ef8983f605
SHA512 (tracker-miners-2.2.0.tar.xz) = 0dec9e8150a7b669f74c9ce79e0f1a8b87b7af5d4c04c4b96da80127fbe6e4ac4eb7bcaf279c98c2c48a265ef791ef5af64cfec202d81462cfb29beb21d6bc3d

View File

@ -8,26 +8,26 @@
%global with_rss 1
%endif
%global tracker_version 2.1.0
%global tracker_version 2.2.0
%global systemd_units tracker-extract.service tracker-miner-apps.service tracker-miner-fs.service tracker-miner-rss.service tracker-writeback.service
%global systemd_units tracker-extract.service tracker-miner-fs.service tracker-miner-rss.service tracker-writeback.service
Name: tracker-miners
Version: 2.1.5
Release: 4%{?dist}
Version: 2.2.0
Release: 1%{?dist}
Summary: Tracker miners and metadata extractors
# libtracker-extract is LGPLv2+; the miners are a mix of GPLv2+ and LGPLv2+ code
License: GPLv2+ and LGPLv2+
URL: https://wiki.gnome.org/Projects/Tracker
Source0: https://download.gnome.org/sources/%{name}/2.1/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/%{name}/2.2/%{name}-%{version}.tar.xz
BuildRequires: giflib-devel
BuildRequires: intltool
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: meson
BuildRequires: systemd
BuildRequires: vala
BuildRequires: pkgconfig(dbus-1)
%if 0%{?with_enca}
BuildRequires: pkgconfig(enca)
%endif
@ -48,9 +48,12 @@ BuildRequires: pkgconfig(libgrss)
%endif
BuildRequires: pkgconfig(libgsf-1)
BuildRequires: pkgconfig(libgxps)
BuildRequires: pkgconfig(libiptcdata)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libosinfo-1.0)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(taglib_c)
@ -58,6 +61,7 @@ BuildRequires: pkgconfig(totem-plparser)
BuildRequires: pkgconfig(tracker-sparql-2.0) >= %{tracker_version}
BuildRequires: pkgconfig(upower-glib)
BuildRequires: pkgconfig(vorbisfile)
BuildRequires: pkgconfig(zlib)
%{?systemd_requires}
Requires: tracker%{?_isa} >= %{tracker_version}
@ -79,19 +83,15 @@ This package contains various miners and metadata extractors for tracker.
%build
# Disable the functional tests for now, they use python bytecodes.
%configure --disable-static \
--enable-libflac \
--enable-libvorbis \
--disable-mp3 \
--disable-functional-tests \
--disable-silent-rules
%make_build
%meson \
-Dfunctional_tests=false \
-Dsystemd_user_services=%{_userunitdir}
%meson_build
%install
%make_install
%meson_install
find %{buildroot} -type f -name "*.la" -delete
rm -rf %{buildroot}%{_datadir}/tracker-tests
# Remove .so symlinks for private libraries -- no external users are supposed
@ -126,6 +126,10 @@ rm -f %{buildroot}%{_libdir}/tracker-miners-2.0/*.so
%changelog
* Wed Feb 20 2019 Kalev Lember <klember@redhat.com> - 2.2.0-1
- Update to 2.2.0
- Switch to the meson build system
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild