]> 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#
f7faf1f5 2# "$Id: cups.spec.in 5584 2006-05-24 11:17:55Z 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
d6ae789d 40%{!?_with_static: %{!?_without_static: %define _without_static --without-static}}
41%{?_with_static: %define _static --enable-static}
42%{!?_with_static: %define _static --disable-static}
43
bd7854cb 44Summary: Common UNIX Printing System
ef416fc2 45Name: cups
46Version: @CUPS_VERSION@
47Release: 0
48Epoch: 1
49License: GPL
50Group: System Environment/Daemons
51Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.gz
52Url: http://www.cups.org
53Packager: Anonymous <anonymous@foo.com>
54Vendor: Easy Software Products
55
56# Use buildroot so as not to disturb the version already installed
57BuildRoot: /tmp/%{name}-root
58
59# Dependencies...
60Requires: %{name}-libs = %{epoch}:%{version}
61Obsoletes: lpd, lpr, LPRng
62Provides: lpd, lpr, LPRng
63
64%package devel
bd7854cb 65Summary: Common UNIX Printing System - development environment
ef416fc2 66Group: Development/Libraries
67Requires: %{name}-libs = %{epoch}:%{version}
68
69%package libs
bd7854cb 70Summary: Common UNIX Printing System - shared libraries
ef416fc2 71Group: System Environment/Libraries
72Provides: libcups1
73
74%package lpd
bd7854cb 75Summary: Common UNIX Printing System - LPD support
ef416fc2 76Group: System Environment/Daemons
77Requires: %{name} = %{epoch}:%{version} xinetd
78
e1d6a774 79%package es
80Summary: Common UNIX Printing System - Spanish support
81Group: System Environment/Daemons
82Requires: %{name} = %{epoch}:%{version}
83
bd7854cb 84%package ja
85Summary: Common UNIX Printing System - Japanese support
86Group: System Environment/Daemons
87Requires: %{name} = %{epoch}:%{version}
88
89d46774 89%package pl
90Summary: Common UNIX Printing System - Polish support
91Group: System Environment/Daemons
92Requires: %{name} = %{epoch}:%{version}
93
94%package sv
95Summary: Common UNIX Printing System - Swedish support
96Group: System Environment/Daemons
97Requires: %{name} = %{epoch}:%{version}
98
b423cd4c 99%if %{?_with_php:1}%{!?_with_php:0}
100%package php
101Summary: Common UNIX Printing System - PHP support
102Group: Development/Languages
103Requires: %{name}-libs = %{epoch}:%{version}
104%endif
105
ef416fc2 106%description
107The Common UNIX Printing System provides a portable printing layer for
108