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