]>
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 |
3e7bb2df | 10 | Release: 21 |
026c4fa8 | 11 | License: GPL |
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 |
026c4fa8 | 19 | URL: http://www.ekiga.org/ |
705d24e5 | 20 | BuildRequires: GConf2-devel >= 2.14.0 |
026c4fa8 | 21 | BuildRequires: SDL-devel |
22 | BuildRequires: autoconf | |
23 | BuildRequires: automake | |
3e8eb574 JB |
24 | BuildRequires: avahi-devel >= 0.6 |
25 | BuildRequires: avahi-glib-devel >= 0.6 | |
501b1938 | 26 | BuildRequires: boost-devel |
fe2283c3 | 27 | BuildRequires: dbus-glib-devel >= 0.60 |
7ae15e65 | 28 | BuildRequires: docbook-dtd412-xml |
705d24e5 | 29 | BuildRequires: evolution-data-server-devel >= 1.6.1 |
b4b62eb7 | 30 | BuildRequires: gettext-tools |
026c4fa8 | 31 | BuildRequires: gnome-common >= 2.8.0 |
3e8eb574 | 32 | BuildRequires: gnome-doc-utils |
026c4fa8 | 33 | BuildRequires: intltool >= 0.33 |
705d24e5 JR |
34 | BuildRequires: libgnome-devel >= 2.14.0 |
35 | BuildRequires: libgnomeui-devel >= 2.14.0 | |
b985b66f | 36 | BuildRequires: libselinux-devel |
99bca0dc | 37 | BuildRequires: libsigc++-devel |
026c4fa8 | 38 | BuildRequires: libtool |
850f53a2 | 39 | BuildRequires: opal-devel >= 3.10.10 |
a8b8bb53 | 40 | BuildRequires: openldap-devel >= 2.4.6 |
3e8eb574 | 41 | BuildRequires: pkgconfig |
850f53a2 | 42 | BuildRequires: ptlib-devel >= 1:2.10.10 |
026c4fa8 | 43 | BuildRequires: rpmbuild(macros) >= 1.197 |
44 | BuildRequires: scrollkeeper | |
7ae15e65 | 45 | BuildRequires: speex-devel |
8cfe86e7 | 46 | BuildRequires: libsrtp2-devel |
7ae15e65 | 47 | BuildRequires: unixODBC-devel |
99bca0dc | 48 | BuildRequires: xorg-lib-libXv-devel |
762a819b | 49 | Requires(post,postun): gtk-update-icon-cache |
99bca0dc | 50 | Requires(post,postun): hicolor-icon-theme |
7ae15e65 | 51 | Requires(post,postun): scrollkeeper |
5ed564fd | 52 | Requires(post,preun): GConf2 >= 2.14.0 |
fe2283c3 | 53 | Requires: dbus >= 0.60 |
5ed564fd JR |
54 | Requires: evolution-data-server >= 1.6.1 |
55 | Requires: libgnome >= 2.14.0 | |
56 | Requires: libgnomeui >= 2.14.0 | |
c58ce12b | 57 | Requires: ptlib-sound |
026c4fa8 | 58 | Obsoletes: gnomemeeting |
f1f343bb | 59 | # sr@Latn vs. sr@latin |
60 | Conflicts: glibc-misc < 6:2.7 | |
026c4fa8 | 61 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
62 | ||
63 | %description | |
0a94754a | 64 | Ekiga is a IP Telephony and Video Conferencing application which |
026c4fa8 | 65 | complies to the SIP and H.323 protocols. It can connect to a variety |
0a94754a | 66 | of other SIP and H323 applications including specialized hardware. |
026c4fa8 | 67 | Ekiga can work with or without a webcam, and is able to create pure |
0a94754a | 68 | audio communications or traditionnal audio+video communications. Ekiga |
69 | was fomerly known as GnomeMeeting. | |
026c4fa8 | 70 | |
6b7fb924 | 71 | %description -l pl.UTF-8 |
0a94754a | 72 | Ekiga jest programem przeznaczonym do wideokonferencji oraz telefonii |
6b7fb924 JR |
73 | internetowej zgodnej z protokołami SIP oraz H.323. Może łączyć się z |
74 | różnymi aplikacjami SIP lub H.323 włączając w to specjalizowane | |
75 | urządzenia. Program Ekiga może pracować z kamerą internetową, | |
76 | zestawiać same połączenia głosowe jak również tradycyjne z dźwiękiem i | |
77 | obrazem. Ekiga była poprzednio znana jako GnomeMeeting. | |
026c4fa8 | 78 | |
79 | %prep | |
80 | %setup -q | |
99bca0dc | 81 | %patch0 -p1 |
501b1938 | 82 | %patch1 -p1 |
ca13b0c4 | 83 | %patch2 -p1 |
8cfe86e7 | 84 | %patch3 -p1 |
012da6a3 | 85 | sed -i -e 's|Categories=GNOME;GTK;Network;Telephony;|Categories=GTK;GNOME;Network;InstantMessaging;|' ekiga.desktop.in.in |
026c4fa8 | 86 | |
87 | %build | |
026c4fa8 | 88 | %{__libtoolize} |
33c4f13c | 89 | %{__intltoolize} |
4100ecd7 | 90 | %{__aclocal} -I m4 |
026c4fa8 | 91 | %{__autoconf} |
92 | %{__autoheader} | |
93 | %{__automake} | |
94 | %configure \ | |
501b1938 | 95 | --with-boost-libdir=%{_libdir} \ |
0a33959c | 96 | --disable-schemas-install \ |
3c305ed8 RT |
97 | --enable-dbus \ |
98 | --disable-scrollkeeper | |
026c4fa8 | 99 | %{__make} |
100 | ||
101 | %install | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %{__make} install \ | |
105 | DESTDIR=$RPM_BUILD_ROOT | |
106 | ||
f1f343bb | 107 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
108 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
026c4fa8 | 109 | %find_lang %{name} --with-gnome |
110 | ||
111 | %clean | |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
114 | %post | |
115 | %gconf_schema_install ekiga.schemas | |
fe2283c3 JR |
116 | %scrollkeeper_update_post |
117 | %update_desktop_database_post | |
99bca0dc | 118 | %update_icon_cache hicolor |
fe2283c3 JR |
119 | |
120 | %postun | |
121 | %scrollkeeper_update_postun | |
99bca0dc | 122 | %update_icon_cache hicolor |
026c4fa8 | 123 | |
124 | %preun | |
125 | %gconf_schema_uninstall ekiga.schemas | |
126 | ||
127 | %files -f %{name}.lang | |
128 | %defattr(644,root,root,755) | |
129 | %doc AUTHORS ChangeLog NEWS README TODO FAQ | |
4100ecd7 JR |
130 | %attr(755,root,root) %{_bindir}/ekiga |
131 | %attr(755,root,root) %{_bindir}/ekiga-config-tool | |
132 | %attr(755,root,root) %{_bindir}/ekiga-helper | |
133 | %dir %{_libdir}/%{name} | |
134 | %dir %{_libdir}/%{name}/%{version} | |
135 | %dir %{_libdir}/%{name}/%{version}/plugins | |
136 | %attr(755,root,root) %{_libdir}/%{name}/%{version}/libekiga.so | |
137 | %attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmevolution.so | |
138 | %attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmldap.so | |
dfb633cd | 139 | %attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmlibnotify.so |
026c4fa8 | 140 | %{_pixmapsdir}/* |
141 | %{_desktopdir}/*.desktop | |
fe2283c3 JR |
142 | %{_datadir}/dbus-1/services/*.service |
143 | %{_omf_dest_dir}/%{name} | |
026c4fa8 | 144 | %{_datadir}/sounds/%{name} |
99bca0dc | 145 | %{_iconsdir}/hicolor/*/*/ekiga.png |
026c4fa8 | 146 | %{_sysconfdir}/gconf/schemas/* |
4100ecd7 | 147 | %{_mandir}/man1/ekiga.1* |