author | dermotm |
Mon, 05 Apr 2004 18:02:55 +0000 | |
changeset 2398 | 7a29461443c9 |
parent 2280 | 8e749eca2b37 |
child 2433 | d951b765bd7c |
permissions | -rw-r--r-- |
836 | 1 |
Name: openh323 |
2 |
License: MPL |
|
3 |
Group: System Environment/Libraries |
|
2074 | 4 |
Version: 1.13.2 |
2398 | 5 |
Release: 7 |
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 |
|
13 |
BuildRoot: %{_tmppath}/%{name}-root |
|
14 |
Docdir: %{_defaultdocdir}/doc |
|
1080 | 15 |
Prereq: /sbin/ldconfig |
836 | 16 |
|
17 |
%define pwlib_version 1.5.0 |
|
18 |
%define xfee86_version 4.3.0 |
|
19 |
||
20 |
Requires: pwlib >= %{pwlib_version} |
|
21 |
BuildRequires: pwlib-devel >= %{pwlib_version} |
|
22 |
BuildRequires: XFree86-devel >= %{xfree86_vresion} |
|
23 |
||
24 |
%description |
|
25 |
Implementation of the ITU H.323 teleconferencing protocol. |
|
26 |
||
27 |
%package devel |
|
28 |
Summary: Development package for openh323 |
|
29 |
Group: Development/Libraries |
|
30 |
Requires: openh323 = %{version} |
|
31 |
||
32 |
%description devel |
|
33 |
Static libraries and header files for development with openh323. |
|
34 |
||
35 |
%prep |
|
36 |
%setup -q -n %{name} |
|
37 |
%patch0 -p1 |
|
38 |
||
1522 | 39 |
bzcat %SOURCE1 | tar xf - |
836 | 40 |
ln -s Speex-0.8.1 speex |
41 |
||
42 |
||
43 |
%build |
|
44 |
# First build static Speex libs |
|
45 |
cd speex |
|
46 |
./configure --enable-shared=no --enable-static=yes --with-pic=yes |
|
47 |
make |
|
48 |
cd .. |
|
49 |
||
50 |
(mkdir pwlibdir; cd pwlibdir; |
|
51 |
ln -s %{_datadir}/pwlib/make make |
|
52 |
ln -s %{_datadir} share |
|
53 |
ln -s %{_includedir} include |
|
54 |
ln -s %{_libdir} lib |
|
55 |
mkdir -p tools |
|
56 |
ln -s %{_bindir}/asnparser tools/asnparser |
|
57 |
ln -s %{_bindir} bin |
|
58 |
) |
|
59 |
||
60 |
export PWLIBDIR=%{_builddir}/openh323/pwlibdir |
|
2066 | 61 |
export PWLIB_BUILD="yes" |
836 | 62 |
export PTLIB_CONFIG=`which ptlib-config` |
63 |
||
64 |
./configure --prefix=%{_prefix} \ |
|
65 |
--sysconfdir=%{_sysconfdir} |
|
66 |
||
67 |
||
68 |
make optshared |
|
69 |
||
70 |
%install |
|
71 |
mkdir -p $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/openh323,%{_bindir},%{_datadir}/misc} |
|
72 |
cp -d lib/lib*.so* $RPM_BUILD_ROOT%{_libdir} |
|
73 |
install include/*.h $RPM_BUILD_ROOT%{_includedir}/openh323 |
|
74 |
install speex/libspeex/speex.h speex/libspeex/speex_bits.h speex/libspeex/speex_header.h $RPM_BUILD_ROOT%{_includedir}/openh323 |
|
75 |
||
76 |
sed -e's@\$(OPENH323DIR)/include@&/openh323@' < openh323u.mak \ |
|
77 |
> $RPM_BUILD_ROOT%{_datadir}/misc/openh323u.mak |
|
78 |
||
79 |
%clean |
|
80 |
rm -rf $RPM_BUILD_ROOT |
|
81 |
||
82 |
%post |
|
1080 | 83 |
/sbin/ldconfig |
836 | 84 |
|
85 |
%postun |
|
1080 | 86 |
/sbin/ldconfig |
836 | 87 |
|
88 |
%files |
|
89 |
%defattr(-,root,root) |
|
90 |
%doc ReadMe.txt mpl-1.0.htm |
|
91 |
%{_libdir}/*.so.* |
|
92 |
||
93 |
%files devel |
|
94 |
%defattr(-,root,root) |
|
95 |
%{_libdir}/*.so |
|
96 |
%{_includedir}/* |
|
97 |
%{_datadir}/misc/* |
|
98 |
||
99 |
%changelog |
|
2074 | 100 |
* Fri Feb 27 2004 - [email protected] |
101 |
- Built tarball 1.13.2 for g-m 1.0 |
|
102 |
||
2070
14b553ed8655
Added Distro to automake-jds, changelog typo in openh323
mattk
parents:
2069
diff
changeset
|
103 |
* Fri Feb 27 2004 - [email protected] |
2069 | 104 |
- Update Distro |
105 |
||
2066 | 106 |
* Thu Feb 26 2004 - [email protected] |
107 |
- Updated tarballs to 1.12.2 |
|
108 |
||
836 | 109 |
* Wed Jul 16 2003 - [email protected] |
110 |
- Initial Sun Release |