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