]> git.pld-linux.org Git - packages/sane-backends.git/commitdiff
- final 1.0.10
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Feb 2003 01:39:56 +0000 (01:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- updated link patch, separated hpsj5s driver (requires libieee1284)
- enabled gphoto2 (we have proper libgphoto2 version now)
- made -plustek real driver package (containing not only manual)
- removed static modules and their *.la

Changed files:
    sane-backends-link.patch -> 1.2
    sane-backends.spec -> 1.72

sane-backends-link.patch
sane-backends.spec

index ab6c3f59284893f9959090471bc374c5f8285f67..7b67acbeadca3787d3ee2acfe3c1a8f2267f32f0 100644 (file)
@@ -1,9 +1,9 @@
-diff -Nur sane-backends-1.0.8.orig/acinclude.m4 sane-backends-1.0.8/acinclude.m4
---- sane-backends-1.0.8.orig/acinclude.m4      Sun Jun 16 18:23:57 2002
-+++ sane-backends-1.0.8/acinclude.m4   Sun Jun 16 18:50:07 2002
-@@ -101,16 +101,18 @@
+diff -Nur sane-backends-1.0.10.orig/acinclude.m4 sane-backends-1.0.10/acinclude.m4
+--- sane-backends-1.0.10.orig/acinclude.m4     Sat Feb  1 23:31:50 2003
++++ sane-backends-1.0.10/acinclude.m4  Sun Feb  2 00:26:23 2003
+@@ -202,16 +202,18 @@
  # Checks for ieee1284 library, needed for canon_pp backend.
- AC_DEFUN(SANE_CHECK_IEEE1284,
+ AC_DEFUN([SANE_CHECK_IEEE1284],
  [
 +  IEEE1284_LIBS=""
    AC_CHECK_HEADER(ieee1284.h, [
@@ -21,20 +21,20 @@ diff -Nur sane-backends-1.0.8.orig/acinclude.m4 sane-backends-1.0.8/acinclude.m4
  ])
  
  
-@@ -119,6 +121,7 @@
+@@ -220,6 +222,7 @@
  # GPHOTO2 backends.
- AC_DEFUN(SANE_CHECK_JPEG,
+ AC_DEFUN([SANE_CHECK_JPEG],
  [
 +  JPEG_LIBS=""
    AC_CHECK_LIB(jpeg,jpeg_start_decompress, 
    [
      AC_CHECK_HEADER(jconfig.h, 
-@@ -130,10 +133,11 @@
+@@ -231,10 +234,11 @@
          #if JPEG_LIB_VERSION >= 61
            sane_correct_jpeg_lib_version_found
          #endif
 -      ],[sane_cv_use_libjpeg="yes"; LIBS="${LIBS} -ljpeg"; 
-+      ],[sane_cv_use_libjpeg="yes"; JPEG_LIBS="-ljpeg";
++      ],[sane_cv_use_libjpeg="yes"; JPEG_LIBS="-ljpeg"; 
        AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
      ],)
    ],)
@@ -42,56 +42,127 @@ diff -Nur sane-backends-1.0.8.orig/acinclude.m4 sane-backends-1.0.8/acinclude.m4
  ])
  
  dnl
-@@ -237,7 +241,7 @@
+@@ -323,7 +327,7 @@
+         AC_HELP_STRING([--with-gphoto2],
+                          [include the gphoto2 backend]),
+ [
+-      
++      GPHOTO2_LIBS=""
+       if test "$with_gphoto2" = "no" ; then
+               echo disabling GPHOTO2
+       else
+@@ -338,9 +342,9 @@
                        CPPFLAGS="${CPPFLAGS} `gphoto2-config --cflags`"
                        GPHOTO2_LIBS="`gphoto2-config --libs`"
                        SANE_EXTRACT_LDFLAGS(LDFLAGS, GPHOTO2_LIBS)
 -                      LIBS="${LIBS} ${GPHOTO2_LIBS}"
-+                      AC_SUBST(GPHOTO2_LIBS)
-                       ;;
-               * ) 
-                       echo 
-diff -Nur sane-backends-1.0.8.orig/backend/Makefile.in sane-backends-1.0.8/backend/Makefile.in
---- sane-backends-1.0.8.orig/backend/Makefile.in       Mon May 27 21:19:55 2002
-+++ sane-backends-1.0.8/backend/Makefile.in    Sun Jun 16 18:50:19 2002
-@@ -127,6 +127,36 @@
+               fi
+ ])    fi
++      AC_SUBST(GPHOTO2_LIBS)
+ ])
+ #
+diff -Nur sane-backends-1.0.10.orig/backend/Makefile.in sane-backends-1.0.10/backend/Makefile.in
+--- sane-backends-1.0.10.orig/backend/Makefile.in      Mon Jan 13 22:38:09 2003
++++ sane-backends-1.0.10/backend/Makefile.in   Sun Feb  2 00:38:28 2003
+@@ -148,6 +148,96 @@
  
  .PHONY: all clean depend dist distclean install uninstall
  
++libsane-artec_eplus48u.la: artec_eplus48u.lo artec_eplus48u-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
++libsane-canon630u.la: canon630u.lo canon630u-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
 +libsane-canon_pp.la: canon_pp.lo canon_pp-s.lo $(EXTRA) $(LIBOBJS)
 +      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @IEEE1284_LIBS@ \
 +      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
-+      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR)
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
++libsane-coolscan2.la: coolscan2.lo coolscan2-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
 +
 +libsane-dc210.la: dc210.lo dc210-s.lo $(EXTRA) $(LIBOBJS)
 +      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @JPEG_LIBS@ \
 +      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
-+      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR)
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
 +
 +libsane-dc240.la: dc240.lo dc240-s.lo $(EXTRA) $(LIBOBJS)
 +      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @JPEG_LIBS@ \
 +      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
-+      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR)
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
 +
 +libsane-dll.la: dll.lo dll-s.lo $(EXTRA) $(LIBOBJS)
 +      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @JPEG_LIBS@ \
 +      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
-+      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR)
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
++libsane-epson.la: epson.lo epson-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
 +
 +libsane-gphoto2.la: gphoto2.lo gphoto2-s.lo $(EXTRA) $(LIBOBJS)
 +      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @GPHOTO2_LIBS@ @JPEG_LIBS@ \
 +      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
-+      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR)
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
++libsane-gt68xx.la: gt68xx.lo gt68xx-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
++libsane-hp.la: hp.lo hp-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
++libsane-hpsj5s.la: hpsj5s.lo hpsj5s-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @IEEE1284_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
++libsane-mustek_usb.la: mustek_usb.lo mustek_usb-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
++libsane-plustek.la: plustek.lo plustek-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
 +
 +libsane-sm3600.la: sm3600.lo sm3600-s.lo $(EXTRA) $(LIBOBJS)
-+      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) -lusb \
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
++libsane-snapscan.la: snapscan.lo snapscan-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
++libsane-umax.la: umax.lo umax-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
++      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
++
++libsane-umax1220u.la: umax1220u.lo umax1220u-s.lo $(EXTRA) $(LIBOBJS)
++      @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ \
 +      $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
-+      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR)
++      -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
 +
  libsane-%.la: %.lo %-s.lo $(EXTRA) $(LIBOBJS)
        @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) \
        $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
-@@ -214,7 +244,7 @@
+@@ -233,7 +323,7 @@
  
  libsane.la: dll.lo dll-s.lo $(EXTRA) $(addsuffix .lo,$(DLL_PRELOAD)) $(LIBOBJS)
        @$(LIBTOOL) $(MLINK) $(CC) -o $@ $(LDFLAGS) $(BACKENDLIBS)  $^ \
@@ -100,16 +171,34 @@ diff -Nur sane-backends-1.0.8.orig/backend/Makefile.in sane-backends-1.0.8/backe
                -rpath $(libdir) -version-info $(V_MAJOR):$(V_REV):$(V_MINOR)
  
  # additional dependencies
-diff -Nur sane-backends-1.0.8.orig/configure.in sane-backends-1.0.8/configure.in
---- sane-backends-1.0.8.orig/configure.in      Sun Jun 16 18:23:57 2002
-+++ sane-backends-1.0.8/configure.in   Sun Jun 16 18:26:30 2002
-@@ -206,7 +206,9 @@
- AC_CHECK_LIB(m,sqrt)
- AC_CHECK_LIB(scsi, scsireq_enter)     # FreeBSD needs this
- AC_CHECK_LIB(cam, cam_open_device)      # FreeBSD 3+ needs this
-+save_LIBS="$LIBS"
- AC_CHECK_LIB(usb, usb_open)
-+LIBS="$save_LIBS"
+diff -Nur sane-backends-1.0.10.orig/configure.in sane-backends-1.0.10/configure.in
+--- sane-backends-1.0.10.orig/configure.in     Sat Feb  1 23:31:50 2003
++++ sane-backends-1.0.10/configure.in  Sun Feb  2 00:31:03 2003
+@@ -203,10 +203,15 @@
+ fi
+ dnl we need both libusb header and a libusb providing usb_get_busses
+ if test "${ac_cv_header_usb_h}" = "yes" ; then
++  USB_LIBS=""
++  save_LIBS="$LIBS"
+   AC_CHECK_LIB(usb, usb_get_busses)
++  LIBS="$save_LIBS"
+   if test "${ac_cv_lib_usb_usb_get_busses}" = "yes" ; then
+     HAVE_LIBUSB="yes"
++    USB_LIBS="-lusb"
+   fi
++  AC_SUBST(USB_LIBS)
+ fi
  
- SANE_CHECK_JPEG
+ dnl disable Linux SCSI generic version 3 to avoid 32/64 bit problems
+diff -Nur sane-backends-1.0.10.orig/tools/Makefile.in sane-backends-1.0.10/tools/Makefile.in
+--- sane-backends-1.0.10.orig/tools/Makefile.in        Sun Aug 25 15:40:35 2002
++++ sane-backends-1.0.10/tools/Makefile.in     Sun Feb  2 00:31:11 2003
+@@ -92,7 +92,7 @@
+ sane-find-scanner: sane-find-scanner.o ../backend/sane_strstatus.lo \
+       ../sanei/sanei_scsi.lo ../sanei/sanei_usb.lo ../sanei/sanei_init_debug.lo
+       @$(LIBTOOL) $(MLINK) $(LINK) sane-find-scanner.o \
+-        ../backend/sane_strstatus.lo $(LIBSANEI) $(LIBLIB) $(LIBS)
++        ../backend/sane_strstatus.lo $(LIBSANEI) $(LIBLIB) $(LIBS) @USB_LIBS@
  
+ gamma4scanimage: gamma4scanimage.o
+       @$(LIBTOOL) $(MLINK) $(LINK) gamma4scanimage.o -lm
index dae2cfb646d892375a7c366980cd4d78893d114f..4ffd90fa6a3c8b59bed12fd3ac16330b2cd40a7b 100644 (file)
@@ -1,10 +1,13 @@
 # conditional build
 # _without_dist_kernel         without kernel from distribution
 # TODO: 
-# - write kernel-chat-plustek.spec
-
-%define                pre     pre3
-
+# - write kernel-plustek.spec (with kernel{,-smp}-char-plustek packages)
+# - separate usb drivers (which depend on libusb)?
+#      usb-only: artec_eplus48u,canon630u,gt68xx,mustek_usb,umax1220u
+#      usb/scsi: coolscan2,hp,snapscan,umax
+#      usb/scsi/pp: epson
+#   what about sane-find-scanner tool? (linked with libusb)
+#
 Summary:       SANE - Easy local and networked scanner access
 Summary(es):   SANE - acceso a scanners en red y locales
 Summary(ko):   ½ºÄ³³Ê¸¦ ´Ù·ç´Â ¼ÒÇÁÆ®¿þ¾î
@@ -12,11 +15,11 @@ Summary(pl):        SANE - Prosta obs
 Summary(pt_BR):        SANE - acesso a scanners locais e em rede
 Name:          sane-backends
 Version:       1.0.10
-%define        rel     0.%{pre}.1
+%define        rel     0.1
 Release:       %{rel}
 License:       relaxed LGPL (libraries), and Public Domain (docs)
 Group:         Libraries
-Source0:       ftp://ftp.mostang.com/pub/sane/%{name}-%{version}-%{pre}.tar.gz
+Source0:       ftp://ftp.mostang.com/pub/sane/%{name}-%{version}.tar.gz
 Source1:       %{name}.rc-inetd
 Patch0:                %{name}-no_libs.patch
 Patch1:                %{name}-mustek-path.patch
@@ -28,7 +31,7 @@ Patch6:               %{name}-alpha.patch
 URL:           http://www.mostang.com/sane/
 BuildRequires: autoconf
 BuildRequires: automake
-#BuildRequires:        gphoto2-lib-devel >= 2.0.1
+BuildRequires: libgphoto2-devel >= 2.0.1
 BuildRequires: libjpeg-devel
 BuildRequires: libtool
 %ifarch %{ix86}
@@ -186,17 +189,18 @@ SANE backend for gphoto2 supported cameras.
 %description gphoto2 -l pl
 Sterownik SANE do aparatów obs³ugiwanych przez gphoto2.
 
-%package sm3600
-Summary:       SANE backend for Microtek scanners with M011 USB chip
-Summary(pl):   Sterownik SANE dla skanerów Microteka z uk³adem USB M011
+%package hpsj5s
+Summary:       SANE backend for HP ScanJet 5s parallel port scanners
+Summary(pl):   Sterownik SANE do skanerów HP ScanJest 5s pod³±czanych do portu równoleg³ego
 Group:         Applications/System
 Requires:      %{name} = %{version}
 
-%description sm3600
-SANE backend for Microtek scanners with M011 USB chip.
+%description hpsj5s
+SANE backend for HP ScanJet 5s parallel port scanners.
 
-%description sm3600 -l pl
-Sterownik SANE dla skanerów Microteka z uk³adem USB M011.
+%description hpsj5s -l pl
+Sterownik SANE do skanerów HP ScanJest 5s pod³±czanych do portu
+równoleg³ego.
 
 %package plustek
 Summary:       Plustek scanner driver
@@ -210,6 +214,18 @@ This package contains driver for Plustek scanners.
 %description plustek -l pl
 Pakiet zawiera sterownik dla skanerów Plustek.
 
+%package sm3600
+Summary:       SANE backend for Microtek scanners with M011 USB chip
+Summary(pl):   Sterownik SANE dla skanerów Microteka z uk³adem USB M011
+Group:         Applications/System
+Requires:      %{name} = %{version}
+
+%description sm3600
+SANE backend for Microtek scanners with M011 USB chip.
+
+%description sm3600 -l pl
+Sterownik SANE dla skanerów Microteka z uk³adem USB M011.
+
 %package -n kernel-char-plustek
 Summary:       Plustek scanner kernel module
 Summary(pl):   Modu³ j±dra dla skanerów Plustek
@@ -243,11 +259,11 @@ This package contains kernel module which drives Plustek scanners.
 Pakiet zawiera modu³ steruj±cy skanerami Plustek.
 
 %prep
-%setup -q -n %{name}-%{version}-%{pre}
+%setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-#%patch3 -p1
+%patch3 -p1
 %patch4 -p1 -b .wiget
 #%%patch5 -p1
 #%%patch6 -p1
@@ -272,7 +288,6 @@ cd tools
 cd ..
 %endif
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd \
@@ -338,20 +353,24 @@ fi
 %doc doc/canon doc/matsushita doc/mustek doc/mustek_usb doc/sceptre
 %doc doc/teco doc/umax
 %dir %{_sysconfdir}/sane.d
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/[^cgs]*
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/c[^a]*
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/[!cghps]*
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/c[!a]*
 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/canon.conf
 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/canon630u.conf
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/s[^a]*
 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/gt68xx.conf
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/hp.conf
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/p[!l]*
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/s[!a]*
 %dir %{_libdir}/sane
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
-%attr(755,root,root) %{_libdir}/sane/libsane-[^cgs]*.so.*
-%attr(755,root,root) %{_libdir}/sane/libsane-c[^a]*.so.*
+%attr(755,root,root) %{_libdir}/sane/libsane-[!cghps]*.so.*
+%attr(755,root,root) %{_libdir}/sane/libsane-c[!a]*.so.*
 %attr(755,root,root) %{_libdir}/sane/libsane-canon.so.*
 %attr(755,root,root) %{_libdir}/sane/libsane-canon630u.so.*
-%attr(755,root,root) %{_libdir}/sane/libsane-s[^m]*.so.*
 %attr(755,root,root) %{_libdir}/sane/libsane-gt68xx.so.*
+%attr(755,root,root) %{_libdir}/sane/libsane-hp.so.*
+%attr(755,root,root) %{_libdir}/sane/libsane-p[!l]*.so.*
+%attr(755,root,root) %{_libdir}/sane/libsane-s[!m]*.so.*
 %attr(755,root,root) %{_bindir}/sane-find-scanner
 %attr(755,root,root) %{_bindir}/scanimage
 %attr(755,root,root) %{_bindir}/gamma4scanimage
@@ -359,13 +378,14 @@ fi
 %{_mandir}/man1/scanimage.1*
 %{_mandir}/man1/gamma4scanimage.1*
 %{_mandir}/man1/sane-config.1*
-%{_mandir}/man5/sane-[^cgps]*
-%{_mandir}/man5/sane-c[^a]*
+%{_mandir}/man5/sane-[!cghps]*
+%{_mandir}/man5/sane-c[!a]*
 %{_mandir}/man5/sane-canon.5*
 %{_mandir}/man5/sane-canon630u.5*
-%{_mandir}/man5/sane-p[^l]*
-%{_mandir}/man5/sane-s[^m]*
 %{_mandir}/man5/sane-gt68xx.5*
+%{_mandir}/man5/sane-hp.5*
+%{_mandir}/man5/sane-p[!l]*
+%{_mandir}/man5/sane-s[!m]*
 %{_mandir}/man7/*
 
 %files devel
@@ -374,13 +394,10 @@ fi
 %attr(755,root,root) %{_bindir}/sane-config
 %attr(755,root,root) %{_libdir}/*.so
 %{_libdir}/*.la
-%{_libdir}/sane/lib*.la
-%attr(755,root,root) %{_libdir}/sane/lib*.so
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
-%{_libdir}/sane/lib*.a
 
 %files saned
 %defattr(644,root,root,755)
@@ -403,17 +420,27 @@ fi
 %{_mandir}/man5/sane-canon_pp.5*
 %endif
 
-#%files gphoto2
-#%defattr(644,root,root,755)
-#%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/gphoto2.conf
-#%attr(755,root,root) %{_libdir}/sane/libsane-gphoto2.so.*
-#%{_mandir}/man5/sane-gphoto2.5*
+%files gphoto2
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/gphoto2.conf
+%attr(755,root,root) %{_libdir}/sane/libsane-gphoto2.so.*
+%{_mandir}/man5/sane-gphoto2.5*
 
-%files sm3600
+%ifarch %{ix86}
+%files hpsj5s
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/sane/libsane-sm3600.so.*
-%{_mandir}/man5/sane-sm3600.5*
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/hpsj5s.conf
+%attr(755,root,root) %{_libdir}/sane/libsane-hpsj5s.so.*
+%{_mandir}/man5/sane-hpsj5s.5*
+%endif
 
 %files plustek
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sane.d/plustek.conf
+%attr(755,root,root) %{_libdir}/sane/libsane-plustek.so.*
 %{_mandir}/man5/sane-plustek.5*
+
+%files sm3600
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/sane/libsane-sm3600.so.*
+%{_mandir}/man5/sane-sm3600.5*
This page took 0.064369 seconds and 4 git commands to generate.