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