- added cpp patch (missing C++ include)
[packages/ekiga.git] / ekiga.spec
CommitLineData
54b726d3
JK
1#
2# WARNING: Ekiga won't work without proper ptlib and opal versions,
3# after changing any of these Ekiga needs testing, not only recompiling
4# Recommended versions: http://wiki.ekiga.org/index.php/Download_Ekiga_sources
5#
026c4fa8 6Summary: SIP and H.323 Videoconferencing
db385c02 7Summary(pl.UTF-8): Program do telekonferencji w standardzie SIP oraz H.323
026c4fa8 8Name: ekiga
850f53a2 9Version: 4.0.1
2ab21b7f
JB
10Release: 22
11License: GPL v2+
026c4fa8 12Group: Applications/Communications
850f53a2
JR
13Source0: http://ftp.gnome.org/pub/GNOME/sources/ekiga/4.0/%{name}-%{version}.tar.xz
14# Source0-md5: 704ba532a8e3e0b5e3e2971dd2db39e4
99bca0dc 15Patch0: %{name}-shell.patch
501b1938 16Patch1: x32.patch
ca13b0c4 17Patch2: libresolv.patch
8cfe86e7 18Patch3: boost-signals2.patch
2ab21b7f
JB
19Patch4: %{name}-cpp.patch
20URL: https://www.ekiga.org/
705d24e5 21BuildRequires: GConf2-devel >= 2.14.0
026c4fa8 22BuildRequires: SDL-devel
2ab21b7f
JB
23BuildRequires: autoconf >= 2.53
24BuildRequires: automake >= 1:1.11
3e8eb574
JB
25BuildRequires: avahi-devel >= 0.6
26BuildRequires: avahi-glib-devel >= 0.6
2ab21b7f
JB
27BuildRequires: boost-devel >= 1.53
28BuildRequires: cyrus-sasl-devel >= 2
29BuildRequires: dbus-devel >= 0.60
fe2283c3 30BuildRequires: dbus-glib-devel >= 0.60
7ae15e65 31BuildRequires: docbook-dtd412-xml
705d24e5 32BuildRequires: evolution-data-server-devel >= 1.6.1
b4b62eb7 33BuildRequires: gettext-tools
2ab21b7f 34BuildRequires: glib2-devel >= 1:2.24.0
026c4fa8 35BuildRequires: gnome-common >= 2.8.0
3e8eb574 36BuildRequires: gnome-doc-utils
2ab21b7f
JB
37BuildRequires: gnome-icon-theme >= 3.0.0
38BuildRequires: gtk+2-devel >= 2:2.20.0
39BuildRequires: intltool >= 0.35.0
705d24e5
JR
40BuildRequires: libgnome-devel >= 2.14.0
41BuildRequires: libgnomeui-devel >= 2.14.0
2ab21b7f 42BuildRequires: libnotify-devel
b985b66f 43BuildRequires: libselinux-devel
99bca0dc 44BuildRequires: libsigc++-devel
2ab21b7f
JB
45BuildRequires: libtool >= 2:2
46BuildRequires: libxml2-devel >= 2.0
850f53a2 47BuildRequires: opal-devel >= 3.10.10
a8b8bb53 48BuildRequires: openldap-devel >= 2.4.6
3e8eb574 49BuildRequires: pkgconfig
850f53a2 50BuildRequires: ptlib-devel >= 1:2.10.10
026c4fa8 51BuildRequires: rpmbuild(macros) >= 1.197
52BuildRequires: scrollkeeper
7ae15e65 53BuildRequires: speex-devel
8cfe86e7 54BuildRequires: libsrtp2-devel
7ae15e65 55BuildRequires: unixODBC-devel
99bca0dc 56BuildRequires: xorg-lib-libXv-devel
762a819b 57Requires(post,postun): gtk-update-icon-cache
99bca0dc 58Requires(post,postun): hicolor-icon-theme
7ae15e65 59Requires(post,postun): scrollkeeper
5ed564fd 60Requires(post,preun): GConf2 >= 2.14.0
fe2283c3 61Requires: dbus >= 0.60
5ed564fd 62Requires: evolution-data-server >= 1.6.1
2ab21b7f
JB
63Requires: glib2 >= 1:2.24.0
64Requires: gnome-icon-theme >= 3.0.0
65Requires: gtk+2 >= 2:2.20.0
5ed564fd
JR
66Requires: libgnome >= 2.14.0
67Requires: libgnomeui >= 2.14.0
c58ce12b 68Requires: ptlib-sound
026c4fa8 69Obsoletes: gnomemeeting
f1f343bb 70# sr@Latn vs. sr@latin
71Conflicts: glibc-misc < 6:2.7
026c4fa8 72BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
73
74%description
0a94754a 75Ekiga is a IP Telephony and Video Conferencing application which
026c4fa8 76complies to the SIP and H.323 protocols. It can connect to a variety
0a94754a 77of other SIP and H323 applications including specialized hardware.
026c4fa8 78Ekiga can work with or without a webcam, and is able to create pure
0a94754a 79audio communications or traditionnal audio+video communications. Ekiga
80was fomerly known as GnomeMeeting.
026c4fa8 81
6b7fb924 82%description -l pl.UTF-8
0a94754a 83Ekiga jest programem przeznaczonym do wideokonferencji oraz telefonii
6b7fb924
JR
84internetowej zgodnej z protokołami SIP oraz H.323. Może łączyć się z
85różnymi aplikacjami SIP lub H.323 włączając w to specjalizowane
86urządzenia. Program Ekiga może pracować z kamerą internetową,
87zestawiać same połączenia głosowe jak również tradycyjne z dźwiękiem i
88obrazem. Ekiga była poprzednio znana jako GnomeMeeting.
026c4fa8 89
90%prep
91%setup -q
99bca0dc 92%patch0 -p1
501b1938 93%patch1 -p1
ca13b0c4 94%patch2 -p1
8cfe86e7 95%patch3 -p1
2ab21b7f 96%patch4 -p1
012da6a3 97sed -i -e 's|Categories=GNOME;GTK;Network;Telephony;|Categories=GTK;GNOME;Network;InstantMessaging;|' ekiga.desktop.in.in
026c4fa8 98
99%build
026c4fa8 100%{__libtoolize}
33c4f13c 101%{__intltoolize}
4100ecd7 102%{__aclocal} -I m4
026c4fa8 103%{__autoconf}
104%{__autoheader}
105%{__automake}
106%configure \
501b1938 107 --with-boost-libdir=%{_libdir} \
3c305ed8 108 --enable-dbus \
2ab21b7f
JB
109 --disable-schemas-install \
110 --disable-scrollkeeper \
111 --disable-silent-rules
112
026c4fa8 113%{__make}
114
115%install
116rm -rf $RPM_BUILD_ROOT
117
118%{__make} install \
119 DESTDIR=$RPM_BUILD_ROOT
120
2ab21b7f
JB
121%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version}/libekiga.la \
122 $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version}/plugins/lib*.la
123
026c4fa8 124%find_lang %{name} --with-gnome
125
126%clean
127rm -rf $RPM_BUILD_ROOT
128
129%post
130%gconf_schema_install ekiga.schemas
fe2283c3
JR
131%scrollkeeper_update_post
132%update_desktop_database_post
99bca0dc 133%update_icon_cache hicolor
fe2283c3
JR
134
135%postun
136%scrollkeeper_update_postun
99bca0dc 137%update_icon_cache hicolor
026c4fa8 138
139%preun
140%gconf_schema_uninstall ekiga.schemas
141
142%files -f %{name}.lang
143%defattr(644,root,root,755)
144%doc AUTHORS ChangeLog NEWS README TODO FAQ
4100ecd7
JR
145%attr(755,root,root) %{_bindir}/ekiga
146%attr(755,root,root) %{_bindir}/ekiga-config-tool
147%attr(755,root,root) %{_bindir}/ekiga-helper
148%dir %{_libdir}/%{name}
149%dir %{_libdir}/%{name}/%{version}
150%dir %{_libdir}/%{name}/%{version}/plugins
151%attr(755,root,root) %{_libdir}/%{name}/%{version}/libekiga.so
152%attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmevolution.so
153%attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmldap.so
dfb633cd 154%attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmlibnotify.so
2ab21b7f
JB
155%{_pixmapsdir}/ekiga
156%{_desktopdir}/ekiga.desktop
157%{_datadir}/dbus-1/services/org.ekiga.Ekiga.service
158%{_datadir}/dbus-1/services/org.ekiga.Helper.service
fe2283c3 159%{_omf_dest_dir}/%{name}
026c4fa8 160%{_datadir}/sounds/%{name}
2ab21b7f
JB
161%{_iconsdir}/hicolor/*x*/apps/ekiga.png
162%{_sysconfdir}/gconf/schemas/ekiga.schemas
4100ecd7 163%{_mandir}/man1/ekiga.1*
This page took 0.525348 seconds and 5 git commands to generate.