]> git.ipfire.org Git - thirdparty/cups.git/blame - packaging/cups.spec.in
Load cups into easysw/current.
[thirdparty/cups.git] / packaging / cups.spec.in
CommitLineData
ef416fc2 1#
e1d6a774 2# "$Id: cups.spec.in 5310 2006-03-19 03:23:34Z mike $"
ef416fc2 3#
4# RPM "spec" file for the Common UNIX Printing System (CUPS).
5#
6# Original version by Jason McMullan <jmcc@ontv.com>.
7#
8# Copyright 1999-2006 by Easy Software Products, all rights reserved.
9#
10# These coded instructions, statements, and computer programs are the
11# property of Easy Software Products and are protected by Federal
12# copyright law. Distribution and use rights are outlined in the file
13# "LICENSE.txt" which should have been included with this file. If this
14# file is missing or damaged please contact Easy Software Products
15# at:
16#
17# Attn: CUPS Licensing Information
18# Easy Software Products
19# 44141 Airport View Drive, Suite 204
20# Hollywood, Maryland 20636 USA
21#
22# Voice: (301) 373-9600
23# EMail: cups-info@cups.org
24# WWW: http://www.cups.org
25#
26
ecdc0628 27# Conditional build options (--with name/--without name):
28#
29# dbus - Enable/disable DBUS support (default = enable)
b423cd4c 30# php - Enable/disable PHP support (default = enable)
ecdc0628 31
32%{!?_with_dbus: %{!?_without_dbus: %define _with_dbus --with-dbus}}
33%{?_with_dbus: %define _dbus --enable-dbus}
34%{!?_with_dbus: %define _dbus --disable-dbus}
35
b423cd4c 36%{!?_with_php: %{!?_without_php: %define _with_php --with-php}}
e1d6a774 37%{?_with_php: %define _php --with-php}
38%{!?_with_php: %define _php --without-php}
b423cd4c 39
bd7854cb 40Summary: Common UNIX Printing System
ef416fc2 41Name: cups
42Version: @CUPS_VERSION@
43Release: 0
44Epoch: 1
45License: GPL
46Group: System Environment/Daemons
47Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.gz
48Url: http://www.cups.org
49Packager: Anonymous <anonymous@foo.com>
50Vendor: Easy Software Products
51
52# Use buildroot so as not to disturb the version already installed
53BuildRoot: /tmp/%{name}-root
54
55# Dependencies...
56Requires: %{name}-libs = %{epoch}:%{version}
57Obsoletes: lpd, lpr, LPRng
58Provides: lpd, lpr, LPRng
59
60%package devel
bd7854cb 61Summary: Common UNIX Printing System - development environment
ef416fc2 62Group: Development/Libraries
63Requires: %{name}-libs = %{epoch}:%{version}
64
65%package libs
bd7854cb 66Summary: Common UNIX Printing System - shared libraries
ef416fc2 67Group: System Environment/Libraries
68Provides: libcups1
69
70%package lpd
bd7854cb 71Summary: Common UNIX Printing System - LPD support
ef416fc2 72Group: System Environment/Daemons
73Requires: %{name} = %{epoch}:%{version} xinetd
74
e1d6a774 75%package es
76Summary: Common UNIX Printing System - Spanish support
77Group: System Environment/Daemons
78Requires: %{name} = %{epoch}:%{version}
79
bd7854cb 80%package ja
81Summary: Common UNIX Printing System - Japanese support
82Group: System Environment/Daemons
83Requires: %{name} = %{epoch}:%{version}
84
b423cd4c 85%if %{?_with_php:1}%{!?_with_php:0}
86%package php
87Summary: Common UNIX Printing System - PHP support
88Group: Development/Languages
89Requires: %{name}-libs = %{epoch}:%{version}
90%endif
91
ef416fc2 92%description
93The Common UNIX Printing System provides a portable printing layer for
94