Группа :: Издательство
Пакет: hpijs
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: hpijs
Version: 1.6.2
Release: alt2.1
%define foomatic_snapshot 20040828
%define fooversion 1.6.1
Summary: Hewlett-Packard Co. Inkjet Driver Project
License: BSD-Style
Group: Publishing
Conflicts: ghostscript <= 7.05-alt15
URL: http://hpinkjet.sourceforge.net
Source: http://hpinkjet.sourceforge.net/%name-%version.tar.bz2
Source1: http://www.linuxprinting.org/download/foomatic/foomatic-db-%name-%fooversion-%foomatic_snapshot.tar.bz2
Patch: http://www.linuxprinting.org/download/printing/hpijs/%name-1.4.1-rss.1.patch
# Automatically added by buildreq on Tue Sep 16 2003
BuildRequires: gcc-c++ libstdc++-devel
%description
The Hewlett-Packard Inkjet Driver Project is a add-on to the GNU
Ghostscript application. This driver is open source software based on
the Hewlett Packard Appliance Printing Development Kit APDK for
deskjet printers.
%package foomatic
Summary: foomatic data for %name
Group: Publishing
Requires : %name = %version-%release
PreReq: foomatic-db-engine >= 3.0.1
PreReq: printer-drivers-utils
%description foomatic
foomatic database for %name
%prep
%setup -q -a 1
%patch -p1
cat <<EOF >LICENSE
License for the HP InkJet Server (/usr/bin/hpijs)
-------------------------------------------------
EOF
head -28 models.cpp | tail -26 >> LICENSE
cd ..
%build
#we install foomatic data in separate package
%configure --disable-cups-install --disable-foomatic-install
%make
(cd foomatic-db-hpijs-%fooversion-%foomatic_snapshot
# Makefile generation ("./make_configure" for CVS snapshots)
./make_configure
# Fix for lib64 architectures, avoid patch
perl -pi -e "s at /usr/lib/(cups|pdq|ppr) at %_libdir/\1 at g" configure
%configure
%make
)
%post foomatic
/usr/bin/update-printers-db
%install
%makeinstall
install -d $RPM_BUILD_ROOT/%_datadir/cups/model/%name
(cd foomatic-db-hpijs-%fooversion-%foomatic_snapshot
%make DESTDIR=$RPM_BUILD_ROOT install
)
%files
%doc hpijs_readme.html LICENSE*
%_bindir/%name
%files foomatic
%doc foomatic-db-hpijs-%fooversion-%foomatic_snapshot/TODO foomatic-db-hpijs-%fooversion-%foomatic_snapshot/USAGE
%doc foomatic-db-hpijs-%fooversion-%foomatic_snapshot/ChangeLog foomatic-db-hpijs-%fooversion-%foomatic_snapshot/README
%_datadir/foomatic
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.6.2
Release: alt2.1
%define foomatic_snapshot 20040828
%define fooversion 1.6.1
Summary: Hewlett-Packard Co. Inkjet Driver Project
License: BSD-Style
Group: Publishing
Conflicts: ghostscript <= 7.05-alt15
URL: http://hpinkjet.sourceforge.net
Source: http://hpinkjet.sourceforge.net/%name-%version.tar.bz2
Source1: http://www.linuxprinting.org/download/foomatic/foomatic-db-%name-%fooversion-%foomatic_snapshot.tar.bz2
Patch: http://www.linuxprinting.org/download/printing/hpijs/%name-1.4.1-rss.1.patch
# Automatically added by buildreq on Tue Sep 16 2003
BuildRequires: gcc-c++ libstdc++-devel
%description
The Hewlett-Packard Inkjet Driver Project is a add-on to the GNU
Ghostscript application. This driver is open source software based on
the Hewlett Packard Appliance Printing Development Kit APDK for
deskjet printers.
%package foomatic
Summary: foomatic data for %name
Group: Publishing
Requires : %name = %version-%release
PreReq: foomatic-db-engine >= 3.0.1
PreReq: printer-drivers-utils
%description foomatic
foomatic database for %name
%prep
%setup -q -a 1
%patch -p1
cat <<EOF >LICENSE
License for the HP InkJet Server (/usr/bin/hpijs)
-------------------------------------------------
EOF
head -28 models.cpp | tail -26 >> LICENSE
cd ..
%build
#we install foomatic data in separate package
%configure --disable-cups-install --disable-foomatic-install
%make
(cd foomatic-db-hpijs-%fooversion-%foomatic_snapshot
# Makefile generation ("./make_configure" for CVS snapshots)
./make_configure
# Fix for lib64 architectures, avoid patch
perl -pi -e "s at /usr/lib/(cups|pdq|ppr) at %_libdir/\1 at g" configure
%configure
%make
)
%post foomatic
/usr/bin/update-printers-db
%install
%makeinstall
install -d $RPM_BUILD_ROOT/%_datadir/cups/model/%name
(cd foomatic-db-hpijs-%fooversion-%foomatic_snapshot
%make DESTDIR=$RPM_BUILD_ROOT install
)
%files
%doc hpijs_readme.html LICENSE*
%_bindir/%name
%files foomatic
%doc foomatic-db-hpijs-%fooversion-%foomatic_snapshot/TODO foomatic-db-hpijs-%fooversion-%foomatic_snapshot/USAGE
%doc foomatic-db-hpijs-%fooversion-%foomatic_snapshot/ChangeLog foomatic-db-hpijs-%fooversion-%foomatic_snapshot/README
%_datadir/foomatic
%changelog
…
Полный changelog можно просмотреть здесь