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