]> 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#
c0e1af83 2# "$Id: cups.spec.in 6431 2007-04-02 14:31:49Z 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#
f7deaa1a 8# Copyright 1999-2007 by Easy Software Products, all rights reserved.
ef416fc2 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
8ca02f3c 79%package de
80Summary: Common UNIX Printing System - German support
81Group: System Environment/Daemons
82Requires: %{name} = %{epoch}:%{version}
83
e1d6a774 84%package es
85Summary: Common UNIX Printing System - Spanish support
86Group: System Environment/Daemons
87Requires: %{name} = %{epoch}:%{version}
88
2abf387c 89%package et
90Summary: Common UNIX Printing System - Estonian support
91Group: System Environment/Daemons
92Requires: %{name} = %{epoch}:%{version}
93
b86bc4cf 94%package fr
95Summary: Common UNIX Printing System - French support
96Group: System Environment/Daemons
97Requires: %{name} = %{epoch}:%{version}
98
c0e1af83 99%package he
100Summary: Common UNIX Printing System - Hebrew support
101Group: System Environment/Daemons
102Requires: %{name} = %{epoch}:%{version}
103
411affcf 104%package it
105Summary: Common UNIX Printing System - Italian support
106Group: System Environment/Daemons
107Requires: %{name} = %{epoch}:%{version}
108
bd7854cb 109%package ja
110Summary: Common UNIX Printing System - Japanese support
111Group: System Environment/Daemons
112Requires: %{name} = %{epoch}:%{version}
113
89d46774 114%package pl
115Summary: Common UNIX Printing System - Polish support
116Group: System Environment/Daemons
117Requires: %{name} = %{epoch}:%{version}
118
119%package sv
120Summary: Common UNIX Printing System - Swedish support
121Group: System Environment/Daemons
122Requires: %{name} = %{epoch}:%{version}
123
b423cd4c 124%if %{?_with_php:1}%{!?_with_php:0}
125%package php
126Summary: Common UNIX Printing System - PHP support
127Group: Development/Languages
128Requires: %{name}-libs = %{epoch}:%{version}
129%endif
130
ef416fc2 131%description
132The Common UNIX Printing System provides a portable printing layer for
133