]>
Commit | Line | Data |
---|---|---|
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 | 6 | Summary: SIP and H.323 Videoconferencing |
db385c02 | 7 | Summary(pl.UTF-8): Program do telekonferencji w standardzie SIP oraz H.323 |
026c4fa8 | 8 | Name: ekiga |
850f53a2 | 9 | Version: 4.0.1 |
2ab21b7f JB |
10 | Release: 22 |
11 | License: GPL v2+ | |
026c4fa8 | 12 | Group: Applications/Communications |
850f53a2 JR |
13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/ekiga/4.0/%{name}-%{version}.tar.xz |
14 | # Source0-md5: 704ba532a8e3e0b5e3e2971dd2db39e4 | |
99bca0dc | 15 | Patch0: %{name}-shell.patch |
501b1938 | 16 | Patch1: x32.patch |
ca13b0c4 | 17 | Patch2: libresolv.patch |
8cfe86e7 | 18 | Patch3: boost-signals2.patch |
2ab21b7f JB |
19 | Patch4: %{name}-cpp.patch |
20 | URL: https://www.ekiga.org/ | |
705d24e5 | 21 | BuildRequires: GConf2-devel >= 2.14.0 |
026c4fa8 | 22 | BuildRequires: SDL-devel |
2ab21b7f JB |
23 | BuildRequires: autoconf >= 2.53 |
24 | BuildRequires: automake >= 1:1.11 | |
3e8eb574 JB |
25 | BuildRequires: avahi-devel >= 0.6 |
26 | BuildRequires: avahi-glib-devel >= 0.6 | |
2ab21b7f JB |
27 | BuildRequires: boost-devel >= 1.53 |
28 | BuildRequires: cyrus-sasl-devel >= 2 | |
29 | BuildRequires: dbus-devel >= 0.60 | |
fe2283c3 | 30 | BuildRequires: dbus-glib-devel >= 0.60 |
7ae15e65 | 31 | BuildRequires: docbook-dtd412-xml |
705d24e5 | 32 | BuildRequires: evolution-data-server-devel >= 1.6.1 |
b4b62eb7 | 33 | BuildRequires: gettext-tools |
2ab21b7f | 34 | BuildRequires: glib2-devel >= 1:2.24.0 |
026c4fa8 | 35 | BuildRequires: gnome-common >= 2.8.0 |
3e8eb574 | 36 | BuildRequires: gnome-doc-utils |
2ab21b7f JB |
37 | BuildRequires: gnome-icon-theme >= 3.0.0 |
38 | BuildRequires: gtk+2-devel >= 2:2.20.0 | |
39 | BuildRequires: intltool >= 0.35.0 | |
705d24e5 JR |
40 | BuildRequires: libgnome-devel >= 2.14.0 |
41 | BuildRequires: libgnomeui-devel >= 2.14.0 | |
2ab21b7f | 42 | BuildRequires: libnotify-devel |
b985b66f | 43 | BuildRequires: libselinux-devel |
99bca0dc | 44 | BuildRequires: libsigc++-devel |
2ab21b7f JB |
45 | BuildRequires: libtool >= 2:2 |
46 | BuildRequires: libxml2-devel >= 2.0 | |
850f53a2 | 47 | BuildRequires: opal-devel >= 3.10.10 |
a8b8bb53 | 48 | BuildRequires: openldap-devel >= 2.4.6 |
3e8eb574 | 49 | BuildRequires: pkgconfig |
850f53a2 | 50 | BuildRequires: ptlib-devel >= 1:2.10.10 |
026c4fa8 | 51 | BuildRequires: rpmbuild(macros) >= 1.197 |
52 | BuildRequires: scrollkeeper | |
7ae15e65 | 53 | BuildRequires: speex-devel |
8cfe86e7 | 54 | BuildRequires: libsrtp2-devel |
7ae15e65 | 55 | BuildRequires: unixODBC-devel |
99bca0dc | 56 | BuildRequires: xorg-lib-libXv-devel |
762a819b | 57 | Requires(post,postun): gtk-update-icon-cache |
99bca0dc | 58 | Requires(post,postun): hicolor-icon-theme |
7ae15e65 | 59 | Requires(post,postun): scrollkeeper |
5ed564fd | 60 | Requires(post,preun): GConf2 >= 2.14.0 |
fe2283c3 | 61 | Requires: dbus >= 0.60 |
5ed564fd | 62 | Requires: evolution-data-server >= 1.6.1 |
2ab21b7f JB |
63 | Requires: glib2 >= 1:2.24.0 |
64 | Requires: gnome-icon-theme >= 3.0.0 | |
65 | Requires: gtk+2 >= 2:2.20.0 | |
5ed564fd JR |
66 | Requires: libgnome >= 2.14.0 |
67 | Requires: libgnomeui >= 2.14.0 | |
c58ce12b | 68 | Requires: ptlib-sound |
026c4fa8 | 69 | Obsoletes: gnomemeeting |
f1f343bb | 70 | # sr@Latn vs. sr@latin |
71 | Conflicts: glibc-misc < 6:2.7 | |
026c4fa8 | 72 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
73 | ||
74 | %description | |
0a94754a | 75 | Ekiga is a IP Telephony and Video Conferencing application which |
026c4fa8 | 76 | complies to the SIP and H.323 protocols. It can connect to a variety |
0a94754a | 77 | of other SIP and H323 applications including specialized hardware. |
026c4fa8 | 78 | Ekiga can work with or without a webcam, and is able to create pure |
0a94754a | 79 | audio communications or traditionnal audio+video communications. Ekiga |
80 | was fomerly known as GnomeMeeting. | |
026c4fa8 | 81 | |
6b7fb924 | 82 | %description -l pl.UTF-8 |
0a94754a | 83 | Ekiga jest programem przeznaczonym do wideokonferencji oraz telefonii |
6b7fb924 JR |
84 | internetowej zgodnej z protokołami SIP oraz H.323. Może łączyć się z |
85 | różnymi aplikacjami SIP lub H.323 włączając w to specjalizowane | |
86 | urządzenia. Program Ekiga może pracować z kamerą internetową, | |
87 | zestawiać same połączenia głosowe jak również tradycyjne z dźwiękiem i | |
88 | obrazem. 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 | 97 | sed -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 | |
116 | rm -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 | |
127 | rm -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* |