Репозиторий Sisyphus
Последнее обновление: 13 октября 2019 | Пакетов: 17515 | Посещений: 15263752
en ru br
Репозитории ALT
S:5.3.1-alt1
D:5.0.0-alt0.2
5.1: 5.2.4-alt2
4.1: 5.2.1-alt1.M41.1
4.0: 5.0.2-alt1.M40.1
www.altlinux.org/Changes

Группа :: Издательство
Пакет: gutenprint

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ver_major 5.2
%define oldname gimp-print

Name: gutenprint
Version: %ver_major.1
Release: alt1.M41.1
Serial: 1
Summary: GIMP-Print plugin for high-quality image printing
Group: Publishing
License: GPL
Requires: lib%name = %version-%release ghostscript
Url: http://gimp-print.sourceforge.net/

Packager: Valery Inozemtsev <shrek at altlinux.ru>

Provides: %oldname = %version
Obsoletes: %oldname

Source: http://gimp-print.sourceforge.net/%name-%version.tar.bz2
Source1: %name-%version-ru.po

Patch1: gutenprint-5.1.6-alt-link.patch
Patch2: gutenprint-5.1.7-alt-O6.patch
Patch3: gutenprint-5.1.6-alt-autoreconf.patch
Patch4: gutenprint-5.2.1-alt-po.patch

# Automatically added by buildreq on Sat Jan 05 2008

BuildRequires: flex foomatic-db-engine libcups-devel libgimp-devel libgnutls-devel libijs-devel libjpeg-devel
BuildRequires: libltdl-devel libncurses-devel libreadline-devel libssl-devel libtiff-devel intltool

%description
This is a plug-in for the GIMP, which allows printing of images and
photos in very high quality on many modern inkjet printers and also
some lasers. Especially on Epson Stylus printers the quality which one
gets under proprietary operating systems is reached, due to Epson
publishing the protocols of their printers, but other brands of
printers give very high qualities, too. It can also output PostScript
to be able to print out of the GIMP on any printer.

This package contains common files for %name.

%package -n lib%name
Summary: Shared library for high-quality image printing
Group: Publishing
Provides: lib%oldname = %version
Obsoletes: lib%oldname

%description -n lib%name
This is a high-quality printing library used by the GIMP-Print plugin,
the "stp" color/photo inkjet/laser driver in GhostScript, and by
specialized CUPS drivers.

%package -n lib%name-devel
Summary: Headers and links for compiling against libgimpprint
Group: Development/C
Requires: lib%name = %version-%release
Provides: lib%oldname-devel = %version
Obsoletes: lib%oldname-devel

%description -n lib%name-devel
These are the links and header files to compile applications which should
use the libgimpprint library.

%package -n gimp-plugin-%name
Summary: GIMP-Print plugin for high-quality image printing
Group: Publishing
Requires: %name = %version-%release gimp
Provides: %oldname-plugin = %version
Obsoletes: %oldname-plugin

%description -n gimp-plugin-%name
This is a plug-in for the GIMP, which allows printing of images and
photos in very high quality on many modern inkjet printers and also
some lasers. Especially on Epson Stylus printers the quality which one
gets under proprietary operating systems is reached, due to Epson
publishing the protocols of their printers, but other brands of
printers give very high qualities, too. It can also output PostScript
to be able to print out of the GIMP on any printer.

%package foomatic
Summary: foomatic stuff for %name
Group: Publishing
Requires: %name = %version-%release
Provides: %oldname-foomatic = %version
Obsoletes: %oldname-foomatic
PreReq: foomatic-db >= 3.0.1
#BuildArch: noarch

%description foomatic
Drivers for foomatic

%package CUPS
Summary: CUPS's PPDs for %name
Group: Publishing
Requires: %name = %version-%release
Provides: %oldname-CUPS = %version
Obsoletes: %oldname-CUPS

%description CUPS
Drivers for CUPS

%prep
%setup -q -n %name-%version

%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1

install -m644 %SOURCE1 po/ru.po

%build
export AUTOPOINT=true
%autoreconf
%configure \
--enable-shared \
--disable-rpath \
--with-cups \
--with-foomatic \
--with-foomatic3 \
--with-gimp2 \
--with-gimp2-as-gutenprint \
--with-escputil \
--enable-libgutenprintui2 \
--enable-cups-ppds \
--disable-translated-cups-ppds \
--enable-cups-level3-ppds \
--enable-cups-ppds-at-top-level \
--disable-static-genppd \
--disable-static

%make

%install
%make DESTDIR=%buildroot install

find %buildroot%_libdir/%name -name \*.la -delete

%find_lang %name

%post -n lib%name -p %post_ldconfig

%postun -n lib%name -p %postun_ldconfig

%files -f %name.lang
%doc ABOUT-NLS AUTHORS NEWS doc/gutenprint-users-manual.pdf doc/FAQ.html
%_bindir/ijs*
%_bindir/escputil
%_bindir/testpattern
%dir %_prefix/lib/cups
%_prefix/lib/cups/filter
%dir %_datadir/%name
%_datadir/%name/%ver_major
%_datadir/%name/samples
%_man1dir/*.1*

%files -n lib%name
%_libdir/*.so.*
%_libdir/%name

%files -n lib%name-devel
%doc doc/developer/reference-html doc/developer/gutenprint.pdf
%_includedir/%name
%_includedir/%{name}ui2
%_libdir/*.so
%_pkgconfigdir/*.pc

%files -n gimp-plugin-%name
%_libdir/gimp/2.0/plug-ins/%name

%files foomatic
%_datadir/foomatic/db/source/*/*.xml

%files CUPS
%_sysconfdir/cups/*
%_bindir/cups-*
%_sbindir/cups-*
%dir %_prefix/lib/cups
%_prefix/lib/cups/driver
%_datadir/cups/model/C
%_datadir/cups/calibrate.ppm
%_man8dir/*.8*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin