]>
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: 22 | |
11 | License: GPL v2+ | |
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 | Patch3: boost-signals2.patch | |
19 | Patch4: %{name}-cpp.patch | |
20 | URL: https://www.ekiga.org/ | |
21 | BuildRequires: GConf2-devel >= 2.14.0 | |
22 | BuildRequires: SDL-devel | |
23 | BuildRequires: autoconf >= 2.53 | |
24 | BuildRequires: automake >= 1:1.11 | |
25 | BuildRequires: avahi-devel >= 0.6 | |
26 | BuildRequires: avahi-glib-devel >= 0.6 | |
27 | BuildRequires: boost-devel >= 1.53 | |
28 | BuildRequires: cyrus-sasl-devel >= 2 | |
29 | BuildRequires: dbus-devel >= 0.60 | |
30 | BuildRequires: dbus-glib-devel >= 0.60 | |
31 | BuildRequires: docbook-dtd412-xml | |
32 | BuildRequires: evolution-data-server-devel >= 1.6.1 | |
33 | BuildRequires: gettext-tools | |
34 | BuildRequires: glib2-devel >= 1:2.24.0 | |
35 | BuildRequires: gnome-common >= 2.8.0 | |
36 | BuildRequires: gnome-doc-utils | |
37 | BuildRequires: gnome-icon-theme >= 3.0.0 | |
38 | BuildRequires: gtk+2-devel >= 2:2.20.0 | |
39 | BuildRequires: intltool >= 0.35.0 | |
40 | BuildRequires: libgnome-devel >= 2.14.0 | |
41 | BuildRequires: libgnomeui-devel >= 2.14.0 | |
42 | BuildRequires: libnotify-devel | |
43 | BuildRequires: libselinux-devel | |
44 | BuildRequires: libsigc++-devel | |
45 | BuildRequires: libtool >= 2:2 | |
46 | BuildRequires: libxml2-devel >= 2.0 | |
47 | BuildRequires: opal-devel >= 3.10.10 | |
48 | BuildRequires: openldap-devel >= 2.4.6 | |
49 | BuildRequires: pkgconfig | |
50 | BuildRequires: ptlib-devel >= 1:2.10.10 | |
51 | BuildRequires: rpmbuild(macros) >= 1.197 | |
52 | BuildRequires: scrollkeeper | |
53 | BuildRequires: speex-devel | |
54 | BuildRequires: libsrtp2-devel | |
55 | BuildRequires: unixODBC-devel | |
56 | BuildRequires: xorg-lib-libXv-devel | |
57 | Requires(post,postun): gtk-update-icon-cache | |
58 | Requires(post,postun): hicolor-icon-theme | |
59 | Requires(post,postun): scrollkeeper | |
60 | Requires(post,preun): GConf2 >= 2.14.0 | |
61 | Requires: dbus >= 0.60 | |
62 | Requires: evolution-data-server >= 1.6.1 | |
63 | Requires: glib2 >= 1:2.24.0 | |
64 | Requires: gnome-icon-theme >= 3.0.0 | |
65 | Requires: gtk+2 >= 2:2.20.0 | |
66 | Requires: libgnome >= 2.14.0 | |
67 | Requires: libgnomeui >= 2.14.0 | |
68 | Requires: ptlib-sound | |
69 | Obsoletes: gnomemeeting | |
70 | # sr@Latn vs. sr@latin | |
71 | Conflicts: glibc-misc < 6:2.7 | |
72 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
73 | ||
74 | %description | |
75 | Ekiga is a IP Telephony and Video Conferencing application which | |
76 | complies to the SIP and H.323 protocols. It can connect to a variety | |
77 | of other SIP and H323 applications including specialized hardware. | |
78 | Ekiga can work with or without a webcam, and is able to create pure | |
79 | audio communications or traditionnal audio+video communications. Ekiga | |
80 | was fomerly known as GnomeMeeting. | |
81 | ||
82 | %description -l pl.UTF-8 | |
83 | Ekiga jest programem przeznaczonym do wideokonferencji oraz telefonii | |
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. | |
89 | ||
90 | %prep | |
91 | %setup -q | |
92 | %patch0 -p1 | |
93 | %patch1 -p1 | |
94 | %patch2 -p1 | |
95 | %patch3 -p1 | |
96 | %patch4 -p1 | |
97 | sed -i -e 's|Categories=GNOME;GTK;Network;Telephony;|Categories=GTK;GNOME;Network;InstantMessaging;|' ekiga.desktop.in.in | |
98 | ||
99 | %build | |
100 | %{__libtoolize} | |
101 | %{__intltoolize} | |
102 | %{__aclocal} -I m4 | |
103 | %{__autoconf} | |
104 | %{__autoheader} | |
105 | %{__automake} | |
106 | %configure \ | |
107 | --with-boost-libdir=%{_libdir} \ | |
108 | --enable-dbus \ | |
109 | --disable-schemas-install \ | |
110 | --disable-scrollkeeper \ | |
111 | --disable-silent-rules | |
112 | ||
113 | %{__make} | |
114 | ||
115 | %install | |
116 | rm -rf $RPM_BUILD_ROOT | |
117 | ||
118 | %{__make} install \ | |
119 | DESTDIR=$RPM_BUILD_ROOT | |
120 | ||
121 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version}/libekiga.la \ | |
122 | $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version}/plugins/lib*.la | |
123 | ||
124 | %find_lang %{name} --with-gnome | |
125 | ||
126 | %clean | |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
129 | %post | |
130 | %gconf_schema_install ekiga.schemas | |
131 | %scrollkeeper_update_post | |
132 | %update_desktop_database_post | |
133 | %update_icon_cache hicolor | |
134 | ||
135 | %postun | |
136 | %scrollkeeper_update_postun | |
137 | %update_icon_cache hicolor | |
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 | |
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 | |
154 | %attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmlibnotify.so | |
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 | |
159 | %{_omf_dest_dir}/%{name} | |
160 | %{_datadir}/sounds/%{name} | |
161 | %{_iconsdir}/hicolor/*x*/apps/ekiga.png | |
162 | %{_sysconfdir}/gconf/schemas/ekiga.schemas | |
163 | %{_mandir}/man1/ekiga.1* |