author | elaine |
Wed, 03 Sep 2008 07:04:25 +0000 | |
changeset 13379 | a28aa1e95ce7 |
parent 12865 | bd2f7ccd37b6 |
child 13965 | 5fdb60cbccb4 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package ekiga |
|
3 |
# |
|
9688 | 4 |
# Copyright 2007 Sun Microsystems, Inc. |
9397 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
# Owner: davelam |
|
9 |
# |
|
10 |
%include l10n.inc |
|
11 |
Name: ekiga |
|
12 |
License: GPL |
|
13 |
Group: X11/GNOME/Applications |
|
13379 | 14 |
# DO NOT BUMP MODULE TO 2.9.90 AS IT IS NOT YET READY FOR SOLARIS |
11831 | 15 |
Version: 2.0.12 |
9397 | 16 |
Release: 1 |
17 |
Vendor: Sun Microsystems, Inc. |
|
18 |
Distribution: Java Desktop System |
|
19 |
Summary: A GNOME based H.323/SIP video conferencing application |
|
9688 | 20 |
Source: http://ftp.gnome.org/pub/GNOME/sources/ekiga/2.0/ekiga-%{version}.tar.bz2 |
21 |
Source2: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
|
9397 | 22 |
|
23 |
# owner:gman date:2006-06-02 type:branding |
|
24 |
# change the menu entry according to the UI spec |
|
9688 | 25 |
Patch1: ekiga-01-menu-entry.diff |
9397 | 26 |
|
27 |
# owner:davelam date:2006-07-10 type:branding |
|
28 |
# add autogen.sh to use autogen |
|
9688 | 29 |
Patch2: ekiga-02-autogen.diff |
9397 | 30 |
|
31 |
# owner:hawklu date:2006-11-27 type:bug bugster:6492117 |
|
9688 | 32 |
Patch3: ekiga-03-sunray-port-conflict.diff |
9397 | 33 |
|
12865 | 34 |
# owner:elaine date:2007-03-11 type:bug bugster:6538068 |
35 |
# This patch should be removed when Ekiga 3.0 comes out. |
|
9688 | 36 |
Patch4: ekiga-04-performance-tuning.diff |
9397 | 37 |
|
9688 | 38 |
# owner:hawklu date:2006-05-15 type:bug |
39 |
# bugster:6401342 |
|
40 |
# this patch just can fix the bug on x86, |
|
41 |
# need to change CFLAGS, CXXFLAGS settings |
|
42 |
# to fix the bug on sparc |
|
43 |
Patch5: ekiga-05-conststr.diff |
|
9611
6f61610dc6d2
Add patch ekiga-23-opal-illege-payloadtype.diff to fix bugster6537448
elaine
parents:
9592
diff
changeset
|
44 |
|
12865 | 45 |
# owner:elaine date:2008-03-05 type:bug |
46 |
# bugster:6665230 |
|
47 |
# This patch should be removed when Ekiga 3.0 comes out. |
|
11794
b42f66f38249
Add new patch ekiga-06 to fix bugster#6665230.This patch will be removed when Ekiga 3.0 comes out.
elaine
parents:
11348
diff
changeset
|
48 |
Patch6: ekiga-06-rm-evcard.diff |
b42f66f38249
Add new patch ekiga-06 to fix bugster#6665230.This patch will be removed when Ekiga 3.0 comes out.
elaine
parents:
11348
diff
changeset
|
49 |
|
9397 | 50 |
URL: http://www.ekiga.org |
51 |
BuildRoot: %{_tmppath}/%{name}-root |
|
52 |
Docdir: %{_docdir}/%{name} |
|
53 |
Autoreqprov: on |
|
54 |
||
55 |
# The following version definitions probably are out of date, need update |
|
56 |
%define GConf_version 2.4.0.1 |
|
57 |
%define gtk2_version 2.3.1 |
|
58 |
%define openldap2_devel_version 2.1.4 |
|
59 |
%define intltool_version 0.27 |
|
60 |
%define libgnomeui_version 2.4.0.1 |
|
61 |
%define des_version 4.04 |
|
62 |
%define heimdal_version 0.4 |
|
63 |
%define cyrus_sasl_version 1.5.27 |
|
64 |
%define openssl_version 0.9.6 |
|
65 |
%define flex_version 2.5.4 |
|
66 |
%define slang_version 1.4.5 |
|
67 |
%define pam_version 0.76 |
|
68 |
%define db_version 4.0.14 |
|
69 |
%define gdbm_version 1.8.0 |
|
70 |
%define howl_version 1.0.0 |
|
71 |
||
72 |
Requires: pwlib >= %{pwlib_version} |
|
73 |
Requires: opal >= %{opal_version} |
|
74 |
Requires: GConf >= %{GConf_version} |
|
75 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
76 |
Requires: howl >= %{howl_version} |
|
77 |
Requires: evolution-data-server |
|
78 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
79 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
80 |
BuildRequires: openh323-devel >= %{openh323_version} |
|
81 |
BuildRequires: pwlib-devel >= %{pwlib_version} |
|
82 |
BuildRequires: intltool >= %{intltool_version} |
|
83 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
84 |
BuildRequires: des >= %{des_version} |
|
85 |
BuildRequires: heimdal-devel >= %{heimdal_version} |
|
86 |
BuildRequires: cyrus-sasl-devel >= %{cyrus_sasl_version} |
|
87 |
BuildRequires: openssl-devel >= %{openssl_version} |
|
88 |
BuildRequires: openldap2-devel >= %{openldap2_devel_version} |
|
89 |
BuildRequires: flex >= %{flex_version} |
|
90 |
BuildRequires: slang-devel >= %{slang_version} |
|
91 |
BuildRequires: pam-devel >= %{pam_version} |
|
92 |
BuildRequires: db-devel >= %{db_version} |
|
93 |
BuildRequires: gdbm-devel >= %{gdbm_version} |
|
94 |
BuildRequires: howl-devel >= %{howl_version} |
|
95 |
BuildRequires: evolution-data-server-devel |
|
96 |
Prereq: GConf |
|
97 |
||
98 |
%description |
|
99 |
Ekiga is a free Voice over IP phone allowing you to do free calls over |
|
100 |
the Internet. Ekiga is the first Open Source application to support |
|
101 |
both H.323 and SIP, as well as audio and video. Ekiga was formerly known |
|
102 |
as GnomeMeeting. |
|
103 |
||
104 |
%prep |
|
9688 | 105 |
%setup -q -n %{name}-%{version} |
9397 | 106 |
%if %build_l10n |
9688 | 107 |
bzcat %SOURCE2 | tar xf - |
9397 | 108 |
cd po-sun; make; cd .. |
109 |
%endif |
|
110 |
%patch1 -p1 |
|
111 |
%patch2 -p1 |
|
112 |
%patch3 -p1 |
|
113 |
%patch4 -p1 |
|
9688 | 114 |
%ifarch i386 |
115 |
%patch5 -p1 |
|
116 |
%endif |
|
11794
b42f66f38249
Add new patch ekiga-06 to fix bugster#6665230.This patch will be removed when Ekiga 3.0 comes out.
elaine
parents:
11348
diff
changeset
|
117 |
%patch6 -p1 |
9397 | 118 |
|
119 |
%build |
|
120 |
%ifos linux |
|
121 |
if [ -x /usr/bin/getconf ]; then |
|
122 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
123 |
fi |
|
124 |
%else |
|
125 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
126 |
%endif |
|
127 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
128 |
CPUS=1 |
|
129 |
fi |
|
130 |
||
9688 | 131 |
export CFLAGS="%optflags" |
132 |
export CXXFLAGS="%cxx_optflags" |
|
133 |
export LDFLAGS="%_ldflags" |
|
11348 | 134 |
export XGETTEXT=`which xgettext` |
135 |
||
9753
a0c5bd536527
move the -Lpath that could specify the /usr/lib/ as the search directory
elaine
parents:
9688
diff
changeset
|
136 |
%{?ekiga_libdir:export LDFLAGS="$LDFLAGS -R%{ekiga_libdir}"} |
9688 | 137 |
chmod +x autogen.sh |
9397 | 138 |
./autogen.sh --prefix=%{_prefix} \ |
9688 | 139 |
--libdir=%{?ekiga_libdir}%{?!ekiga_libdir:%{_libdir}} \ |
9397 | 140 |
--bindir=%{_bindir} \ |
141 |
--datadir=%{_datadir} \ |
|
142 |
--includedir=%{_includedir} \ |
|
143 |
--mandir=%{_mandir} \ |
|
144 |
--sysconfdir=%{_sysconfdir} \ |
|
9688 | 145 |
%{?pwlib_opt} %{?opal_opt} \ |
10406 | 146 |
--disable-scrollkeeper |
9397 | 147 |
|
148 |
make LIBS=-lX11 |
|
149 |
||
150 |
%install |
|
151 |
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
152 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
153 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
154 |
||
155 |
rm -f $RPM_BUILD_ROOT%{_bindir}/*config* |
|
156 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*a |
|
157 |
rm -rf $RPM_BUILD_ROOT%{_includedir} |
|
9688 | 158 |
mkdir -p $RPM_BUILD_ROOT%{_libdir} |
159 |
mv $RPM_BUILD_ROOT%{ekiga_libdir}/bonobo $RPM_BUILD_ROOT%{_libdir} |
|
9397 | 160 |
|
161 |
%clean |
|
162 |
rm -rf $RPM_BUILD_ROOT |
|
163 |
||
164 |
%post |
|
165 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
166 |
SCHEMAS="ekiga.schemas" |
|
167 |
for S in $SCHEMAS; do |
|
168 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
169 |
done |
|
170 |
||
171 |
%files |
|
172 |
%defattr(-,root,root) |
|
173 |
%doc FAQ AUTHORS NEWS |
|
174 |
%dir %{_datadir}/ekiga/xdap |
|
175 |
%dir %{_datadir}/sounds/ekiga |
|
176 |
#%{_datadir}/man/man1/ekiga.1.gz |
|
177 |
%{_bindir}/ekiga* |
|
178 |
%{_datadir}/locale/*/LC_MESSAGES/ekiga.mo |
|
179 |
%{_datadir}/applications/ekiga.desktop |
|
180 |
%{_datadir}/sounds/ekiga/* |
|
181 |
%{_datadir}/pixmaps/ekiga* |
|
182 |
%{_libdir}/bonobo/servers/ekiga.server |
|
183 |
%{_datadir}/ekiga/xdap/* |
|
184 |
%{_sysconfdir}/gconf/schemas/ekiga.schemas |
|
185 |
%{_datadir}/gnome/* |
|
186 |
%{_datadir}/omf/* |
|
187 |
%{_mandir}/man1/* |
|
188 |
||
189 |
||
190 |
%changelog |
|
13379 | 191 |
* Wed Sep 03 2008 - [email protected] |
192 |
- Add note to not bump to 2.9.90 as it's actually 3.0 beta1 and not ready for |
|
193 |
Solaris. |
|
12865 | 194 |
* Mon Jul 21 2008 - [email protected] |
195 |
- Add bugID. |
|
11831 | 196 |
* Mon Mar 10 2008 - [email protected] |
197 |
- Bump to 2.0.12. |
|
11794
b42f66f38249
Add new patch ekiga-06 to fix bugster#6665230.This patch will be removed when Ekiga 3.0 comes out.
elaine
parents:
11348
diff
changeset
|
198 |
* Wed Mar 05 2008 - [email protected] |
b42f66f38249
Add new patch ekiga-06 to fix bugster#6665230.This patch will be removed when Ekiga 3.0 comes out.
elaine
parents:
11348
diff
changeset
|
199 |
- Add ekiga-06-rm-evcard.diff to fix bugster#6665230. |
b42f66f38249
Add new patch ekiga-06 to fix bugster#6665230.This patch will be removed when Ekiga 3.0 comes out.
elaine
parents:
11348
diff
changeset
|
200 |
But this patch will not be compatible with Ekiga 3.0. |
11348 | 201 |
* Sun Dec 23 2007 - [email protected] |
202 |
- Set the XGETTEXT variable based on `which xgettext` |
|
203 |
Since we use JDS-CBE this should be /opt/jdsbld/bin/xgettext |
|
204 |
Ekiga will FAIL when /usr/bin/xgettext (NON-GNU version) is used. |
|
11111 | 205 |
* Fri Nov 02 2007 - [email protected] |
206 |
- Enable Avahi support. |
|
10504 | 207 |
* Tue Sep 18 2007 - [email protected] |
208 |
- Bump to 2.0.11. Remove upstream patch, 06-loopback. |
|
10406 | 209 |
* Thu Aug 30 2007 - [email protected] |
210 |
- Disable DBUS component due to weak support. |
|
10137 | 211 |
* Thu Jun 28 2007 - [email protected] |
212 |
- Explicitly enable the DBUS component. |
|
9978 | 213 |
* Sun Jun 03 2007 - [email protected] |
214 |
- Add patch ekiga-06-loopback.diff to fix bugzilla439873 |
|
9785 | 215 |
* Wed Apr 25 2007 - [email protected] |
216 |
- Update owner name for ekiga-04-performance-tuning.diff |
|
9758
16e0724e779f
Bump ekiga to 2.0.9, opal to 2.2.8, pwlib to 1.10.7. Remove one upstream patch.
elaine
parents:
9753
diff
changeset
|
217 |
* Thu Apr 19 2007 - [email protected] |
16e0724e779f
Bump ekiga to 2.0.9, opal to 2.2.8, pwlib to 1.10.7. Remove one upstream patch.
elaine
parents:
9753
diff
changeset
|
218 |
- Bump to 2.0.9. |
9753
a0c5bd536527
move the -Lpath that could specify the /usr/lib/ as the search directory
elaine
parents:
9688
diff
changeset
|
219 |
* Tue Apr 17 2007 - [email protected] |
a0c5bd536527
move the -Lpath that could specify the /usr/lib/ as the search directory
elaine
parents:
9688
diff
changeset
|
220 |
- move the -Lpath that could specify the /usr/lib/ as the search directory |
a0c5bd536527
move the -Lpath that could specify the /usr/lib/ as the search directory
elaine
parents:
9688
diff
changeset
|
221 |
when link time. |
9688 | 222 |
* Thu Apr 5 2007 - [email protected] |
223 |
- move libsdl, pwlib and opal to their own separate spec files |
|
9611
6f61610dc6d2
Add patch ekiga-23-opal-illege-payloadtype.diff to fix bugster6537448
elaine
parents:
9592
diff
changeset
|
224 |
* Fri Mar 23 2007 - [email protected] |
6f61610dc6d2
Add patch ekiga-23-opal-illege-payloadtype.diff to fix bugster6537448
elaine
parents:
9592
diff
changeset
|
225 |
- Add patch ekiga-23-opal-illege-payloadtype.diff to fix bugster6537448 |
6f61610dc6d2
Add patch ekiga-23-opal-illege-payloadtype.diff to fix bugster6537448
elaine
parents:
9592
diff
changeset
|
226 |
already upstream. Refer to |
6f61610dc6d2
Add patch ekiga-23-opal-illege-payloadtype.diff to fix bugster6537448
elaine
parents:
9592
diff
changeset
|
227 |
http://openh323.cvs.sourceforge.net/openh323/opal/src/h323/h323.cxx?r1=2.143&r2=2.144 |
9592 | 228 |
* Mon Mar 20 2007 - [email protected] |
229 |
- Point at ftp.gnome.org for ekiga bz2 tarball. ekiga.org only has gz tarball. |
|
9519 | 230 |
* Mon Mar 12 2007 - [email protected] |
231 |
- Bump to 2.0.7; bump pwlib to 1.10.5 & bump opal to 2.2.6. Remove upstream |
|
232 |
patch, 21-pwlib-v4l2-enable, renumber remainder. |
|
9515 | 233 |
* Sun Mar 11 2007 - [email protected] |
234 |
- Add patch ekiga-22-ekiga-performance-tuning.diff |
|
235 |
ekiga-23-pwlib-performance-tuning.diff |
|
236 |
Both of them for ekiga performance tuning with video support. |
|
237 |
Will upstream them or part of them to community if tuning is done. |
|
9397 | 238 |
* Wed Feb 14 2007 - [email protected] |
239 |
- Add patch ekiga-21-pwlib-enable-v4l2.diff to fix bugzilla407820 |
|
240 |
Meantime enable V4L2 plugin in ekiga.spec |
|
241 |
* Wed Feb 14 2007 - [email protected] |
|
242 |
- Bump to 2.0.5; bump pwlib to 1.10.4 & bump opal to 2.2.5. |
|
243 |
* Tue Feb 13 2007 - [email protected] |
|
244 |
- Add l10n tarball. |
|
245 |
* Mon Jan 29 2007 - [email protected] |
|
246 |
- Cancel parallel job option for ekiga(including sdl, pwlib, opal) build. |
|
247 |
To temporily solve the potential problems caused by parallel. |
|
248 |
Will be fixed ASAP. |
|
249 |
* Sat Jan 27 2007 - [email protected] |
|
250 |
- Bump ekiga to 2.0.4 shrink patches and spec file for build failure |
|
251 |
* Wed Jan 24 2007 - [email protected] |
|
252 |
- Bump pwlib to 1.10.3, opal to 2.2.4. Remove upstream patches, |
|
253 |
08-pwlib-disconnect, 09-pwlib-unset-port, 13-opal-bz356696, |
|
254 |
15-opal-invalidarrayindex, 16-pwlib-video. Add patch 20-opal-break to fix |
|
255 |
build error (sourceforge: 1643652). |
|
256 |
* Mon Jan 22 2007 - [email protected] |
|
257 |
- Bump to 2.0.4. |
|
258 |
* Thu Jan 04 2007 - [email protected] |
|
259 |
- Add patch ekiga-19-freeze-accessibility.diff. Workes around bugzilla 329454. |
|
260 |
* Thu Dec 28 2006 - [email protected] |
|
261 |
- change the patch type to branding for some patches in patch comments |
|
262 |
* Wed Nov 29 2006 - [email protected] |
|
263 |
- Fix typo in name of patch 18: s/18-opal-sunray/18-sunray/ |
|
264 |
* Mon Nov 27 2006 - [email protected] |
|
265 |
- Add patch ekiga-18-sunray-port-conflict.diff. Fixes bugzilla 367516. |
|
266 |
* Mon Nov 20 2006 - [email protected] |
|
267 |
- Add patch comment |
|
268 |
* Thu Nov 02 2006 - [email protected] |
|
269 |
- Bump version to 2.0.3 |
|
270 |
- Sync patches those have been upstreamed in ekiga community trunk |
|
271 |
- ekiga-10-pwlib-bz356696.diff, ekiga-13-opal-bz356696.diff(better fix |
|
272 |
for bugzilla356696) |
|
273 |
- ekiga-15-opal-invalidarrayindex.diff(bugzilla367482) |
|
274 |
- ekiga-16-pwlib-video.diff(bugzilla367516) |
|
275 |
- ekiga-17-opal-rtp.diff(CR#6483823, CR#6483831, which caused revert to |
|
276 |
2.0.2 in b52b) |
|
277 |
* Wed Oct 25 2006 - [email protected] |
|
278 |
- Roll back to the previous version 2.0.2 since following critical bug |
|
279 |
was found in 2.0.3 CR#6483823(and another P2 bug CR#6483831) |
|
280 |
* Tue Oct 17 2006 - [email protected] |
|
281 |
- Bump version to 2.0.3 |
|
282 |
- Add patch ekiga-pwlib-09-unset-port.diff to fix bug CR#6476679 |
|
283 |
- Add patch ekiga-10-pwlib-bz356696.diff to fix bug gnome bugzilla #356696 |
|
284 |
* Mon Oct 09 2006 - [email protected] |
|
285 |
- Add patch ekiga-08-pwlib-disconnect-crash.diff to fix bug CR#6470530 |
|
286 |
* Fri Sep 15 2006 - [email protected] |
|
287 |
- Fixed erroneous comments in %defines |
|
288 |
* Wed Sep 06 2006 - [email protected] |
|
289 |
- Bump pwlib to 1.10.2, opal to 2.2.3. |
|
290 |
* Mon Sep 04 2006 - [email protected] |
|
291 |
- Bump to 2.0.3. |
|
292 |
* Mon Sep 04 2006 - [email protected] |
|
293 |
- Bump libsdl to 1.2.11. |
|
294 |
* Tue Aug 08 2006 - [email protected] |
|
295 |
- Change 'cd dir*' to use '%{version}'. |
|
296 |
* Mon Jul 10 2006 - [email protected] |
|
297 |
- change to use Ekiga 2.0.2 release |
|
298 |
* Fri Jun 16 2006 - [email protected] |
|
299 |
- add GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 to make sure not |
|
300 |
install the directory based %gconf.xml files based on the |
|
301 |
instruction in gconf.txt |
|
302 |
* Wed Jun 07 2006 - [email protected] |
|
303 |
- chdir into ekiga dir before applying ekiga patches. |
|
304 |
* Fri Jun 02 2006 - [email protected] |
|
305 |
- Add patch for change the menu entry according to the UI spec. |
|
306 |
* Mon May 15 2006 - [email protected] |
|
307 |
- Add patch ekiga-08-multi-decla.diff to fix multiple declaration |
|
308 |
error. |
|
309 |
* Fri Apr 14 2006 - <[email protected]> |
|
310 |
- Initial release for ekiga |