]> git.pld-linux.org Git - packages/empathy.git/blob - empathy.spec
- updated to 0.21.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:        0.21.2
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:  c7951d16d843f64a73ea475797308c64
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.0.57
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.37
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 -n python-%{name}
88 Summary:        Python module for Empathy
89 Summary(pl.UTF-8):      Moduł Pythona dla Empathy
90 Group:          Development/Libraries
91 Requires:       %{name}-libs = %{version}-%{release}
92
93 %description -n python-%{name}
94 Python module for Empathy.
95
96 %description -n python-%{name} -l pl.UTF-8
97 Moduł Pythona dla Empathy.
98
99 %prep
100 %setup -q
101 %patch0 -p1
102
103 sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS
104 mv po/sr\@{Latn,latin}.po
105
106 %build
107 %{__glib_gettextize}
108 %{__libtoolize}
109 %{__intltoolize}
110 %{__aclocal}
111 %{__autoheader}
112 %{__automake}
113 %{__autoconf}
114 %configure \
115         --disable-schemas-install \
116         --with-html-dir=%{_gtkdocdir}
117 %{__make}
118
119 %install
120 rm -rf $RPM_BUILD_ROOT
121
122 %{__make} install \
123         DESTDIR=$RPM_BUILD_ROOT \
124         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
125
126 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
127
128 %find_lang %{name} --with-gnome --all-name
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %post
134 %gconf_schema_install empathy.schemas
135 %gconf_schema_install GNOME_Megaphone_Applet.schemas
136 %update_icon_cache hicolor
137
138 %preun
139 %gconf_schema_uninstall empathy.schemas
140 %gconf_schema_uninstall GNOME_Megaphone_Applet.schemas
141
142 %postun
143 %update_icon_cache hicolor
144
145 %post   libs -p /sbin/ldconfig
146 %postun libs -p /sbin/ldconfig
147
148 %files -f %{name}.lang
149 %defattr(644,root,root,755)
150 %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README
151 %attr(755,root,root) %{_bindir}/*
152 %{_datadir}/%{name}
153 %{_iconsdir}/hicolor/*/apps/*
154 %{_sysconfdir}/gconf/schemas/empathy.schemas
155 %{_sysconfdir}/gconf/schemas/GNOME_Megaphone_Applet.schemas
156 %{_sysconfdir}/xdg/autostart/empathy.desktop
157 %attr(755,root,root) %{_libdir}/empathy-call-chandler
158 %attr(755,root,root) %{_libdir}/empathy-chat-chandler
159 %attr(755,root,root) %{_libdir}/megaphone-applet
160 %{_libdir}/bonobo/servers/GNOME_Megaphone_Applet.server
161 %{_datadir}/dbus-1/services/*.service
162 %{_datadir}/mission-control/profiles/*.profile
163 %{_datadir}/telepathy/managers/empathy-chat.chandler
164
165 %files libs
166 %defattr(644,root,root,755)
167 %attr(755,root,root) %{_libdir}/libempathy.so.*.*.*
168 %attr(755,root,root) %{_libdir}/libempathy-gtk.so.*.*.*
169
170 %files devel
171 %defattr(644,root,root,755)
172 %attr(755,root,root) %{_libdir}/libempathy.so
173 %attr(755,root,root) %{_libdir}/libempathy-gtk.so
174 %{_libdir}/libempathy.la
175 %{_libdir}/libempathy-gtk.la
176 %{_includedir}/libempathy
177 %{_includedir}/libempathy-gtk
178 %{_gtkdocdir}/libempathy
179 %{_gtkdocdir}/libempathy-gtk
180 %{_pkgconfigdir}/libempathy.pc
181 %{_pkgconfigdir}/libempathy-gtk.pc
182
183 %files static
184 %defattr(644,root,root,755)
185 %{_libdir}/libempathy.a
186 %{_libdir}/libempathy-gtk.a
187
188 %files -n python-%{name}
189 %defattr(644,root,root,755)
190 %attr(755,root,root) %{py_sitedir}/empathy.so
191 %attr(755,root,root) %{py_sitedir}/empathygtk.so
This page took 0.075995 seconds and 4 git commands to generate.