Репозитории ALT
S: | 0.999-alt6.2 |
5.1: | 0.997-alt1 |
4.1: | 0.995-alt1 |
4.0: | 0.991-alt3 |
3.0: | 0.97-alt2 |
Группа :: Графика
Пакет: xsane
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: xsane
Version: 0.97
Release: alt2
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.mostang.com/pub/sane/xsane/%name-%version.tar.bz2
Source1: %name-16x16.xpm
Source2: %name.menu
Source3: %name-%version.ru.po
Patch: %name-%version-debian.patch
Patch1: %name-%version-printf.patch
# Automatically added by buildreq on Mon Jan 31 2005
BuildRequires: fontconfig freetype2 glib2-devel hostinfo libatk-devel libgimp2-devel libgphoto2-devel libgtk+2-devel libieee1284-devel libjpeg-devel libpango-devel libpng-devel libsane-devel libtiff-devel libusb-devel pkgconfig recode xorg-x11-libs zlib-devel
BuildPreReq: recode
%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 mozilla by default
%__subst 's|BROWSER "netscape|BROWSER "mozilla|g' src/xsane.h
%build
%configure --enable-gtk2 --enable-gimp
%__subst "s|/sane/xsane/doc|/doc/%name-%version/doc|" src/Makefile doc/Makefile
# What's problem with sane backend docs?
#%__subst "s|/usr/local/share/sane/|/usr/share/doc/%name-%version/doc|" doc/sane-backends-doc.html
#TODO: will we fix it to %_libdir?
%__subst 's#,-rpath,/usr/lib##' src/Makefile
cd po
make utf8
cd -
%make_build
%install
%makeinstall
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 src/%name-32x32.xpm %buildroot%_iconsdir/%name.xpm
install -p -m644 -D src/%name-48x48.xpm %buildroot%_liconsdir/%name.xpm
install -p -m644 -D %SOURCE1 %buildroot%_miconsdir/%name.xpm
install -p -m644 -D %SOURCE2 %buildroot%_menudir/%name
%__install -d %buildroot/%_docdir/%name-%version
%__install %name.* %buildroot/%_docdir/%name-%version/
%find_lang %name
%post
%update_menus
%update_scrollkeeper
%postun
%clean_menus
%clean_scrollkeeper
%files -f %name.lang
%_bindir/%name
%_docdir/%name-%version
%exclude %_docdir/%name-%version/doc
%exclude %_docdir/%name-%version/xsane.spec*
%_datadir/sane/*
%_mandir/man?/*
%_menudir/*
%_iconsdir/*.xpm
%_iconsdir/*/*.xpm
#%doc %name.*
%files doc
%_docdir/%name-%version/doc
%files gimp2
%_libdir/gimp/2.0/plug-ins/%name
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.97
Release: alt2
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.mostang.com/pub/sane/xsane/%name-%version.tar.bz2
Source1: %name-16x16.xpm
Source2: %name.menu
Source3: %name-%version.ru.po
Patch: %name-%version-debian.patch
Patch1: %name-%version-printf.patch
# Automatically added by buildreq on Mon Jan 31 2005
BuildRequires: fontconfig freetype2 glib2-devel hostinfo libatk-devel libgimp2-devel libgphoto2-devel libgtk+2-devel libieee1284-devel libjpeg-devel libpango-devel libpng-devel libsane-devel libtiff-devel libusb-devel pkgconfig recode xorg-x11-libs zlib-devel
BuildPreReq: recode
%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 mozilla by default
%__subst 's|BROWSER "netscape|BROWSER "mozilla|g' src/xsane.h
%build
%configure --enable-gtk2 --enable-gimp
%__subst "s|/sane/xsane/doc|/doc/%name-%version/doc|" src/Makefile doc/Makefile
# What's problem with sane backend docs?
#%__subst "s|/usr/local/share/sane/|/usr/share/doc/%name-%version/doc|" doc/sane-backends-doc.html
#TODO: will we fix it to %_libdir?
%__subst 's#,-rpath,/usr/lib##' src/Makefile
cd po
make utf8
cd -
%make_build
%install
%makeinstall
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 src/%name-32x32.xpm %buildroot%_iconsdir/%name.xpm
install -p -m644 -D src/%name-48x48.xpm %buildroot%_liconsdir/%name.xpm
install -p -m644 -D %SOURCE1 %buildroot%_miconsdir/%name.xpm
install -p -m644 -D %SOURCE2 %buildroot%_menudir/%name
%__install -d %buildroot/%_docdir/%name-%version
%__install %name.* %buildroot/%_docdir/%name-%version/
%find_lang %name
%post
%update_menus
%update_scrollkeeper
%postun
%clean_menus
%clean_scrollkeeper
%files -f %name.lang
%_bindir/%name
%_docdir/%name-%version
%exclude %_docdir/%name-%version/doc
%exclude %_docdir/%name-%version/xsane.spec*
%_datadir/sane/*
%_mandir/man?/*
%_menudir/*
%_iconsdir/*.xpm
%_iconsdir/*/*.xpm
#%doc %name.*
%files doc
%_docdir/%name-%version/doc
%files gimp2
%_libdir/gimp/2.0/plug-ins/%name
%changelog
…
Полный changelog можно просмотреть здесь