author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16021 | 9d984e35c938 |
child 16589 | fab90e661d62 |
permissions | -rw-r--r-- |
9688 | 1 |
# |
2 |
# spec file for package opal |
|
3 |
# |
|
4 |
# Copyright 2007 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner elaine |
9688 | 9 |
# |
10 |
Name: opal |
|
11 |
License: MPL |
|
12 |
Group: System/Libraries |
|
16021
9d984e35c938
Bump Ekiga to 3.2.5. Bump PTLib to 2.6.4 and OPAL to 3.6.4. Remove upstream patches and add new patches. Enable URL feature in PTLib.
elaine
parents:
14635
diff
changeset
|
13 |
Version: 3.6.4 |
9688 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
16 |
Vendor: Sun Microsystems, Inc. |
|
17 |
Summary: OPAL - Open Phone Abstraction Library |
|
16021
9d984e35c938
Bump Ekiga to 3.2.5. Bump PTLib to 2.6.4 and OPAL to 3.6.4. Remove upstream patches and add new patches. Enable URL feature in PTLib.
elaine
parents:
14635
diff
changeset
|
18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/opal/3.6/%{name}-%{version}.tar.gz |
9688 | 19 |
|
20 |
# owner:davelam date:2006-04-14 type:branding |
|
21 |
# change library naming rule to fit unix style |
|
22 |
Patch1: opal-01-libname.diff |
|
23 |
||
14603 | 24 |
# owner:elaine date:2008-11-11 type:branding |
25 |
# help ekiga find opal.pc |
|
26 |
Patch2: opal-02-no-public-pc.diff |
|
27 |
||
9688 | 28 |
# owner:hawklu date:2006-05-15 type:bug |
29 |
# bugster:6416969 |
|
14603 | 30 |
# updated by elaine |
31 |
Patch3: opal-03-jitter.diff |
|
9688 | 32 |
|
9691
1df5632661fe
Add patch opal-04-pack-addr.diff to fix bugster6538068
elaine
parents:
9688
diff
changeset
|
33 |
|
9688 | 34 |
URL: http://www.ekiga.org |
35 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
36 |
Docdir: %{_defaultdocdir}/%{name} |
|
37 |
Autoreqprov: on |
|
38 |
Requires: speex |
|
14603 | 39 |
Requires: ptlib |
9688 | 40 |
|
41 |
%description |
|
42 |
OPAL is an Open Source class library for the development of |
|
43 |
applications that use SIP / H.323 protocols for multimedia |
|
44 |
communications over packet based networks. |
|
45 |
||
46 |
%package devel |
|
47 |
Summary: Headers for developing programs that will use opal |
|
48 |
Group: Development/Libraries |
|
49 |
Requires: %{name} |
|
50 |
||
51 |
%description devel |
|
52 |
This package contains the headers that programmers will need to develop |
|
53 |
applications which will use opal. |
|
54 |
||
55 |
%prep |
|
56 |
%setup -q -n %{name}-%{version} |
|
14603 | 57 |
#%patch1 -p1 |
9688 | 58 |
%patch2 -p1 |
59 |
%patch3 -p1 |
|
60 |
||
61 |
%build |
|
62 |
%ifos linux |
|
63 |
if [ -x /usr/bin/getconf ]; then |
|
64 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
65 |
fi |
|
66 |
%else |
|
67 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
68 |
%endif |
|
69 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
70 |
CPUS=1 |
|
71 |
fi |
|
72 |
||
73 |
export CFLAGS="%optflags" |
|
16021
9d984e35c938
Bump Ekiga to 3.2.5. Bump PTLib to 2.6.4 and OPAL to 3.6.4. Remove upstream patches and add new patches. Enable URL feature in PTLib.
elaine
parents:
14635
diff
changeset
|
74 |
export CXXFLAGS="%cxx_optflags -DSOLARIS" |
9688 | 75 |
export LDFLAGS="%_ldflags" |
9753
a0c5bd536527
move the -Lpath that could specify the /usr/lib/ as the search directory
elaine
parents:
9691
diff
changeset
|
76 |
%{?ekiga_libdir:export LDFLAGS="$LDFLAGS -R%{ekiga_libdir}"} |
14603 | 77 |
|
78 |
cd plugins |
|
79 |
aclocal |
|
80 |
autoconf |
|
81 |
cd .. |
|
82 |
aclocal |
|
83 |
autoconf |
|
9688 | 84 |
./configure \ |
85 |
--prefix=%{_prefix} \ |
|
86 |
--libdir=%{?ekiga_libdir}%{?!ekiga_libdir:%{_libdir}} \ |
|
87 |
--bindir=%{_bindir} \ |
|
88 |
--sysconfdir=%{_sysconfdir} \ |
|
9920
cea270d13904
Disable IAX feature support per OPAL ECCN requirements.
elaine
parents:
9785
diff
changeset
|
89 |
--mandir=%{_mandir} \ |
cea270d13904
Disable IAX feature support per OPAL ECCN requirements.
elaine
parents:
9785
diff
changeset
|
90 |
--disable-iax |
9688 | 91 |
make -j $CPUS |
92 |
||
93 |
%install |
|
94 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
95 |
||
96 |
%clean |
|
97 |
rm -rf $RPM_BUILD_ROOT |
|
98 |
||
99 |
%post -p /sbin/ldconfig |
|
100 |
%postun -p /sbin/ldconfig |
|
101 |
||
102 |
%files |
|
103 |
%defattr (-, root, root) |
|
104 |
%{ekiga_libdir}/*.so.* |
|
105 |
||
106 |
%files devel |
|
107 |
%defattr(-, root, root) |
|
108 |
%{ekiga_libdir}/*.so |
|
109 |
||
110 |
%changelog |
|
16021
9d984e35c938
Bump Ekiga to 3.2.5. Bump PTLib to 2.6.4 and OPAL to 3.6.4. Remove upstream patches and add new patches. Enable URL feature in PTLib.
elaine
parents:
14635
diff
changeset
|
111 |
* Tue Jul 14 2009 - [email protected] |
9d984e35c938
Bump Ekiga to 3.2.5. Bump PTLib to 2.6.4 and OPAL to 3.6.4. Remove upstream patches and add new patches. Enable URL feature in PTLib.
elaine
parents:
14635
diff
changeset
|
112 |
- Bump to 3.6.4. Remove Opal-05-option-err upstream patch. |
14635 | 113 |
* Thu Nov 20 2008 - [email protected] |
114 |
- Bump to 3.4.2. Remove upstreamed opal-04-endian patch. |
|
14603 | 115 |
* Fri Nov 14 2008 - [email protected] |
116 |
- Bump to 3.4.1. Add new patches and remove obsolete patches. |
|
117 |
- Update build options for new version. |
|
13379 | 118 |
* Wed Sep 03 2008 - [email protected] |
119 |
- Add note to not bump to 3.3.1 as ekiga depends on it. |
|
11348 | 120 |
* Sun Dec 23 2007 - [email protected] |
121 |
- Download tar.gz instead of tar.bz2. bz2 tarball is N/A |
|
11111 | 122 |
* Fri Nov 02 2007 - [email protected] |
123 |
- Fix a typo. |
|
10504 | 124 |
* Tue Sep 18 2007 - [email protected] |
125 |
- Bump to 2.2.11. |
|
9920
cea270d13904
Disable IAX feature support per OPAL ECCN requirements.
elaine
parents:
9785
diff
changeset
|
126 |
* Thu May 17 2007 - [email protected] |
cea270d13904
Disable IAX feature support per OPAL ECCN requirements.
elaine
parents:
9785
diff
changeset
|
127 |
- Disable IAX feature support per OPAL ECCN requirement. |
9785 | 128 |
* Wed Apr 25 2007 - [email protected] |
129 |
- Update owner name for opal-04-pack-addr.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
|
130 |
* 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
|
131 |
- Bump to 2.2.8, move upstream patch opal-02-illegal-payloadtype.diff. |
9753
a0c5bd536527
move the -Lpath that could specify the /usr/lib/ as the search directory
elaine
parents:
9691
diff
changeset
|
132 |
* Tue Apr 17 2007 - [email protected] |
a0c5bd536527
move the -Lpath that could specify the /usr/lib/ as the search directory
elaine
parents:
9691
diff
changeset
|
133 |
- 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:
9691
diff
changeset
|
134 |
when link time. |
9691
1df5632661fe
Add patch opal-04-pack-addr.diff to fix bugster6538068
elaine
parents:
9688
diff
changeset
|
135 |
* Fri Apr 6 2007 - [email protected] |
1df5632661fe
Add patch opal-04-pack-addr.diff to fix bugster6538068
elaine
parents:
9688
diff
changeset
|
136 |
- Add patch opal-04-pack-addr.diff to fix bugster6538068 |
1df5632661fe
Add patch opal-04-pack-addr.diff to fix bugster6538068
elaine
parents:
9688
diff
changeset
|
137 |
Actually it works for pwlib-05-medialib.diff. It makes the YUV420P payload |
1df5632661fe
Add patch opal-04-pack-addr.diff to fix bugster6538068
elaine
parents:
9688
diff
changeset
|
138 |
buffer packed by 8 Byte. If pwlib-05-media.diff is upstream, it should be |
1df5632661fe
Add patch opal-04-pack-addr.diff to fix bugster6538068
elaine
parents:
9688
diff
changeset
|
139 |
upstream. If not, the performance brougnt by medialib is hurt. |
9688 | 140 |
* Thu Apr 5 2007 - [email protected] |
141 |
- Create |