author | woos |
Mon, 28 Jun 2004 02:49:14 +0000 | |
changeset 3224 | 8ca3f4526524 |
parent 3120 | cb346324f8c9 |
child 3263 | 3c14210c0b99 |
permissions | -rw-r--r-- |
836 | 1 |
Name: openh323 |
2 |
License: MPL |
|
3 |
Group: System Environment/Libraries |
|
2074 | 4 |
Version: 1.13.2 |
3224 | 5 |
Release: 13 |
2069 | 6 |
Distribution: Cinnabar |
836 | 7 |
Vendor: Sun Microsystems, Inc. |
8 |
Summary: Library for H323 spec. |
|
9 |
URL: http://www.openh323.org/ |
|
10 |
Source0: %{name}-%{version}.tar.bz2 |
|
11 |
Source1: Speex-0.8.1.tar.bz2 |
|
12 |
Patch0: openh323-01-libname.diff |
|
2433 | 13 |
Patch1: openh323-02-forte-Makefile.diff |
14 |
Patch2: openh323-03-fix-frame-classify.diff |
|
15 |
Patch3: openh323-04-fix-vid_coder.diff |
|
2441 | 16 |
Patch4: openh323-05-fix-encoder-h261.diff |
836 | 17 |
BuildRoot: %{_tmppath}/%{name}-root |
18 |
Docdir: %{_defaultdocdir}/doc |
|
1080 | 19 |
Prereq: /sbin/ldconfig |
836 | 20 |
|
21 |
%define pwlib_version 1.5.0 |
|
22 |
%define xfee86_version 4.3.0 |
|
23 |
||
24 |
Requires: pwlib >= %{pwlib_version} |
|
25 |
BuildRequires: pwlib-devel >= %{pwlib_version} |
|
26 |
BuildRequires: XFree86-devel >= %{xfree86_vresion} |
|
27 |
||
28 |
%description |
|
29 |
Implementation of the ITU H.323 teleconferencing protocol. |
|
30 |
||
31 |
%package devel |
|
32 |
Summary: Development package for openh323 |
|
33 |
Group: Development/Libraries |
|
34 |
Requires: openh323 = %{version} |
|
35 |
||
36 |
%description devel |
|
37 |
Static libraries and header files for development with openh323. |
|
38 |
||
39 |
%prep |
|
40 |
%setup -q -n %{name} |
|
41 |
%patch0 -p1 |
|
2433 | 42 |
%patch1 -p1 |
43 |
%patch2 -p1 |
|
44 |
%patch3 -p1 |
|
2441 | 45 |
%patch4 -p1 |
836 | 46 |
|
1522 | 47 |
bzcat %SOURCE1 | tar xf - |
836 | 48 |
ln -s Speex-0.8.1 speex |
49 |
||
50 |
||
51 |
%build |
|
52 |
# First build static Speex libs |
|
53 |
cd speex |
|
54 |
./configure --enable-shared=no --enable-static=yes --with-pic=yes |
|
55 |
make |
|
56 |
cd .. |
|
57 |
||
58 |
(mkdir pwlibdir; cd pwlibdir; |
|
59 |
ln -s %{_datadir}/pwlib/make make |
|
60 |
ln -s %{_datadir} share |
|
61 |
ln -s %{_includedir} include |
|
62 |
ln -s %{_libdir} lib |
|
63 |
mkdir -p tools |
|
64 |
ln -s %{_bindir}/asnparser tools/asnparser |
|
65 |
ln -s %{_bindir} bin |
|
66 |
) |
|
67 |
||
2443 | 68 |
export PWLIBDIR=`pwd`/pwlibdir |
2066 | 69 |
export PWLIB_BUILD="yes" |
836 | 70 |
export PTLIB_CONFIG=`which ptlib-config` |
71 |
||
72 |
./configure --prefix=%{_prefix} \ |
|
73 |
--sysconfdir=%{_sysconfdir} |
|
74 |
||
75 |
||
76 |
make optshared |
|
77 |
||
78 |
%install |
|
79 |
mkdir -p $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/openh323,%{_bindir},%{_datadir}/misc} |
|
80 |
cp -d lib/lib*.so* $RPM_BUILD_ROOT%{_libdir} |
|
81 |
install include/*.h $RPM_BUILD_ROOT%{_includedir}/openh323 |
|
82 |
install speex/libspeex/speex.h speex/libspeex/speex_bits.h speex/libspeex/speex_header.h $RPM_BUILD_ROOT%{_includedir}/openh323 |
|
83 |
||
84 |
sed -e's@\$(OPENH323DIR)/include@&/openh323@' < openh323u.mak \ |
|
85 |
> $RPM_BUILD_ROOT%{_datadir}/misc/openh323u.mak |
|
86 |
||
87 |
%clean |
|
88 |
rm -rf $RPM_BUILD_ROOT |
|
89 |
||
90 |
%post |
|
1080 | 91 |
/sbin/ldconfig |
836 | 92 |
|
93 |
%postun |
|
1080 | 94 |
/sbin/ldconfig |
836 | 95 |
|
96 |
%files |
|
97 |
%defattr(-,root,root) |
|
98 |
%doc ReadMe.txt mpl-1.0.htm |
|
99 |
%{_libdir}/*.so.* |
|
100 |
||
101 |
%files devel |
|
102 |
%defattr(-,root,root) |
|
103 |
%{_libdir}/*.so |
|
104 |
%{_includedir}/* |
|
105 |
%{_datadir}/misc/* |
|
106 |
||
107 |
%changelog |
|
2441 | 108 |
* Fri Apr 09 2004 - [email protected] |
109 |
- Added needed Solaris patch 05. |
|
110 |
||
2434 | 111 |
* Thu Apr 06 2004 - [email protected] |
112 |
- Added needed Solaris patches 02, 03, 04. |
|
113 |
||
2074 | 114 |
* Fri Feb 27 2004 - [email protected] |
115 |
- Built tarball 1.13.2 for g-m 1.0 |
|
116 |
||
2070
14b553ed8655
Added Distro to automake-jds, changelog typo in openh323
mattk
parents:
2069
diff
changeset
|
117 |
* Fri Feb 27 2004 - [email protected] |
2069 | 118 |
- Update Distro |
119 |
||
2066 | 120 |
* Thu Feb 26 2004 - [email protected] |
121 |
- Updated tarballs to 1.12.2 |
|
122 |
||
836 | 123 |
* Wed Jul 16 2003 - [email protected] |
124 |
- Initial Sun Release |