]> git.pld-linux.org Git - packages/empathy.git/blob - empathy.spec
- updated to 2.28.2
[packages/empathy.git] / empathy.spec
1 Summary:        Very easy to use GNOME Telepathy client
2 Summary(pl.UTF-8):      Bardzo łatwy w użyciu klient Telepathy dla GNOME
3 Name:           empathy
4 Version:        2.28.2
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Communications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/empathy/2.28/%{name}-%{version}.tar.bz2
9 # Source0-md5:  8d578d82d1e51dc8c83642b81c0fb65a
10 URL:            http://live.gnome.org/Empathy
11 BuildRequires:  GConf2-devel >= 2.26.0
12 BuildRequires:  NetworkManager-devel >= 0.7
13 BuildRequires:  autoconf >= 2.59
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  check >= 0.9.4
16 BuildRequires:  clutter-gtk-devel >= 0.10.0
17 BuildRequires:  dbus-glib-devel >= 0.74
18 BuildRequires:  enchant-devel >= 1.2.0
19 BuildRequires:  evolution-data-server-devel >= 2.24.0
20 BuildRequires:  geoclue-devel >= 0.11
21 BuildRequires:  gettext-devel
22 BuildRequires:  gnome-common >= 2.24.0
23 BuildRequires:  gnome-doc-utils >= 0.18.0
24 BuildRequires:  gnome-keyring-devel
25 BuildRequires:  gnome-panel-devel >= 2.24.0
26 BuildRequires:  gstreamer-devel
27 BuildRequires:  gstreamer-plugins-base-devel
28 BuildRequires:  gtk+2-devel >= 2:2.16.0
29 BuildRequires:  gtk-doc >= 1.3
30 BuildRequires:  gtk-webkit-devel >= 1.1.7
31 BuildRequires:  intltool >= 0.40.0
32 BuildRequires:  iso-codes >= 0.35
33 BuildRequires:  libcanberra-gtk-devel >= 0.4
34 BuildRequires:  libchamplain-devel >= 0.4
35 BuildRequires:  libnotify-devel >= 0.4.4
36 BuildRequires:  libtool
37 BuildRequires:  libunique-devel
38 BuildRequires:  libxml2-devel >= 1:2.6.28
39 BuildRequires:  pkgconfig
40 BuildRequires:  python-pygtk-devel
41 BuildRequires:  rpmbuild(find_lang) >= 1.23
42 BuildRequires:  rpmbuild(macros) >= 1.311
43 BuildRequires:  telepathy-farsight-devel
44 BuildRequires:  telepathy-glib-devel >= 0.7.36
45 BuildRequires:  telepathy-mission-control-devel >= 5.0
46 Requires(post,postun):  gtk+2 >= 2:2.12.0
47 Requires(post,postun):  hicolor-icon-theme
48 Requires(post,preun):   GConf2
49 Requires:       %{name}-libs = %{version}-%{release}
50 Suggests:       telepathy-butterfly
51 Suggests:       telepathy-gabble
52 Suggests:       telepathy-haze
53 Suggests:       telepathy-idle
54 Suggests:       telepathy-salut
55 Suggests:       telepathy-sofiasip
56 Obsoletes:      gnome-jabber
57 # sr@Latn vs. sr@latin
58 Conflicts:      glibc-misc < 6:2.7
59 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
60
61 %description
62 Empathy aims at making Instant Messaging with Jabber as easy as
63 possible.
64
65 %description -l pl.UTF-8
66 Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym
67 jak to tylko możliwe.
68
69 %package libs
70 Summary:        Libraries for Empathy
71 Summary(pl.UTF-8):      Biblioteki dla Empathy
72 Group:          Libraries
73
74 %description libs
75 Libraries for Empathy.
76
77 %description libs -l pl.UTF-8
78 Biblioteki dla Empathy.
79
80 %package devel
81 Summary:        Empathy header files
82 Summary(pl.UTF-8):      Pliki nagłówkowe Empathy
83 Group:          X11/Development/Libraries
84 Requires:       %{name}-libs = %{version}-%{release}
85 Requires:       gtk+2-devel >= 2:2.16.0
86 Requires:       libcanberra-gtk-devel >= 0.4
87 Requires:       libxml2-devel >= 1:2.6.28
88 Requires:       telepathy-glib-devel >= 0.7.36
89 Requires:       telepathy-mission-control-devel >= 5.0
90
91 %description devel
92 Empathy header files.
93
94 %description devel -l pl.UTF-8
95 Pliki nagłówkowe Empathy.
96
97 %package apidocs
98 Summary:        Empathy API documentation
99 Summary(pl.UTF-8):      Dokumentacja API Empathy
100 Group:          Documentation
101 Requires:       gtk-doc-common
102
103 %description apidocs
104 Empathy API documentation.
105
106 %description apidocs -l pl.UTF-8
107 Dokumentacja API Empathy.
108
109 %package -n python-%{name}
110 Summary:        Python module for Empathy
111 Summary(pl.UTF-8):      Moduł Pythona dla Empathy
112 Group:          Libraries/Python
113 Requires:       %{name}-libs = %{version}-%{release}
114
115 %description -n python-%{name}
116 Python module for Empathy.
117
118 %description -n python-%{name} -l pl.UTF-8
119 Moduł Pythona dla Empathy.
120
121 %prep
122 %setup -q
123
124 %build
125 %{__intltoolize}
126 %{__libtoolize}
127 %{__aclocal} -I m4
128 %{__autoconf}
129 %{__autoheader}
130 %{__automake}
131 %configure \
132         --with-compile-warnings=no \
133         --disable-schemas-install \
134         --disable-static \
135         --enable-location \
136         --enable-gtk-doc \
137         --enable-shave \
138         --with-html-dir=%{_gtkdocdir}
139 %{__make} -j 1
140
141 %install
142 rm -rf $RPM_BUILD_ROOT
143
144 %{__make} install \
145         DESTDIR=$RPM_BUILD_ROOT \
146         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
147
148 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
149
150 %find_lang %{name} --with-gnome --with-omf
151
152 %clean
153 rm -rf $RPM_BUILD_ROOT
154
155 %post
156 %gconf_schema_install empathy.schemas
157 %gconf_schema_install GNOME_Megaphone_Applet.schemas
158 %update_icon_cache hicolor
159
160 %preun
161 %gconf_schema_uninstall empathy.schemas
162 %gconf_schema_uninstall GNOME_Megaphone_Applet.schemas
163
164 %postun
165 %update_icon_cache hicolor
166
167 %post   libs -p /sbin/ldconfig
168 %postun libs -p /sbin/ldconfig
169
170 %files -f %{name}.lang
171 %defattr(644,root,root,755)
172 %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README
173 %attr(755,root,root) %{_bindir}/empathy
174 %attr(755,root,root) %{_bindir}/empathy-logs
175 %{_datadir}/%{name}
176 %{_datadir}/telepathy/clients/Empathy.client
177 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.service
178 %{_iconsdir}/hicolor/*/apps/*
179 %{_sysconfdir}/gconf/schemas/empathy.schemas
180 %{_sysconfdir}/gconf/schemas/GNOME_Megaphone_Applet.schemas
181 %attr(755,root,root) %{_libdir}/nothere-applet
182 %attr(755,root,root) %{_libdir}/megaphone-applet
183 %{_libdir}/bonobo/servers/*.server
184 %{_mandir}/man1/empathy*.1*
185 %{_desktopdir}/*.desktop
186
187 %files libs
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/libempathy.so.*.*.*
190 %attr(755,root,root) %ghost %{_libdir}/libempathy.so.30
191 %attr(755,root,root) %{_libdir}/libempathy-gtk.so.*.*.*
192 %attr(755,root,root) %ghost %{_libdir}/libempathy-gtk.so.28
193
194 %files devel
195 %defattr(644,root,root,755)
196 %attr(755,root,root) %{_libdir}/libempathy.so
197 %attr(755,root,root) %{_libdir}/libempathy-gtk.so
198 %{_libdir}/libempathy.la
199 %{_libdir}/libempathy-gtk.la
200 %{_includedir}/libempathy
201 %{_includedir}/libempathy-gtk
202 %{_pkgconfigdir}/libempathy.pc
203 %{_pkgconfigdir}/libempathy-gtk.pc
204
205 %files apidocs
206 %defattr(644,root,root,755)
207 %{_gtkdocdir}/libempathy
208 %{_gtkdocdir}/libempathy-gtk
209
210 %files -n python-%{name}
211 %defattr(644,root,root,755)
212 %attr(755,root,root) %{py_sitedir}/empathy.so
213 %attr(755,root,root) %{py_sitedir}/empathygtk.so
This page took 0.070533 seconds and 4 git commands to generate.