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