Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:B
simple-scan
simple-scan.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File simple-scan.spec of Package simple-scan
# # spec file for package simple-scan # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %if 0%{?suse_version} > 1315 %define _icontheme adwaita %define _iconlocation Adwaita %else %define _icontheme gnome %define _iconlocation gnome %endif Name: simple-scan Version: 3.26.3 Release: 0 Summary: Simple Scanning Utility License: GPL-3.0+ Group: System/GUI/GNOME Url: https://launchpad.net/simple-scan Source0: https://download.gnome.org/sources/simple-scan/3.26/%{name}-%{version}.tar.xz BuildRequires: %{_icontheme}-icon-theme BuildRequires: fdupes BuildRequires: meson BuildRequires: sane-backends-devel BuildRequires: update-desktop-files BuildRequires: vala >= 0.22.0 BuildRequires: yelp-tools BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(colord) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gusb) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libwebpmux) BuildRequires: pkgconfig(packagekit-glib2) >= 1.1.5 BuildRequires: pkgconfig(zlib) Requires: xdg-utils Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description 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. Simple Scan is basically a frontend for SANE - which is the same backend as XSANE uses. This means that all existing scanners will work and the interface is well tested. %lang_package %prep %setup -q %build %meson %meson_build %install %meson_install # workaround annoying brpcheck for icons for size in 8x8 16x16 22x22 24x24 32x32 48x48 256x256; do if test -f %{_datadir}/icons/%{_iconlocation}/$size/devices/scanner.png; then mkdir -p %{buildroot}%{_datadir}/icons/hicolor/$size/apps cp -a %{_datadir}/icons/%{_iconlocation}/$size/devices/scanner.png %{buildroot}%{_datadir}/icons/hicolor/$size/apps/simple-scan.png fi done if test -f %{_datadir}/icons/%{_iconlocation}/scalable/devices/scanner.svg; then mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps cp -a %{_datadir}/icons/%{_iconlocation}/scalable/devices/scanner.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/simple-scan.svg fi sed -i "s/\(Icon.*=\)scanner/\1simple-scan/g" %{buildroot}%{_datadir}/applications/%{name}.desktop %suse_update_desktop_file %{name} %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot}%{_datadir} %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root) %doc COPYING NEWS %doc %{_datadir}/help/C/%{name}/ %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/glib-2.0/schemas/org.gnome.SimpleScan.gschema.xml %{_datadir}/icons/hicolor/*/apps/simple-scan.* %{_datadir}/%{name}/ %{_mandir}/man1/%{name}.1* %dir %{_datadir}/appdata/ %{_datadir}/appdata/simple-scan.appdata.xml %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor