Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37567376
en ru br
Репозитории 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
www.altlinux.org/Changes

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

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

%define snapshot 20050404

Name: foomatic-db
Version: 3.0.2
Release: alt1.%snapshot

Summary: Foomatic printer database
License: GPL
Group: Publishing

BuildArch: noarch


Url: http://www.linuxprinting.org

Source: http://www.linuxprinting.org/download/foomatic/foomatic-db-%snapshot.tar.bz2
Source100: lexmark-foomatic-kit.tar.bz2

Patch: foomatic-alt-lexmarkinstall-hack.patch
Patch1: foomatic-alt-req.patch

PreReq: foomatic-db-engine = %version
PreReq: printer-drivers-utils

#we need foomatic-kitload during install

BuildPreReq: 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 -n %name-%snapshot -a 100
%patch -p1
%patch1 -p1


%build
./make_configure
%configure
%make

%install
%makeinstall
/usr/sbin/foomatic-kitload -k lexmark-foomatic-kit/foomatic-db -d $RPM_BUILD_ROOT

install -d -m755 $RPM_BUILD_ROOT%_bindir
install -d -m755 $RPM_BUILD_ROOT%_sbindir

install -pm 755 lexmark-foomatic-kit/lexmarkwrapper $RPM_BUILD_ROOT%_bindir
install -pm 755 lexmark-foomatic-kit/lexmarkmaintain $RPM_BUILD_ROOT%_sbindir
install -pm 755 lexmark-foomatic-kit/lexmarkinstall $RPM_BUILD_ROOT%_sbindir

#fix permissions

pushd $RPM_BUILD_ROOT%_datadir
find . -type f -exec chmod 644 {} ';'
popd

chmod -x README USAGE ChangeLog

%post
/usr/bin/update-printers-db

%files
%doc README USAGE ChangeLog
%_bindir/*
%_sbindir/*
%_datadir/*
%exclude %_datadir/foomatic/kitload.log
%exclude %_datadir/foomatic/db/source/driver/gimp-print.xml

%changelog

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

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