author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 18294 | d30006bf5da1 |
child 21481 | 1a6409a43124 |
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 |
# |
|
17279 | 8 |
%define owner hawklu |
17893 | 9 |
|
10 |
%define OSR 4034:2.0 |
|
11 |
||
9688 | 12 |
Name: opal |
13 |
License: MPL |
|
14 |
Group: System/Libraries |
|
18075 | 15 |
Version: 3.6.8 |
17865 | 16 |
Vendor: Gnome Community |
9688 | 17 |
Release: 1 |
18 |
Distribution: Java Desktop System |
|
19 |
Vendor: Sun Microsystems, Inc. |
|
20 |
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
|
21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/opal/3.6/%{name}-%{version}.tar.gz |
9688 | 22 |
|
23 |
# owner:davelam date:2006-04-14 type:branding |
|
24 |
# change library naming rule to fit unix style |
|
25 |
Patch1: opal-01-libname.diff |
|
26 |
||
14603 | 27 |
# owner:elaine date:2008-11-11 type:branding |
28 |
# help ekiga find opal.pc |
|
29 |
Patch2: opal-02-no-public-pc.diff |
|
30 |
||
9688 | 31 |
# owner:hawklu date:2006-05-15 type:bug |
32 |
# bugster:6416969 |
|
14603 | 33 |
# updated by elaine |
34 |
Patch3: opal-03-jitter.diff |
|
9688 | 35 |
|
16589 | 36 |
# owner:hawklu date:2009-09-18 type:bug doo:11250 |
37 |
Patch4: opal-04-ekiga-hang.diff |
|
38 |
||
16655 | 39 |
# owner:hawklu date:2009-09-23 type:bug |
40 |
Patch5: opal-05-build-fail.diff |
|
9691
1df5632661fe
Add patch opal-04-pack-addr.diff to fix bugster6538068
elaine
parents:
9688
diff
changeset
|
41 |
|
18294 | 42 |
# owner:hawklu date:2010-07-70 type:bug doo:15874 bugzilla:625468 |
43 |
Patch6: opal-06-h323-crash.diff |
|
44 |
||
9688 | 45 |
URL: http://www.ekiga.org |
46 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
47 |
Docdir: %{_defaultdocdir}/%{name} |
|
48 |
Autoreqprov: on |
|
49 |
Requires: speex |
|
14603 | 50 |
Requires: ptlib |
9688 | 51 |
|
52 |
%description |
|
53 |
OPAL is an Open Source class library for the development of |
|
54 |
applications that use SIP / H.323 protocols for multimedia |
|
55 |
communications over packet based networks. |
|
56 |
||
57 |
%package devel |
|
58 |
Summary: Headers for developing programs that will use opal |
|
59 |
Group: Development/Libraries |
|
60 |
Requires: %{name} |
|
61 |
||
62 |
%description devel |
|
63 |
This package contains the headers that programmers will need to develop |
|
64 |
applications which will use opal. |
|
65 |
||
66 |
%prep |
|
67 |
%setup -q -n %{name}-%{version} |
|
14603 | 68 |
#%patch1 -p1 |
9688 | 69 |
%patch2 -p1 |
70 |
%patch3 -p1 |
|
16589 | 71 |
%patch4 -p1 |
16655 | 72 |
%patch5 -p1 |
18294 | 73 |
%patch6 -p1 |
9688 | 74 |
|
75 |
%build |
|
76 |
%ifos linux |
|
77 |
if [ -x /usr/bin/getconf ]; then |
|
78 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
79 |
fi |
|
80 |
%else |
|
81 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
82 |
%endif |
|
83 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
84 |
CPUS=1 |
|
85 |
fi |
|
86 |
||
87 |
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
|
88 |
export CXXFLAGS="%cxx_optflags -DSOLARIS" |
9688 | 89 |
export LDFLAGS="%_ldflags" |
9753
a0c5bd536527
move the -Lpath that could specify the /usr/lib/ as the search directory
elaine
parents:
9691
diff
changeset
|
90 |
%{?ekiga_libdir:export LDFLAGS="$LDFLAGS -R%{ekiga_libdir}"} |
14603 | 91 |
|
92 |
cd plugins |
|
93 |
aclocal |
|
94 |
autoconf |
|
95 |
cd .. |
|
96 |
aclocal |
|
97 |
autoconf |
|
9688 | 98 |
./configure \ |
99 |
--prefix=%{_prefix} \ |
|
100 |
--libdir=%{?ekiga_libdir}%{?!ekiga_libdir:%{_libdir}} \ |
|
101 |
--bindir=%{_bindir} \ |
|
102 |
--sysconfdir=%{_sysconfdir} \ |
|
9920
cea270d13904
Disable IAX feature support per OPAL ECCN requirements.
elaine
parents:
9785
diff
changeset
|
103 |
--mandir=%{_mandir} \ |
cea270d13904
Disable IAX feature support per OPAL ECCN requirements.
elaine
parents:
9785
diff
changeset
|
104 |
--disable-iax |
18075 | 105 |
|
9688 | 106 |
make -j $CPUS |
107 |
||
108 |
%install |
|
109 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
110 |
||
111 |
%clean |
|
112 |
rm -rf $RPM_BUILD_ROOT |
|
113 |
||
114 |
%post -p /sbin/ldconfig |
|
115 |
%postun -p /sbin/ldconfig |
|
116 |
||
117 |
%files |
|
118 |
%defattr (-, root, root) |
|
119 |
%{ekiga_libdir}/*.so.* |
|
120 |
||
121 |
%files devel |
|
122 |
%defattr(-, root, root) |
|
123 |
%{ekiga_libdir}/*.so |
|
124 |
||
125 |
%changelog |
|
18294 | 126 |
* Fri Jul 31 2010 - [email protected] |
127 |
- Fix d.o.o 15874 |
|
18075 | 128 |
* Fri Jun 04 2010 - [email protected] |
129 |
- Bump to 3.6.8 |
|
17279 | 130 |
* Thu Jan 07 2009 - [email protected] |
131 |
- Change the owner to hawklu |
|
16655 | 132 |
* Fri Sep 25 2009 - [email protected] |
133 |
- Add patch opal-05-build-fail.diff |
|
16645 | 134 |
* Wed Sep 23 2009 - [email protected] |
135 |
- Bump to 3.6.6 |
|
16589 | 136 |
* Fri Sep 17 2009 - [email protected] |
137 |
- Add patch opal-04-ekiga-hang.diff |
|
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
|
138 |
* 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
|
139 |
- Bump to 3.6.4. Remove Opal-05-option-err upstream patch. |
14635 | 140 |
* Thu Nov 20 2008 - [email protected] |
141 |
- Bump to 3.4.2. Remove upstreamed opal-04-endian patch. |
|
14603 | 142 |
* Fri Nov 14 2008 - [email protected] |
143 |
- Bump to 3.4.1. Add new patches and remove obsolete patches. |
|
144 |
- Update build options for new version. |
|
13379 | 145 |
* Wed Sep 03 2008 - [email protected] |
146 |
- Add note to not bump to 3.3.1 as ekiga depends on it. |
|
11348 | 147 |
* Sun Dec 23 2007 - [email protected] |
148 |
- Download tar.gz instead of tar.bz2. bz2 tarball is N/A |
|
11111 | 149 |
* Fri Nov 02 2007 - [email protected] |
150 |
- Fix a typo. |
|
10504 | 151 |
* Tue Sep 18 2007 - [email protected] |
152 |
- Bump to 2.2.11. |
|
9920
cea270d13904
Disable IAX feature support per OPAL ECCN requirements.
elaine
parents:
9785
diff
changeset
|
153 |
* Thu May 17 2007 - [email protected] |
cea270d13904
Disable IAX feature support per OPAL ECCN requirements.
elaine
parents:
9785
diff
changeset
|
154 |
- Disable IAX feature support per OPAL ECCN requirement. |
9785 | 155 |
* Wed Apr 25 2007 - [email protected] |
156 |
- 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
|
157 |
* 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
|
158 |
- 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
|
159 |
* 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
|
160 |
- 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
|
161 |
when link time. |
9691
1df5632661fe
Add patch opal-04-pack-addr.diff to fix bugster6538068
elaine
parents:
9688
diff
changeset
|
162 |
* Fri Apr 6 2007 - [email protected] |
1df5632661fe
Add patch opal-04-pack-addr.diff to fix bugster6538068
elaine
parents:
9688
diff
changeset
|
163 |
- 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
|
164 |
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
|
165 |
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
|
166 |
upstream. If not, the performance brougnt by medialib is hurt. |
9688 | 167 |
* Thu Apr 5 2007 - [email protected] |
168 |
- Create |