author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 18075 | 194cbe759c95 |
child 21425 | b3566909f07a |
permissions | -rw-r--r-- |
14603 | 1 |
# |
2 |
# spec file for package ptlib |
|
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 |
||
14603 | 12 |
Name: ptlib |
13 |
License: MPL |
|
14 |
Group: System/Libraries |
|
18075 | 15 |
Version: 2.6.7 |
14603 | 16 |
Release: 1 |
17 |
Distribution: Java Desktop System |
|
17865 | 18 |
Vendor: Gnome Community |
14603 | 19 |
Summary: PTLib Class 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:
15997
diff
changeset
|
20 |
Source: http://ftp.gnome.org/pub/GNOME/sources/ptlib/2.6/%{name}-%{version}.tar.gz |
14603 | 21 |
|
22 |
# owner:davelam date:2006-04-14 type:branding |
|
23 |
# use cxxflags to fix build problem |
|
24 |
# updated by elaine |
|
25 |
Patch1: ptlib-01-cxxflags.diff |
|
26 |
||
27 |
# owner:elaine date:2008-11-11 type:branding |
|
28 |
# help ekiga to find the ptlib.pc |
|
29 |
Patch3: ptlib-03-no-public-pc.diff |
|
30 |
||
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:
15997
diff
changeset
|
31 |
# owner:elaine date:2009-07-14 type:bug |
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:
15997
diff
changeset
|
32 |
# sourceforge:2821205 |
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:
15997
diff
changeset
|
33 |
Patch5: ptlib-05-allocator-and-new.diff |
14603 | 34 |
|
16038 | 35 |
# owner:elaine date:2009-07-16 type:bug |
36 |
# bugster:6739228 |
|
37 |
Patch8: ptlib-08-enable-mjpeg.diff |
|
15468 | 38 |
|
14603 | 39 |
URL: http://www.ekiga.org |
40 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
41 |
Docdir: %{_defaultdocdir}/%{name} |
|
42 |
Autoreqprov: on |
|
43 |
||
44 |
%description |
|
45 |
PTLib is a moderately large class library that was created many years |
|
46 |
ago as a method to produce applications that run on both Microsoft |
|
47 |
Windows and the X Window System. |
|
48 |
||
49 |
%package devel |
|
50 |
Summary: Headers for developing programs that will use ptlib |
|
51 |
Group: Development/Libraries |
|
52 |
Requires: %{name} |
|
53 |
||
54 |
%description devel |
|
55 |
This package contains the headers that programmers will need to develop |
|
56 |
applications which will use ptlib. |
|
57 |
||
58 |
%prep |
|
59 |
%setup -q -n %{name}-%{version} |
|
60 |
%patch1 -p1 |
|
61 |
%patch3 -p1 |
|
15468 | 62 |
%patch5 -p1 |
16038 | 63 |
%patch8 -p1 |
14603 | 64 |
|
65 |
# symlink the make dir to bin so that ptlib-config is found by ekiga |
|
66 |
# ln -s make bin |
|
67 |
||
68 |
%build |
|
69 |
%ifos linux |
|
70 |
if [ -x /usr/bin/getconf ]; then |
|
71 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
72 |
fi |
|
73 |
%else |
|
74 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
75 |
%endif |
|
76 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
77 |
CPUS=1 |
|
78 |
fi |
|
79 |
||
80 |
cd plugins |
|
81 |
aclocal |
|
82 |
autoconf |
|
83 |
cd .. |
|
84 |
aclocal |
|
85 |
autoconf |
|
86 |
||
87 |
# unix.mak adds this to a STDCCFLAGS, which is also used for C++ builds |
|
88 |
export RPM_OPT_FLAGS="" |
|
89 |
||
90 |
export CFLAGS="%optflags" |
|
91 |
export CXXFLAGS="%cxx_optflags" |
|
92 |
export LDFLAGS="%_ldflags" |
|
93 |
./configure \ |
|
94 |
--prefix=%{_prefix} \ |
|
95 |
--libdir=%{?ekiga_libdir}%{?!ekiga_libdir:%{_libdir}} \ |
|
96 |
--bindir=%{_bindir} \ |
|
97 |
--sysconfdir=%{_sysconfdir} \ |
|
98 |
--mandir=%{_mandir} \ |
|
99 |
--enable-plugins \ |
|
100 |
--enable-resolver \ |
|
101 |
--enable-opal \ |
|
15997 | 102 |
--disable-openssl \ |
14603 | 103 |
--enable-sunaudio \ |
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:
15997
diff
changeset
|
104 |
--enable-url \ |
16655 | 105 |
--enable-http\ |
106 |
--enable-httpforms\ |
|
107 |
--enable-httpsvc\ |
|
14603 | 108 |
--enable-v4l2 |
16655 | 109 |
|
14603 | 110 |
make -j $CPUS |
111 |
||
112 |
%install |
|
113 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
114 |
||
115 |
# need the -f to remove write protected file |
|
116 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name} |
|
117 |
||
118 |
%clean |
|
119 |
rm -rf $RPM_BUILD_ROOT |
|
120 |
||
121 |
%post -p /sbin/ldconfig |
|
122 |
%postun -p /sbin/ldconfig |
|
123 |
||
124 |
%files |
|
125 |
%defattr (-, root, root) |
|
126 |
%{ekiga_libdir}/*.so.* |
|
127 |
||
128 |
%files devel |
|
129 |
%defattr(-, root, root) |
|
130 |
%{ekiga_libdir}/*.so |
|
131 |
||
132 |
%changelog |
|
18075 | 133 |
* Fri Jun 04 2010 - [email protected] |
134 |
- Bump to 2.6.7 |
|
17279 | 135 |
* Thu Jan 07 2009 - [email protected] |
136 |
- Change the owner to hawklu |
|
16655 | 137 |
* Fri Sep 25 2009 - [email protected] |
138 |
- Add patch ptlib-09-build-fail.diff |
|
139 |
- Enable following options |
|
140 |
--enable-http |
|
141 |
--enable-httpforms |
|
142 |
--enable-httpsvc |
|
143 |
||
16645 | 144 |
* Wed Sep 23 2009 - [email protected] |
145 |
- Bump to 2.6.5 |
|
16038 | 146 |
* Thu Jul 16 2009 - [email protected] |
147 |
- Add a new patch to workaround CR#6739228 then Ekiga sticks to |
|
148 |
use MJPEG format instead of YUV format until this bug is |
|
149 |
resolved. |
|
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:
15997
diff
changeset
|
150 |
* 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:
15997
diff
changeset
|
151 |
- Bump to 2.6.4. Update patches. Enable URL feature. |
15997 | 152 |
* Mon Jul 06 2009 - [email protected] |
153 |
- Disable openssl explicitly. |
|
154 |
* Mon Mar 23 2009 - [email protected] |
|
15468 | 155 |
- Add a new patch to fix bugzilla#576260. |
14635 | 156 |
* Thu Nov 20 2008 - [email protected] |
157 |
- Bump to 2.4.2. |
|
14603 | 158 |
* Fri Nov 14 2008 - [email protected] |
159 |
- Rename to ptlib.spec from pwlib.spec. |
|
160 |
- Bump to 2.4.1. Add new patches and remove obsolete patches. |
|
161 |
- update build options for new version. |
|
162 |
* Wed Sep 03 2008 - [email protected] |
|
163 |
- Add note to not bump to 2.3.1 as ekiga depends on it. |
|
164 |
* Sun Dec 23 2007 - [email protected] |
|
165 |
- Download tar.gz instead of tar.bz2 . bz2 tarball is N/A |
|
166 |
* Mon Nov 19 2007 - [email protected] |
|
167 |
- Add pwlib-06-idct-mlib.diff to fix bugzilla#498082. |
|
168 |
* Tue Sep 18 2007 - [email protected] |
|
169 |
- Bump to 1.10.10. Remove upstream patches, 07-sunaudio-vol-range and |
|
170 |
05-medialib. Renumber rest. |
|
171 |
* Tue Jun 26 2007 - [email protected] |
|
172 |
- Add pwlib-07-sunaudio-vol-range.diff to fix bugster6572725. |
|
173 |
Change pwlib-05-medialib.diff status to upstreamable. |
|
174 |
* Tue Jun 12 2007 - [email protected] |
|
175 |
- Add pwlib-06-rm-flush.diff to fix bugzilla445066. |
|
176 |
* Wed Apr 25 2007 - [email protected] |
|
177 |
- Update owner name for pwlib-05-medialib.diff. |
|
178 |
* Thu Apr 19 2007 - [email protected] |
|
179 |
- Bump to 1.10.7. |
|
180 |
* Thu Apr 5 2007 - [email protected] |
|
181 |
- Create |