ALT Linux repositórios
S: | 1.2.1-alt2 |
5.0: | 1.0.19-alt2 |
4.1: | 1.0.19-alt1 |
4.0: | 1.0.18-alt4.M40.1 |
3.0: | 1.0.16-alt2 |
+backports: | 1.0.17-alt0.M30.1 |
Group :: Gráficos
RPM: sane
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# This spec for backport to M30 is autogenerated. Do not edit it.
Name: sane
Version: 1.0.17
Release: alt0.M30.1
Summary: This package contains the SANE docs and utils
Summary(ru_RU.KOI8-R): äÏËÕÍÅÎÔÁÃÉÑ É ÕÔÉÌÉÔÙ ÄÌÑ SANE
License: GPL
Group: Graphics
Url: http://www.sane-project.org/
Packager: Vitaly Lipatov <lav at altlinux.ru>
%define oname %name-backends
Source: ftp://ftp.sane-project.org/pub/sane/%oname-%version/%oname-%version.tar.bz2
#Source: ftp://ftp.sane-project.org/pub/sane/sane-backends-2005-03-20.tar.bz2
#Source1: %name-%version.ru.po
Source2: %name.xinetd
Patch: %name-%version.lock.patch
Requires: lib%name = %version-%release
# manually removed: gcc-g77 libsane-devel
# Automatically added by buildreq on Sat Sep 10 2005
BuildRequires: gcc-c++ libgphoto2-devel libieee1284-devel libjpeg-devel libstdc++-devel libusb-devel pkgconfig
# tetex-core tetex-dvips tetex-latex
BuildRequires: setup libexif-devel
%package -n %name-server
Summary: SANE as network server
Group: System/Libraries
License: LGPL
%package -n lib%name
Summary: SANE shared libraries
Group: System/Libraries
License: LGPL
Provides: sane-backends
%package -n lib%name-devel
Summary: Development environment for SANE
Group: Development/C
License: LGPL
Requires: lib%name = %version-%release
Provides: %name-devel = %version
Obsoletes: %name-devel
%package -n lib%name-devel-static
Summary: SANE static libraries
Group: Development/C
License: LGPL
Requires: lib%name-devel = %version-%release
BuildRequires: rpm-build-compat >= 0.4
%description
SANE (Scanner Access Now Easy) is a sane and simple interface to both
local and networked scanners and other image acquisition devices like
digital still and video cameras. SANE currently includes modules for
accessing:
Scanners: Abaton, Agfa, Apple, Artec, Avision, Bell+Howell, Canon,
Epson, Fujitsu, HP, LEO, Microtek, Mustek, NEC, Nikon, Panasonic, PIE,
Plustek, Ricoh, Sceptre, Sharp, Siemens, Tamarack, Teco, UMAX
Digital cameras: Kodak, Polaroid, Connectix QuickCam
and other SANE devices via network (see sane-server package
and read the saned(1) manpage).
%description -l ru_RU.KOI8-R
SANE (Scanner Access Now Easy) -- ÜÔÏ ÄÏÓÔÁÔÏÞÎÏ ÒÁÚÕÍÎÙÊ
É × ÔÏ ÖÅ ×ÒÅÍÑ ÐÒÏÓÔÏÊ ÉÎÔÅÒÆÅÊÓ ÄÌÑ ÌÏËÁÌØÎÙÈ É ÓÅÔÅ×ÙÈ
ÓËÁÎÅÒÏ× É ÄÒÕÇÉÈ ÕÓÔÒÏÊÓÔ× ÏÃÉÆÒÏ×ËÉ ÉÚÏÂÒÁÖÅÎÉÊ, ÔÁËÉÈ ËÁË
ÃÉÆÒÏ×ÙÅ ÆÏÔÏÁÐÐÁÒÁÔÙ É ×ÉÄÅÏËÁÍÅÒÙ. ÷ ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ SANE
×ËÌÀÞÁÅÔ ÍÏÄÕÌÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÛÉÒÏËÏÇÏ ËÒÕÇÁ ÓËÁÎÅÒÏ×,
×ËÌÀÞÁÑ ÍÏÄÅÌÉ
óËÁÎÅÒÏ×: Abaton, Agfa, Apple, Artec, Avision, Bell+Howell, Canon,
Epson, Fujitsu, HP, LEO, Microtek, Mustek, NEC, Nikon, Panasonic, PIE,
Plustek, Ricoh, Sceptre, Sharp, Siemens, Tamarack, Teco, UMAX
ãÉÆÒÏ×ÙÈ ÆÏÔÏÁÐÐÁÒÁÔÏ×: Kodak, Polaroid, Connectix QuickCam
É ÄÒÕÇÉÈ SANE-ÕÓÔÒÏÊÓÔ×ÐÏ ÓÅÔÉ (ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ sane-server É
ÐÒÏÞÉÔÁÊÔÅ ÓÔÒÁÎÉÃÕ ÒÕËÏ×ÏÄÓÔ×Á man saned(1)).
%description -n %name-server
This package contains SANE network server components.
%description -n lib%name
This package contains SANE shared libraries
and scanner backend modules.
Install this package for scan programs.
%description -n lib%name -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÒÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ SANE
É ÍÏÄÕÌÉ ÐÏÄÄÅÒÖËÉ ÒÁÚÌÉÞÎÙÈ ÓËÁÎÅÒÏ×.
éÍÅÎÎÏ ÜÔÏÔ ÐÁËÅÔ ÔÒÅÂÕÅÔÓÑ ÐÒÏÇÒÁÍÍÁÍ ÓËÁÎÉÒÏ×ÁÎÉÑ.
%description -n lib%name-devel
This package contains development environment for SANE.
%description -n lib%name-devel -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ SANE.
%description -n lib%name-devel-static
This package contains SANE static libraries.
%description -n lib%name-devel-static -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ SANE.
%prep
%setup -q -n %oname-%version
%patch -p1
#-%version
#cp -f %%SOURCE1 po/%oname.ru.po
%build
# use USER for dummy check lock group (there is uucp by default)
# group value does not used now in SANE
%__autoreconf
%configure --enable-static --enable-translations --with-gphoto2 \
--enable-libusb --with-docdir=%_docdir/%name-%version \
--enable-locking --with-group=$USER \
--with-lockdir=%_lockdir/%name
%make
#%make -C doc sane.ps.gz
%install
%make_install install DESTDIR=%buildroot
# fix default path to firmware (direct %_libdir here...)
subst "s|/path/to/your/firmware|%_libdir/hotplug/firmware|" %buildroot%_sysconfdir/sane.d/*.conf
install -D -m0644 tools/hotplug/libsane.usermap %buildroot%_sysconfdir/hotplug/usb/libsane.usermap
install -D -m0755 tools/hotplug/libusbscanner %buildroot%_sysconfdir/hotplug/usb/libusbscanner
install -D %SOURCE2 -m0644 %buildroot%_sysconfdir/xinetd.d/%name
%__rm -f %buildroot%_libdir/%name/*.la
%find_lang %oname
%pre -n lib%name
%_sbindir/groupadd -r -f scanner || :
%post -n lib%name
%post_ldconfig
%postun -n lib%name
%postun_ldconfig
%files
%_docdir/%name-*
%_bindir/sane-find-scanner
%_bindir/scanimage
%_bindir/gamma4scanimage
%_man1dir/*
%exclude %_man8dir/saned*
%exclude %_man1dir/sane-config*
%_man7dir/*
%files -n %name-server
%config(noreplace) %_sysconfdir/xinetd.d/%name
%config(noreplace) %_sysconfdir/sane.d/saned.conf
%_sbindir/*
%_man8dir/saned*
%files -n lib%name -f %oname.lang
%_libdir/*.so.*
%_sysconfdir/hotplug/usb/*
%_man5dir/*
%dir %_sysconfdir/sane.d/
%config(noreplace) %_sysconfdir/sane.d/*
%exclude %_sysconfdir/sane.d/saned.conf
%dir %_libdir/%name/
%_libdir/%name/*.so.*
%dir %_datadir/%name/
%attr(775,root,scanner) %dir %_lockdir/%name/
%files -n lib%name-devel
%_bindir/sane-config
%_man1dir/sane-config*
%_libdir/*.so
%_libdir/%name/*.so
%_includedir/sane
%files -n lib%name-devel-static
%_libdir/*.a
%_libdir/sane/*.a
%changelog
…
Todas as alterações você pod ver aqui
Name: sane
Version: 1.0.17
Release: alt0.M30.1
Summary: This package contains the SANE docs and utils
Summary(ru_RU.KOI8-R): äÏËÕÍÅÎÔÁÃÉÑ É ÕÔÉÌÉÔÙ ÄÌÑ SANE
License: GPL
Group: Graphics
Url: http://www.sane-project.org/
Packager: Vitaly Lipatov <lav at altlinux.ru>
%define oname %name-backends
Source: ftp://ftp.sane-project.org/pub/sane/%oname-%version/%oname-%version.tar.bz2
#Source: ftp://ftp.sane-project.org/pub/sane/sane-backends-2005-03-20.tar.bz2
#Source1: %name-%version.ru.po
Source2: %name.xinetd
Patch: %name-%version.lock.patch
Requires: lib%name = %version-%release
# manually removed: gcc-g77 libsane-devel
# Automatically added by buildreq on Sat Sep 10 2005
BuildRequires: gcc-c++ libgphoto2-devel libieee1284-devel libjpeg-devel libstdc++-devel libusb-devel pkgconfig
# tetex-core tetex-dvips tetex-latex
BuildRequires: setup libexif-devel
%package -n %name-server
Summary: SANE as network server
Group: System/Libraries
License: LGPL
%package -n lib%name
Summary: SANE shared libraries
Group: System/Libraries
License: LGPL
Provides: sane-backends
%package -n lib%name-devel
Summary: Development environment for SANE
Group: Development/C
License: LGPL
Requires: lib%name = %version-%release
Provides: %name-devel = %version
Obsoletes: %name-devel
%package -n lib%name-devel-static
Summary: SANE static libraries
Group: Development/C
License: LGPL
Requires: lib%name-devel = %version-%release
BuildRequires: rpm-build-compat >= 0.4
%description
SANE (Scanner Access Now Easy) is a sane and simple interface to both
local and networked scanners and other image acquisition devices like
digital still and video cameras. SANE currently includes modules for
accessing:
Scanners: Abaton, Agfa, Apple, Artec, Avision, Bell+Howell, Canon,
Epson, Fujitsu, HP, LEO, Microtek, Mustek, NEC, Nikon, Panasonic, PIE,
Plustek, Ricoh, Sceptre, Sharp, Siemens, Tamarack, Teco, UMAX
Digital cameras: Kodak, Polaroid, Connectix QuickCam
and other SANE devices via network (see sane-server package
and read the saned(1) manpage).
%description -l ru_RU.KOI8-R
SANE (Scanner Access Now Easy) -- ÜÔÏ ÄÏÓÔÁÔÏÞÎÏ ÒÁÚÕÍÎÙÊ
É × ÔÏ ÖÅ ×ÒÅÍÑ ÐÒÏÓÔÏÊ ÉÎÔÅÒÆÅÊÓ ÄÌÑ ÌÏËÁÌØÎÙÈ É ÓÅÔÅ×ÙÈ
ÓËÁÎÅÒÏ× É ÄÒÕÇÉÈ ÕÓÔÒÏÊÓÔ× ÏÃÉÆÒÏ×ËÉ ÉÚÏÂÒÁÖÅÎÉÊ, ÔÁËÉÈ ËÁË
ÃÉÆÒÏ×ÙÅ ÆÏÔÏÁÐÐÁÒÁÔÙ É ×ÉÄÅÏËÁÍÅÒÙ. ÷ ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ SANE
×ËÌÀÞÁÅÔ ÍÏÄÕÌÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÛÉÒÏËÏÇÏ ËÒÕÇÁ ÓËÁÎÅÒÏ×,
×ËÌÀÞÁÑ ÍÏÄÅÌÉ
óËÁÎÅÒÏ×: Abaton, Agfa, Apple, Artec, Avision, Bell+Howell, Canon,
Epson, Fujitsu, HP, LEO, Microtek, Mustek, NEC, Nikon, Panasonic, PIE,
Plustek, Ricoh, Sceptre, Sharp, Siemens, Tamarack, Teco, UMAX
ãÉÆÒÏ×ÙÈ ÆÏÔÏÁÐÐÁÒÁÔÏ×: Kodak, Polaroid, Connectix QuickCam
É ÄÒÕÇÉÈ SANE-ÕÓÔÒÏÊÓÔ×ÐÏ ÓÅÔÉ (ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ sane-server É
ÐÒÏÞÉÔÁÊÔÅ ÓÔÒÁÎÉÃÕ ÒÕËÏ×ÏÄÓÔ×Á man saned(1)).
%description -n %name-server
This package contains SANE network server components.
%description -n lib%name
This package contains SANE shared libraries
and scanner backend modules.
Install this package for scan programs.
%description -n lib%name -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÒÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ SANE
É ÍÏÄÕÌÉ ÐÏÄÄÅÒÖËÉ ÒÁÚÌÉÞÎÙÈ ÓËÁÎÅÒÏ×.
éÍÅÎÎÏ ÜÔÏÔ ÐÁËÅÔ ÔÒÅÂÕÅÔÓÑ ÐÒÏÇÒÁÍÍÁÍ ÓËÁÎÉÒÏ×ÁÎÉÑ.
%description -n lib%name-devel
This package contains development environment for SANE.
%description -n lib%name-devel -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ SANE.
%description -n lib%name-devel-static
This package contains SANE static libraries.
%description -n lib%name-devel-static -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ SANE.
%prep
%setup -q -n %oname-%version
%patch -p1
#-%version
#cp -f %%SOURCE1 po/%oname.ru.po
%build
# use USER for dummy check lock group (there is uucp by default)
# group value does not used now in SANE
%__autoreconf
%configure --enable-static --enable-translations --with-gphoto2 \
--enable-libusb --with-docdir=%_docdir/%name-%version \
--enable-locking --with-group=$USER \
--with-lockdir=%_lockdir/%name
%make
#%make -C doc sane.ps.gz
%install
%make_install install DESTDIR=%buildroot
# fix default path to firmware (direct %_libdir here...)
subst "s|/path/to/your/firmware|%_libdir/hotplug/firmware|" %buildroot%_sysconfdir/sane.d/*.conf
install -D -m0644 tools/hotplug/libsane.usermap %buildroot%_sysconfdir/hotplug/usb/libsane.usermap
install -D -m0755 tools/hotplug/libusbscanner %buildroot%_sysconfdir/hotplug/usb/libusbscanner
install -D %SOURCE2 -m0644 %buildroot%_sysconfdir/xinetd.d/%name
%__rm -f %buildroot%_libdir/%name/*.la
%find_lang %oname
%pre -n lib%name
%_sbindir/groupadd -r -f scanner || :
%post -n lib%name
%post_ldconfig
%postun -n lib%name
%postun_ldconfig
%files
%_docdir/%name-*
%_bindir/sane-find-scanner
%_bindir/scanimage
%_bindir/gamma4scanimage
%_man1dir/*
%exclude %_man8dir/saned*
%exclude %_man1dir/sane-config*
%_man7dir/*
%files -n %name-server
%config(noreplace) %_sysconfdir/xinetd.d/%name
%config(noreplace) %_sysconfdir/sane.d/saned.conf
%_sbindir/*
%_man8dir/saned*
%files -n lib%name -f %oname.lang
%_libdir/*.so.*
%_sysconfdir/hotplug/usb/*
%_man5dir/*
%dir %_sysconfdir/sane.d/
%config(noreplace) %_sysconfdir/sane.d/*
%exclude %_sysconfdir/sane.d/saned.conf
%dir %_libdir/%name/
%_libdir/%name/*.so.*
%dir %_datadir/%name/
%attr(775,root,scanner) %dir %_lockdir/%name/
%files -n lib%name-devel
%_bindir/sane-config
%_man1dir/sane-config*
%_libdir/*.so
%_libdir/%name/*.so
%_includedir/sane
%files -n lib%name-devel-static
%_libdir/*.a
%_libdir/sane/*.a
%changelog
…
Todas as alterações você pod ver aqui