Browse Source

updated 8 packages

exempi-2.5.2-1

gcr-3.40.0-1

libcue-2.2.1-1

libgexiv2-0.12.2-1

libgxps-0.3.2-1

libseccomp-2.5.1-1

tracker-miners-3.1.0-1

tracker-3.1.0-1
Tomohiro "Tomo-p" KATO 3 years ago
parent
commit
f0ff643d35

+ 28 - 12
e/exempi/exempi-vl.spec

@@ -1,10 +1,13 @@
 Summary:	Library for easy parsing of XMP metadata
 Summary(ja):	XMP メタデータを簡単にパースするライブラリ
 Name:		exempi
-Version:	2.4.5
+Version:	2.5.2
 Release:	1%{?_dist_release}
+Group:		system
+Vendor:		Project Vine
+Distribution:	Vine Linux
+
 License:	BSD
-Group:		System Environment/Libraries
 URL:		http://libopenraw.freedesktop.org/wiki/Exempi
 Source0:	http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -12,17 +15,14 @@ BuildRequires:	expat-devel zlib-devel pkgconfig
 BuildRequires:	libboost-devel
 BuildRequires:	libboost-test
 
-Vendor: Project Vine
-Distribution: Vine Linux
-
 %description
 Exempi provides a library for easy parsing of XMP metadata. It is a port of 
 Adobe XMP SDK to work on UNIX and to be build with GNU automake.
 It includes XMPCore and XMPFiles.
 
-%package devel
+%package	devel
 Summary:	Headers for developing programs that will use %{name}
-Group:		Development/Libraries
+Group:		programming
 Requires:	%{name} = %{version}-%{release}
 Requires:	pkgconfig
 
@@ -30,20 +30,32 @@ Requires:	pkgconfig
 This package contains the libraries and header files needed for
 developing with exempi
 
+
+%debug_package
+
+
 %prep
 %setup -q
 
+
 %build
-%configure LDFLAGS="-L%{_libdir}" CPPFLAGS="-I%{_includedir}"
+libtoolize -vi
+NOCONFIGURE=1 ./autogen.sh
+
+%global build_cflags %(echo "%{build_cflags} -I%{_includedir} -DBanAllEntityUsage=1")
+
+%configure
 # Disable rpath
 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 %{?_smp_mflags}
 
+
 %check
 make check
 
+
 %install
 rm -rf %{buildroot}
 make DESTDIR=%{buildroot} install
@@ -51,16 +63,15 @@ make DESTDIR=%{buildroot} install
 rm -rf %{buildroot}%{_libdir}/*.la
 rm -rf %{buildroot}%{_libdir}/*.a
 
+
 %clean
 rm -rf %{buildroot}
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root, -)
-%doc AUTHORS ChangeLog COPYING README
+%license COPYING
+%doc AUTHORS ChangeLog README
 %{_bindir}/exempi
 %{_libdir}/*.so.*
 %{_mandir}/man1/exempi.1*
@@ -71,7 +82,12 @@ rm -rf %{buildroot}
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 
+
 %changelog
+* Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.2-1
+- updated to 2.5.2.
+- dropped ldconfig scriptlets.
+
 * Fri Apr 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.5-1
 - updated to 2.4.5.
 

+ 45 - 43
g/gcr/gcr-vl.spec

@@ -1,26 +1,27 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 %define _unpackaged_files_terminate_build 1
 
-Summary:        A library for bits of crypto UI and parsing etc.
-Name:           gcr
-Version:        3.36.0
-Release:        1%{?_dist_release}
-License:        GPL/LGPL
-Vendor:         Project Vine
-Distribution:   Vine Linux
-
-URL:            https://www.gnome.org/
-%define         shortver %(echo %{version} | cut -d. -f1-2)
-Source0:        https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
-
-BuildRequires:  meson
-BuildRequires:  gtk3-devel 
-BuildRequires:  p11-kit-devel 
-BuildRequires:  libtasn1-devel 
-BuildRequires:  libgcrypt-devel 
-BuildRequires:  vala-tools
-BuildRequires:  libxslt
-BuildRequires:  gtk-doc
+Summary:	A library for bits of crypto UI and parsing etc.
+Name:		gcr
+Version:	3.40.0
+Release:	1%{?_dist_release}
+Group:		desktop-gnome,security
+Vendor:		Project Vine
+Distribution:	Vine Linux
+
+License:	GPL/LGPL
+URL:		https://www.gnome.org/
+%define		shortver %(echo %{version} | cut -d. -f1-2)
+Source0:	https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
+
+BuildRequires:	meson
+BuildRequires:	gtk3-devel 
+BuildRequires:	p11-kit-devel 
+BuildRequires:	libtasn1-devel 
+BuildRequires:	libgcrypt-devel 
+BuildRequires:	vala
+BuildRequires:	libxslt
+BuildRequires:	gtk-doc
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
@@ -33,34 +34,37 @@ GCK is a library for accessing PKCS#11 modules like smart cards, in a
 (G)object oriented way.
 
 
-%package		devel
-Summary:        Development tools for gcr
-Summary(ja):    gcr の開発環境
-Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}
-Requires:       pkgconfig
+%package	devel
+Summary:	Development tools for gcr
+Summary(ja):	gcr の開発環境
+Group:		programming
+Requires:	%{name} = %{version}-%{release}
+Requires:	pkgconfig
 
 %description	devel
 Header files and libraries for building a extension library for the
 gcr.
 
 
-%package        docs
-Summary:        Documentation for gcr
-Summary(ja):    gcr 用のドキュメント
-Group:          Documentation
-Provides:		%{name}-doc = %{version}-%{release}
-BuildArch:      noarch
-Requires:		%{name} = %{version}-%{release}
+%package	docs
+Summary:	Documentation for gcr
+Summary(ja):	gcr 用のドキュメント
+Group:		documentation
+Provides:	%{name}-doc = %{version}-%{release}
+BuildArch:	noarch
+Requires:	%{name} = %{version}-%{release}
 
 %description	docs
 This package contains documentation for gcr.
 
 
+%debug_package
+
+
 # compat32
-%package -n compat32-%{name}
+%package -n	compat32-%{name}
 Summary:	A library for bits of crypto UI and parsing etc.
-Group:          System Environment/Libraries
+Group:		system,legacy
 Requires:	%{name} = %{version}-%{release}
 
 %description -n compat32-%{name}
@@ -72,10 +76,10 @@ GCK is a library for accessing PKCS#11 modules like smart cards, in a
 (G)object oriented way.
 
 
-%package -n compat32-%{name}-devel
+%package -n	compat32-%{name}-devel
 Summary:        Development tools for gcr
 Summary(ja):    gcr の開発環境
-Group:          Development/Libraries
+Group:          programming,legacy
 Requires:       compat32-%{name} = %{version}-%{release}
 Requires:       %{name}-devel = %{version}-%{release}
 Requires:       pkgconfig
@@ -105,12 +109,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libmock-test-module.so
 %clean
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-%post -n compat32-%{name} -p /sbin/ldconfig
-%postun -n compat32-%{name} -p /sbin/ldconfig
-
 
 %files -f %{name}.lang
 %defattr(-,root,root)
@@ -168,6 +166,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libmock-test-module.so
 
 
 %changelog
+* Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.40.0-1
+- new upstream release.
+- dropped ldconfig scriptlets.
+
 * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.36.0-1
 - new upstream release.
 

+ 29 - 29
lib/libc/libcue/libcue-vl.spec

@@ -1,22 +1,22 @@
-%define ver 1.3.0
-%define rel 1
-
 Name:		libcue
-Version:	%{ver}
-Release:	%{rel}%{?_dist_release}
 Summary:	Cue sheet parser library
-Summary:	Cue シートをパースするライブラリ
+Summary(ja):	Cue シートをパースするライブラリ
+Version:	2.2.1
+Release:	1%{?_dist_release}
+Vendor:		Project Vine
+Group:		system
+Distribution:	Vine Linux
+Packager:	iwaim
 
-Group:		System Environment/Libraries
 # Files libcue/rem.{c,h} contains a BSD header
 License:	GPLv2 and BSD
-URL:		http://libcue.sourceforge.net/
-Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
-BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+URL:		https://github.com/lipnitsk/libcue
+Source0:	https://github.com/lipnitsk/libcue/archive/refs/tags/v2.2.1.tar.gz#/%{name}-%{version}.tar.gz
 
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: iwaim
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildRequires:	bison
+BuildRequires:	cmake
+BuildRequires:	flex
 
 %description
 Libcue is intended for parsing a so-called cue sheet from a char string or
@@ -25,54 +25,54 @@ a file pointer. For handling of the parsed data a convenient API is available.
 
 %package devel
 Summary:	Development files
-Group:		Development/Libraries
+Group:		programming
 Requires:	%{name} = %{version}-%{release}
 Requires:	pkgconfig
 
-
 %description	devel
 Development files for %{name}.
 
 
+%debug_package
+
+
 %prep
 %setup -q
 
 
 %build
-%configure --disable-static
-make %{?_smp_mflags}
+%cmake .
+%cmake_build
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/libcue.la
+%cmake_install
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%post -p /sbin/ldconfig
+%check
+%cmake_build --target test
 
 
-%postun -p /sbin/ldconfig
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 
 %files
-%defattr(-,root,root,-)
+%license LICENSE
+%doc README.md ChangeLog
 %{_libdir}/%{name}.so.*
-%doc AUTHORS COPYING NEWS
 
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/*
 %{_libdir}/%{name}.so
 %{_libdir}/pkgconfig/%{name}.pc
 
 
 %changelog
+* Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.1-1
+- new upstream release.
+
 * Sat Feb  2 2013 IWAI, Masaharu <iwai@alib.jp> 1.3.0-1
 - initial build for Vine Linux
 

+ 19 - 10
lib/libg/libgexiv2/libgexiv2-vl.spec

@@ -1,16 +1,14 @@
 Name:           libgexiv2
 Summary:        Gexiv2 is a GObject-based wrapper around the Exiv2 library
 Summary(ja):    Exiv2 ライブラリの GObject ベースのラッパー
-Version:        0.12.0
+Version:        0.12.2
 Release:        1%{?_dist_release}
-Group:          System Environment/Libraries
-
+Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
 License:        GPLv2
 URL:            https://wiki.gnome.org/Projects/gexiv2
-
 %define         shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
 Source0:        https://ftp.gnome.org/pub/GNOME/sources/gexiv2/%{shortver}/gexiv2-%{version}.tar.xz
 
@@ -21,14 +19,13 @@ BuildRequires:  exiv2-devel >= 0.19
 BuildRequires:  expat-devel
 BuildRequires:  gobject-introspection-devel
 
-BuildRequires:  vala-devel vala-tools
+BuildRequires:  vala
 BuildRequires:  python-devel
 BuildRequires:  pygobject3
 BuildRequires:  python3-devel
 BuildRequires:  python3-pygobject
 BuildRequires:  python3-rpm-macros
 
-
 %description
 libgexiv2 is a GObject-based wrapper around the Exiv2 library.
 It makes the basic features of Exiv2 available to GNOME applications.
@@ -37,10 +34,11 @@ It makes the basic features of Exiv2 available to GNOME applications.
 gexiv2 は Exiv2 ライブラリの GObject ベースのラッパーです。
 Exiv2 の基本的な機能が GNOME アプリケーションで利用できるようになります。
 
+
 %package        devel
 Summary:        Development files for %{name}
 Summary(ja):    %{name} の開発ファイル
-Group:          Development/Libraries
+Group:          programming
 Requires:       %{name} = %{version}-%{release}
 Requires:       vala
 Requires:       exiv2-devel
@@ -50,16 +48,20 @@ Requires:       glib2-devel
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
+
 %package -n     python-gexiv2
 Summary:        Python2 bindings for %{name}
+Group:          programming
 Requires:       %{name} = %{version}-%{release}
 Requires:       pygobject3
 
 %description -n python-gexiv2
 This package contains the python bindings for %{name}
 
+
 %package -n     python3-gexiv2
 Summary:        Python3 bindings for %{name}
+Group:          programming
 Requires:       %{name} = %{version}-%{release}
 Requires:       python3-pygobject
 
@@ -67,23 +69,26 @@ Requires:       python3-pygobject
 This package contains the python3 bindings for %{name}
 
 
+%debug_package
+
+
 %prep
 %setup -q -n gexiv2-%{version}
 
+
 %build
 %meson
 %meson_build
 
+
 %install
 %{__rm} -rf ${RPM_BUILD_ROOT}
 %meson_install
 
+
 %clean
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
-%post -p %{_syssbindir}/ldconfig
-%postun -p %{_syssbindir}/ldconfig
-
 
 %files
 %defattr(-,root,root,-)
@@ -109,6 +114,10 @@ This package contains the python3 bindings for %{name}
 
 
 %changelog
+* Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.12.2-1
+- new upstream release.
+- dropped ldconfig scriptlets.
+
 * Fri Nov 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.12.0-1
 - new upstream release.
 

+ 13 - 9
lib/libg/libgxps/libgxps-vl.spec

@@ -1,7 +1,8 @@
 Name:		libgxps
-Version:	0.3.1
-Release:	1%{?_dist_release}
 Summary:	GObject based library for handling and rendering XPS documents.
+Version:	0.3.2
+Release:	1%{?_dist_release}
+Group:		system
 Vendor:		Project Vine
 Distribution:	Vine Linux
 
@@ -28,7 +29,7 @@ documents.
 %package	devel
 Summary:        Development tools for %{name}
 Summary(ja):    %{name} の開発環境
-Group:          Development/Libraries
+Group:          programming
 Requires:       %{name} = %{version}-%{release}
 Requires:       pkgconfig
 
@@ -40,18 +41,21 @@ Header files and libraries for building a extension library for the
 %package        doc
 Summary:        Documentation for %{name}
 Summary(ja):    %{name} 用のドキュメント
-Group:          Documentation
+Group:          documentation
 Requires:       %{name} = %{version}-%{release}
 BuildArch:	noarch
 
-
 %description    doc
 This package contains documentation for %{name}.
 
 
+%debug_package
+
+
 %prep
 %setup -q
 
+
 %build
 %meson \
 	-Denable-test=false \
@@ -68,10 +72,6 @@ rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-
 %files
 %defattr(-,root,root,-)
 %license COPYING
@@ -97,6 +97,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.3.2-1
+- new upstream release.
+- dropped ldconfig scriptlets.
+
 * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.3.1-1
 - new upstream release.
 

+ 13 - 6
lib/libs/libseccomp/libseccomp-vl.spec

@@ -2,8 +2,9 @@
 
 Summary: Enhanced seccomp library
 Name: libseccomp
-Version: 2.5.0
+Version: 2.5.1
 Release: 1%{?_dist_release}
+Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
 
@@ -25,7 +26,7 @@ Kernel.
 
 %package devel
 Summary: Development files used to build applications with libseccomp support
-Group: Development/Libraries
+Group: programming
 Requires: %{name}%{?_isa} = %{version}-%{release} pkgconfig
 
 %description devel
@@ -38,7 +39,7 @@ Kernel.
 
 %package static
 Summary: Enhanced seccomp static library
-Group: Development/Libraries
+Group: programming
 Requires: %{name}-devel%{?_isa} = %{version}-%{release} pkgconfig
 
 %description static
@@ -49,6 +50,9 @@ application is allowed to execute, all of which are enforced by the Linux
 Kernel.
 
 
+%debug_package
+
+
 %prep
 %setup -q
 
@@ -66,14 +70,12 @@ mkdir -p "%{buildroot}/%{_mandir}"
 make V=1 DESTDIR="%{buildroot}" install
 rm -f "%{buildroot}/%{_libdir}/libseccomp.la"
 
+
 %if %{with tests}
 %check
 make V=1 check
 %endif
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
 
 %files
 %{!?_licensedir:%global license %%doc}
@@ -96,7 +98,12 @@ make V=1 check
 %files static
 %{_libdir}/libseccomp.a
 
+
 %changelog
+* Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.1-1
+- new upstream release.
+- dropped ldconfig scriptlets.
+
 * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.0-1
 - new upstream release.
 

+ 42 - 32
t/tracker-miners/tracker-miners-vl.spec

@@ -4,19 +4,23 @@
 %global with_libcue 1
 %global with_rss 0
 
-%global tracker_version 2.3.4
+%global tracker_version 3.1.0
 
-%global systemd_units tracker-extract.service tracker-miner-fs.service %{?_with_rss:tracker-miner-rss.service} tracker-writeback.service
+%if %{with_rss}
+%global systemd_units tracker-extract-3.service tracker-miner-fs-3.service tracker-miner-fs-control-3.service tracker-miner-rss-3.service tracker-writeback-3.service
+%else
+%global systemd_units tracker-extract-3.service tracker-miner-fs-3.service tracker-miner-fs-control-3.service tracker-writeback-3.service
+%endif
 
 # Exclude private libraries from autogenerated provides and requires
-%global __provides_exclude_from ^%{_libdir}/tracker-miners-2.0/
-%global __requires_exclude ^(libtracker-extract\.so|libtracker-miners-common\.so|libextract-.*\.so|libwriteback-.*\.so)
+%global __provides_exclude_from ^%{_libdir}/tracker-miners-3.0/
+%global __requires_exclude ^(libtracker-extract\.so|libtracker-miner-3\.0\.so|libextract-.*\.so|libwriteback-.*\.so)
 
 Name:           tracker-miners
-Version:        2.3.3
-Release:        2%{?_dist_release}%{?with_systemd:.systemd}
+Version:        3.1.0
+Release:        1%{?_dist_release}%{?with_systemd:.systemd}
 Summary:        Tracker miners and metadata extractors
-Group:          Applications/Services
+Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
@@ -26,9 +30,9 @@ URL:            https://wiki.gnome.org/Projects/Tracker
 %define         shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
 Source0:        https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
 
+BuildRequires:  asciidoc
 BuildRequires:  gcc
 BuildRequires:  giflib-devel
-BuildRequires:  intltool
 BuildRequires:  meson
 %if %{with systemd}
 BuildRequires:  systemd
@@ -56,18 +60,17 @@ BuildRequires:  pkgconfig(libgsf-1)
 BuildRequires:  pkgconfig(libgxps)
 #BuildRequires:  pkgconfig(libiptcdata)
 BuildRequires:  pkgconfig(libjpeg)
+BuildRequires:  pkgconfig(libnm)
 #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)
 BuildRequires:  pkgconfig(totem-plparser)
-BuildRequires:  pkgconfig(tracker-sparql-2.0)
+BuildRequires:  pkgconfig(tracker-sparql-3.0)
 BuildRequires:  pkgconfig(upower-glib)
 BuildRequires:  pkgconfig(vorbisfile)
-BuildRequires:  pkgconfig(zlib)
 
 %if %{with systemd}
 %{?systemd_requires}
@@ -85,6 +88,9 @@ tag/metadata database and search tool.
 This package contains various miners and metadata extractors for tracker.
 
 
+%debug_package
+
+
 %prep
 %autosetup -p1
 
@@ -92,12 +98,18 @@ This package contains various miners and metadata extractors for tracker.
 %build
 # Disable the functional tests for now, they use python bytecodes.
 %meson \
+  -Dtracker_core=system \
   -Dfunctional_tests=false \
   -Diptc=disabled \
   -Diso=disabled \
+%if ! 0%{?with_rss}
   -Dminer_rss=false \
+%endif
 %if %{with systemd}
-  -Dsystemd_user_services=%{_userunitdir}
+  -Dsystemd_user_services=true \
+  -Dsystemd_user_services_dir=%{_userunitdir} \
+%else
+  -Dsystemd_user_services=false \
 %endif
   %{nil}
 %meson_build
@@ -106,51 +118,49 @@ This package contains various miners and metadata extractors for tracker.
 %install
 %meson_install
 
-rm -rf %{buildroot}%{_datadir}/tracker-tests
+%find_lang tracker3-miners
 
-%find_lang %{name}
 
-
-%post
 %if %{with systemd}
+%post
 %systemd_user_post %{systemd_units}
 %endif
-if [ $1 -eq 1 ]; then
-  glib-compile-schemas /usr/share/glib-2.0/schemas ||:
-  update-desktop-database -q > /dev/null || :
-fi
 
 %if %{with systemd}
 %preun
 %systemd_user_preun %{systemd_units}
 %endif
 
-%postun
 %if %{with systemd}
+%postun
 %systemd_user_postun_with_restart %{systemd_units}
 %endif
-if [ $1 -eq 0 ]; then
-  glib-compile-schemas /usr/share/glib-2.0/schemas ||:
-  update-desktop-database -q > /dev/null || :
-fi
 
 
-%files -f %{name}.lang
-%license COPYING
+%files -f tracker3-miners.lang
+%license COPYING*
 %doc AUTHORS NEWS README.md
-%{_libdir}/tracker-miners-2.0/
+%config(noreplace) %{_sysconfdir}/xdg/autostart/tracker-miner-fs-3.desktop
+%if 0%{?with_rss}
+%config(noreplace) %{_sysconfdir}/xdg/autostart/tracker-miner-rss-3.desktop
+%endif
+%{_libdir}/tracker-miners-3.0/
 %{_libexecdir}/tracker*
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Tracker3.Miner.Files.Index.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Tracker3.Miner.xml
 %{_datadir}/dbus-1/services/org.freedesktop.Tracker*
 %{_datadir}/glib-2.0/schemas/*
-%{_datadir}/tracker/
-%{_datadir}/tracker-miners/
-%{_mandir}/man1/tracker-*.1*
-%config(noreplace) %{_sysconfdir}/xdg/autostart/tracker*.desktop
+%{_datadir}/tracker3-miners/
+%{_mandir}/man1/tracker*.1*
 %if %{with systemd}
 %{_userunitdir}/tracker*.service
 %endif
 
+
 %changelog
+* Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.1.0-1
+- new upstream release.
+
 * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.3.3-2
 - rebuilt with icu-67.
 

+ 63 - 57
t/tracker/tracker-vl.spec

@@ -5,38 +5,37 @@
 Summary: An object database, tag/metadata database, search tool and indexer
 Summary(ja): オブジェクト/タグ/メタデータデータベースおよび検索ツール
 Name: tracker
-Version: 2.3.4
+Version: 3.1.0
 Release: 1%{?_dist_release}%{?with_systemd:.systemd}
-Group: Applications/System
+Group: desktop-gnome,accesories
 Vendor: Project Vine
 Distribution: Vine Linux
 
 License: GPL
 URL: https://gnome.pages.gitlab.gnome.org/tracker/
-%define major_minor %(echo %{version} | sed -e 's/\.[0-9]*$//')
+%define major_minor %(echo %{version} | cut -d . -f 1-2)
 Source0: https://download.gnome.org/sources/tracker/%{major_minor}/tracker-%{version}.tar.xz
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires:  meson
-BuildRequires:  graphviz
+BuildRequires:  asciidoc
+BuildRequires:  gettext
 BuildRequires:  gtk-doc
-BuildRequires:  intltool
-BuildRequires:  libappstream-glib
+BuildRequires:  meson
 BuildRequires:  vala
+BuildRequires:  dbus-devel
 BuildRequires:  pkgconfig(gobject-introspection-1.0)
 BuildRequires:  pkgconfig(icu-i18n)
 BuildRequires:  pkgconfig(icu-uc)
 BuildRequires:  pkgconfig(json-glib-1.0)
-BuildRequires:  pkgconfig(libnm)
 BuildRequires:  pkgconfig(libsoup-2.4)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(sqlite3)
-BuildRequires:  libuuid-devel
+BuildRequires:  /bin/dbus-run-session
 %if %{with systemd}
 BuildRequires:  systemd
 %endif
 %if %{with systemd}
-%global systemd_units tracker-store.service
+%global systemd_units tracker-xdg-portal-3
 %{?systemd_requires}
 %endif
 
@@ -62,7 +61,7 @@ all types of files and other first class objects
 
 %package devel
 Summary: Headers for developing programs that will use %{name}
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 
 %description devel
@@ -70,25 +69,42 @@ This package contains the static libraries and header files needed for
 developing with tracker
 
 
+%package -n     libtracker-sparql
+Summary:        Tracker SPARQL library
+Group:          system
+License:        LGPLv2+
+Recommends:     %{name}%{?_isa} = %{version}-%{release}
+
+%description -n libtracker-sparql
+This package contains the libtracker-sparql library.
+
+
 %package docs
 Summary: Documentation for tracker
-Group: Documentation
+Group: documentation
+BuildArch: noarch
 Obsoletes: %{name}-doc < 0.15.0
 Provides: %{name}-doc = 0.15.0
-BuildArch: noarch
 
 %description docs
 This package contains documentation for tracker.
 
 
+%debug_package
+
+
 %prep
 %setup -q
 
+
 %build
 %meson \
+	-Dunicode_support=icu \
 	-Dstemmer=disabled \
 %if %{with systemd}
-	-Dsystemd_user_services=%{_userunitdir} \
+	-Dsystemd_user_services=true \
+%else
+	-Dsystemd_user_services=false \
 %endif
 	-Ddocs=true
 
@@ -100,9 +116,7 @@ rm -rf %{buildroot}
 export LANG=ja_JP.UTF-8
 %meson_install
 
-rm -rf %{buildroot}%{_datadir}/tracker-tests
-
-%find_lang %{name}
+%find_lang %{name}3
 
 %if !%{with systemd}
 rm -rf %{buildroot}/usr/lib/systemd
@@ -113,78 +127,70 @@ rm -rf %{buildroot}/usr/lib/systemd
 rm -rf %{buildroot}
 
 
-%post
-/sbin/ldconfig
-touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
 %if %{with systemd}
+%post
 %systemd_user_post %{systemd_units}
 %endif
 
-%posttrans
-gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
-
 %if %{with systemd}
 %preun
 %systemd_user_preun %{systemd_units}
 %endif
   
-%postun
-/sbin/ldconfig
-if [ $1 -eq 0 ] ; then
-    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
-    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-    glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
-fi
 %if %{with systemd}
+%postun
 %systemd_user_postun_with_restart %{systemd_units}
 %endif
 
 
-%files -f %{name}.lang
+%files -f %{name}3.lang
 %defattr(-, root, root, -)
-%license COPYING
+%license COPYING COPYING.LGPL
 %doc AUTHORS NEWS README.md
-%{_bindir}/tracker
-%{_libexecdir}/tracker-store
-%{_datadir}/tracker/
-%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.service
-%{_libdir}/libtracker*-2.0.so.*
-%{_libdir}/tracker-2.0/
-%dir %{_libdir}/girepository-1.0
-%{_libdir}/girepository-1.0/Tracker-2.0.typelib
-%{_libdir}/girepository-1.0/TrackerControl-2.0.typelib
-%{_libdir}/girepository-1.0/TrackerMiner-2.0.typelib
-%{_mandir}/*/tracker*.gz
-%config(noreplace) %{_sysconfdir}/xdg/autostart/tracker-store.desktop
+%{_bindir}/tracker3
+%{_libexecdir}/tracker3/
+%{_libexecdir}/tracker-xdg-portal-3
 %dir %{_datadir}/bash-completion
 %dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/tracker
-%{_datadir}/glib-2.0/schemas/*
+%{_datadir}/bash-completion/completions/tracker3
+%{_datadir}/dbus-1/services/org.freedesktop.portal.Tracker.service
+%{_mandir}/man1/tracker*.1*
 %if %{with systemd}
-%{_userunitdir}/tracker-store.service
+%{_userunitdir}/tracker-xdg-portal-3.service
 %endif
 
+%files -n libtracker-sparql
+%license COPYING COPYING.LGPL
+%dir %{_libdir}/girepository-1.0
+%{_libdir}/girepository-1.0/Tracker-3.0.typelib
+%{_libdir}/libtracker-sparql-3.0.so.0*
+%{_datadir}/tracker3/
+
 %files devel
 %defattr(-, root, root, -)
-%{_includedir}/tracker-2.0/
-%{_libdir}/*.so
+%{_includedir}/tracker-3.0/
+%{_libdir}/libtracker-sparql-3.0.so
 %{_libdir}/pkgconfig/*.pc
+%dir %{_libdir}/tracker-3.0
+%{_libdir}/tracker-3.0/trackertestutils/
 %dir %{_datadir}/vala
 %dir %{_datadir}/vala/vapi
-%{_datadir}/vala/vapi/*
+%{_datadir}/vala/vapi/tracker-sparql-3.0.*
 %dir %{_datadir}/gir-1.0
-%{_datadir}/gir-1.0/*
+%{_datadir}/gir-1.0/Tracker-3.0.gir
 
 %files docs
-%defattr(-, root, root, -)
-%{_datadir}/gtk-doc/html/libtracker-control
-%{_datadir}/gtk-doc/html/libtracker-miner
-%{_datadir}/gtk-doc/html/libtracker-sparql
-%{_datadir}/gtk-doc/html/ontology/
+%license docs/reference/COPYING
+%dir %{_datadir}/gtk-doc
+%dir %{_datadir}/gtk-doc/html
+%{_datadir}/gtk-doc/html/libtracker-sparql-3/
+%{_datadir}/gtk-doc/html/ontology-3/
 
 
 %changelog
+* Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.0-1
+- new upstream release.
+
 * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.4-1
 - new upstream release.
 - built with icu-67.