1 # TODO: use libraries from Speex.spec and libgsm.spec, not included versions
2 # the same with lpc10 after packaging it (http://www.arl.wustl.edu/~jaf/lpc/)
3 Summary: Linphone Internet Phone
4 Summary(pl): Linphone - telefon internetowy
9 Group: Applications/Communications
10 Source0: http://savannah.gnu.org/download/%{name}/%{version}/sources/%{name}-%{version}.tar.gz
11 Patch0: %{name}-DESTDIR.patch
12 URL: http://www.linphone.org/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: gnome-libs-devel
16 BuildRequires: gnome-core-devel
17 BuildRequires: libosip-devel
18 BuildRequires: libtool >= 1:1.4.2-9
19 BuildRequires: scrollkeeper
20 Requires(post,postun): /sbin/ldconfig
21 Requires(post,postun): /usr/bin/scrollkeeper
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define _sysconfdir /etc/X11/GNOME
26 %define _gtkdocdir %{_defaultdocdir}/gtk-doc/html
29 Linphone is a web phone: it let you phone to your friends anywhere in
30 the whole world, freely, simply by using the internet. The cost of the
31 phone call is the cost that you spend connected to the internet.
33 Here are the main features of linphone:
34 - Works with the Gnome Desktop under linux.
35 - Works as simply as a cellular phone. Two buttons, no more.
36 - Understands the SIP protocol.
37 - You just require a soundcard to use linphone.
38 - Linphone is free software, released under the General Public
40 - Linphone is documented: there is a complete user manual readable
41 from the application that explains you all you need to know.
44 Linphone to telefon internetowy - pozwala dzwoniæ do znajomych na
45 ca³ym ¶wiecie bez dodatkowych op³at, u¿ywaj±c tylko Internetu.
47 G³ówne cechy linphone:
48 - dzia³anie ze ¶rodowiskiem GNOME
49 - na¶ladowanie prostego telefonu komórkowego - tylko dwa przyciski
50 - obs³uga protoko³u SIP
51 - wymaga karty d¼wiêkowej
52 - jest wolnodostêpnym oprogramowaniem (na licencji GPL)
53 - ma dokumentacjê: pe³ny podrêcznik dostêpny z aplikacji.
56 Summary: Linphone Internet Phone - header files
57 Summary(pl): Telefon internetowy Linphone - pliki nag³ówkowe
58 Group: Development/Libraries
59 Requires: %{name} = %{version}
60 Requires: gtk-doc-common
63 Development files for the Linphone Internet Phone.
65 %description devel -l pl
66 Pliki dla programistów u¿ywaj±cych telefonu internetowego Linphone.
69 Summary: Linphone static libraries
70 Summary(pl): Statyczne biblioteki Linphone
71 Group: Development/Libraries
72 Requires: %{name}-devel = %{version}
75 Static version of Linphone libraries.
77 %description static -l pl
78 Statyczne wersje bibliotek Linphone.
89 %{__aclocal} -I macros -I m4
97 automake -a -c --foreign
104 --with-html-dir=%{_gtkdocdir}
109 rm -rf $RPM_BUILD_ROOT
112 DESTDIR=$RPM_BUILD_ROOT \
113 HTML_DIR=%{_gtkdocdir} \
114 linphone_sysdir=%{_sysconfdir}/CORBA/servers \
115 linphone_applidir=%{_applnkdir}/Network/Communications
118 rm -f $RPM_BUILD_ROOT{%{_datadir}/{man/man1/speex???.1*,doc/manual.pdf},%{_libdir}/libspeex.*a}
120 %find_lang %{name} --with-gnome --all-name
123 rm -rf $RPM_BUILD_ROOT
126 /usr/bin/scrollkeeper-update
130 /usr/bin/scrollkeeper-update
133 %files -f %{name}.lang
134 %defattr(644,root,root,755)
135 %doc AUTHORS BUGS ChangeLog NEWS README TODO
136 %config(noreplace) %{_sysconfdir}/CORBA/servers/*
137 %attr(755,root,root) %{_bindir}/*
138 %attr(755,root,root) %{_libdir}/lib*.so.*.*
139 %{_applnkdir}/Network/Communications/*
140 %{_datadir}/applets/Network/*
143 %{_datadir}/linphonec
146 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_libdir}/*.so
150 %{_includedir}/osipua
155 %defattr(644,root,root,755)