[packages/simple-scan] - updated to 3.34.2; PackageKit disabled for now

qboosh qboosh at pld-linux.org
Sat Nov 23 18:47:33 CET 2019


commit c4f71adeaad6179030a88813d14c9a1842c239d9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 23 18:47:49 2019 +0100

    - updated to 3.34.2; PackageKit disabled for now

 simple-scan.spec | 57 +++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 34 insertions(+), 23 deletions(-)
---
diff --git a/simple-scan.spec b/simple-scan.spec
index 1f3f5f1..edb5d33 100644
--- a/simple-scan.spec
+++ b/simple-scan.spec
@@ -1,38 +1,43 @@
 Summary:	Simple scanning utility
+Summary(pl.UTF-8):	Proste narzędzie do skanowania
 Name:		simple-scan
-Version:	3.28.0
-Release:	2
+Version:	3.34.2
+Release:	1
 License:	GPL v3+
-Group:		Applications/Multimedia
-Source0:	https://download.gnome.org/sources/simple-scan/3.28/%{name}-%{version}.tar.xz
-# Source0-md5:	1313de249d70d7fc844ef485603f4977
+Group:		X11/Applications/Multimedia
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/simple-scan/3.34/%{name}-%{version}.tar.xz
+# Source0-md5:	98375ae56273d30053e27cea17450a98
 URL:		https://launchpad.net/simple-scan
-BuildRequires:	PackageKit-devel
+#BuildRequires:	PackageKit-devel >= 1.1.5
 BuildRequires:	autoconf
 BuildRequires:	automake >= 1:1.11
 BuildRequires:	cairo-devel
 BuildRequires:	colord-devel
-BuildRequires:	gdk-pixbuf2-devel
+BuildRequires:	gdk-pixbuf2-devel >= 2.0
 BuildRequires:	gettext-tools
-BuildRequires:	glib2-devel >= 1:2.38.0
-BuildRequires:	gnome-common
-BuildRequires:	gnome-doc-utils
-BuildRequires:	gtk+3-devel >= 3.12.0
+BuildRequires:	glib2-devel >= 1:2.38
+BuildRequires:	gtk+3-devel >= 3.22
 BuildRequires:	itstool
 BuildRequires:	libgusb-devel >= 0.2.7
 BuildRequires:	libjpeg-devel
 BuildRequires:	libwebp-devel
 BuildRequires:	meson >= 0.37.1
+BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
-BuildRequires:	rpmbuild(macros) >= 1.198
+BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	sane-backends-devel
+BuildRequires:	tar >= 1:1.22
 BuildRequires:	vala >= 2:0.22.0
 BuildRequires:	vala-colord
-BuildRequires:	vala-libgusb
+BuildRequires:	vala-libgusb >= 0.2.7
 BuildRequires:	yelp-tools
+BuildRequires:	xz
 BuildRequires:	zlib-devel
-Requires(post,postun):	glib2 >= 1:2.26.0
-Requires:	gnome-icon-theme
+Requires(post,postun):	glib2 >= 1:2.38
+Requires:	glib2 >= 1:2.38
+Requires:	hicolor-icon-theme
+Requires:	gtk+3 >= 3.22
+Requires:	libgusb >= 0.2.7
 Suggests:	colord
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -41,19 +46,22 @@ Simple Scan is an easy-to-use application, designed to let users
 connect their scanner and quickly have the image/document in an
 appropriate format.
 
+%description -l pl.UTF-8
+Simple Scan to łatwa w użyciu aplikacja, pozwalająca użytkownikom
+podłączyć skaner i szybko otrzymać dokument we właściwym formacie.
+
 %prep
 %setup -q
 
 %build
 %meson build
-%meson_build -C build
+
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%meson_install -C build
-
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/help/{ia,ku}
+%ninja_install -C build
 
 %find_lang %{name} --with-gnome
 
@@ -62,16 +70,19 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %glib_compile_schemas
+%update_icon_cache hicolor
 
 %postun
 %glib_compile_schemas
+%update_icon_cache hicolor
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc NEWS README.md
 %attr(755,root,root) %{_bindir}/simple-scan
-%{_mandir}/man1/simple-scan.1*
-%{_desktopdir}/simple-scan.desktop
-%{_datadir}/metainfo/simple-scan.appdata.xml
 %{_datadir}/glib-2.0/schemas/org.gnome.SimpleScan.gschema.xml
-%{_datadir}/simple-scan
+%{_datadir}/metainfo/simple-scan.appdata.xml
+%{_desktopdir}/simple-scan.desktop
+%{_iconsdir}/hicolor/scalable/apps/org.gnome.SimpleScan.svg
+%{_iconsdir}/hicolor/symbolic/apps/org.gnome.SimpleScan-symbolic.svg
+%{_mandir}/man1/simple-scan.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/simple-scan.git/commitdiff/c4f71adeaad6179030a88813d14c9a1842c239d9



More information about the pld-cvs-commit mailing list