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