]> 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#
4744bd90 2# "$Id: cups.spec.in 5224 2006-03-04 02:00:43Z 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}}
37
bd7854cb 38Summary: Common UNIX Printing System
ef416fc2 39Name: cups
40Version: @CUPS_VERSION@
41Release: 0
42Epoch: 1
43License: GPL
44Group: System Environment/Daemons
45Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.gz
46Url: http://www.cups.org
47Packager: Anonymous <anonymous@foo.com>
48Vendor: Easy Software Products
49
50# Use buildroot so as not to disturb the version already installed
51BuildRoot: /tmp/%{name}-root
52
53# Dependencies...
54Requires: %{name}-libs = %{epoch}:%{version}
55Obsoletes: lpd, lpr, LPRng
56Provides: lpd, lpr, LPRng
57
58%package devel
bd7854cb 59Summary: Common UNIX Printing System - development environment
ef416fc2 60Group: Development/Libraries
61Requires: %{name}-libs = %{epoch}:%{version}
62
63%package libs
bd7854cb 64Summary: Common UNIX Printing System - shared libraries
ef416fc2 65Group: System Environment/Libraries
66Provides: libcups1
67
68%package lpd
bd7854cb 69Summary: Common UNIX Printing System - LPD support
ef416fc2 70Group: System Environment/Daemons
71Requires: %{name} = %{epoch}:%{version} xinetd
72
bd7854cb 73%package ja
74Summary: Common UNIX Printing System - Japanese support
75Group: System Environment/Daemons
76Requires: %{name} = %{epoch}:%{version}
77
b423cd4c 78%if %{?_with_php:1}%{!?_with_php:0}
79%package php
80Summary: Common UNIX Printing System - PHP support
81Group: Development/Languages
82Requires: %{name}-libs = %{epoch}:%{version}
83%endif
84
ef416fc2 85%description
86The Common UNIX Printing System provides a portable printing layer for
87