author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 8611 | 2cb5eddbccd7 |
child 8638 | 211c016e536c |
child 19046 | 5e741750ea47 |
permissions | -rw-r--r-- |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
1 |
# |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
2 |
# spec file for package ekiga |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
3 |
# |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
5 |
# This file and all modifications and additions to the pristine |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
6 |
# package are under the same license as the package itself. |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
7 |
# |
8611 | 8 |
# Owner: davelam |
8529 | 9 |
# |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
10 |
Name: ekiga |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
11 |
License: GPL |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
12 |
Group: X11/GNOME/Applications |
8080 | 13 |
# NOTE: All tarballs should be updated at the same time because ekiga's |
14 |
# configure will generally expect them to be in sync. |
|
8477 | 15 |
Version: 2.0.3 |
16 |
%define libsdl_version 1.2.11 |
|
17 |
%define pwlib_version 1.10.2 |
|
18 |
%define opal_version 2.2.3 |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
19 |
Release: 1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
20 |
Vendor: Sun Microsystems, Inc. |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
21 |
Distribution: Java Desktop System |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
22 |
Summary: A GNOME based H.323/SIP video conferencing application |
8080 | 23 |
Source0: http://www.ekiga.org/admin/downloads/latest/sources/sources/ekiga-%{version}.tar.gz |
7598 | 24 |
Source1: http://www.ekiga.org/admin/downloads/latest/sources/sources/opal-%{opal_version}.tar.gz |
25 |
Source2: http://www.ekiga.org/admin/downloads/latest/sources/sources/pwlib-%{pwlib_version}.tar.gz |
|
26 |
Source3: http://www.libsdl.org/release/SDL-%{libsdl_version}.tar.gz |
|
8611 | 27 |
|
28 |
# owner:davelam date:2006-04-14 type:bug |
|
29 |
# use cxxflags to fix build problem |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
30 |
Patch1: ekiga-01-pwlib-cxxflags.diff |
8611 | 31 |
|
32 |
# owner:davelam date:2006-04-14 type:bug |
|
33 |
# change library naming rule to fit unix style |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
34 |
Patch2: ekiga-02-pwlib-name.diff |
8611 | 35 |
|
36 |
# owner:davelam date:2006-04-14 type:bug |
|
37 |
# change pwlib plugin install dir |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
38 |
Patch3: ekiga-03-pwlib-plugindir.diff |
8611 | 39 |
|
40 |
# owner:davelam date:2006-04-14 type:bug |
|
41 |
# change library naming rule to fit unix style |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
42 |
Patch4: ekiga-04-opal-name.diff |
8611 | 43 |
|
44 |
# owner:gman date:2006-06-02 type:branding |
|
45 |
# change the menu entry according to the UI spec |
|
46 |
Patch6: ekiga-06-menu-entry.diff |
|
47 |
||
48 |
# owner:davelam date:2006-07-10 type:bug |
|
49 |
# add autogen.sh to use autogen |
|
50 |
Patch7: ekiga-07-autogen.diff |
|
51 |
||
52 |
# owner:hawklu date:2006-10-09 type:bug |
|
53 |
# bugster:6470530 |
|
54 |
Patch8: ekiga-08-pwlib-disconnect-crash.diff |
|
55 |
||
56 |
# owner:hawklu date:2006-10-17 type:bug |
|
57 |
# bugster:6476679 |
|
58 |
Patch9: ekiga-09-pwlib-unset-port.diff |
|
59 |
||
60 |
# owner:hawklu date:2006-10-17 type:bug |
|
61 |
# bugzilla:356696 |
|
8340 | 62 |
Patch10: ekiga-10-pwlib-bz356696.diff |
8611 | 63 |
|
64 |
# owner:hawklu date:2006-10-17 type:bug |
|
65 |
# bugzilla:356696 |
|
8477 | 66 |
Patch13: ekiga-13-opal-bz356696.diff |
8611 | 67 |
|
68 |
# owner:hawklu date:2006-11-02 type:bug |
|
69 |
# bugzilla:367482 |
|
8477 | 70 |
Patch15: ekiga-15-opal-invalidarrayindex.diff |
8611 | 71 |
|
72 |
# owner:hawklu date:2006-11-02 type:bug |
|
73 |
# bugzilla:367516 |
|
8477 | 74 |
Patch16: ekiga-16-pwlib-video.diff |
8611 | 75 |
|
76 |
# owner:hawklu date:2006-11-02 type:bug |
|
77 |
# bugster:6483823,6483831 |
|
8477 | 78 |
Patch17: ekiga-17-opal-rtp.diff |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
79 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
80 |
URL: http://www.gnomemeeting.org |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
81 |
BuildRoot: %{_tmppath}/%{name}-root |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
82 |
Docdir: %{_docdir}/%{name} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
83 |
Autoreqprov: on |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
84 |
|
7598 | 85 |
# The following version definitions probably are out of date, need update |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
86 |
%define GConf_version 2.4.0.1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
87 |
%define gtk2_version 2.3.1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
88 |
%define openldap2_devel_version 2.1.4 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
89 |
%define intltool_version 0.27 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
90 |
%define libgnomeui_version 2.4.0.1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
91 |
%define des_version 4.04 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
92 |
%define heimdal_version 0.4 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
93 |
%define cyrus_sasl_version 1.5.27 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
94 |
%define openssl_version 0.9.6 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
95 |
%define flex_version 2.5.4 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
96 |
%define slang_version 1.4.5 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
97 |
%define pam_version 0.76 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
98 |
%define db_version 4.0.14 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
99 |
%define gdbm_version 1.8.0 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
100 |
%define howl_version 1.0.0 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
101 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
102 |
Requires: libsdl >= %{libsdl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
103 |
Requires: pwlib >= %{pwlib_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
104 |
Requires: opal >= %{opal_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
105 |
Requires: GConf >= %{GConf_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
106 |
Requires: libgnomeui >= %{libgnomeui_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
107 |
Requires: howl >= %{howl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
108 |
Requires: evolution-data-server |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
109 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
110 |
BuildRequires: GConf-devel >= %{GConf_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
111 |
BuildRequires: openh323-devel >= %{openh323_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
112 |
BuildRequires: pwlib-devel >= %{pwlib_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
113 |
BuildRequires: intltool >= %{intltool_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
114 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
115 |
BuildRequires: des >= %{des_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
116 |
BuildRequires: heimdal-devel >= %{heimdal_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
117 |
BuildRequires: cyrus-sasl-devel >= %{cyrus_sasl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
118 |
BuildRequires: openssl-devel >= %{openssl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
119 |
BuildRequires: openldap2-devel >= %{openldap2_devel_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
120 |
BuildRequires: flex >= %{flex_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
121 |
BuildRequires: slang-devel >= %{slang_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
122 |
BuildRequires: pam-devel >= %{pam_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
123 |
BuildRequires: db-devel >= %{db_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
124 |
BuildRequires: gdbm-devel >= %{gdbm_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
125 |
BuildRequires: howl-devel >= %{howl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
126 |
BuildRequires: evolution-data-server-devel |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
127 |
Prereq: GConf |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
128 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
129 |
%description |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
130 |
Ekiga is a free Voice over IP phone allowing you to do free calls over |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
131 |
the Internet. Ekiga is the first Open Source application to support |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
132 |
both H.323 and SIP, as well as audio and video. Ekiga was formerly known |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
133 |
as GnomeMeeting. |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
134 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
135 |
%prep |
7598 | 136 |
%setup -q -b 1 -b 2 -b 3 -n %{name}* |
7283 | 137 |
# patch for pwlib |
7873 | 138 |
cd ../pwlib-%{pwlib_version} |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
139 |
%patch1 -p1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
140 |
%patch2 -p1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
141 |
%patch3 -p1 |
8297 | 142 |
%patch8 -p1 |
8340 | 143 |
%patch9 -p0 |
144 |
%patch10 -p0 |
|
8477 | 145 |
%patch16 -p1 |
7283 | 146 |
# patch for opal |
7873 | 147 |
cd ../opal-%{opal_version} |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
148 |
%patch4 -p1 |
8477 | 149 |
%patch13 -p1 |
150 |
%patch15 -p1 |
|
151 |
%patch17 -p1 |
|
7373 | 152 |
# patch for ekiga |
7873 | 153 |
cd ../ekiga-%{version} |
7373 | 154 |
%patch6 -p1 |
7598 | 155 |
%patch7 -p1 |
156 |
chmod +x autogen.sh |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
157 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
158 |
%build |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
159 |
%ifos linux |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
160 |
if [ -x /usr/bin/getconf ]; then |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
161 |
CPUS=`getconf _NPROCESSORS_ONLN` |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
162 |
fi |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
163 |
%else |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
164 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
165 |
%endif |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
166 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
167 |
CPUS=1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
168 |
fi |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
169 |
export PKG_CONFIG=/usr/bin/pkg-config |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
170 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
171 |
# build libsdl |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
172 |
export CFLAGS="$RPM_OPT_FLAGS" |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
173 |
cd ../SDL-%{libsdl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
174 |
./configure --prefix=%{_prefix} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
175 |
--libdir=%{_libdir}/%{name} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
176 |
--bindir=%{_bindir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
177 |
--datadir=%{_datadir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
178 |
--includedir=%{_includedir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
179 |
--mandir=%{_mandir} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
180 |
make -j $CPUS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
181 |
|
7598 | 182 |
cd include |
183 |
# so that SDL/*.h can be found |
|
184 |
rm -f SDL; ln -s . SDL |
|
185 |
cd ../.. |
|
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
186 |
export MYDIR=`pwd` |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
187 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
188 |
# build pwlib |
7598 | 189 |
cd pwlib* |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
190 |
# symlink the make dir to bin so that ptlib-config is found by ekiga |
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
191 |
ln -s make bin |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
192 |
#FIXME |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
193 |
# set RPM_OPT_FLAGS to null since pwlib messly uses |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
194 |
# STDCCFLAGS for both CC and CXX, which picks up the |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
195 |
# value of RPM_OPT_FLAGS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
196 |
RPM_OPT_FLAGS_SAVE=$RPM_OPT_FLAGS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
197 |
RPM_OPT_FLAGS="" |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
198 |
PWLIBDIR=`pwd` |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
199 |
export RPM_OPT_FLAGS PWLIBDIR |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
200 |
autoconf |
7527
ac917ecf3f26
2006-06-26 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7478
diff
changeset
|
201 |
export CFLAGS="$CFLAGS -I${MYDIR}/SDL-%{libsdl_version}/include" |
7598 | 202 |
export CXXFLAGS="$CXXFLAGS -I${MYDIR}/SDL-%{libsdl_version}/include" |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
203 |
export LDFLAGS="$LDFLAGS -L${MYDIR}/SDL-%{libsdl_version}/src/.libs" |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
204 |
./configure --prefix=%{_prefix} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
205 |
--libdir=%{_libdir}/%{name} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
206 |
--bindir=%{_bindir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
207 |
--datadir=%{_datadir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
208 |
--includedir=%{_includedir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
209 |
--mandir=%{_mandir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
210 |
--enable-plugins \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
211 |
--enable-resolver \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
212 |
--enable-opal \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
213 |
--enable-sunaudio |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
214 |
make -j $CPUS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
215 |
# set original RPM_OPT_FLAGS back |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
216 |
RPM_OPT_FLAGS=$RPM_OPT_FLAGS_SAVE |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
217 |
export RPM_OPT_FLAGS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
218 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
219 |
# build opal |
7598 | 220 |
cd ../opal* |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
221 |
./configure --prefix=%{_prefix} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
222 |
--libdir=%{_libdir}/%{name} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
223 |
--bindir=%{_bindir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
224 |
--datadir=%{_datadir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
225 |
--includedir=%{_includedir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
226 |
--mandir=%{_mandir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
227 |
--enable-localspeex |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
228 |
make -j $CPUS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
229 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
230 |
# build ekiga |
7598 | 231 |
cd ../%{name}* |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
232 |
# so that SDL/include can be found |
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
233 |
rm -f SDL; ln -s ../SDL-%{libsdl_version} SDL |
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
234 |
ACLOCAL_FLAGS="$ACLOCAL_FLAG -I SDL" |
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
235 |
SDL_CONFIG=${MYDIR}/SDL-%{libsdl_version}/sdl-config |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
236 |
export SDL_CONFIG ACLOCAL_FLAGS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
237 |
./autogen.sh --prefix=%{_prefix} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
238 |
--libdir=%{_libdir}/%{name} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
239 |
--bindir=%{_bindir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
240 |
--datadir=%{_datadir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
241 |
--includedir=%{_includedir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
242 |
--mandir=%{_mandir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
243 |
--sysconfdir=%{_sysconfdir} \ |
7598 | 244 |
--with-pwlib-dir=${MYDIR}/pwlib-%{pwlib_version} \ |
245 |
--with-opal-dir=${MYDIR}/opal-%{opal_version} \ |
|
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
246 |
--with-sdl-prefix=${MYDIR}/SDL-%{libsdl_version} \ |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
247 |
--disable-avahi \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
248 |
--disable-scrollkeeper |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
249 |
|
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
250 |
make -j $CPUS LIBS=-lX11 |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
251 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
252 |
%install |
7527
ac917ecf3f26
2006-06-26 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7478
diff
changeset
|
253 |
cd ../SDL-%{libsdl_version} |
ac917ecf3f26
2006-06-26 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7478
diff
changeset
|
254 |
make install DESTDIR=$RPM_BUILD_ROOT |
ac917ecf3f26
2006-06-26 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7478
diff
changeset
|
255 |
|
7598 | 256 |
cd ../pwlib* |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
257 |
make install DESTDIR=$RPM_BUILD_ROOT |
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
258 |
|
7598 | 259 |
cd ../opal* |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
260 |
make install DESTDIR=$RPM_BUILD_ROOT |
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
261 |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
262 |
rm -rf $RPM_BUILD_ROOT%{_bindir} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
263 |
rm -rf $RPM_BUILD_ROOT%{_datadir} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
264 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
265 |
|
7598 | 266 |
cd ../%{name}* |
7459
c4f82e18f6de
add GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 to make sure not install the directory based %gconf.xml files
jl141263
parents:
7386
diff
changeset
|
267 |
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
c4f82e18f6de
add GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 to make sure not install the directory based %gconf.xml files
jl141263
parents:
7386
diff
changeset
|
268 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
269 |
make install DESTDIR=$RPM_BUILD_ROOT |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
270 |
|
7598 | 271 |
rm -f $RPM_BUILD_ROOT%{_bindir}/*config* |
272 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*a |
|
273 |
rm -rf $RPM_BUILD_ROOT%{_includedir} |
|
274 |
mv $RPM_BUILD_ROOT%{_libdir}/%{name}/bonobo $RPM_BUILD_ROOT%{_libdir} |
|
275 |
||
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
276 |
%clean |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
277 |
rm -rf $RPM_BUILD_ROOT |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
278 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
279 |
%post |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
280 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
281 |
SCHEMAS="ekiga.schemas" |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
282 |
for S in $SCHEMAS; do |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
283 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
284 |
done |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
285 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
286 |
%files |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
287 |
%defattr(-,root,root) |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
288 |
%doc FAQ AUTHORS NEWS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
289 |
%dir %{_datadir}/ekiga/xdap |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
290 |
%dir %{_datadir}/sounds/ekiga |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
291 |
#%{_datadir}/man/man1/ekiga.1.gz |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
292 |
%{_bindir}/ekiga* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
293 |
%{_datadir}/locale/*/LC_MESSAGES/ekiga.mo |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
294 |
%{_datadir}/applications/ekiga.desktop |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
295 |
%{_datadir}/sounds/ekiga/* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
296 |
%{_datadir}/pixmaps/ekiga* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
297 |
%{_libdir}/bonobo/servers/ekiga.server |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
298 |
%{_datadir}/ekiga/xdap/* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
299 |
%{_sysconfdir}/gconf/schemas/ekiga.schemas |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
300 |
%{_datadir}/gnome/* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
301 |
%{_datadir}/omf/* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
302 |
%{_mandir}/man1/* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
303 |
|
8611 | 304 |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
305 |
%changelog |
8611 | 306 |
* Mon Nov 20 2006 - [email protected] |
307 |
- add patch comment |
|
8477 | 308 |
* Thu Nov 02 2006 - [email protected] |
309 |
- Bump version to 2.0.3 |
|
310 |
- Sync patches thoes have been upstreamed in ekiga community trunk |
|
311 |
- ekiga-10-pwlib-bz356696.diff, ekiga-13-opal-bz356696.diff(better fix |
|
312 |
for bz356696) |
|
313 |
- ekiga-15-opal-invalidarrayindex.diff(bz367482) |
|
314 |
- ekiga-16-pwlib-video.diff(bz367516) |
|
315 |
- ekiga-17-opal-rtp.diff(CR#6483823, CR#6483831, which caused revert to |
|
316 |
2.0.2 in b52b) |
|
8416 | 317 |
* Wed Oct 25 2006 - [email protected] |
318 |
- Roll back to the previous version 2.0.2 since following critical bug |
|
319 |
was found in 2.0.3 CR#6483823(and another P2 bug CR#6483831) |
|
8340 | 320 |
* Tue Oct 17 2006 - [email protected] |
321 |
- Bump version to 2.0.3 |
|
322 |
- Add patch ekiga-pwlib-09-unset-port.diff to fix bug CR#6476679 |
|
323 |
- Add patch ekiga-10-pwlib-bz356696.diff to fix bug gnome bugzilla bz#356696 |
|
8297 | 324 |
* Mon Oct 09 2006 - [email protected] |
325 |
- Add patch ekiga-08-pwlib-disconnect-crash.diff to fix bug CR#6470530 |
|
8146 | 326 |
* Fri Sep 15 2006 - [email protected] |
327 |
- Fixed erroneous comments in %defines |
|
8080 | 328 |
* Wed Sep 06 2006 - [email protected] |
329 |
- Bump pwlib to 1.10.2, opal to 2.2.3. |
|
8051 | 330 |
* Mon Sep 04 2006 - [email protected] |
8052 | 331 |
- Bump to 2.0.3. |
332 |
* Mon Sep 04 2006 - [email protected] |
|
8051 | 333 |
- Bump libsdl to 1.2.11. |
7873 | 334 |
* Tue Aug 08 2006 - [email protected] |
335 |
- Change 'cd dir*' to use '%{version}'. |
|
7598 | 336 |
* Mon Jul 10 2006 - [email protected] |
337 |
- change to use Ekiga 2.0.2 release |
|
7459
c4f82e18f6de
add GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 to make sure not install the directory based %gconf.xml files
jl141263
parents:
7386
diff
changeset
|
338 |
* Fri Jun 16 2006 - [email protected] |
c4f82e18f6de
add GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 to make sure not install the directory based %gconf.xml files
jl141263
parents:
7386
diff
changeset
|
339 |
- add GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 to make sure not |
c4f82e18f6de
add GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 to make sure not install the directory based %gconf.xml files
jl141263
parents:
7386
diff
changeset
|
340 |
install the directory based %gconf.xml files based on the |
c4f82e18f6de
add GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 to make sure not install the directory based %gconf.xml files
jl141263
parents:
7386
diff
changeset
|
341 |
instruction in gconf.txt |
7386 | 342 |
* Wed Jun 07 2006 - [email protected] |
343 |
- chdir into ekiga dir before applying ekiga patches. |
|
7373 | 344 |
* Fri Jun 02 2006 - [email protected] |
345 |
- Add patch for change the menu entry according to the UI spec. |
|
7283 | 346 |
* Mon May 15 2006 - [email protected] |
7373 | 347 |
- Add patch ekiga-08-multi-decla.diff to fix multiple declaration |
7283 | 348 |
error. |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
349 |
* Fri Apr 14 2006 - <[email protected]> |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
350 |
- Initial release for ekiga |