auto-import changelog data from foomatic-1.1-0.20010717.4.src.rpm
Mon Aug 06 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.1-0.20010717.4 - move the cache back to /var, sigh. Mon Jul 23 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.1-0.20010717.2 - made foomatic pre-compute its db Wed Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.1-0.20010717.1 - imported from mandrake. Tue Jul 17 2001 Till Kamppeter <till@mandrakesoft.com> 1.1-0.20010717mdk - Added job listing/removal/manipulation and queue control to foomatic-printjob - Support for printing multiple copies with PDQ Sat Jul 14 2001 Till Kamppeter <till@mandrakesoft.com> 1.1-0.20010714mdk - Included the cupsomatic filter script - When a queue is set up, default options can be set now - Help messages of foomatic-configure and foomatic-printjob cleaned up. Fri Jul 13 2001 Till Kamppeter <till@mandrakesoft.com> 1.1-0.20010713mdk - Many bugfixes in "foomatic-printjob". - "foomatic-configure" adds the Foomatic config file directory automatically to the search paths of PDQ. - Printing a help page under PDQ was broken. Thu Jul 12 2001 Stefan van der Eijk <stefan@eijk.nu> 1.1-0.20010712mdk - BuildRequires: perl-devel Wed Jul 11 2001 Till Kamppeter <till@mandrakesoft.com> 1.1-0.20010711mdk - initial release. - Deleted the obsolete drivers "stp", "cZ11", and "hpdj". - Patch applied which flushes the memory cache regularly, otherwise foomatic-configure would hang when the Foomatic data of GIMP-Print is installed.
This commit is contained in:
parent
0474984577
commit
2cae508b29
@ -0,0 +1 @@
|
|||||||
|
foomatic-20010717.tar.bz2
|
141
foomatic.spec
Normal file
141
foomatic.spec
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
Summary: Foomatic printer database.
|
||||||
|
Name: foomatic
|
||||||
|
Version: 1.1
|
||||||
|
Release: 0.20010717.4
|
||||||
|
License: GPL
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
|
Source: http://www.linuxprinting.org/foomatic-20010717.tar.bz2
|
||||||
|
|
||||||
|
Url: http://www.linuxprinting.org
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRoot: %_tmppath/%name-%version-%release-root
|
||||||
|
Requires: perl-Storable >= 0.6.11, perl-DateManip >= 5.39, perl-libxml-enno >= 1.02
|
||||||
|
Requires: perl-libxml-perl >= 0.07, perl-Parse-Yapp >= 1.04, perl-XML-Dumper >= 0.4
|
||||||
|
Requires: perl-XML-Encoding >= 1.01, perl-XML-Parser >= 2.29, perl-XML-Twig >= 2.02
|
||||||
|
Requires: perl-XML-Grove, perl-libwww-perl
|
||||||
|
BuildRequires: perl-Storable >= 0.6.11, perl-DateManip >= 5.39, perl-libxml-enno >= 1.02
|
||||||
|
BuildRequires: perl-libxml-perl >= 0.07, perl-Parse-Yapp >= 1.04, perl-XML-Dumper >= 0.4
|
||||||
|
BuildRequires: perl-XML-Encoding >= 1.01, perl-XML-Parser >= 2.29, perl-XML-Twig >= 2.02
|
||||||
|
BuildRequires: perl-XML-Grove, perl-libwww-perl
|
||||||
|
BuildArchitectures: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Foomatic is a comprehensive, spooler-independent database of printers,
|
||||||
|
printer drivers, and driver descriptions. It contains utilities to
|
||||||
|
generate driver description files and printer queues for CUPS, LPD,
|
||||||
|
LPRng, and PDQ using the database. There is also the possibility to
|
||||||
|
read the PJL options out of PJL-capable laser printers and take them
|
||||||
|
into account at the driver description file generation.
|
||||||
|
|
||||||
|
There are spooler-independent command line interfaces to manipulate
|
||||||
|
queues (foomatic-configure) and to print files/manipulate jobs
|
||||||
|
(foomatic printjob).
|
||||||
|
|
||||||
|
The site http://www.linuxprinting.org/ is based in this database.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q -n foomatic
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
# --------------------------------------------------------------------
|
||||||
|
# Begin REALLY EXPENSIVE DB COMPILE PHASE
|
||||||
|
# foomatic-compiledb takes 150 megs of memory per thread, AND takes
|
||||||
|
# several hours to run.
|
||||||
|
|
||||||
|
# So, to debug the rpm, compile it once, and copy the cache dir to
|
||||||
|
# someplace else on the system, and then set the if blocks appropriately
|
||||||
|
|
||||||
|
# precompile the cache.
|
||||||
|
make testing
|
||||||
|
|
||||||
|
%if 1
|
||||||
|
# Pre-compile the db
|
||||||
|
echo "use lib '.';" > foomatic-compiledb.tmp
|
||||||
|
cat foomatic-compiledb >> foomatic-compiledb.tmp
|
||||||
|
# j * 150m == memory reqs
|
||||||
|
perl ./foomatic-compiledb.tmp -j 2
|
||||||
|
|
||||||
|
# Pregenerate the overview
|
||||||
|
echo "use lib '.';" > foomatic-configure.tmp
|
||||||
|
cat foomatic-configure >> foomatic-configure.tmp
|
||||||
|
perl ./foomatic-configure.tmp -O > /dev/null
|
||||||
|
|
||||||
|
find cache -type d -exec chmod 0755 '{}' ';'
|
||||||
|
%endif
|
||||||
|
|
||||||
|
make clean
|
||||||
|
# END REALLY EXPENSIVE DB COMPILE PHASE
|
||||||
|
# --------------------------------------------------------------------
|
||||||
|
|
||||||
|
make PREFIX=%{_prefix} INSTALLPREFIX=%buildroot
|
||||||
|
|
||||||
|
%install
|
||||||
|
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
eval `perl '-V:installsitelib'`
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/$installsitelib
|
||||||
|
export INSTALLSITELIB=$RPM_BUILD_ROOT/$installsitelib
|
||||||
|
make PREFIX=%{_prefix} \
|
||||||
|
INSTALLPREFIX=%buildroot \
|
||||||
|
INSTALLSITELIB=$RPM_BUILD_ROOT/$installsitelib \
|
||||||
|
install
|
||||||
|
|
||||||
|
%if 1
|
||||||
|
cp -a cache/* $RPM_BUILD_ROOT/var/cache/foomatic
|
||||||
|
%else
|
||||||
|
cp -a ../foomatic.cache/* $RPM_BUILD_ROOT/var/cache/foomatic/
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -fr %buildroot
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README USAGE ChangeLog
|
||||||
|
%_bindir/*
|
||||||
|
%_sbindir/*
|
||||||
|
%_libdir/perl5/site_perl/*/Foomatic
|
||||||
|
%dir %_libdir/cups
|
||||||
|
%_libdir/cups/*
|
||||||
|
%dir /var/cache/foomatic
|
||||||
|
/var/cache/foomatic/*
|
||||||
|
%_datadir/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 6 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.1-0.20010717.4
|
||||||
|
- move the cache back to /var, sigh.
|
||||||
|
|
||||||
|
* Mon Jul 23 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.1-0.20010717.2
|
||||||
|
- made foomatic pre-compute its db
|
||||||
|
|
||||||
|
* Thu Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.1-0.20010717.1
|
||||||
|
- imported from mandrake.
|
||||||
|
|
||||||
|
* Tue Jul 17 2001 Till Kamppeter <till@mandrakesoft.com> 1.1-0.20010717mdk
|
||||||
|
- Added job listing/removal/manipulation and queue control to
|
||||||
|
foomatic-printjob
|
||||||
|
- Support for printing multiple copies with PDQ
|
||||||
|
|
||||||
|
* Fri Jul 14 2001 Till Kamppeter <till@mandrakesoft.com> 1.1-0.20010714mdk
|
||||||
|
- Included the cupsomatic filter script
|
||||||
|
- When a queue is set up, default options can be set now
|
||||||
|
- Help messages of foomatic-configure and foomatic-printjob cleaned up.
|
||||||
|
|
||||||
|
* Fri Jul 13 2001 Till Kamppeter <till@mandrakesoft.com> 1.1-0.20010713mdk
|
||||||
|
- Many bugfixes in "foomatic-printjob".
|
||||||
|
- "foomatic-configure" adds the Foomatic config file directory automatically
|
||||||
|
to the search paths of PDQ.
|
||||||
|
- Printing a help page under PDQ was broken.
|
||||||
|
|
||||||
|
* Thu Jul 12 2001 Stefan van der Eijk <stefan@eijk.nu> 1.1-0.20010712mdk
|
||||||
|
- BuildRequires: perl-devel
|
||||||
|
|
||||||
|
* Wed Jul 11 2001 Till Kamppeter <till@mandrakesoft.com> 1.1-0.20010711mdk
|
||||||
|
- initial release.
|
||||||
|
- Deleted the obsolete drivers "stp", "cZ11", and "hpdj".
|
||||||
|
- Patch applied which flushes the memory cache regularly, otherwise
|
||||||
|
foomatic-configure would hang when the Foomatic data of GIMP-Print is
|
||||||
|
installed.
|
Loading…
Reference in New Issue
Block a user