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