]>
Commit | Line | Data |
---|---|---|
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 | 44 | Summary: Common UNIX Printing System |
ef416fc2 | 45 | Name: cups |
46 | Version: @CUPS_VERSION@ | |
47 | Release: 0 | |
48 | Epoch: 1 | |
49 | License: GPL | |
50 | Group: System Environment/Daemons | |
51 | Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.gz | |
52 | Url: http://www.cups.org | |
53 | Packager: Anonymous <anonymous@foo.com> | |
54 | Vendor: Easy Software Products | |
55 | ||
56 | # Use buildroot so as not to disturb the version already installed | |
57 | BuildRoot: /tmp/%{name}-root | |
58 | ||
59 | # Dependencies... | |
60 | Requires: %{name}-libs = %{epoch}:%{version} | |
61 | Obsoletes: lpd, lpr, LPRng | |
62 | Provides: lpd, lpr, LPRng | |
63 | ||
64 | %package devel | |
bd7854cb | 65 | Summary: Common UNIX Printing System - development environment |
ef416fc2 | 66 | Group: Development/Libraries |
67 | Requires: %{name}-libs = %{epoch}:%{version} | |
68 | ||
69 | %package libs | |
bd7854cb | 70 | Summary: Common UNIX Printing System - shared libraries |
ef416fc2 | 71 | Group: System Environment/Libraries |
72 | Provides: libcups1 | |
73 | ||
74 | %package lpd | |
bd7854cb | 75 | Summary: Common UNIX Printing System - LPD support |
ef416fc2 | 76 | Group: System Environment/Daemons |
77 | Requires: %{name} = %{epoch}:%{version} xinetd | |
78 | ||
8ca02f3c | 79 | %package de |
80 | Summary: Common UNIX Printing System - German support | |
81 | Group: System Environment/Daemons | |
82 | Requires: %{name} = %{epoch}:%{version} | |
83 | ||
e1d6a774 | 84 | %package es |
85 | Summary: Common UNIX Printing System - Spanish support | |
86 | Group: System Environment/Daemons | |
87 | Requires: %{name} = %{epoch}:%{version} | |
88 | ||
2abf387c | 89 | %package et |
90 | Summary: Common UNIX Printing System - Estonian support | |
91 | Group: System Environment/Daemons | |
92 | Requires: %{name} = %{epoch}:%{version} | |
93 | ||
b86bc4cf | 94 | %package fr |
95 | Summary: Common UNIX Printing System - French support | |
96 | Group: System Environment/Daemons | |
97 | Requires: %{name} = %{epoch}:%{version} | |
98 | ||
c0e1af83 | 99 | %package he |
100 | Summary: Common UNIX Printing System - Hebrew support | |
101 | Group: System Environment/Daemons | |
102 | Requires: %{name} = %{epoch}:%{version} | |
103 | ||
411affcf | 104 | %package it |
105 | Summary: Common UNIX Printing System - Italian support | |
106 | Group: System Environment/Daemons | |
107 | Requires: %{name} = %{epoch}:%{version} | |
108 | ||
bd7854cb | 109 | %package ja |
110 | Summary: Common UNIX Printing System - Japanese support | |
111 | Group: System Environment/Daemons | |
112 | Requires: %{name} = %{epoch}:%{version} | |
113 | ||
89d46774 | 114 | %package pl |
115 | Summary: Common UNIX Printing System - Polish support | |
116 | Group: System Environment/Daemons | |
117 | Requires: %{name} = %{epoch}:%{version} | |
118 | ||
119 | %package sv | |
120 | Summary: Common UNIX Printing System - Swedish support | |
121 | Group: System Environment/Daemons | |
122 | Requires: %{name} = %{epoch}:%{version} | |
123 | ||
b423cd4c | 124 | %if %{?_with_php:1}%{!?_with_php:0} |
125 | %package php | |
126 | Summary: Common UNIX Printing System - PHP support | |
127 | Group: Development/Languages | |
128 | Requires: %{name}-libs = %{epoch}:%{version} | |
129 | %endif | |
130 | ||
ef416fc2 | 131 | %description |
132 | The Common UNIX Printing System provides a portable printing layer for | |
133 |