SHA256
1
0
forked from pool/pappl
pappl/pappl.spec
Jan Engelhardt 8a0806b20d Accepting request 855030 from home:alois:branches:Printing
- Update to version 1.0.0
  * papplSystemLoadState would not load printers whose device
     IDs contained the # character.
  * Passing "auto" for the driver name would cause a crash if
    there was no auto-add callback.
  * Added papplPrinterGetPath API to get the path for a
    printer web page.
  * The papplPrinterAddLink and papplSystemAddLink functions
    now accept an "options" argument instead of the "secure"
    boolean in order to allow links to be added to multiple
    places on the web interface in addition to requesting a
    secure (HTTPS) link.
  version 1.0rc1:
  * Added IEEE-1284 device ID to argument list for printer
    driver callbacks.
  * Documentation updated
  * Printers discovered via DNS-SD now report their IEEE-1284
    device ID string.
  * The "auto-add" callback is now part of the system's printer
    driver interface, allowing IPP, web, and command-line
    clients to access it.
  * Now save state after deleting a printer.
  * Now check whether a named printer already exists.
  * Support for "output-bin-default" was missing from the web
    interface.
  * Fixed support for vendor options at the command-line.
  * The main loop now shows an error message if an option is
    provided after "-o" without a space.
  * Fixed test page and identify buttons.
  * Code cleanup.
  * Boolean vendor options are now shown as checkboxes.
  * Made several improvements to the web interface for adding
    printers.
  * papplSystemLoadState no longer crashes when it cannot
    create a printer.
  * Fixed a crash bug in the "autoadd" command provided by
    papplMainloop.
  * Added a printer creation callback to
    papplSystemSetPrinterDrivers that is run after a printer
    is created.
  * Added the "path" value for the DNS-SD printer web page, and
    added a registration for the system web page in multi-queue
    mode.
  * papplDeviceRead now has a 100ms timeout for USB and
    network connections.
  * Implemented back-channel and status updates for the USB
    printer gadget.
  * Finished implementation of test suite for major code
    paths/job processing functionality.
  * Fixed a bug in the log rotation code.
  * Fixed some threading bugs with the various object lists
    managed by the system.

OBS-URL: https://build.opensuse.org/request/show/855030
OBS-URL: https://build.opensuse.org/package/show/Printing/pappl?expand=0&rev=4
2020-12-12 13:46:08 +00:00

111 lines
3.4 KiB
RPMSpec

#
# spec file for package pappl
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: pappl
%define lname libpappl1
Version: 1.0.0
Release: 0
Summary: A printer application framework
License: Apache-2.0
Group: Hardware/Printing
URL: https://www.msweet.org/pappl/
Source: https://github.com/michaelrsweet/pappl/releases/download/v%version/pappl-%version.tar.gz
Source2: https://github.com/michaelrsweet/pappl/releases/download/v%version/pappl-%version.tar.gz.sig
BuildRequires: cups-devel >= 2.2
BuildRequires: pam-devel
BuildRequires: pkgconfig(avahi-client)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpng16)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(zlib)
%description
PAPPL is a C-based framework/library for developing CUPS Printer
Applications, which are the recommended replacement for printer
drivers. PAPPL supports LPrint and a Gutenprint Printer Application,
but it is sufficiently general purpose to support any kind of printer
or driver that can be used on desktops, servers and in embedded
environments.
PAPPL supports JPEG, PNG, PWG Raster, Apple Raster, and "raw"
printing to printers connected via USB and network
(AppSocket/JetDirect) connections. PAPPL provides access to the
printer via its embedded IPP Everywhere service, either local to the
computer or on your whole network, which can then be discovered and
used by any application.
%package -n %lname
Summary: A printer application framework
Group: System/Libraries
%description -n %lname
PAPPL is a framework/library for developing CUPS Printer
Applications, which are the recommended replacement for printer
drivers.
PAPPL supports JPEG, PNG, PWG Raster, Apple Raster, and "raw"
printing to printers connected via USB and network
(AppSocket/JetDirect) connections.
%package devel
Summary: Development files for PAPPL
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
PAPPL is a C-based framework/library for developing CUPS Printer
Applications, which are the recommended replacement for printer
drivers.
This subpackage contains the headers for the library.
%prep
%autosetup -p1
%build
# includedir intentional, cf. bugzilla.opensuse.org/795968
%configure --disable-static --includedir="%_includedir/%name"
%make_build
%install
# quite dumb to concatenate RPM_BUILD_ROOT and DESTDIR
%make_install RPM_BUILD_ROOT=""
rm -f "%buildroot/%_libdir"/*.a
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files
%_bindir/pappl-*
%_mandir/man1/*.1*
%_datadir/%name/
%license LICENSE
%files -n %lname
%_libdir/libpappl.so.1*
%files devel
%_includedir/%name/
%_libdir/libpappl.so
%_libdir/pkgconfig/*.pc
%_mandir/man3/pappl-*
%_datadir/doc/%name/
%changelog