1 Summary: Open Phone Abstraction Library (aka OpenH323 v2)
2 Summary(pl): Biblioteka Open Phone Abstraction Library (aka OpenH323 v2)
8 Source0: http://dl.sourceforge.net/sourceforge/openh323/%{name}-Phobos_rc1-src-tar.gz
9 # Source0-md5: a2b03f4f24b5d9cfc157eed7c82d87d7
10 #Source0: http://www.ekiga.org/downloads/beta2/sources/%{name}-%{version}.tar.gz
11 #Patch0: %{name}-opaldir.patch
12 #URL: http://www.openh323.org/
13 URL: http://openh323.sourceforge.net/
14 BuildRequires: pwlib-devel >= 1.9.3-1
15 BuildRequires: speex-devel >= 1:1.1.5
16 BuildRequires: libstdc++-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 The OpenH323 project aims to create a full featured, interoperable,
23 Open Source implementation of the ITU H.323 teleconferencing protocol
24 that can be used by personal developers and commercial users without
28 Celem projektu OpenH323 jest stworzenie w pe³ni funkcjonalnej i
29 wyposa¿onej implementacji protoko³u telekonferencyjnego ITU H.323,
30 który mo¿e byæ u¿ywany przez u¿ytkowników prywatnych i komercyjnych
34 Summary: Opal development files
35 Summary(pl): Pliki dla developerów Opal
36 Group: Development/Libraries
37 Requires: %{name} = %{version}
38 Requires: libstdc++-devel
40 Obsoletes: openh323-devel
43 Header files and libraries for developing applications that use
46 %description devel -l pl
47 Pliki nag³ówkowe i biblioteki konieczne do rozwoju aplikacji
51 #Summary: Opal static libraries
52 #Summary(pl): Biblioteki statyczne Opal
53 #Group: Development/Libraries
54 #Requires: %{name}-devel = %{version}
55 #Obsoletes: openh323-static
58 #OpenH323 static libraries.
60 #%description static -l pl
61 #Biblioteki statyczne OpenH323.
64 %setup -q -n %{name}_Phobos_rc1
68 PWLIBDIR=%{_prefix}; export PWLIBDIR
69 #OPALDESTDIR=%{_prefix}; export OPALDIR
70 #OPENH323_BUILD="yes"; export OPENH323_BUILD
71 #cp -f /usr/share/automake/config.sub .
75 #touch .asnparser.version
79 #%{__make} %{?debug:debug}%{!?debug:opt} \
80 # CC="%{__cc}" CPLUS=%{__cxx} \
81 # PWLIB_MAKE=%{_datadir}/pwlib \
82 # ASNPARSER=%{_bindir}/asnparser \
83 # OPTCCFLAGS="%{rpmcflags}"
85 #%%{__make} -C samples/simple %{?debug:debugshared}%{!?debug:optshared} \
86 # CC="%{__cc}" CPLUS=%{__cxx} \
87 # OPTCCFLAGS="%{rpmcflags}"
90 rm -rf $RPM_BUILD_ROOT
91 #install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/openh323,%{_bindir},%{_datadir}/misc}
94 DESTDIR=$RPM_BUILD_ROOT
96 #using cp as install won't preserve links
97 #cp -d lib/lib* $RPM_BUILD_ROOT%{_libdir}
98 #install include/*.h $RPM_BUILD_ROOT%{_includedir}/openh323
99 #install version.h $RPM_BUILD_ROOT%{_includedir}/openh323
100 #install samples/simple/obj_*/simph323 $RPM_BUILD_ROOT%{_bindir}
102 #sed -e's@\$(OPALDIR)/include@&/opal@' < opal_inc.mak \
103 # > $RPM_BUILD_ROOT%{_datadir}/opal/opal_inc1.mak
106 rm -rf $RPM_BUILD_ROOT
108 %post -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
112 %defattr(644,root,root,755)
113 #%attr(755,root,root) %{_bindir}/*
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
117 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/*.so
124 #%defattr(644,root,root,755)