Put back setup
This commit is contained in:
parent
0db2f50030
commit
b8742b0d7b
120
cups.spec
120
cups.spec
@ -133,8 +133,6 @@ BuildRequires: automake
|
|||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
# gcc-c++ for ppdc and cups-driverd
|
# gcc-c++ for ppdc and cups-driverd
|
||||||
Buildrequires: gcc-c++
|
Buildrequires: gcc-c++
|
||||||
# require git-core for autosetup
|
|
||||||
BuildRequires: git-core
|
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
# make is used for compilation
|
# make is used for compilation
|
||||||
@ -274,65 +272,65 @@ is installed with a printer application, its print queue acts as IPP everywhere
|
|||||||
to CUPS daemon. This solution will substitute printer drivers and raw queues in the future.
|
to CUPS daemon. This solution will substitute printer drivers and raw queues in the future.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n cups-%{VERSION} -S git
|
%setup -q -n cups-%{VERSION}
|
||||||
## Use the system pam configuration.
|
# Use the system pam configuration.
|
||||||
#%patch1 -p1 -b .system-auth
|
%patch1 -p1 -b .system-auth
|
||||||
## Prevent multilib conflict in cups-config script.
|
# Prevent multilib conflict in cups-config script.
|
||||||
#%patch2 -p1 -b .multilib
|
%patch2 -p1 -b .multilib
|
||||||
## Ignore rpm save/new files in the banners directory.
|
# Ignore rpm save/new files in the banners directory.
|
||||||
#%patch3 -p1 -b .banners
|
%patch3 -p1 -b .banners
|
||||||
## Don't export SSLLIBS to cups-config.
|
# Don't export SSLLIBS to cups-config.
|
||||||
#%patch4 -p1 -b .no-export-ssllibs
|
%patch4 -p1 -b .no-export-ssllibs
|
||||||
## Allow file-based usb device URIs.
|
# Allow file-based usb device URIs.
|
||||||
#%patch5 -p1 -b .direct-usb
|
%patch5 -p1 -b .direct-usb
|
||||||
## Increase driverd timeout to 70s to accommodate foomatic (bug #744715).
|
# Increase driverd timeout to 70s to accommodate foomatic (bug #744715).
|
||||||
#%patch7 -p1 -b .driverd-timeout
|
%patch6 -p1 -b .driverd-timeout
|
||||||
## Support for errno==ENOSPACE-based USB paper-out reporting.
|
# Support for errno==ENOSPACE-based USB paper-out reporting.
|
||||||
#%patch9 -p1 -b .usb-paperout
|
%patch7 -p1 -b .usb-paperout
|
||||||
## Allow the usb backend to understand old-style URI formats.
|
# Allow the usb backend to understand old-style URI formats.
|
||||||
#%patch10 -p1 -b .uri-compat
|
%patch8 -p1 -b .uri-compat
|
||||||
## Add an SNMP query for HP's device ID OID (STR #3552).
|
# Add an SNMP query for HP's device ID OID (STR #3552).
|
||||||
#%patch11 -p1 -b .deviceid-oid
|
%patch9 -p1 -b .deviceid-oid
|
||||||
## Use IP_FREEBIND socket option when binding listening sockets (bug #970809).
|
# Use IP_FREEBIND socket option when binding listening sockets (bug #970809).
|
||||||
#%patch14 -p1 -b .freebind
|
%patch10 -p1 -b .freebind
|
||||||
## Fixes for jobs with multiple files and multiple formats.
|
# Fixes for jobs with multiple files and multiple formats.
|
||||||
#%patch15 -p1 -b .ipp-multifile
|
%patch11 -p1 -b .ipp-multifile
|
||||||
## Increase web interface get-devices timeout to 10s (bug #996664).
|
# Increase web interface get-devices timeout to 10s (bug #996664).
|
||||||
#%patch16 -p1 -b .web-devices-timeout
|
%patch12 -p1 -b .web-devices-timeout
|
||||||
## Set the default for SyncOnClose to Yes.
|
# Set the default for SyncOnClose to Yes.
|
||||||
#%patch17 -p1 -b .synconclose
|
%patch13 -p1 -b .synconclose
|
||||||
## Add failover backend (bug #1689209)
|
# Add failover backend (bug #1689209)
|
||||||
#%patch19 -p1 -b .failover
|
%patch14 -p1 -b .failover
|
||||||
#
|
|
||||||
#%if %{lspp}
|
%if %{lspp}
|
||||||
## LSPP support.
|
# LSPP support.
|
||||||
#%patch100 -p1 -b .lspp
|
%patch100 -p1 -b .lspp
|
||||||
#%endif
|
%endif
|
||||||
#
|
|
||||||
## Log extra debugging information if no filters are available.
|
# Log extra debugging information if no filters are available.
|
||||||
#%patch20 -p1 -b .filter-debug
|
%patch15 -p1 -b .filter-debug
|
||||||
## Added IEEE 1284 Device ID for a Dymo device (bug #747866).
|
# Added IEEE 1284 Device ID for a Dymo device (bug #747866).
|
||||||
#%patch21 -p1 -b .dymo-deviceid
|
%patch16 -p1 -b .dymo-deviceid
|
||||||
#%patch23 -p1 -b .print-color-mode
|
%patch17 -p1 -b .print-color-mode
|
||||||
#%patch24 -p1 -b .ppdleak
|
%patch18 -p1 -b .ppdleak
|
||||||
#%patch25 -p1 -b .rastertopwg-crash
|
%patch19 -p1 -b .rastertopwg-crash
|
||||||
## job for disconnected devices are processing for eternity
|
# job for disconnected devices are processing for eternity
|
||||||
## https://github.com/apple/cups/pull/5782
|
# https://github.com/apple/cups/pull/5782
|
||||||
#%patch26 -p1 -b .etimedout
|
%patch20 -p1 -b .etimedout
|
||||||
#%patch27 -p1 -b .webui-uri
|
%patch21 -p1 -b .webui-uri
|
||||||
#%patch28 -p1 -b .ipptool-mdns-uri
|
%patch22 -p1 -b .ipptool-mdns-uri
|
||||||
#%patch29 -p1 -b .manual-copies
|
%patch23 -p1 -b .manual-copies
|
||||||
#%patch30 -p1 -b .printer-alert
|
%patch24 -p1 -b .printer-alert
|
||||||
#%patch31 -p1 -b .avahi-leak
|
%patch25 -p1 -b .avahi-leak
|
||||||
#%patch32 -p1 -b .unit-files
|
%patch26 -p1 -b .unit-files
|
||||||
## Make cups.service Type=notify (bug #1088918).
|
# Make cups.service Type=notify (bug #1088918).
|
||||||
#%patch13 -p1 -b .systemd-socket
|
%patch27 -p1 -b .systemd-socket
|
||||||
## CUPS may fail to start if NIS groups are used (bug #1494558)
|
# CUPS may fail to start if NIS groups are used (bug #1494558)
|
||||||
#%patch18 -p1 -b .ypbind
|
%patch28 -p1 -b .ypbind
|
||||||
## https://github.com/OpenPrinting/cups/pull/31
|
# https://github.com/OpenPrinting/cups/pull/31
|
||||||
#%patch33 -p1 -b .require-socket
|
%patch29 -p1 -b .require-socket
|
||||||
## 1822154 - cups.service doesn't execute automatically on request
|
# 1822154 - cups.service doesn't execute automatically on request
|
||||||
#%patch22 -p1 -b .autostart-when-enabled
|
%patch30 -p1 -b .autostart-when-enabled
|
||||||
|
|
||||||
|
|
||||||
# Log to the system journal by default (bug #1078781, bug #1519331).
|
# Log to the system journal by default (bug #1078781, bug #1519331).
|
||||||
|
Loading…
Reference in New Issue
Block a user