author | laca |
Thu, 09 Nov 2006 03:55:00 +0000 | |
changeset 8529 | ace8e9b8a2b7 |
parent 8477 | 97eab3f1978f |
child 8611 | 2cb5eddbccd7 |
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 |
# |
8529 | 8 |
# Owner: rickju |
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 |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
27 |
Patch1: ekiga-01-pwlib-cxxflags.diff |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
28 |
Patch2: ekiga-02-pwlib-name.diff |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
29 |
Patch3: ekiga-03-pwlib-plugindir.diff |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
30 |
Patch4: ekiga-04-opal-name.diff |
7373 | 31 |
Patch6: ekiga-06-menu-entry.diff |
7598 | 32 |
Patch7: ekiga-07-autogen.diff |
8297 | 33 |
Patch8: ekiga-08-pwlib-disconnect-crash.diff |
8340 | 34 |
Patch9: ekiga-09-pwlib-unset-port.diff |
35 |
Patch10: ekiga-10-pwlib-bz356696.diff |
|
8477 | 36 |
Patch13: ekiga-13-opal-bz356696.diff |
37 |
Patch15: ekiga-15-opal-invalidarrayindex.diff |
|
38 |
Patch16: ekiga-16-pwlib-video.diff |
|
39 |
Patch17: ekiga-17-opal-rtp.diff |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
40 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
41 |
URL: http://www.gnomemeeting.org |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
42 |
BuildRoot: %{_tmppath}/%{name}-root |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
43 |
Docdir: %{_docdir}/%{name} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
44 |
Autoreqprov: on |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
45 |
|
7598 | 46 |
# 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
|
47 |
%define GConf_version 2.4.0.1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
48 |
%define gtk2_version 2.3.1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
49 |
%define openldap2_devel_version 2.1.4 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
50 |
%define intltool_version 0.27 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
51 |
%define libgnomeui_version 2.4.0.1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
52 |
%define des_version 4.04 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
53 |
%define heimdal_version 0.4 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
54 |
%define cyrus_sasl_version 1.5.27 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
55 |
%define openssl_version 0.9.6 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
56 |
%define flex_version 2.5.4 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
57 |
%define slang_version 1.4.5 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
58 |
%define pam_version 0.76 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
59 |
%define db_version 4.0.14 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
60 |
%define gdbm_version 1.8.0 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
61 |
%define howl_version 1.0.0 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
62 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
63 |
Requires: libsdl >= %{libsdl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
64 |
Requires: pwlib >= %{pwlib_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
65 |
Requires: opal >= %{opal_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
66 |
Requires: GConf >= %{GConf_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
67 |
Requires: libgnomeui >= %{libgnomeui_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
68 |
Requires: howl >= %{howl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
69 |
Requires: evolution-data-server |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
70 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
71 |
BuildRequires: GConf-devel >= %{GConf_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
72 |
BuildRequires: openh323-devel >= %{openh323_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
73 |
BuildRequires: pwlib-devel >= %{pwlib_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
74 |
BuildRequires: intltool >= %{intltool_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
75 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
76 |
BuildRequires: des >= %{des_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
77 |
BuildRequires: heimdal-devel >= %{heimdal_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
78 |
BuildRequires: cyrus-sasl-devel >= %{cyrus_sasl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
79 |
BuildRequires: openssl-devel >= %{openssl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
80 |
BuildRequires: openldap2-devel >= %{openldap2_devel_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
81 |
BuildRequires: flex >= %{flex_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
82 |
BuildRequires: slang-devel >= %{slang_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
83 |
BuildRequires: pam-devel >= %{pam_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
84 |
BuildRequires: db-devel >= %{db_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
85 |
BuildRequires: gdbm-devel >= %{gdbm_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
86 |
BuildRequires: howl-devel >= %{howl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
87 |
BuildRequires: evolution-data-server-devel |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
88 |
Prereq: GConf |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
89 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
90 |
%description |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
91 |
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
|
92 |
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
|
93 |
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
|
94 |
as GnomeMeeting. |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
95 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
96 |
%prep |
7598 | 97 |
%setup -q -b 1 -b 2 -b 3 -n %{name}* |
7283 | 98 |
# patch for pwlib |
7873 | 99 |
cd ../pwlib-%{pwlib_version} |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
100 |
%patch1 -p1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
101 |
%patch2 -p1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
102 |
%patch3 -p1 |
8297 | 103 |
%patch8 -p1 |
8340 | 104 |
%patch9 -p0 |
105 |
%patch10 -p0 |
|
8477 | 106 |
%patch16 -p1 |
7283 | 107 |
# patch for opal |
7873 | 108 |
cd ../opal-%{opal_version} |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
109 |
%patch4 -p1 |
8477 | 110 |
%patch13 -p1 |
111 |
%patch15 -p1 |
|
112 |
%patch17 -p1 |
|
7373 | 113 |
# patch for ekiga |
7873 | 114 |
cd ../ekiga-%{version} |
7373 | 115 |
%patch6 -p1 |
7598 | 116 |
%patch7 -p1 |
117 |
chmod +x autogen.sh |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
118 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
119 |
%build |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
120 |
%ifos linux |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
121 |
if [ -x /usr/bin/getconf ]; then |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
122 |
CPUS=`getconf _NPROCESSORS_ONLN` |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
123 |
fi |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
124 |
%else |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
125 |
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
|
126 |
%endif |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
127 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
128 |
CPUS=1 |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
129 |
fi |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
130 |
export PKG_CONFIG=/usr/bin/pkg-config |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
131 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
132 |
# build libsdl |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
133 |
export CFLAGS="$RPM_OPT_FLAGS" |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
134 |
cd ../SDL-%{libsdl_version} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
135 |
./configure --prefix=%{_prefix} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
136 |
--libdir=%{_libdir}/%{name} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
137 |
--bindir=%{_bindir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
138 |
--datadir=%{_datadir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
139 |
--includedir=%{_includedir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
140 |
--mandir=%{_mandir} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
141 |
make -j $CPUS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
142 |
|
7598 | 143 |
cd include |
144 |
# so that SDL/*.h can be found |
|
145 |
rm -f SDL; ln -s . SDL |
|
146 |
cd ../.. |
|
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
147 |
export MYDIR=`pwd` |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
148 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
149 |
# build pwlib |
7598 | 150 |
cd pwlib* |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
151 |
# 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
|
152 |
ln -s make bin |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
153 |
#FIXME |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
154 |
# set RPM_OPT_FLAGS to null since pwlib messly uses |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
155 |
# STDCCFLAGS for both CC and CXX, which picks up the |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
156 |
# value of RPM_OPT_FLAGS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
157 |
RPM_OPT_FLAGS_SAVE=$RPM_OPT_FLAGS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
158 |
RPM_OPT_FLAGS="" |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
159 |
PWLIBDIR=`pwd` |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
160 |
export RPM_OPT_FLAGS PWLIBDIR |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
161 |
autoconf |
7527
ac917ecf3f26
2006-06-26 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7478
diff
changeset
|
162 |
export CFLAGS="$CFLAGS -I${MYDIR}/SDL-%{libsdl_version}/include" |
7598 | 163 |
export CXXFLAGS="$CXXFLAGS -I${MYDIR}/SDL-%{libsdl_version}/include" |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
164 |
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
|
165 |
./configure --prefix=%{_prefix} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
166 |
--libdir=%{_libdir}/%{name} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
167 |
--bindir=%{_bindir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
168 |
--datadir=%{_datadir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
169 |
--includedir=%{_includedir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
170 |
--mandir=%{_mandir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
171 |
--enable-plugins \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
172 |
--enable-resolver \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
173 |
--enable-opal \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
174 |
--enable-sunaudio |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
175 |
make -j $CPUS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
176 |
# set original RPM_OPT_FLAGS back |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
177 |
RPM_OPT_FLAGS=$RPM_OPT_FLAGS_SAVE |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
178 |
export RPM_OPT_FLAGS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
179 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
180 |
# build opal |
7598 | 181 |
cd ../opal* |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
182 |
./configure --prefix=%{_prefix} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
183 |
--libdir=%{_libdir}/%{name} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
184 |
--bindir=%{_bindir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
185 |
--datadir=%{_datadir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
186 |
--includedir=%{_includedir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
187 |
--mandir=%{_mandir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
188 |
--enable-localspeex |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
189 |
make -j $CPUS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
190 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
191 |
# build ekiga |
7598 | 192 |
cd ../%{name}* |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
193 |
# so that SDL/include can be found |
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
194 |
rm -f SDL; ln -s ../SDL-%{libsdl_version} SDL |
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
195 |
ACLOCAL_FLAGS="$ACLOCAL_FLAG -I SDL" |
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
196 |
SDL_CONFIG=${MYDIR}/SDL-%{libsdl_version}/sdl-config |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
197 |
export SDL_CONFIG ACLOCAL_FLAGS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
198 |
./autogen.sh --prefix=%{_prefix} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
199 |
--libdir=%{_libdir}/%{name} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
200 |
--bindir=%{_bindir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
201 |
--datadir=%{_datadir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
202 |
--includedir=%{_includedir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
203 |
--mandir=%{_mandir} \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
204 |
--sysconfdir=%{_sysconfdir} \ |
7598 | 205 |
--with-pwlib-dir=${MYDIR}/pwlib-%{pwlib_version} \ |
206 |
--with-opal-dir=${MYDIR}/opal-%{opal_version} \ |
|
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
207 |
--with-sdl-prefix=${MYDIR}/SDL-%{libsdl_version} \ |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
208 |
--disable-avahi \ |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
209 |
--disable-scrollkeeper |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
210 |
|
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
211 |
make -j $CPUS LIBS=-lX11 |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
212 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
213 |
%install |
7527
ac917ecf3f26
2006-06-26 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7478
diff
changeset
|
214 |
cd ../SDL-%{libsdl_version} |
ac917ecf3f26
2006-06-26 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7478
diff
changeset
|
215 |
make install DESTDIR=$RPM_BUILD_ROOT |
ac917ecf3f26
2006-06-26 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7478
diff
changeset
|
216 |
|
7598 | 217 |
cd ../pwlib* |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
218 |
make install DESTDIR=$RPM_BUILD_ROOT |
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
219 |
|
7598 | 220 |
cd ../opal* |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
221 |
make install DESTDIR=$RPM_BUILD_ROOT |
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
222 |
|
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
223 |
rm -rf $RPM_BUILD_ROOT%{_bindir} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
224 |
rm -rf $RPM_BUILD_ROOT%{_datadir} |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
225 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
7478
b3b16a2930db
2006-06-21 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7459
diff
changeset
|
226 |
|
7598 | 227 |
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
|
228 |
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
|
229 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
230 |
make install DESTDIR=$RPM_BUILD_ROOT |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
231 |
|
7598 | 232 |
rm -f $RPM_BUILD_ROOT%{_bindir}/*config* |
233 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*a |
|
234 |
rm -rf $RPM_BUILD_ROOT%{_includedir} |
|
235 |
mv $RPM_BUILD_ROOT%{_libdir}/%{name}/bonobo $RPM_BUILD_ROOT%{_libdir} |
|
236 |
||
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
237 |
%clean |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
238 |
rm -rf $RPM_BUILD_ROOT |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
239 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
240 |
%post |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
241 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
242 |
SCHEMAS="ekiga.schemas" |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
243 |
for S in $SCHEMAS; do |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
244 |
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
|
245 |
done |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
246 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
247 |
%files |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
248 |
%defattr(-,root,root) |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
249 |
%doc FAQ AUTHORS NEWS |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
250 |
%dir %{_datadir}/ekiga/xdap |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
251 |
%dir %{_datadir}/sounds/ekiga |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
252 |
#%{_datadir}/man/man1/ekiga.1.gz |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
253 |
%{_bindir}/ekiga* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
254 |
%{_datadir}/locale/*/LC_MESSAGES/ekiga.mo |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
255 |
%{_datadir}/applications/ekiga.desktop |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
256 |
%{_datadir}/sounds/ekiga/* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
257 |
%{_datadir}/pixmaps/ekiga* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
258 |
%{_libdir}/bonobo/servers/ekiga.server |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
259 |
%{_datadir}/ekiga/xdap/* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
260 |
%{_sysconfdir}/gconf/schemas/ekiga.schemas |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
261 |
%{_datadir}/gnome/* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
262 |
%{_datadir}/omf/* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
263 |
%{_mandir}/man1/* |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
264 |
|
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
265 |
%changelog |
8477 | 266 |
* Thu Nov 02 2006 - [email protected] |
267 |
- Bump version to 2.0.3 |
|
268 |
- Sync patches thoes have been upstreamed in ekiga community trunk |
|
269 |
- ekiga-10-pwlib-bz356696.diff, ekiga-13-opal-bz356696.diff(better fix |
|
270 |
for bz356696) |
|
271 |
- ekiga-15-opal-invalidarrayindex.diff(bz367482) |
|
272 |
- ekiga-16-pwlib-video.diff(bz367516) |
|
273 |
- ekiga-17-opal-rtp.diff(CR#6483823, CR#6483831, which caused revert to |
|
274 |
2.0.2 in b52b) |
|
8416 | 275 |
* Wed Oct 25 2006 - [email protected] |
276 |
- Roll back to the previous version 2.0.2 since following critical bug |
|
277 |
was found in 2.0.3 CR#6483823(and another P2 bug CR#6483831) |
|
8340 | 278 |
* Tue Oct 17 2006 - [email protected] |
279 |
- Bump version to 2.0.3 |
|
280 |
- Add patch ekiga-pwlib-09-unset-port.diff to fix bug CR#6476679 |
|
281 |
- Add patch ekiga-10-pwlib-bz356696.diff to fix bug gnome bugzilla bz#356696 |
|
8297 | 282 |
* Mon Oct 09 2006 - [email protected] |
283 |
- Add patch ekiga-08-pwlib-disconnect-crash.diff to fix bug CR#6470530 |
|
8146 | 284 |
* Fri Sep 15 2006 - [email protected] |
285 |
- Fixed erroneous comments in %defines |
|
8080 | 286 |
* Wed Sep 06 2006 - [email protected] |
287 |
- Bump pwlib to 1.10.2, opal to 2.2.3. |
|
8051 | 288 |
* Mon Sep 04 2006 - [email protected] |
8052 | 289 |
- Bump to 2.0.3. |
290 |
* Mon Sep 04 2006 - [email protected] |
|
8051 | 291 |
- Bump libsdl to 1.2.11. |
7873 | 292 |
* Tue Aug 08 2006 - [email protected] |
293 |
- Change 'cd dir*' to use '%{version}'. |
|
7598 | 294 |
* Mon Jul 10 2006 - [email protected] |
295 |
- 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
|
296 |
* 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
|
297 |
- 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
|
298 |
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
|
299 |
instruction in gconf.txt |
7386 | 300 |
* Wed Jun 07 2006 - [email protected] |
301 |
- chdir into ekiga dir before applying ekiga patches. |
|
7373 | 302 |
* Fri Jun 02 2006 - [email protected] |
303 |
- Add patch for change the menu entry according to the UI spec. |
|
7283 | 304 |
* Mon May 15 2006 - [email protected] |
7373 | 305 |
- Add patch ekiga-08-multi-decla.diff to fix multiple declaration |
7283 | 306 |
error. |
7075
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
307 |
* Fri Apr 14 2006 - <[email protected]> |
4fdcc4c3cbb0
* ekiga.spec: Added. missed in the previous commit operation
jl141263
parents:
diff
changeset
|
308 |
- Initial release for ekiga |