Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37477160
en ru br
ALT Linux repositórios
S:0.999-alt6.2
5.0: 0.995-alt1
4.1: 0.995-alt1
4.0: 0.991-alt3
3.0: 0.97-alt2

Group :: Gráficos
RPM: xsane

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: xsane
Version: 0.995
Release: alt1

Summary: XSane is a graphical frontend for scanners. It uses the library SANE
Summary(ru_RU.KOI8-R): Xsane -- ÜÔÏ ÇÒÁÆÉÞÅÓËÁÑ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÓËÁÎÉÒÏ×ÁÎÉÑ, ÉÓÐÏÌØÚÕÀÝÁÑ ÂÉÂÌÉÏÔÅËÕ SANE

License: GPL
Group: Graphics
Url: http://www.xsane.org

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: ftp://ftp.sane-project.org/pub/sane/xsane/%name-%version.tar.bz2
Source1: %name-16x16.xpm
#Source3: %name-%version.ru.po
Patch: %name-0.99-debian.patch
#Patch1: %name-%version-printf.patch

BuildPreReq: libjpeg-devel

# Automatically added by buildreq on Wed Feb 20 2008

BuildRequires: libgimp-devel liblcms-devel libsane-devel libtiff-devel

# for po recoding

BuildPreReq: recode
# for help
Requires: webclient

%description
XSane is a graphical frontend for SANE library,
which provides access to scanners, digital cameras,
and other capture devices.  XSane is written in GTK+
and provides control for performing the scan and
then manipulating the captured image.
Install this if you want a graphical frontend for
sane for use in the X Window System.

%description -l ru_RU.KOI8-R
XSane -- ÜÔÏ ÇÒÁÆÉÞÅÓËÉÊ ÉÎÔÅÒÆÅÊÓ Ë ÂÉÂÌÉÏÔÅËÅ SANE,
ËÏÔÏÒÁÑ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÄÏÓÔÕÐ Ë ÓËÁÎÅÒÁÍ, ÃÉÆÒÏ×ÙÍ ËÁÍÅÒÁÍ É ÄÒÕÇÉÍ
ÕÓÔÒÏÊÓÔ×ÁÍ ××ÏÄÁ ÉÚÏÂÒÁÖÅÎÉÑ. XSane ÎÁÐÉÓÁÎÁ ÎÁ GTK+ É ÐÏÚ×ÏÌÑÅÔ
ÕÐÒÁ×ÌÑÔØ ÓËÁÎÉÒÏ×ÁÎÉÅÍ É ÏÂÒÁÂÏÔËÏÊ ÐÏÌÕÞÅÎÎÏÇÏ ÉÚÏÂÒÁÖÅÎÉÑ.
õÓÔÁÎÏ×ÉÔÅ XSane, ÅÓÌÉ ×Ù ÈÏÔÉÔÅ ÐÏÌÕÞÉÔØ ÇÒÁÆÉÞÅÓËÕÀ ÏÂÏÌÏÞËÕ
ÄÌÑ sane, ÒÁÂÏÔÁÀÝÕÀ × ÓÉÓÔÅÍÅ X Window.

%package gimp2
Summary: A GIMP2 plug-in which provides the SANE scanner interface
Summary(ru_RU.KOI8-R): íÏÄÕÌØ ÄÌÑ GIMP2, ÐÏÚ×ÏÌÑÀÝÉÊ ÓËÁÎÉÒÏ×ÁÔØ ÞÅÒÅÚ SANE.
Group: Graphics
Provides: %name-gimp
Requires: %name = %version-%release, gimp2

%description gimp2
This package provides the regular XSane frontend for the SANE scanner
nterface, but it works as a GIMP2 plug-in.  You must have GIMP2
installed to use this package.

%description gimp2 -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÏÂÙÞÎÙÊ ÆÒÏÎÔÅÎÄ XSane ÄÌÑ ÓËÁÎÉÒÏ×ÁÎÉÑ
ÞÅÒÅÚ ÉÎÔÅÒÆÅÊÓ SANE, ËÏÔÏÒÙÊ ÒÁÂÏÔÁÅÔ ËÁË ÍÏÄÕÌØ ÄÌÑ GIMP2.
÷ÁÍ ÐÏÔÒÅÂÕÅÔÓÑ ÕÓÔÁÎÏ×ÉÔØ GIMP2 ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÜÔÏÇÏ ÐÁËÅÔÁ.

%package doc
Summary: Documentation for XSANE
Summary(ru_RU.KOI8-R): äÏËÕÍÅÎÔÁÃÉÑ ÄÌÑ XSANE
Group: Graphics
Requires: %name = %version-%release

%description doc
Documentation for XSANE

%description doc -l ru_RU.KOI8-R
äÏËÕÍÅÎÔÁÃÉÑ ÄÌÑ XSANE

%prep
%setup -q
%patch -p0
#%patch1 -p0
#cp -f %%SOURCE3 po/ru.po

# Set browser by default

%__subst 's|BROWSER "netscape|BROWSER "url_handler.sh|g' src/xsane.h

%build
%configure --enable-gtk2 --enable-gimp --enable-lcms
%make_build xsanedocdir=%_docdir/%name-doc-%version

%install
%makeinstall_std xsanedocdir=%_docdir/%name-doc-%version

install -d %buildroot/%_libdir/gimp/2.0/plug-ins
ln -s %_bindir/%name %buildroot/%_libdir/gimp/2.0/plug-ins/%name

install -p -m644 -D %SOURCE1 %buildroot%_miconsdir/%name.xpm
install -p -m644 -D src/%name-32x32.xpm %buildroot%_niconsdir/%name.xpm
install -p -m644 -D src/%name-48x48.xpm %buildroot%_liconsdir/%name.xpm

install -p -m644 -D %name.desktop %buildroot%_desktopdir/%name.desktop

%find_lang %name

%post
%update_menus
%update_scrollkeeper

%postun
%clean_menus
%clean_scrollkeeper


%files -f %name.lang
%doc %name.[A-Z]*
%_bindir/%name
%_datadir/sane/*
%_man1dir/*
%_desktopdir/*
%_niconsdir/*.xpm
%_liconsdir/*.xpm
%_miconsdir/*.xpm
#%doc %name.*

%files doc
%_docdir/%name-doc-%version

%files gimp2
%_libdir/gimp/2.0/plug-ins/%name

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009