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