]> git.pld-linux.org Git - packages/empathy.git/blob - empathy.spec
b1366fe51420ba5144a2119a06a344fe0d52ba32
[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:        0.21.5
5 Release:        1
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/empathy/0.21/%{name}-%{version}.tar.bz2
9 # Source0-md5:  4f3981dfd1ca51262eef3face325d77c
10 Patch0:         %{name}-python2.5.patch
11 URL:            http://empathy.imendio.org/
12 BuildRequires:  GConf2-devel
13 BuildRequires:  aspell-devel
14 BuildRequires:  autoconf >= 2.59
15 BuildRequires:  automake >= 1:1.9
16 BuildRequires:  dbus-glib-devel
17 BuildRequires:  evolution-data-server-devel
18 BuildRequires:  gnome-panel-devel
19 BuildRequires:  gnome-vfs2-devel
20 BuildRequires:  gtk+2-devel >= 2:2.12.0
21 BuildRequires:  intltool >= 0.36.2
22 BuildRequires:  iso-codes
23 BuildRequires:  libglade2-devel >= 1:2.6.2
24 BuildRequires:  libtelepathy-devel >= 0.3.1
25 BuildRequires:  libtool
26 BuildRequires:  libxml2-devel >= 1:2.6.28
27 BuildRequires:  pkgconfig
28 BuildRequires:  python-pygtk-devel
29 BuildRequires:  rpmbuild(macros) >= 1.311
30 BuildRequires:  telepathy-mission-control-devel >= 4.53
31 Requires(post,postun):  gtk+2 >= 2:2.12.0
32 Requires(post,postun):  hicolor-icon-theme
33 Requires(post,preun):   GConf2
34 Requires:       %{name}-libs = %{version}-%{release}
35 Suggests:       telepathy-butterfly
36 Suggests:       telepathy-gabble
37 Suggests:       telepathy-idle
38 Suggests:       telepathy-salut
39 Obsoletes:      gnome-jabber
40 # sr@Latn vs. sr@latin
41 Conflicts:      glibc-misc < 6:2.7
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 %description
45 Empathy aims at making Instant Messaging with Jabber as easy as
46 possible.
47
48 %description -l pl.UTF-8
49 Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym
50 jak to tylko możliwe.
51
52 %package libs
53 Summary:        Libraries for empathy
54 Summary(pl.UTF-8):      Biblioteki dla empathy
55 Group:          Libraries
56
57 %description libs
58 Libraries for empathy.
59
60 %description libs -l pl.UTF-8
61 Biblioteki dla empathy.
62
63 %package devel
64 Summary:        empathy header files
65 Summary(pl.UTF-8):      Pliki nagłówkowe empathy
66 Group:          X11/Development/Libraries
67 Requires:       %{name}-libs = %{version}-%{release}
68
69 %description devel
70 empathy header files.
71
72 %description devel -l pl.UTF-8
73 Pliki nagłówkowe empathy.
74
75 %package static
76 Summary:        empathy static libraries
77 Summary(pl.UTF-8):      Statyczne biblioteki empathy
78 Group:          Development/Libraries
79 Requires:       %{name}-devel = %{version}-%{release}
80
81 %description static
82 empathy static libraries.
83
84 %description static -l pl.UTF-8
85 Statyczne biblioteki empathy.
86
87 %package apidocs
88 Summary:        empathy API documentation
89 Summary(pl.UTF-8):      Dokumentacja API empathy
90 Group:          Documentation
91 Requires:       gtk-doc-common
92
93 %description apidocs
94 empathy API documentation.
95
96 %description apidocs -l pl.UTF-8
97 Dokumentacja API empathy.
98
99 %package -n python-%{name}
100 Summary:        Python module for Empathy
101 Summary(pl.UTF-8):      Moduł Pythona dla Empathy
102 Group:          Development/Libraries
103 Requires:       %{name}-libs = %{version}-%{release}
104
105 %description -n python-%{name}
106 Python module for Empathy.
107
108 %description -n python-%{name} -l pl.UTF-8
109 Moduł Pythona dla Empathy.
110
111 %prep
112 %setup -q
113 %patch0 -p1
114
115 sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS
116 mv po/sr\@{Latn,latin}.po
117
118 %build
119 %{__glib_gettextize}
120 %{__libtoolize}
121 %{__intltoolize}
122 %{__aclocal}
123 %{__autoheader}
124 %{__automake}
125 %{__autoconf}
126 %configure \
127         --disable-schemas-install \
128         --with-html-dir=%{_gtkdocdir}
129 %{__make}
130
131 %install
132 rm -rf $RPM_BUILD_ROOT
133
134 %{__make} install \
135         DESTDIR=$RPM_BUILD_ROOT \
136         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
137
138 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
139
140 %find_lang %{name} --with-gnome --all-name
141
142 %clean
143 rm -rf $RPM_BUILD_ROOT
144
145 %post
146 %gconf_schema_install empathy.schemas
147 %gconf_schema_install GNOME_Megaphone_Applet.schemas
148 %update_icon_cache hicolor
149
150 %preun
151 %gconf_schema_uninstall empathy.schemas
152 %gconf_schema_uninstall GNOME_Megaphone_Applet.schemas
153
154 %postun
155 %update_icon_cache hicolor
156
157 %post   libs -p /sbin/ldconfig
158 %postun libs -p /sbin/ldconfig
159
160 %files -f %{name}.lang
161 %defattr(644,root,root,755)
162 %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README
163 %attr(755,root,root) %{_bindir}/*
164 %{_datadir}/%{name}
165 %{_iconsdir}/hicolor/*/apps/*
166 %{_sysconfdir}/gconf/schemas/empathy.schemas
167 %{_sysconfdir}/gconf/schemas/GNOME_Megaphone_Applet.schemas
168 %{_sysconfdir}/xdg/autostart/empathy.desktop
169 #%attr(755,root,root) %{_libdir}/empathy-call-chandler
170 %attr(755,root,root) %{_libdir}/empathy-chat-chandler
171 %attr(755,root,root) %{_libdir}/megaphone-applet
172 %{_libdir}/bonobo/servers/GNOME_Megaphone_Applet.server
173 %{_datadir}/dbus-1/services/*.service
174 %{_datadir}/mission-control/profiles/*.profile
175 %{_datadir}/telepathy/managers/empathy-chat.chandler
176
177 %files libs
178 %defattr(644,root,root,755)
179 %attr(755,root,root) %{_libdir}/libempathy.so.*.*.*
180 %attr(755,root,root) %{_libdir}/libempathy-gtk.so.*.*.*
181
182 %files devel
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{_libdir}/libempathy.so
185 %attr(755,root,root) %{_libdir}/libempathy-gtk.so
186 %{_libdir}/libempathy.la
187 %{_libdir}/libempathy-gtk.la
188 %{_includedir}/libempathy
189 %{_includedir}/libempathy-gtk
190 %{_pkgconfigdir}/libempathy.pc
191 %{_pkgconfigdir}/libempathy-gtk.pc
192
193 %files static
194 %defattr(644,root,root,755)
195 %{_libdir}/libempathy.a
196 %{_libdir}/libempathy-gtk.a
197
198 %files apidocs
199 %defattr(644,root,root,755)
200 %{_gtkdocdir}/libempathy
201 %{_gtkdocdir}/libempathy-gtk
202
203 %files -n python-%{name}
204 %defattr(644,root,root,755)
205 %attr(755,root,root) %{py_sitedir}/empathy.so
206 %attr(755,root,root) %{py_sitedir}/empathygtk.so
This page took 0.102756 seconds and 3 git commands to generate.