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