]>
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) | |
42c5bc23 | 5 | %bcond_without rts88xx # rts88xx scanner support (hp4400/4470) |
4833b1dc | 6 | # |
8edfdf22 | 7 | # XXX: really only x86*? |
460ab8da | 8 | %ifnarch %{ix86} %{x8664} |
10c883cd JB |
9 | %undefine with_lpt |
10 | %endif | |
3245458a | 11 | Summary: SANE - easy local and networked scanner access |
528520de JR |
12 | Summary(es.UTF-8): SANE - acceso a scanners en red y locales |
13 | Summary(ko.UTF-8): 스캐너를 다루는 소프트웨어 | |
14 | Summary(pl.UTF-8): SANE - prosta obsługa skanerów lokalnych i sieciowych | |
15 | Summary(pt_BR.UTF-8): SANE - acesso a scanners locais e em rede | |
60698b11 | 16 | Name: sane-backends |
49905f2c | 17 | Version: 1.0.18 |
9373b313 | 18 | Release: 1 |
e65775ea | 19 | License: relaxed LGPL (libraries), and Public Domain (docs) |
60698b11 | 20 | Group: Libraries |
b1b1e40b | 21 | Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/sane-backends-%{version}.tar.gz |
49905f2c | 22 | # Source0-md5: 7ca7e2908e24721471de92cf40c75e60 |
60698b11 | 23 | Source1: %{name}.rc-inetd |
9cf264dd | 24 | Source2: %{name}.m4 |
49905f2c JB |
25 | # http://hp44x0backend.sourceforge.net/ and http://home.foni.net/~johanneshub/ |
26 | Source3: http://dl.sourceforge.net/hp44x0backend/sane_hp_rts88xx-0.18.tar.gz | |
27 | # Source3-md5: 09d3eaf73f35b7795cd8418b8dc60f69 | |
27d27dcc | 28 | Patch1: %{name}-mustek-path.patch |
29 | Patch2: %{name}-spatc.patch | |
07dc9461 | 30 | Patch3: %{name}-link.patch |
47c1ba46 | 31 | Patch4: %{name}-pmake.patch |
cbdf3ab7 | 32 | Patch5: %{name}-locale-names.patch |
49905f2c JB |
33 | Patch6: %{name}-pl.po-update.patch |
34 | Patch7: %{name}-hp_rts88xx-fixes.patch | |
82422732 | 35 | URL: http://www.sane-project.org/ |
acef4911 | 36 | BuildRequires: autoconf >= 2.54 |
71510c9c | 37 | BuildRequires: automake |
29c95ca5 | 38 | BuildRequires: gettext-devel |
10c883cd | 39 | %{?with_gphoto:BuildRequires: libgphoto2-devel >= 2.0.1} |
49905f2c | 40 | %{?with_lpt:BuildRequires: libieee1284-devel >= 0.1.5} |
29c95ca5 | 41 | BuildRequires: libjpeg-devel |
49905f2c | 42 | BuildRequires: libtiff-devel |
29c95ca5 | 43 | BuildRequires: libtool |
282be383 | 44 | BuildRequires: libusb-devel |
03a79035 | 45 | BuildRequires: pkgconfig |
19737261 | 46 | BuildRequires: resmgr-devel |
7eddbf0f | 47 | BuildRequires: rpmbuild(macros) >= 1.268 |
07dc9461 JB |
48 | BuildRequires: tetex-dvips |
49 | BuildRequires: tetex-latex | |
3d0791bb | 50 | BuildRequires: tetex-latex-psnfss |
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 |
528520de JR |
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} |
d74c2257 | 100 | Obsoletes: sane-backends-sane-devel |
101 | Obsoletes: sane-backends-sane-static | |
60698b11 | 102 | |
be1450ae | 103 | %description devel |
60698b11 SZ |
104 | Development part of SANE. |
105 | ||
528520de | 106 | %description devel -l es.UTF-8 |
f9ac7aa8 | 107 | Archivos necesarios para el desarrollo de programas que usen SANE. |
108 | ||
528520de JR |
109 | %description devel -l pl.UTF-8 |
110 | Część SANE dla programistów. | |
60698b11 | 111 | |
528520de JR |
112 | %description devel -l pt_BR.UTF-8 |
113 | Arquivos necessários ao desenvolvimento de programas que usem o SANE. | |
f9ac7aa8 | 114 | |
d74c2257 | 115 | %package static |
60698b11 | 116 | Summary: Static SANE libraries |
528520de JR |
117 | Summary(pl.UTF-8): Statyczne biblioteki SANE |
118 | Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para o SANE (bibliotecas estáticas) | |
60698b11 | 119 | Group: Development/Libraries |
a744bc4e | 120 | Requires: %{name}-devel = %{version}-%{release} |
d74c2257 | 121 | Obsoletes: sane-backends-sane-static |
60698b11 | 122 | |
be1450ae | 123 | %description static |
60698b11 SZ |
124 | Static SANE libraries. |
125 | ||
528520de | 126 | %description static -l pl.UTF-8 |
1d380727 JB |
127 | Biblioteki statyczne SANE. |
128 | ||
528520de JR |
129 | %description static -l pt_BR.UTF-8 |
130 | Bibliotecas estáticas para desenvolvimento de módulos do SANE. | |
f9ac7aa8 | 131 | |
b59f4761 JB |
132 | %package saned |
133 | Summary: SANE network daemon | |
528520de | 134 | Summary(pl.UTF-8): Demon sieciowy SANE |
b59f4761 | 135 | Group: Networking/Daemons |
7eddbf0f | 136 | Requires(post,postun): /sbin/ldconfig |
1a0db5c3 JB |
137 | Requires(pre): /bin/id |
138 | Requires(pre): /usr/bin/getgid | |
139 | Requires(pre): /usr/sbin/groupadd | |
140 | Requires(pre): /usr/sbin/useradd | |
1a0db5c3 | 141 | Requires(preun): /usr/sbin/groupdel |
15431bcf | 142 | Requires(preun): /usr/sbin/userdel |
a744bc4e | 143 | Requires: %{name} = %{version}-%{release} |
7eddbf0f | 144 | Requires: rc-inetd |
15431bcf | 145 | Provides: group(saned) |
146 | Provides: user(saned) | |
b59f4761 JB |
147 | |
148 | %description saned | |
149 | saned is the SANE (Scanner Access Now Easy) daemon that allows remote | |
150 | clients to access image acquisition devices available on the local | |
151 | host. | |
ab034751 | 152 | |
528520de JR |
153 | %description saned -l pl.UTF-8 |
154 | saned to demon SANE pozwalający zdalnym klientom na dostęp do urządzeń | |
155 | odczytujących obraz podłączonych lokalnie. | |
b59f4761 | 156 | |
1d380727 JB |
157 | %package -n sane-mustek600IIN |
158 | Summary: Mustek 600 II N scanner tool | |
528520de | 159 | Summary(pl.UTF-8): Narzędzie do skanera Mustek 600 II N |
1d380727 | 160 | Group: Applications/System |
a744bc4e | 161 | Requires: %{name} = %{version}-%{release} |
1d380727 JB |
162 | |
163 | %description -n sane-mustek600IIN | |
b94c2a57 | 164 | Tool which turns Mustek 600 II N scanner off. Sometimes scanner hangs |
165 | and can't be turned off by (x)scanimage in normal way. | |
1d380727 JB |
166 | |
167 | Note: this program needs root privileges or access to /dev/port. | |
168 | ||
528520de JR |
169 | %description -n sane-mustek600IIN -l pl.UTF-8 |
170 | Narzędzie wymuszające wyłączenie skanera Mustek 600 II N. Czasem | |
171 | skaner zawiesza się i nie jest możliwe wyłączenie go zwykłym sposobem | |
b94c2a57 | 172 | przez program (x)scanimage. |
1d380727 | 173 | |
528520de | 174 | Ten program wymaga uprawnień roota albo dostępu do /dev/port. |
60698b11 | 175 | |
07dc9461 JB |
176 | %package gphoto2 |
177 | Summary: SANE backend for gphoto2 supported cameras | |
528520de | 178 | Summary(pl.UTF-8): Sterownik SANE do aparatów obsługiwanych przez gphoto2 |
07dc9461 | 179 | Group: Applications/System |
a744bc4e | 180 | Requires: %{name} = %{version}-%{release} |
07dc9461 JB |
181 | |
182 | %description gphoto2 | |
183 | SANE backend for gphoto2 supported cameras. | |
184 | ||
528520de JR |
185 | %description gphoto2 -l pl.UTF-8 |
186 | Sterownik SANE do aparatów obsługiwanych przez gphoto2. | |
07dc9461 | 187 | |
10c883cd JB |
188 | %package pp |
189 | Summary: SANE backends for parallel port scanners | |
528520de | 190 | Summary(pl.UTF-8): Starowniki SANE dla skanerów podłączanych do portu równoległego |
086d0b2f | 191 | Group: Applications/System |
a744bc4e | 192 | Requires: %{name} = %{version}-%{release} |
10c883cd JB |
193 | Obsoletes: sane-backends-canon_pp |
194 | Obsoletes: sane-backends-hpsj5s | |
195 | # in case sb used parport scanner | |
2f3f1523 JB |
196 | Obsoletes: kernel-char-plustek |
197 | Obsoletes: kernel-smp-char-plustek | |
7eddbf0f | 198 | Obsoletes: sane-backends-plustek |
10c883cd JB |
199 | |
200 | %description pp | |
201 | SANE backends for parallel port scanners. It includes the following | |
202 | drivers: | |
203 | - canon_pp (Canon CanoScan FBxxxP, CanoScan NxxxP) | |
204 | - hpsj5s (HP ScanJet 5S) | |
a744bc4e | 205 | - mustek_pp (Mustek CIS and CCD scanners) |
10c883cd JB |
206 | - plustek_pp (Plustek) |
207 | ||
528520de JR |
208 | %description pp -l pl.UTF-8 |
209 | Starowniki SANE dla skanerów podłączanych do portu równoległego: | |
10c883cd JB |
210 | - canon_pp (Canon CanoScan FBxxxP, CanoScan NxxxP) |
211 | - hpsj5s (HP ScanJet 5S) | |
a744bc4e | 212 | - mustek_pp (skanery Mustek CIS i CCD) |
10c883cd | 213 | - plustek_pp (Plustek) |
4833b1dc | 214 | |
60698b11 | 215 | %prep |
4ba1f0da | 216 | %setup -q -a3 |
10c883cd | 217 | # kill libtool.m4 copy |
94d8c057 | 218 | grep -B 100000 'libtool.m4 - Configure libtool for the host system' acinclude.m4 > acinclude.m4.tmp |
10c883cd | 219 | mv -f acinclude.m4.tmp acinclude.m4 |
60698b11 | 220 | %patch1 -p1 |
1d380727 | 221 | %patch2 -p1 |
4833b1dc | 222 | %patch3 -p1 |
29c95ca5 | 223 | %patch4 -p1 |
cbdf3ab7 | 224 | %patch5 -p1 |
03a79035 | 225 | %patch6 -p1 |
49905f2c JB |
226 | %patch7 -p1 |
227 | %if %{with rts88xx} | |
03a79035 JB |
228 | cd sane_hp_rts88xx/sane_hp_rts88xx |
229 | sh -x patch-sane.sh `pwd`/../.. | |
230 | cd ../.. | |
4ba1f0da | 231 | %endif |
cbdf3ab7 | 232 | mv -f po/sane-backends.{no,nb}.po |
ca687878 | 233 | |
60698b11 | 234 | %build |
68a10053 | 235 | %{__libtoolize} |
ff595711 | 236 | %{__aclocal} |
567d1f14 | 237 | %{__autoconf} |
27d27dcc | 238 | %configure \ |
68a10053 JB |
239 | --enable-static \ |
240 | --enable-pnm-backend \ | |
07dc9461 | 241 | --enable-translations \ |
10c883cd | 242 | %{?with_gphoto:--with-gphoto2} |
68a10053 | 243 | |
60698b11 SZ |
244 | %{__make} |
245 | ||
27d27dcc | 246 | %ifarch %{ix86} |
37ca2fb8 | 247 | cd tools |
248 | %{__cc} -DHAVE_SYS_IO_H %{rpmcflags} \ | |
249 | -I../include -o mustek600iin-off mustek600iin-off.c | |
250 | cd .. | |
9b253c44 | 251 | %endif |
1d380727 | 252 | |
60698b11 SZ |
253 | %install |
254 | rm -rf $RPM_BUILD_ROOT | |
0aa2de72 | 255 | install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-inetd,%{_aclocaldir},/var/lock/sane} |
60698b11 | 256 | |
f19a3b82 PG |
257 | %{__make} install \ |
258 | DESTDIR=$RPM_BUILD_ROOT | |
27d27dcc | 259 | |
b94c2a57 | 260 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/saned |
9cf264dd | 261 | install %{SOURCE2} $RPM_BUILD_ROOT%{_aclocaldir} |
9b253c44 | 262 | |
27d27dcc | 263 | %ifarch %{ix86} |
1d380727 | 264 | install tools/mustek600iin-off $RPM_BUILD_ROOT%{_bindir} |
9b253c44 | 265 | %endif |
1d380727 | 266 | |
73459f7f | 267 | rm -rf $RPM_BUILD_ROOT%{_prefix}/doc |
268 | ||
d6515821 JB |
269 | # only shared modules - shut up check-files |
270 | rm -f $RPM_BUILD_ROOT%{_libdir}/sane/libsane-*.{so,la,a} | |
271 | ||
68a10053 | 272 | %find_lang %{name} --all-name |
60698b11 | 273 | |
45fccfbc JB |
274 | %clean |
275 | rm -rf $RPM_BUILD_ROOT | |
276 | ||
8f122b94 JB |
277 | %post -p /sbin/ldconfig |
278 | %postun -p /sbin/ldconfig | |
279 | ||
b59f4761 | 280 | %pre saned |
43995c69 ER |
281 | %groupadd -g 90 saned |
282 | %useradd -u 90 -d /usr/share/empty -s /bin/false -c "SANE remote scanning daemon" -g saned saned | |
60698b11 | 283 | |
b59f4761 | 284 | %post saned |
7eddbf0f | 285 | %service -q rc-inetd reload |
60698b11 | 286 | |
b59f4761 | 287 | %postun saned |
8db3686e | 288 | if [ "$1" = "0" ]; then |
7eddbf0f | 289 | %service -q rc-inetd reload |
15431bcf | 290 | %userremove saned |
291 | %groupremove saned | |
ec39e318 | 292 | fi |
8db3686e | 293 | |
68a10053 | 294 | %files -f %{name}.lang |
60698b11 | 295 | %defattr(644,root,root,755) |
10c883cd JB |
296 | %doc AUTHORS ChangeLog LICENSE NEWS PROBLEMS PROJECTS README README.linux |
297 | %doc doc/canon doc/gt68xx doc/leo doc/matsushita doc/mustek doc/mustek_usb | |
298 | %doc doc/plustek doc/sceptre doc/teco doc/umax | |
60698b11 | 299 | %dir %{_sysconfdir}/sane.d |
b1b1e40b ER |
300 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/[!cghmp]* |
301 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/c[!a]* | |
302 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/canon.conf | |
303 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/canon630u.conf | |
304 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/genesys.conf | |
305 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/gt68xx.conf | |
306 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/hp.conf | |
282be383 | 307 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/hp4200.conf |
b1b1e40b ER |
308 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/hp5400.conf |
309 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/m[!u]* | |
310 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/mustek.conf | |
311 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/mustek_usb.conf | |
312 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/p[!l]* | |
313 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/plustek.conf | |
49905f2c | 314 | %{?with_rts88xx:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/hp_rt*} |
60698b11 SZ |
315 | %dir %{_libdir}/sane |
316 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
10c883cd | 317 | %attr(755,root,root) %{_libdir}/sane/libsane-[!cghmp]*.so.* |
4833b1dc | 318 | %attr(755,root,root) %{_libdir}/sane/libsane-c[!a]*.so.* |
07dc9461 JB |
319 | %attr(755,root,root) %{_libdir}/sane/libsane-canon.so.* |
320 | %attr(755,root,root) %{_libdir}/sane/libsane-canon630u.so.* | |
94d8c057 | 321 | %attr(755,root,root) %{_libdir}/sane/libsane-genesys.so.* |
9749bd03 | 322 | %attr(755,root,root) %{_libdir}/sane/libsane-gt68xx.so.* |
4833b1dc | 323 | %attr(755,root,root) %{_libdir}/sane/libsane-hp.so.* |
49905f2c | 324 | %attr(755,root,root) %{_libdir}/sane/libsane-hp3500.so.* |
282be383 | 325 | %attr(755,root,root) %{_libdir}/sane/libsane-hp4200.so.* |
d6515821 | 326 | %attr(755,root,root) %{_libdir}/sane/libsane-hp5400.so.* |
10c883cd JB |
327 | %attr(755,root,root) %{_libdir}/sane/libsane-m[!u]*.so.* |
328 | %attr(755,root,root) %{_libdir}/sane/libsane-mustek.so.* | |
329 | %attr(755,root,root) %{_libdir}/sane/libsane-mustek_usb.so.* | |
282be383 | 330 | %attr(755,root,root) %{_libdir}/sane/libsane-mustek_usb2.so.* |
4833b1dc | 331 | %attr(755,root,root) %{_libdir}/sane/libsane-p[!l]*.so.* |
10c883cd | 332 | %attr(755,root,root) %{_libdir}/sane/libsane-plustek.so.* |
49905f2c | 333 | %{?with_rts88xx:%attr(755,root,root) %{_libdir}/sane/libsane-hp_rts88xx.so.*} |
81ca3008 | 334 | %attr(755,root,root) %{_bindir}/sane-find-scanner |
b59f4761 | 335 | %attr(755,root,root) %{_bindir}/scanimage |
9749bd03 | 336 | %attr(755,root,root) %{_bindir}/gamma4scanimage |
8bec1eff | 337 | %dir %attr(775,root,usb) /var/lock/sane |
b59f4761 JB |
338 | %{_mandir}/man1/sane-find-scanner.1* |
339 | %{_mandir}/man1/scanimage.1* | |
9749bd03 AF |
340 | %{_mandir}/man1/gamma4scanimage.1* |
341 | %{_mandir}/man1/sane-config.1* | |
10c883cd | 342 | %{_mandir}/man5/sane-[!cghmp]* |
4833b1dc | 343 | %{_mandir}/man5/sane-c[!a]* |
07dc9461 JB |
344 | %{_mandir}/man5/sane-canon.5* |
345 | %{_mandir}/man5/sane-canon630u.5* | |
94d8c057 | 346 | %{_mandir}/man5/sane-genesys.5* |
9749bd03 | 347 | %{_mandir}/man5/sane-gt68xx.5* |
4833b1dc | 348 | %{_mandir}/man5/sane-hp.5* |
49905f2c | 349 | %{_mandir}/man5/sane-hp3500.5* |
282be383 | 350 | %{_mandir}/man5/sane-hp4200.5* |
d6515821 | 351 | %{_mandir}/man5/sane-hp5400.5* |
10c883cd JB |
352 | %{_mandir}/man5/sane-m[!u]* |
353 | %{_mandir}/man5/sane-mustek.5* | |
354 | %{_mandir}/man5/sane-mustek_usb.5* | |
282be383 | 355 | %{_mandir}/man5/sane-mustek_usb2.5* |
4833b1dc | 356 | %{_mandir}/man5/sane-p[!l]* |
10c883cd | 357 | %{_mandir}/man5/sane-plustek.5* |
49905f2c | 358 | %{?with_rts88xx:%{_mandir}/man5/sane-hp_rts88xx.5*} |
07dc9461 | 359 | %{_mandir}/man7/* |
60698b11 | 360 | |
42da3f70 | 361 | %files devel |
60698b11 | 362 | %defattr(644,root,root,755) |
60698b11 SZ |
363 | %attr(755,root,root) %{_bindir}/sane-config |
364 | %attr(755,root,root) %{_libdir}/*.so | |
16f83253 | 365 | %{_libdir}/*.la |
a744bc4e | 366 | %{_includedir}/sane |
9cf264dd | 367 | %{_aclocaldir}/*.m4 |
60698b11 | 368 | |
42da3f70 | 369 | %files static |
60698b11 SZ |
370 | %defattr(644,root,root,755) |
371 | %{_libdir}/lib*.a | |
1d380727 | 372 | |
b59f4761 JB |
373 | %files saned |
374 | %defattr(644,root,root,755) | |
b1b1e40b ER |
375 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/saned |
376 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/saned.conf | |
b59f4761 | 377 | %attr(755,root,root) %{_sbindir}/saned |
03a79035 | 378 | %{_mandir}/man8/saned.8* |
b59f4761 JB |
379 | |
380 | %ifarch %{ix86} | |
381 | %files -n sane-mustek600IIN | |
382 | %defattr(644,root,root,755) | |
383 | %attr(755,root,root) %{_bindir}/mustek600iin-off | |
384 | %endif | |
385 | ||
10c883cd | 386 | %if %{with gphoto} |
4833b1dc JB |
387 | %files gphoto2 |
388 | %defattr(644,root,root,755) | |
b1b1e40b | 389 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/gphoto2.conf |
4833b1dc JB |
390 | %attr(755,root,root) %{_libdir}/sane/libsane-gphoto2.so.* |
391 | %{_mandir}/man5/sane-gphoto2.5* | |
9cf264dd | 392 | %endif |
07dc9461 | 393 | |
10c883cd JB |
394 | %if %{with lpt} |
395 | %files pp | |
07dc9461 | 396 | %defattr(644,root,root,755) |
b1b1e40b ER |
397 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/canon_pp.conf |
398 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/hpsj5s.conf | |
399 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/mustek_pp.conf | |
400 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sane.d/plustek_pp.conf | |
10c883cd | 401 | %attr(755,root,root) %{_libdir}/sane/libsane-canon_pp.so.* |
4833b1dc | 402 | %attr(755,root,root) %{_libdir}/sane/libsane-hpsj5s.so.* |
10c883cd | 403 | %attr(755,root,root) %{_libdir}/sane/libsane-mustek_pp.so.* |
10c883cd JB |
404 | %attr(755,root,root) %{_libdir}/sane/libsane-plustek_pp.so.* |
405 | %{_mandir}/man5/sane-canon_pp.5* | |
4833b1dc | 406 | %{_mandir}/man5/sane-hpsj5s.5* |
10c883cd | 407 | %{_mandir}/man5/sane-mustek_pp.5* |
10c883cd | 408 | %{_mandir}/man5/sane-plustek_pp.5* |
9cf264dd | 409 | %endif |