]> git.pld-linux.org Git - packages/opal.git/blob - opal.spec
- up to 2.1.3
[packages/opal.git] / opal.spec
1 Summary:        Open Phone Abstraction Library (aka OpenH323 v2)
2 Summary(pl):    Biblioteka Open Phone Abstraction Library (aka OpenH323 v2)
3 Name:           opal
4 Version:        2.1.3
5 Release:        0.1
6 License:        MPL
7 Group:          Libraries
8 Source0:        http://www.ekiga.org/downloads/beta2/sources/%{name}-%{version}.tar.gz
9 # Source0-md5:  10cbc244058b8f4928a9e337a9025fb7
10 #Patch0:                %{name}-opaldir.patch
11 URL:            http://www.openh323.org/
12 BuildRequires:  pwlib-devel >= 1.9.3-1
13 BuildRequires:  speex-devel >= 1:1.1.5
14 BuildRequires:  libstdc++-devel
15 %requires_eq    pwlib
16 Obsoletes:      openh323
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The OpenH323 project aims to create a full featured, interoperable,
21 Open Source implementation of the ITU H.323 teleconferencing protocol
22 that can be used by personal developers and commercial users without
23 charge.
24
25 %description -l pl
26 Celem projektu OpenH323 jest stworzenie w pe³ni funkcjonalnej i
27 wyposa¿onej implementacji protoko³u telekonferencyjnego ITU H.323,
28 który mo¿e byæ u¿ywany przez u¿ytkowników prywatnych i komercyjnych
29 bez op³at.
30
31 %package devel
32 Summary:        Opal development files
33 Summary(pl):    Pliki dla developerów Opal
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}
36 Requires:       libstdc++-devel
37 Requires:       pwlib-devel
38 Obsoletes:      openh323-devel
39
40 %description devel
41 Header files and libraries for developing applications that use
42 Opal.
43
44 %description devel -l pl
45 Pliki nag³ówkowe i biblioteki konieczne do rozwoju aplikacji
46 u¿ywaj±cych Opal.
47
48 #%package static
49 #Summary:       Opal static libraries
50 #Summary(pl):   Biblioteki statyczne Opal
51 #Group:         Development/Libraries
52 #Requires:      %{name}-devel = %{version}
53 #Obsoletes:     openh323-static
54
55 #%description static
56 #OpenH323 static libraries.
57
58 #%description static -l pl
59 #Biblioteki statyczne OpenH323.
60
61 %prep
62 %setup -q
63 #%patch0 -p1
64
65 %build
66 PWLIBDIR=%{_prefix}; export PWLIBDIR
67 #OPALDESTDIR=%{_prefix}; export OPALDIR
68 #OPENH323_BUILD="yes"; export OPENH323_BUILD
69 #cp -f /usr/share/automake/config.sub .
70 %{__autoconf}
71 %configure 
72 #       --disable-iax
73 #touch .asnparser.version
74
75 %{__make}
76
77 #%{__make} %{?debug:debug}%{!?debug:opt} \
78 #               CC=%{__cc} CPLUS=%{__cxx} \
79 #               PWLIB_MAKE=%{_datadir}/pwlib \
80 #               ASNPARSER=%{_bindir}/asnparser \
81 #               OPTCCFLAGS="%{rpmcflags}"
82
83 #%%{__make} -C samples/simple %{?debug:debugshared}%{!?debug:optshared} \
84 #               CC=%{__cc} CPLUS=%{__cxx} \
85 #               OPTCCFLAGS="%{rpmcflags}"
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89 #install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/openh323,%{_bindir},%{_datadir}/misc}
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 #using cp as install won't preserve links
95 #cp -d lib/lib* $RPM_BUILD_ROOT%{_libdir}
96 #install include/*.h $RPM_BUILD_ROOT%{_includedir}/openh323
97 #install version.h $RPM_BUILD_ROOT%{_includedir}/openh323
98 #install samples/simple/obj_*/simph323 $RPM_BUILD_ROOT%{_bindir}
99
100 #sed -e's@\$(OPALDIR)/include@&/opal@' < opal_inc.mak \
101 #       > $RPM_BUILD_ROOT%{_datadir}/opal/opal_inc1.mak
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post   -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
108
109 %files
110 %defattr(644,root,root,755)
111 #%attr(755,root,root) %{_bindir}/*
112 %attr(755,root,root) %{_libdir}/lib*.so.*.*
113
114 %files devel
115 %defattr(644,root,root,755)
116 #%doc *.txt
117 %attr(755,root,root) %{_libdir}/*.so
118 %{_includedir}/*
119 %{_datadir}/%{name}
120
121 #%files static
122 #%defattr(644,root,root,755)
123 #%{_libdir}/*.a
This page took 0.071485 seconds and 3 git commands to generate.