Репозитории ALT
S: | 4.0.20230906-alt1 |
5.1: | 4.0.20110520-alt1 |
4.1: | 3.0.2.20081126-alt8.M41.1 |
4.0: | 3.0.2-alt6.20071012 |
+backports: | 3.0.2.20081126-alt8.M40.1 |
3.0: | 3.0.2-alt1.20050404 |
Группа :: Издательство
Пакет: foomatic-db
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define snapshot 20071012
Packager: Stanislav Ievlev <inger at altlinux.org>
Name: foomatic-db
Version: 3.0.2
Release: alt6.%snapshot
Summary: Foomatic printer database
License: GPL
Group: Publishing
BuildArch: noarch
Url: http://www.linuxprinting.org
Source: http://www.linuxprinting.org/download/foomatic/%name-%version.tar
Patch: foomatic-db-3.0.2-suse-A4.patch
PreReq: foomatic-db-engine = %version
#we need foomatic-kitload during install
BuildPreReq: foomatic-db-engine cups >= 1.2.1
# Automatically added by buildreq on Fri May 26 2006 (-bi)
BuildRequires: cups foomatic-db-engine
%description
This package is the Foomatic database, an XML database containing
information about the capabilities of near 1000 printers and around
250 drivers. Especially it contains the information how and with which
options the drivers have to be executed.
The site http://www.linuxprinting.org/ is based in this database.
%prep
%setup -q
%patch -p1
%build
./make_configure
%configure --disable-gzip-ppds
# Delete drivers with empty command line prototype, they would give
# unusable printer/driver combos.
FOOMATICDB=`pwd` %_sbindir/foomatic-cleanupdrivers
%install
# Install data files
make PREFIX=%_prefix \
DESTDIR=%buildroot \
install
#force A4
find %buildroot/%_datadir/%name/model -name "*.ppd" -print0 |
xargs -r0 perl -pi -e 's:^(\*Default.*)Letter\s*$:$1A4\n:; \
s:^(\*ImageableArea A4.*\:\s+)"0 0 595 842":$1"24 48 571 818":; \
s:^(\*ImageableArea Letter.*\:\s+)"0 0 612 792":$1"24 48 588 768":; \
s:\s\n:\n:'
%files
%doc README USAGE ChangeLog
%_datadir/foomatic
%_datadir/cups/model/foomatic-db-ppds
#not found in tarball
#%exclude %_datadir/foomatic/db/source/PPD/*.sh
%changelog
…
Полный changelog можно просмотреть здесь
Packager: Stanislav Ievlev <inger at altlinux.org>
Name: foomatic-db
Version: 3.0.2
Release: alt6.%snapshot
Summary: Foomatic printer database
License: GPL
Group: Publishing
BuildArch: noarch
Url: http://www.linuxprinting.org
Source: http://www.linuxprinting.org/download/foomatic/%name-%version.tar
Patch: foomatic-db-3.0.2-suse-A4.patch
PreReq: foomatic-db-engine = %version
#we need foomatic-kitload during install
BuildPreReq: foomatic-db-engine cups >= 1.2.1
# Automatically added by buildreq on Fri May 26 2006 (-bi)
BuildRequires: cups foomatic-db-engine
%description
This package is the Foomatic database, an XML database containing
information about the capabilities of near 1000 printers and around
250 drivers. Especially it contains the information how and with which
options the drivers have to be executed.
The site http://www.linuxprinting.org/ is based in this database.
%prep
%setup -q
%patch -p1
%build
./make_configure
%configure --disable-gzip-ppds
# Delete drivers with empty command line prototype, they would give
# unusable printer/driver combos.
FOOMATICDB=`pwd` %_sbindir/foomatic-cleanupdrivers
%install
# Install data files
make PREFIX=%_prefix \
DESTDIR=%buildroot \
install
#force A4
find %buildroot/%_datadir/%name/model -name "*.ppd" -print0 |
xargs -r0 perl -pi -e 's:^(\*Default.*)Letter\s*$:$1A4\n:; \
s:^(\*ImageableArea A4.*\:\s+)"0 0 595 842":$1"24 48 571 818":; \
s:^(\*ImageableArea Letter.*\:\s+)"0 0 612 792":$1"24 48 588 768":; \
s:\s\n:\n:'
%files
%doc README USAGE ChangeLog
%_datadir/foomatic
%_datadir/cups/model/foomatic-db-ppds
#not found in tarball
#%exclude %_datadir/foomatic/db/source/PPD/*.sh
%changelog
…
Полный changelog можно просмотреть здесь