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