This commit is contained in:
parent
dd7bdf8fda
commit
43d42530de
1255
libsane.rules.CVS-2007-07-29.using-lp
Normal file
1255
libsane.rules.CVS-2007-07-29.using-lp
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 3 13:29:39 CEST 2007 - jsmeix@suse.de
|
||||
|
||||
- Added libsane.rules.CVS-2007-07-29.using-lp which are udev rules
|
||||
that are needed for the openSUSE 10.3 kernel. The rules are
|
||||
derived from what sane-desc in sane-backends 1.0.18-cvs creates.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 13 11:50:30 CEST 2007 - jsmeix@suse.de
|
||||
|
||||
|
@ -12,12 +12,12 @@
|
||||
|
||||
Name: sane-backends
|
||||
BuildRequires: libgphoto2-devel libieee1284 libjpeg-devel libpng net-snmp-devel pkg-config texlive-latex
|
||||
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL), GPL with linking exception.
|
||||
License: GPL v2 or later, LGPL v2 or later, GPL with linking exception.
|
||||
Group: Hardware/Scanner
|
||||
Autoreqprov: on
|
||||
Summary: SANE (Scanner Access Now Easy) scanner drivers
|
||||
Version: 1.0.18
|
||||
Release: 41
|
||||
Release: 54
|
||||
URL: http://www.sane-project.org/
|
||||
# URL for Source0: http://alioth.debian.org/download.php/1669/sane-backends-1.0.18.tar.gz
|
||||
Source0: sane-backends-%{version}.tar.bz2
|
||||
@ -56,6 +56,8 @@ Source104: hpaio.desc
|
||||
Source105: epkowa.desc
|
||||
# Script which outputs a global HAL fdi file for scanners which are known to SANE:
|
||||
Source106: create_hal_global_fdi_for_scanners
|
||||
# Readymade udev rules for openSUSE 10.3 derived from sane-backends 1.0.18-cvs:
|
||||
Source107: libsane.rules.CVS-2007-07-29.using-lp
|
||||
# Patch1 does locale rename: no -> nb:
|
||||
Patch1: sane-backends-1.0.16-nb.patch
|
||||
# Patch2 fixes a too small char array which causes a buffer overflow if SANE_DEBUG_EPSON is set:
|
||||
@ -287,7 +289,7 @@ sed -i -e 's/^:interface "USB".*$/&\n:firmware "required"/' %{buildroot}%{_datad
|
||||
sed -i -e '/:model "SnapScan 1236u"/,/:firmware "required"/s/required//' %{buildroot}%{_datadir}/sane/descriptions/snapscan.desc
|
||||
# Install the USB usermap file (list of USB manufacturer and model IDs)
|
||||
# and the matching hotplug script under /usr/share/sane because we do not actually use it
|
||||
# because our resmgr grants USB access by default without hotplug or usermap stuff.
|
||||
# because we use our udev/HAL/hal-resmgr machinery to grant USB access for normal users:
|
||||
install -m644 tools/hotplug/libsane.usermap %{buildroot}%{_datadir}/sane/
|
||||
install -m755 tools/hotplug/libusbscanner %{buildroot}%{_datadir}/sane/
|
||||
# Install the script which outputs a global HAL fdi file for scanners which are known to SANE.
|
||||
@ -295,6 +297,9 @@ install -m755 tools/hotplug/libusbscanner %{buildroot}%{_datadir}/sane/
|
||||
install -m755 %{SOURCE106} %{buildroot}%{_datadir}/sane/
|
||||
# Have sane-dev still available in case of backward compatibility problems:
|
||||
install -m755 %{SOURCE100} %{buildroot}%{_datadir}/sane/
|
||||
# Install the readymade udev rules for openSUSE 10.3:
|
||||
install -d %{buildroot}%{_sysconfdir}/udev/rules.d
|
||||
install -m644 %{SOURCE107} %{buildroot}%{_sysconfdir}/udev/rules.d/55-libsane.rules
|
||||
# xinetd stuff:
|
||||
install -d -m755 %{buildroot}%{_sysconfdir}/xinetd.d/
|
||||
install -m644 %{SOURCE101} %{buildroot}%{_sysconfdir}/xinetd.d/
|
||||
@ -324,6 +329,9 @@ exit 0
|
||||
%config(noreplace) %{_sysconfdir}/sane.d/*.conf
|
||||
%config(noreplace) %{_sysconfdir}/slp.reg.d
|
||||
%config(noreplace) %{_sysconfdir}/xinetd.d/sane-port
|
||||
%dir %{_sysconfdir}/udev
|
||||
%dir %{_sysconfdir}/udev/rules.d
|
||||
%config %{_sysconfdir}/udev/rules.d/55-libsane.rules
|
||||
%{_sbindir}/saned
|
||||
%{_bindir}/scanimage
|
||||
%{_bindir}/sane-config
|
||||
@ -345,6 +353,10 @@ exit 0
|
||||
%doc %{_mandir}/man8/saned.8.gz
|
||||
|
||||
%changelog
|
||||
* Fri Aug 03 2007 - jsmeix@suse.de
|
||||
- Added libsane.rules.CVS-2007-07-29.using-lp which are udev rules
|
||||
that are needed for the openSUSE 10.3 kernel. The rules are
|
||||
derived from what sane-desc in sane-backends 1.0.18-cvs creates.
|
||||
* Wed Jun 13 2007 - jsmeix@suse.de
|
||||
- Adapted create_hal_global_fdi_for_scanners according to the
|
||||
currently newest changes in HAL (see Suse Bugzilla bug 250659).
|
||||
|
Loading…
Reference in New Issue
Block a user