]>
Commit | Line | Data |
---|---|---|
9cf264dd JB |
1 | # |
2 | # Conditional build: | |
10c883cd JB |
3 | %bcond_without gphoto # no gphoto backend (which requires libgphoto2) |
4 | %bcond_without lpt # no parallel port backends (which require libieee1284) | |
4833b1dc | 5 | # |
3245458a | 6 | Summary: SANE - easy local and networked scanner access |
9e428504 ER |
7 | Summary(es.UTF-8): SANE - acceso a scanners en red y locales |
8 | Summary(ko.UTF-8): 스캐너를 다루는 소프트웨어 | |
9 | Summary(pl.UTF-8): SANE - prosta obsługa skanerów lokalnych i sieciowych | |
10 | Summary(pt_BR.UTF-8): SANE - acesso a scanners locais e em rede | |
60698b11 | 11 | Name: sane-backends |
45b632a6 | 12 | Version: 1.0.22 |
cfdb5521 | 13 | Release: 9 |
4cab8dc6 | 14 | License: relaxed GPL v2+ (libraries), Public Domain (docs) |
60698b11 | 15 | Group: Libraries |
b1b1e40b | 16 | Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/sane-backends-%{version}.tar.gz |
45b632a6 | 17 | # Source0-md5: fadf56a60f4776bfb24491f66b617cf5 |
60698b11 | 18 | Source1: %{name}.rc-inetd |
9cf264dd | 19 | Source2: %{name}.m4 |
ccc5dbf7 | 20 | Patch0: %{name}-lockpath_group.patch |
27d27dcc | 21 | Patch1: %{name}-mustek-path.patch |
22 | Patch2: %{name}-spatc.patch | |
67ade5a7 | 23 | Patch4: %{name}-link.patch |
27cb6571 | 24 | Patch5: http://patch-tracker.debian.org/patch/series/dl/sane-backends/1.0.22-6/xerox_mfp_fix_usb_devices.patch |
3370af75 | 25 | Patch6: sane-backends-1.0.22-v4l.patch |
82422732 | 26 | URL: http://www.sane-project.org/ |
acef4911 | 27 | BuildRequires: autoconf >= 2.54 |
71510c9c | 28 | BuildRequires: automake |
29c95ca5 | 29 | BuildRequires: gettext-devel |
10c883cd | 30 | %{?with_gphoto:BuildRequires: libgphoto2-devel >= 2.0.1} |
49905f2c | 31 | %{?with_lpt:BuildRequires: libieee1284-devel >= 0.1.5} |
29c95ca5 | 32 | BuildRequires: libjpeg-devel |
49905f2c | 33 | BuildRequires: libtiff-devel |
29c95ca5 | 34 | BuildRequires: libtool |
b8128dd3 | 35 | %if "%{pld_release}" == "ac" |
36 | BuildRequires: libusb-devel < 1.0 | |
37 | %else | |
67ade5a7 | 38 | BuildRequires: libusb-compat-devel >= 0.1.0 |
b8128dd3 | 39 | %endif |
ccc5dbf7 | 40 | BuildRequires: libv4l-devel |
79a21594 | 41 | BuildRequires: net-snmp-devel |
03a79035 | 42 | BuildRequires: pkgconfig |
19737261 | 43 | BuildRequires: resmgr-devel |
7eddbf0f | 44 | BuildRequires: rpmbuild(macros) >= 1.268 |
07dc9461 JB |
45 | BuildRequires: tetex-dvips |
46 | BuildRequires: tetex-latex | |
3d0791bb | 47 | BuildRequires: tetex-latex-psnfss |
b8128dd3 | 48 | %if "%{pld_release}" != "ti" && "%{pld_release}" != "ac" |
0fa79602 | 49 | BuildRequires: texlive-latex-effects |
84261e70 | 50 | %endif |
8bec1eff | 51 | Requires: setup >= 2.4.10-1 |
ddd30718 | 52 | Obsoletes: sane |
10c883cd JB |
53 | Obsoletes: sane-backends-sm3600 |
54 | Conflicts: sane-backends-plustek | |
55 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
60698b11 SZ |
56 | |
57 | %description | |
58 | SANE (Scanner Access Now Easy) is a sane and simple interface to both | |
59 | local and networked scanners and other image acquisition devices like | |
60 | digital still and video cameras. SANE currently includes modules for | |
61 | accessing: | |
62 | ||
45fccfbc | 63 | Scanners: Abaton, Agfa, Apple, Artec, Avision, Bell+Howell, Canon, |
68a10053 JB |
64 | Epson, Fujitsu, HP, LEO, Microtek, Mustek, NEC, Nikon, Panasonic, PIE, |
65 | Plustek, Ricoh, Sceptre, Sharp, Siemens, Tamarack, Teco, UMAX | |
60698b11 | 66 | |
45fccfbc | 67 | Digital cameras: Kodak, Polaroid, Connectix QuickCam |
60698b11 SZ |
68 | |
69 | and other SANE devices via network. | |
70 | ||
528520de | 71 | %description -l es.UTF-8 |
89a79b42 | 72 | SANE - acceso a scanners en red y locales. |
f9ac7aa8 | 73 | |
528520de JR |
74 | %description -l pl.UTF-8 |
75 | SANE (Scanner Access Now Easy) jest rozsądnym i prostym insterfejsem | |
76 | do skanerów, zarówno lokalnych jak i sieciowych, oraz innych urządzeń | |
77 | do pozyskiwania obrazów, jak cyfrowe aparaty i kamery. SANE aktualnie | |
78 | zawiera moduły do obsługi: | |
60698b11 | 79 | |
45fccfbc | 80 | Skanery: Abaton, Agfa, Apple, Artec, Avision, Bell+Howell, Canon, |
68a10053 JB |
81 | Epson, Fujitsu, HP, LEO, Microtek, Mustek, NEC, Nikon, Panasonic, PIE, |
82 | Plustek, Ricoh, Sceptre, Sharp, Siemens, Tamarack, Teco, UMAX | |
60698b11 | 83 | |
45fccfbc | 84 | Aparaty cyfrowe: Kodak, Polaroid, Connectix QuickCam |
60698b11 | 85 | |
528520de | 86 | oraz inne urządzenia dostępne przez sieć. |
60698b11 | 87 | |
528520de JR |
88 | %description -l pt_BR.UTF-8 |
89 | O SANE (Scanner Access Now Easy) é uma interface simples para scanners | |
90 | e outros dispositivos de captura de imagens como câmeras fotográficas | |
91 | digitais e de vídeo conectados diretamente ou através da rede. | |
f9ac7aa8 | 92 | |
d74c2257 | 93 | %package devel |
8db3686e | 94 | Summary: Development part of SANE |
9e428504 ER |
95 | Summary(es.UTF-8): Archivos necesarios para el desarrollo de programas que usen SANE |
96 | Summary(pl.UTF-8): Część SANE przeznaczona dla programistów | |
97 | Summary(pt_BR.UTF-8): Arquivos necessários ao desenvolvimento de programas que usem o SANE | |
60698b11 | 98 | Group: Development/Libraries |
a744bc4e | 99 | Requires: %{name} = %{version}-%{release} |
67ade5a7 JB |
100 | Requires: libieee1284-devel |
101 | Requires: libusb-compat-devel >= 0.1.0 | |
0d78c9f3 | 102 | Requires: resmgr-devel |
d74c2257 | 103 | Obsoletes: sane-backends-sane-devel |
104 | Obsoletes: sane-backends-sane-static | |
60698b11 | 105 | |
be1450ae | 106 | %description devel |
60698b11 SZ |
107 | Development part of SANE. |
108 | ||
528520de | 109 | %description devel -l es.UTF-8 |
f9ac7aa8 | 110 | Archivos necesarios para el desarrollo de programas que usen SANE. |
111 | ||
528520de JR |
112 | %description devel -l pl.UTF-8 |
113 | Część SANE dla programistów. | |
60698b11 | 114 | |
528520de JR |
115 | %description devel -l pt_BR.UTF-8 |
116 | Arquivos necessários ao desenvolvimento de programas que usem o SANE. | |
f9ac7aa8 | 117 | |
d74c2257 | 118 | %package static |
60698b11 | 119 | Summary: Static SANE libraries |
9e428504 ER |
120 | Summary(pl.UTF-8): Statyczne biblioteki SANE |
121 | Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para o SANE (bibliotecas estáticas) | |
60698b11 | 122 | Group: Development/Libraries |
a744bc4e | 123 | Requires: %{name}-devel = %{version}-%{release} |
d74c2257 | 124 | Obsoletes: sane-backends-sane-static |
60698b11 | 125 | |
be1450ae | 126 | %description static |
60698b11 SZ |
127 | Static SANE libraries. |
128 | ||
528520de | 129 | %description static -l pl.UTF-8 |
1d380727 JB |
130 | Biblioteki statyczne SANE. |
131 | ||
528520de JR |
132 | %description static -l pt_BR.UTF-8 |
133 | Bibliotecas estáticas para desenvolvimento de módulos do SANE. | |
f9ac7aa8 | 134 | |
b59f4761 JB |
135 | %package saned |
136 | Summary: SANE network daemon | |
9e428504 | 137 | Summary(pl.UTF-8): Demon sieciowy SANE |
b59f4761 | 138 | Group: Networking/Daemons |
7eddbf0f | 139 | Requires(post,postun): /sbin/ldconfig |
1a0db5c3 JB |
140 | Requires(pre): /bin/id |
141 | Requires(pre): /usr/bin/getgid | |
142 | Requires(pre): /usr/sbin/groupadd | |
143 | Requires(pre): /usr/sbin/useradd | |
1a0db5c3 | 144 | Requires(preun): /usr/sbin/groupdel |
15431bcf | 145 | Requires(preun): /usr/sbin/userdel |
a744bc4e | 146 | Requires: %{name} = %{version}-%{release} |
7eddbf0f | 147 | Requires: rc-inetd |
15431bcf | 148 | Provides: group(saned) |
149 | Provides: user(saned) | |
b59f4761 JB |
150 | |
151 | %description saned | |
152 | saned is the SANE (Scanner Access Now Easy) daemon that allows remote | |
153 | clients to access image acquisition devices available on the local | |
154 | host. | |
ab034751 | 155 | |
528520de JR |
156 | %description saned -l pl.UTF-8 |
157 | saned to demon SANE pozwalający zdalnym klientom na dostęp do urządzeń | |
158 | odczytujących obraz podłączonych lokalnie. | |
b59f4761 | 159 | |
1d380727 JB |
160 | %package -n sane-mustek600IIN |
161 | Summary: Mustek 600 II N scanner tool | |
9e428504 | 162 | Summary(pl.UTF-8): Narzędzie do skanera Mustek 600 II N |
1d380727 | 163 | Group: Applications/System |
a744bc4e | 164 | Requires: %{name} = %{version}-%{release} |
1d380727 JB |
165 | |
166 | %description -n sane-mustek600IIN | |
b94c2a57 | 167 | Tool which turns Mustek 600 II N scanner off. Sometimes scanner hangs |
168 | and can't be turned off by (x)scanimage in normal way. | |
1d380727 JB |
169 | |
170 | Note: this program needs root privileges or access to /dev/port. | |
171 | ||
528520de JR |
172 | %description -n sane-mustek600IIN -l pl.UTF-8 |
173 | Narzędzie wymuszające wyłączenie skanera Mustek 600 II N. Czasem | |
174 | skaner zawiesza się i nie jest możliwe wyłączenie go zwykłym sposobem | |
b94c2a57 | 175 | przez program (x)scanimage. |
1d380727 | 176 | |
528520de | 177 | Ten program wymaga uprawnień roota albo dostępu do /dev/port. |
60698b11 | 178 | |
07dc9461 JB |
179 | %package gphoto2 |
180 | Summary: SANE backend for gphoto2 supported cameras | |
9e428504 | 181 | Summary(pl.UTF-8): Sterownik SANE do aparatów obsługiwanych przez gphoto2 |
07dc9461 | 182 | Group: Applications/System |
a744bc4e | 183 | Requires: %{name} = %{version}-%{release} |
07dc9461 JB |
184 | |
185 | %description gphoto2 | |
186 | SANE backend for gphoto2 supported cameras. | |
187 | ||
528520de JR |
188 | %description gphoto2 -l pl.UTF-8 |
189 | Sterownik SANE do aparatów obsługiwanych przez gphoto2. | |
07dc9461 | 190 | |
79a21594 JB |
191 | %package magicolor |
192 | Summary: SANE backend for KONICA MINOLTA Magicolor scanners | |
193 | Summary(pl.UTF-8): Sterownik SANE dla skanerów Magicolor firmy KONICA MINOLTA | |
194 | Group: Applications/System | |
195 | Requires: %{name} = %{version}-%{release} | |
196 | # uses usb or net+snmp | |
197 | ||
198 | %description magicolor | |
199 | SANE backend for KONICA MINOLTA Magicolor scanners. | |
200 | ||
201 | %description magicolor -l pl.UTF-8 | |
202 | Sterownik SANE dla skanerów Magicolor firmy KONICA MINOLTA. | |
203 | ||
10c883cd JB |
204 | %package pp |
205 | Summary: SANE backends for parallel port scanners | |
79a21594 | 206 | Summary(pl.UTF-8): Sterowniki SANE dla skanerów podłączanych do portu równoległego |
086d0b2f | 207 | Group: Applications/System |
a744bc4e | 208 | Requires: %{name} = %{version}-%{release} |
10c883cd JB |
209 | Obsoletes: sane-backends-canon_pp |
210 | Obsoletes: sane-backends-hpsj5s | |
211 | # in case sb used parport scanner | |
2f3f1523 JB |
212 | Obsoletes: kernel-char-plustek |
213 | Obsoletes: kernel-smp-char-plustek | |
7eddbf0f | 214 | Obsoletes: sane-backends-plustek |
10c883cd JB |
215 | |
216 | %description pp | |
217 | SANE backends for parallel port scanners. It includes the following | |
218 | drivers: | |
219 | - canon_pp (Canon CanoScan FBxxxP, CanoScan NxxxP) | |
220 | - hpsj5s (HP ScanJet 5S) | |
a744bc4e | 221 | - mustek_pp (Mustek CIS and CCD scanners) |
10c883cd JB |
222 | - plustek_pp (Plustek) |
223 | ||
528520de | 224 | %description pp -l pl.UTF-8 |
79a21594 | 225 | Sterowniki SANE dla skanerów podłączanych do portu równoległego: |
10c883cd JB |
226 | - canon_pp (Canon CanoScan FBxxxP, CanoScan NxxxP) |
227 | - hpsj5s (HP ScanJet 5S) | |
a744bc4e | 228 | - mustek_pp (skanery Mustek CIS i CCD) |
10c883cd | 229 | - plustek_pp (Plustek) |
4833b1dc | 230 | |
67ade5a7 JB |
231 | %package v4l |
232 | Summary: SANE backend for Video4Linux supported devices | |
233 | Summary(pl.UTF-8): Sterownik SANE do urządzeń obsługiwanych przez system Video4Linux | |
234 | Group: Applications/System | |
235 | Requires: %{name} = %{version}-%{release} | |
236 | ||
237 | %description v4l | |
238 | SANE backend for Video4Linux supported devicecameras. | |
239 | ||
240 | %description v4l -l pl.UTF-8 | |
241 | Sterownik SANE do urządzeń obsługiwanych przez system Video4Linux. | |
242 | ||
60698b11 | 243 | %prep |
67ade5a7 | 244 | %setup -q |
4cab8dc6 JB |
245 | # kill libtool.m4 inclusion |
246 | grep -v '^m4_include' acinclude.m4 > acinclude.m4.tmp | |
10c883cd | 247 | mv -f acinclude.m4.tmp acinclude.m4 |
4cab8dc6 | 248 | %patch0 -p1 |
60698b11 | 249 | %patch1 -p1 |
1d380727 | 250 | %patch2 -p1 |
67ade5a7 | 251 | %patch4 -p1 |
27cb6571 | 252 | %patch5 -p1 |
3370af75 | 253 | %patch6 -p1 |
ca687878 | 254 | |
60698b11 | 255 | %build |
68a10053 | 256 | %{__libtoolize} |
4cab8dc6 | 257 | %{__aclocal} -I m4 |
567d1f14 | 258 | %{__autoconf} |
67ade5a7 | 259 | %{__autoheader} |
ccc5dbf7 | 260 | %{__automake} |
27d27dcc | 261 | %configure \ |
67ade5a7 | 262 | --enable-pthread \ |
68a10053 JB |
263 | --enable-static \ |
264 | --enable-pnm-backend \ | |
07dc9461 | 265 | --enable-translations \ |
10c883cd | 266 | %{?with_gphoto:--with-gphoto2} |
68a10053 | 267 | |
67ade5a7 JB |
268 | # --enable-avahi? (BR: avahi-devel >= 0.6.24, R: for net backend) |
269 | # --enable-libusb_1_0 to use libusb 1.0 (but libgphoto2 still uses old libusb, so stick to this for now) | |
270 | ||
60698b11 SZ |
271 | %{__make} |
272 | ||
ccc5dbf7 | 273 | %ifarch %{ix86} %{x8664} |
37ca2fb8 | 274 | cd tools |
ccc5dbf7 | 275 | %{__cc} %{rpmcppflags} -DHAVE_SYS_IO_H %{rpmcflags} %{rpmldflags} \ |
37ca2fb8 | 276 | -I../include -o mustek600iin-off mustek600iin-off.c |
277 | cd .. | |
9b253c44 | 278 | %endif |
1d380727 | 279 | |
60698b11 SZ |
280 | %install |
281 | rm -rf $RPM_BUILD_ROOT | |
0aa2de72 | 282 | install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-inetd,%{_aclocaldir},/var/lock/sane} |
60698b11 | 283 | |
0fa79602 | 284 | %{__make} -j1 install \ |
f19a3b82 | 285 | DESTDIR=$RPM_BUILD_ROOT |
27d27dcc | 286 | |
b94c2a57 | 287 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/saned |
9cf264dd | 288 | install %{SOURCE2} $RPM_BUILD_ROOT%{_aclocaldir} |
9b253c44 | 289 | |
ccc5dbf7 | 290 | %ifarch %{ix86} %{x8664} |
1d380727 | 291 | install tools/mustek600iin-off $RPM_BUILD_ROOT%{_bindir} |
9b253c44 | 292 | %endif |
1d380727 | 293 | |
ccc5dbf7 | 294 | %{__rm} -rf $RPM_BUILD_ROOT%{_prefix}/doc |
73459f7f | 295 | |
d6515821 | 296 | # only shared modules - shut up check-files |
ccc5dbf7 | 297 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/sane/libsane-*.{so,la,a} |
d6515821 | 298 | |
68a10053 | 299 | %find_lang %{name} --all-name |
60698b11 | 300 | |
45fccfbc JB |
301 | %clean |
302 | rm -rf $RPM_BUILD_ROOT | |
303 | ||
8f122b94 JB |
304 | %post -p /sbin/ldconfig |
305 | %postun -p /sbin/ldconfig | |
306 | ||
b59f4761 | 307 | %pre saned |
43995c69 ER |
308 | %groupadd -g 90 saned |
309 | %useradd -u 90 -d /usr/share/empty -s /bin/false -c "SANE remote scanning daemon" -g saned saned | |
60698b11 | 310 | |
b59f4761 | 311 | %post saned |
7eddbf0f | 312 | %service -q rc-inetd reload |
60698b11 | 313 | |
b59f4761 | 314 | %postun saned |
8db3686e | 315 | if [ "$1" = "0" ]; then |
7eddbf0f | 316 | %service -q rc-inetd reload |
15431bcf | 317 | %userremove saned |
318 | %groupremove saned | |
ec39e318 | 319 | fi |
8db3686e | 320 | |
68a10053 | 321 | %files -f %{name}.lang |
60698b11 | 322 | %defattr(644,root,root,755) |
67ade5a7 | 323 | %doc AUTHORS ChangeLog* LICENSE NEWS PROBLEMS PROJECTS README README.linux |
10c883cd | 324 | %doc doc/canon doc/gt68xx doc/leo doc/matsushita doc/mustek doc/mustek_usb |
4cab8dc6 JB |
325 | %doc doc/mustek_usb2 doc/niash doc/plustek doc/sceptre doc/teco doc/u12 doc/umax |
326 | %attr(755,root,root) %{_bindir}/sane-find-scanner | |
327 | %attr(755,root,root) %{_bindir}/scanimage | |
328 | %attr(755,root,root) %{_bindir}/gamma4scanimage | |
60698b11 | 329 | %dir %{_sysconfdir}/sane.d |
4cab8dc6 JB |
330 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/abaton.conf |
331 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/agfafocus.conf | |
332 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/apple.conf | |
333 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/artec.conf | |
334 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/artec_eplus48u.conf | |
335 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/avision.conf | |
336 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/bh.conf | |
b1b1e40b ER |
337 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/canon.conf |
338 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/canon630u.conf | |
ccc5dbf7 | 339 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/canon_dr.conf |
4cab8dc6 JB |
340 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/cardscan.conf |
341 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/coolscan.conf | |
342 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/coolscan2.conf | |
ccc5dbf7 | 343 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/coolscan3.conf |
4cab8dc6 JB |
344 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/dc210.conf |
345 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/dc240.conf | |
346 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/dc25.conf | |
347 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/dell1600n_net.conf | |
348 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/dll.conf | |
349 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/dmc.conf | |
350 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/epjitsu.conf | |
351 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/epson.conf | |
352 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/epson2.conf | |
353 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/fujitsu.conf | |
b1b1e40b ER |
354 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/genesys.conf |
355 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/gt68xx.conf | |
356 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/hp.conf | |
4cab8dc6 | 357 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/hp3900.conf |
282be383 | 358 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/hp4200.conf |
b1b1e40b | 359 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/hp5400.conf |
4cab8dc6 JB |
360 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/hs2p.conf |
361 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/ibm.conf | |
67ade5a7 | 362 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/kodak.conf |
4cab8dc6 JB |
363 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/leo.conf |
364 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/lexmark.conf | |
365 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/ma1509.conf | |
366 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/matsushita.conf | |
367 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/microtek.conf | |
368 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/microtek2.conf | |
b1b1e40b ER |
369 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/mustek.conf |
370 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/mustek_usb.conf | |
4cab8dc6 JB |
371 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/nec.conf |
372 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/net.conf | |
67ade5a7 | 373 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/p5.conf |
4cab8dc6 | 374 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/pie.conf |
ccc5dbf7 | 375 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/pixma.conf |
b1b1e40b | 376 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/plustek.conf |
4cab8dc6 JB |
377 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/qcam.conf |
378 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/ricoh.conf | |
ccc5dbf7 | 379 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/rts8891.conf |
4cab8dc6 JB |
380 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/s9036.conf |
381 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/sceptre.conf | |
382 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/sharp.conf | |
383 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/sm3840.conf | |
384 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/snapscan.conf | |
385 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/sp15c.conf | |
386 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/st400.conf | |
387 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/stv680.conf | |
388 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/tamarack.conf | |
389 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/teco1.conf | |
390 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/teco2.conf | |
391 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/teco3.conf | |
392 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/test.conf | |
393 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/u12.conf | |
394 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/umax.conf | |
395 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/umax1220u.conf | |
396 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/umax_pp.conf | |
ccc5dbf7 | 397 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/xerox_mfp.conf |
22635eae JB |
398 | %attr(755,root,root) %{_libdir}/libsane.so.*.*.* |
399 | %attr(755,root,root) %ghost %{_libdir}/libsane.so.1 | |
4cab8dc6 JB |
400 | %dir %{_libdir}/sane |
401 | %attr(755,root,root) %{_libdir}/sane/libsane-abaton.so.* | |
402 | %attr(755,root,root) %{_libdir}/sane/libsane-agfafocus.so.* | |
403 | %attr(755,root,root) %{_libdir}/sane/libsane-apple.so.* | |
404 | %attr(755,root,root) %{_libdir}/sane/libsane-artec.so.* | |
405 | %attr(755,root,root) %{_libdir}/sane/libsane-artec_eplus48u.so.* | |
406 | %attr(755,root,root) %{_libdir}/sane/libsane-as6e.so.* | |
407 | %attr(755,root,root) %{_libdir}/sane/libsane-avision.so.* | |
408 | %attr(755,root,root) %{_libdir}/sane/libsane-bh.so.* | |
07dc9461 JB |
409 | %attr(755,root,root) %{_libdir}/sane/libsane-canon.so.* |
410 | %attr(755,root,root) %{_libdir}/sane/libsane-canon630u.so.* | |
ccc5dbf7 | 411 | %attr(755,root,root) %{_libdir}/sane/libsane-canon_dr.so.* |
4cab8dc6 JB |
412 | %attr(755,root,root) %{_libdir}/sane/libsane-cardscan.so.* |
413 | %attr(755,root,root) %{_libdir}/sane/libsane-coolscan.so.* | |
414 | %attr(755,root,root) %{_libdir}/sane/libsane-coolscan2.so.* | |
ccc5dbf7 | 415 | %attr(755,root,root) %{_libdir}/sane/libsane-coolscan3.so.* |
4cab8dc6 JB |
416 | %attr(755,root,root) %{_libdir}/sane/libsane-dc210.so.* |
417 | %attr(755,root,root) %{_libdir}/sane/libsane-dc240.so.* | |
418 | %attr(755,root,root) %{_libdir}/sane/libsane-dc25.so.* | |
419 | %attr(755,root,root) %{_libdir}/sane/libsane-dell1600n_net.so.* | |
420 | %attr(755,root,root) %{_libdir}/sane/libsane-dll.so.* | |
421 | %attr(755,root,root) %{_libdir}/sane/libsane-dmc.so.* | |
422 | %attr(755,root,root) %{_libdir}/sane/libsane-epjitsu.so.* | |
423 | %attr(755,root,root) %{_libdir}/sane/libsane-epson.so.* | |
424 | %attr(755,root,root) %{_libdir}/sane/libsane-epson2.so.* | |
425 | %attr(755,root,root) %{_libdir}/sane/libsane-fujitsu.so.* | |
94d8c057 | 426 | %attr(755,root,root) %{_libdir}/sane/libsane-genesys.so.* |
9749bd03 | 427 | %attr(755,root,root) %{_libdir}/sane/libsane-gt68xx.so.* |
4833b1dc | 428 | %attr(755,root,root) %{_libdir}/sane/libsane-hp.so.* |
49905f2c | 429 | %attr(755,root,root) %{_libdir}/sane/libsane-hp3500.so.* |
4cab8dc6 | 430 | %attr(755,root,root) %{_libdir}/sane/libsane-hp3900.so.* |
282be383 | 431 | %attr(755,root,root) %{_libdir}/sane/libsane-hp4200.so.* |
d6515821 | 432 | %attr(755,root,root) %{_libdir}/sane/libsane-hp5400.so.* |
4cab8dc6 | 433 | %attr(755,root,root) %{_libdir}/sane/libsane-hp5590.so.* |
4cab8dc6 JB |
434 | %attr(755,root,root) %{_libdir}/sane/libsane-hpljm1005.so.* |
435 | %attr(755,root,root) %{_libdir}/sane/libsane-hs2p.so.* | |
436 | %attr(755,root,root) %{_libdir}/sane/libsane-ibm.so.* | |
67ade5a7 JB |
437 | %attr(755,root,root) %{_libdir}/sane/libsane-kodak.so.* |
438 | %attr(755,root,root) %{_libdir}/sane/libsane-kvs1025.so.* | |
79a21594 | 439 | %attr(755,root,root) %{_libdir}/sane/libsane-kvs20xx.so.* |
4cab8dc6 JB |
440 | %attr(755,root,root) %{_libdir}/sane/libsane-leo.so.* |
441 | %attr(755,root,root) %{_libdir}/sane/libsane-lexmark.so.* | |
442 | %attr(755,root,root) %{_libdir}/sane/libsane-ma1509.so.* | |
443 | %attr(755,root,root) %{_libdir}/sane/libsane-matsushita.so.* | |
444 | %attr(755,root,root) %{_libdir}/sane/libsane-microtek.so.* | |
445 | %attr(755,root,root) %{_libdir}/sane/libsane-microtek2.so.* | |
10c883cd JB |
446 | %attr(755,root,root) %{_libdir}/sane/libsane-mustek.so.* |
447 | %attr(755,root,root) %{_libdir}/sane/libsane-mustek_usb.so.* | |
282be383 | 448 | %attr(755,root,root) %{_libdir}/sane/libsane-mustek_usb2.so.* |
4cab8dc6 JB |
449 | %attr(755,root,root) %{_libdir}/sane/libsane-nec.so.* |
450 | %attr(755,root,root) %{_libdir}/sane/libsane-net.so.* | |
451 | %attr(755,root,root) %{_libdir}/sane/libsane-niash.so.* | |
67ade5a7 | 452 | %attr(755,root,root) %{_libdir}/sane/libsane-p5.so.* |
4cab8dc6 JB |
453 | %attr(755,root,root) %{_libdir}/sane/libsane-pie.so.* |
454 | %attr(755,root,root) %{_libdir}/sane/libsane-pixma.so.* | |
10c883cd | 455 | %attr(755,root,root) %{_libdir}/sane/libsane-plustek.so.* |
4cab8dc6 JB |
456 | %attr(755,root,root) %{_libdir}/sane/libsane-pnm.so.* |
457 | %attr(755,root,root) %{_libdir}/sane/libsane-qcam.so.* | |
458 | %attr(755,root,root) %{_libdir}/sane/libsane-ricoh.so.* | |
ccc5dbf7 | 459 | %attr(755,root,root) %{_libdir}/sane/libsane-rts8891.so.* |
4cab8dc6 JB |
460 | %attr(755,root,root) %{_libdir}/sane/libsane-s9036.so.* |
461 | %attr(755,root,root) %{_libdir}/sane/libsane-sceptre.so.* | |
462 | %attr(755,root,root) %{_libdir}/sane/libsane-sharp.so.* | |
463 | %attr(755,root,root) %{_libdir}/sane/libsane-sm3600.so.* | |
464 | %attr(755,root,root) %{_libdir}/sane/libsane-sm3840.so.* | |
465 | %attr(755,root,root) %{_libdir}/sane/libsane-snapscan.so.* | |
466 | %attr(755,root,root) %{_libdir}/sane/libsane-sp15c.so.* | |
467 | %attr(755,root,root) %{_libdir}/sane/libsane-st400.so.* | |
468 | %attr(755,root,root) %{_libdir}/sane/libsane-stv680.so.* | |
469 | %attr(755,root,root) %{_libdir}/sane/libsane-tamarack.so.* | |
470 | %attr(755,root,root) %{_libdir}/sane/libsane-teco1.so.* | |
471 | %attr(755,root,root) %{_libdir}/sane/libsane-teco2.so.* | |
472 | %attr(755,root,root) %{_libdir}/sane/libsane-teco3.so.* | |
473 | %attr(755,root,root) %{_libdir}/sane/libsane-test.so.* | |
474 | %attr(755,root,root) %{_libdir}/sane/libsane-u12.so.* | |
475 | %attr(755,root,root) %{_libdir}/sane/libsane-umax.so.* | |
476 | %attr(755,root,root) %{_libdir}/sane/libsane-umax1220u.so.* | |
477 | %attr(755,root,root) %{_libdir}/sane/libsane-umax_pp.so.* | |
ccc5dbf7 | 478 | %attr(755,root,root) %{_libdir}/sane/libsane-xerox_mfp.so.* |
8bec1eff | 479 | %dir %attr(775,root,usb) /var/lock/sane |
b59f4761 JB |
480 | %{_mandir}/man1/sane-find-scanner.1* |
481 | %{_mandir}/man1/scanimage.1* | |
9749bd03 AF |
482 | %{_mandir}/man1/gamma4scanimage.1* |
483 | %{_mandir}/man1/sane-config.1* | |
4cab8dc6 JB |
484 | %{_mandir}/man5/sane-abaton.5* |
485 | %{_mandir}/man5/sane-agfafocus.5* | |
486 | %{_mandir}/man5/sane-apple.5* | |
487 | %{_mandir}/man5/sane-artec.5* | |
488 | %{_mandir}/man5/sane-artec_eplus48u.5* | |
489 | %{_mandir}/man5/sane-as6e.5* | |
490 | %{_mandir}/man5/sane-avision.5* | |
491 | %{_mandir}/man5/sane-bh.5* | |
07dc9461 JB |
492 | %{_mandir}/man5/sane-canon.5* |
493 | %{_mandir}/man5/sane-canon630u.5* | |
ccc5dbf7 | 494 | %{_mandir}/man5/sane-canon_dr.5* |
4cab8dc6 JB |
495 | %{_mandir}/man5/sane-cardscan.5* |
496 | %{_mandir}/man5/sane-coolscan.5* | |
497 | %{_mandir}/man5/sane-coolscan2.5* | |
ccc5dbf7 | 498 | %{_mandir}/man5/sane-coolscan3.5* |
4cab8dc6 JB |
499 | %{_mandir}/man5/sane-dc210.5* |
500 | %{_mandir}/man5/sane-dc240.5* | |
501 | %{_mandir}/man5/sane-dc25.5* | |
502 | %{_mandir}/man5/sane-dll.5* | |
503 | %{_mandir}/man5/sane-dmc.5* | |
504 | %{_mandir}/man5/sane-epjitsu.5* | |
505 | %{_mandir}/man5/sane-epson.5* | |
ccc5dbf7 | 506 | %{_mandir}/man5/sane-epson2.5* |
4cab8dc6 | 507 | %{_mandir}/man5/sane-fujitsu.5* |
94d8c057 | 508 | %{_mandir}/man5/sane-genesys.5* |
9749bd03 | 509 | %{_mandir}/man5/sane-gt68xx.5* |
4833b1dc | 510 | %{_mandir}/man5/sane-hp.5* |
49905f2c | 511 | %{_mandir}/man5/sane-hp3500.5* |
4cab8dc6 | 512 | %{_mandir}/man5/sane-hp3900.5* |
282be383 | 513 | %{_mandir}/man5/sane-hp4200.5* |
d6515821 | 514 | %{_mandir}/man5/sane-hp5400.5* |
4cab8dc6 | 515 | %{_mandir}/man5/sane-hp5590.5* |
4cab8dc6 JB |
516 | %{_mandir}/man5/sane-hpljm1005.5* |
517 | %{_mandir}/man5/sane-hs2p.5* | |
518 | %{_mandir}/man5/sane-ibm.5* | |
67ade5a7 JB |
519 | %{_mandir}/man5/sane-kodak.5* |
520 | %{_mandir}/man5/sane-kvs1025.5* | |
79a21594 | 521 | %{_mandir}/man5/sane-kvs20xx.5* |
4cab8dc6 JB |
522 | %{_mandir}/man5/sane-leo.5* |
523 | %{_mandir}/man5/sane-lexmark.5* | |
524 | %{_mandir}/man5/sane-ma1509.5* | |
525 | %{_mandir}/man5/sane-matsushita.5* | |
526 | %{_mandir}/man5/sane-microtek.5* | |
527 | %{_mandir}/man5/sane-microtek2.5* | |
10c883cd JB |
528 | %{_mandir}/man5/sane-mustek.5* |
529 | %{_mandir}/man5/sane-mustek_usb.5* | |
282be383 | 530 | %{_mandir}/man5/sane-mustek_usb2.5* |
4cab8dc6 JB |
531 | %{_mandir}/man5/sane-nec.5* |
532 | %{_mandir}/man5/sane-net.5* | |
533 | %{_mandir}/man5/sane-niash.5* | |
67ade5a7 | 534 | %{_mandir}/man5/sane-p5.5* |
4cab8dc6 | 535 | %{_mandir}/man5/sane-pie.5* |
4cab8dc6 | 536 | %{_mandir}/man5/sane-pixma.5* |
10c883cd | 537 | %{_mandir}/man5/sane-plustek.5* |
4cab8dc6 JB |
538 | %{_mandir}/man5/sane-pnm.5* |
539 | %{_mandir}/man5/sane-qcam.5* | |
540 | %{_mandir}/man5/sane-ricoh.5* | |
ccc5dbf7 | 541 | %{_mandir}/man5/sane-rts8891.5* |
4cab8dc6 JB |
542 | %{_mandir}/man5/sane-s9036.5* |
543 | %{_mandir}/man5/sane-sceptre.5* | |
544 | %{_mandir}/man5/sane-scsi.5* | |
545 | %{_mandir}/man5/sane-sharp.5* | |
546 | %{_mandir}/man5/sane-sm3600.5* | |
547 | %{_mandir}/man5/sane-sm3840.5* | |
548 | %{_mandir}/man5/sane-snapscan.5* | |
549 | %{_mandir}/man5/sane-sp15c.5* | |
550 | %{_mandir}/man5/sane-st400.5* | |
551 | %{_mandir}/man5/sane-stv680.5* | |
552 | %{_mandir}/man5/sane-tamarack.5* | |
553 | %{_mandir}/man5/sane-teco1.5* | |
554 | %{_mandir}/man5/sane-teco2.5* | |
555 | %{_mandir}/man5/sane-teco3.5* | |
556 | %{_mandir}/man5/sane-test.5* | |
557 | %{_mandir}/man5/sane-u12.5* | |
558 | %{_mandir}/man5/sane-umax.5* | |
559 | %{_mandir}/man5/sane-umax1220u.5* | |
560 | %{_mandir}/man5/sane-umax_pp.5* | |
561 | %{_mandir}/man5/sane-usb.5* | |
ccc5dbf7 | 562 | %{_mandir}/man5/sane-xerox_mfp.5* |
4cab8dc6 | 563 | %{_mandir}/man7/sane.7* |
60698b11 | 564 | |
42da3f70 | 565 | %files devel |
60698b11 | 566 | %defattr(644,root,root,755) |
60698b11 | 567 | %attr(755,root,root) %{_bindir}/sane-config |
22635eae JB |
568 | %attr(755,root,root) %{_libdir}/libsane.so |
569 | %{_libdir}/libsane.la | |
a744bc4e | 570 | %{_includedir}/sane |
22635eae | 571 | %{_aclocaldir}/sane-backends.m4 |
60698b11 | 572 | |
42da3f70 | 573 | %files static |
60698b11 | 574 | %defattr(644,root,root,755) |
22635eae | 575 | %{_libdir}/libsane.a |
1d380727 | 576 | |
b59f4761 JB |
577 | %files saned |
578 | %defattr(644,root,root,755) | |
b1b1e40b ER |
579 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/saned |
580 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/saned.conf | |
b59f4761 | 581 | %attr(755,root,root) %{_sbindir}/saned |
03a79035 | 582 | %{_mandir}/man8/saned.8* |
b59f4761 | 583 | |
ccc5dbf7 | 584 | %ifarch %{ix86} %{x8664} |
b59f4761 JB |
585 | %files -n sane-mustek600IIN |
586 | %defattr(644,root,root,755) | |
587 | %attr(755,root,root) %{_bindir}/mustek600iin-off | |
588 | %endif | |
589 | ||
79a21594 JB |
590 | %files magicolor |
591 | %defattr(644,root,root,755) | |
592 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/magicolor.conf | |
593 | %attr(755,root,root) %{_libdir}/sane/libsane-magicolor.so.* | |
594 | %{_mandir}/man5/sane-magicolor.5* | |
595 | ||
10c883cd | 596 | %if %{with gphoto} |
4833b1dc JB |
597 | %files gphoto2 |
598 | %defattr(644,root,root,755) | |
b1b1e40b | 599 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/gphoto2.conf |
4833b1dc JB |
600 | %attr(755,root,root) %{_libdir}/sane/libsane-gphoto2.so.* |
601 | %{_mandir}/man5/sane-gphoto2.5* | |
9cf264dd | 602 | %endif |
07dc9461 | 603 | |
10c883cd JB |
604 | %if %{with lpt} |
605 | %files pp | |
07dc9461 | 606 | %defattr(644,root,root,755) |
b1b1e40b ER |
607 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/canon_pp.conf |
608 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/hpsj5s.conf | |
609 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/mustek_pp.conf | |
610 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/plustek_pp.conf | |
10c883cd | 611 | %attr(755,root,root) %{_libdir}/sane/libsane-canon_pp.so.* |
4833b1dc | 612 | %attr(755,root,root) %{_libdir}/sane/libsane-hpsj5s.so.* |
10c883cd | 613 | %attr(755,root,root) %{_libdir}/sane/libsane-mustek_pp.so.* |
10c883cd JB |
614 | %attr(755,root,root) %{_libdir}/sane/libsane-plustek_pp.so.* |
615 | %{_mandir}/man5/sane-canon_pp.5* | |
4833b1dc | 616 | %{_mandir}/man5/sane-hpsj5s.5* |
10c883cd | 617 | %{_mandir}/man5/sane-mustek_pp.5* |
10c883cd | 618 | %{_mandir}/man5/sane-plustek_pp.5* |
9cf264dd | 619 | %endif |
67ade5a7 JB |
620 | |
621 | %files v4l | |
622 | %defattr(644,root,root,755) | |
623 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/v4l.conf | |
624 | %attr(755,root,root) %{_libdir}/sane/libsane-v4l.so.* | |
625 | %{_mandir}/man5/sane-v4l.5* |