Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12:GA
yast2-scanner
yast2-scanner.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yast2-scanner.spec of Package yast2-scanner
# # spec file for package yast2-scanner # # Copyright (c) 2014 SUSE LINUX Products 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/ # Name: yast2-scanner Version: 3.1.1 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 # Source1 setup_network_scanner_config.with_systemd_support is # a replacement for setup_network_scanner_config in Source0 # that provides additional support for systemd (bnc#859353): Source1: setup_network_scanner_config.with_systemd_support # Patch101 use_fast_append_instead_of_slow_add.diff replaces # slow Builtins.add() with fast '<<' append operator # where needed to avoid "hang up impression" (bnc#877516): Patch101: use_fast_append_instead_of_slow_add.diff BuildRequires: docbook-xsl-stylesheets BuildRequires: doxygen BuildRequires: libtool BuildRequires: libxslt BuildRequires: perl-XML-Writer BuildRequires: sgml-skel BuildRequires: update-desktop-files BuildRequires: xorg-x11-libX11-devel BuildRequires: yast2 BuildRequires: yast2-devtools >= 3.0.6 BuildRequires: yast2-testsuite Requires: yast2 # Used to exclude libX11, libXau, libxcb, and libxcb-xlib from the requires list # which are pulled in by Autoreqprov because of the displaytest tool: %define my_requires /tmp/my-requires Requires: yast2-ruby-bindings >= 1.0.0 Summary: YaST2 - Scanner Configuration License: GPL-2.0 Group: System/YaST %description This package provides support for the configuration of USB scanners, SCSI scanners, scanners in HP all-in-one devices, and scanning via network (i.e. use a remote scanner via another host in the network). Parallel port scanners and network scanners (i.e. a scanner which is directly accessible in the network) cannot be configured with this tool, except for such scanners in HP all-in-one devices. Usually those devices must be configured manually. For more information see http://www.sane-project.org/ and the documentation in the package "sane-backends". %prep %setup -n %{name}-%{version} # Patch101 use_fast_append_instead_of_slow_add.diff replaces # slow Builtins.add() with fast '<<' append operator # where needed to avoid "hang up impression" (bnc#877516): %patch101 -b .use_fast_append_instead_of_slow_add.orig %build %yast_build %install %yast_install # Replace the installed setup_network_scanner_config by the new one in Source1: install -m 755 %{SOURCE1} %{buildroot}%{yast_ybindir}/setup_network_scanner_config # Exclude libX11, libXau, libxcb, and libxcb-xlib from the requires list # which are pulled in by Autoreqprov because of the displaytest tool: cat << EOF > %{my_requires} grep -v 'displaytest' | %{__find_requires} EOF chmod 755 %{my_requires} %define __find_requires %{my_requires} %files %defattr(-,root,root) %dir %{yast_yncludedir}/scanner %{yast_yncludedir}/scanner/* %{yast_clientdir}/scanner.rb %{yast_moduledir}/Scanner.* %{yast_desktopdir}/scanner.desktop %{yast_ybindir}/*scanner* %{yast_ybindir}/displaytest %doc %{yast_docdir} %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