]> git.pld-linux.org Git - packages/linphone.git/blob - linphone.spec
- removed two lines with define
[packages/linphone.git] / linphone.spec
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
5 Name:           linphone
6 Version:        0.9.1
7 Release:        1
8 License:        LGPL/GPL
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
22 Requires:       applnk
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _sysconfdir     /etc/X11/GNOME
26 %define         _gtkdocdir      %{_defaultdocdir}/gtk-doc/html
27
28 %description
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.
32
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
39       Licence.
40     - Linphone is documented: there is a complete user manual readable
41       from the application that explains you all you need to know.
42
43 %description -l pl
44 Linphone to telefon internetowy - pozwala dzwoniæ do znajomych na
45 ca³ym ¶wiecie bez dodatkowych op³at, u¿ywaj±c tylko Internetu.
46
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.
54
55 %package devel
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
61
62 %description devel
63 Development files for the Linphone Internet Phone.
64
65 %description devel -l pl
66 Pliki dla programistów u¿ywaj±cych telefonu internetowego Linphone.
67
68 %package static
69 Summary:        Linphone static libraries
70 Summary(pl):    Statyczne biblioteki Linphone
71 Group:          Development/Libraries
72 Requires:       %{name}-devel = %{version}
73
74 %description static
75 Static version of Linphone libraries.
76
77 %description static -l pl
78 Statyczne wersje bibliotek Linphone.
79
80 %prep
81 %setup -q
82 %patch0 -p1
83
84 %build
85 rm -f missing
86 # gettext 0.11.5 used
87 #%{__gettextize}
88 %{__libtoolize}
89 %{__aclocal} -I macros -I m4
90 %{__autoconf}
91 %{__automake}
92 cd oRTP
93         %{__libtoolize} 
94         %{__aclocal}
95         %{__autoconf}
96         # don't use -f here
97         automake -a -c --foreign
98 cd ../speex
99         %{__aclocal}
100         %{__autoconf}
101         %{__automake}
102 cd ..
103 %configure \
104         --with-html-dir=%{_gtkdocdir}
105
106 %{__make}
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110
111 %{__make} install \
112         DESTDIR=$RPM_BUILD_ROOT \
113         HTML_DIR=%{_gtkdocdir} \
114         linphone_sysdir=%{_sysconfdir}/CORBA/servers \
115         linphone_applidir=%{_applnkdir}/Network/Communications
116
117 # belongs to Speex
118 rm -f $RPM_BUILD_ROOT{%{_datadir}/{man/man1/speex???.1*,doc/manual.pdf},%{_libdir}/libspeex.*a}
119
120 %find_lang %{name} --with-gnome --all-name
121
122 %clean
123 rm -rf $RPM_BUILD_ROOT
124
125 %post
126 /usr/bin/scrollkeeper-update
127 /sbin/ldconfig
128
129 %postun
130 /usr/bin/scrollkeeper-update
131 /sbin/ldconfig
132
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/*
141 %{_pixmapsdir}/*
142 %{_datadir}/sounds/*
143 %{_datadir}/linphonec
144
145 %files devel
146 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_libdir}/*.so
148 %{_libdir}/*.la
149 %{_includedir}/*.h
150 %{_includedir}/osipua
151 %{_includedir}/ortp
152 %{_gtkdocdir}/*
153
154 %files static
155 %defattr(644,root,root,755)
156 %{_libdir}/*.a
This page took 0.035865 seconds and 3 git commands to generate.