]>
Commit | Line | Data |
---|---|---|
8f5d8743 | 1 | Summary: Very easy to use GNOME Telepathy client |
ff309d39 | 2 | Summary(pl.UTF-8): Bardzo łatwy w użyciu klient Telepathy dla GNOME |
8f5d8743 | 3 | Name: empathy |
d8157f12 | 4 | Version: 0.10 |
8f5d8743 | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: Applications/Communications | |
d8157f12 PZ |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/0.10/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 8b3e3efc2963fffe9b1051f7484372ac | |
8f5d8743 | 10 | URL: http://empathy.imendio.org/ |
7bc86367 MB |
11 | BuildRequires: GConf2-devel |
12 | BuildRequires: autoconf >= 2.59 | |
13 | BuildRequires: automake >= 1:1.9 | |
8f5d8743 | 14 | BuildRequires: dbus-glib-devel |
7bc86367 MB |
15 | BuildRequires: gnome-vfs2-devel >= 2.18.1 |
16 | BuildRequires: gtk+2-devel >= 2:2.10.12 | |
17 | BuildRequires: intltool >= 0.35.5 | |
8f5d8743 | 18 | BuildRequires: libglade2-devel >= 1:2.6.0 |
7bc86367 MB |
19 | BuildRequires: libgnomeui-devel >= 2.18.1 |
20 | BuildRequires: libtelepathy-devel >= 0.0.51 | |
8f5d8743 | 21 | BuildRequires: libtool |
7bc86367 MB |
22 | BuildRequires: libxml2-devel >= 1:2.6.28 |
23 | BuildRequires: pkgconfig | |
8f5d8743 | 24 | BuildRequires: rpmbuild(macros) >= 1.311 |
d8157f12 PZ |
25 | BuildRequires: telepathy-mission-control-devel >= 4.27 |
26 | Requires: %{name}-libs = %{version}-%{release} | |
7bc86367 | 27 | Requires(post,postun): gtk+2 >= 2:2.10.12 |
8f5d8743 | 28 | Requires(post,postun): hicolor-icon-theme |
7bc86367 | 29 | Requires(post,preun): GConf2 |
e7f1dfbf MB |
30 | Suggests: telepathy-butterfly |
31 | Suggests: telepathy-gabble | |
32 | Suggests: telepathy-idle | |
33 | Suggests: telepathy-salut | |
8f5d8743 | 34 | Obsoletes: gnome-jabber |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %description | |
38 | Empathy aims at making Instant Messaging with Jabber as easy as | |
39 | possible. | |
40 | ||
ff309d39 | 41 | %description -l pl.UTF-8 |
7bc86367 MB |
42 | Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym |
43 | jak to tylko możliwe. | |
ff309d39 | 44 | |
d8157f12 PZ |
45 | %package devel |
46 | Summary: empathy header files | |
47 | Summary(pl.UTF-8): Pliki nagłówkowe empathy | |
48 | Group: X11/Development/Libraries | |
49 | Requires: %{name}-libs = %{version}-%{release} | |
50 | ||
51 | %description devel | |
52 | empathy header files. | |
53 | ||
54 | %description devel -l pl.UTF-8 | |
55 | Pliki nagłówkowe empathy. | |
56 | ||
57 | %package libs | |
58 | Summary: Libraries for empathy | |
59 | Summary(pl.UTF-8): Biblioteki dla empathy | |
60 | Group: Libraries | |
61 | ||
62 | %description libs | |
63 | Libraries for empathy. | |
64 | ||
65 | %description libs -l pl.UTF-8 | |
66 | Biblioteki dla empathy. | |
67 | ||
68 | %package static | |
69 | Summary: empathy static libraries | |
70 | Summary(pl.UTF-8): Statyczne biblioteki empathy | |
71 | Group: Development/Libraries | |
72 | Requires: %{name}-devel = %{version}-%{release} | |
73 | ||
74 | %description static | |
75 | empathy static libraries. | |
76 | ||
77 | %description static -l pl.UTF-8 | |
78 | Statyczne biblioteki empathy. | |
79 | ||
8f5d8743 | 80 | %prep |
81 | %setup -q | |
82 | ||
83 | %build | |
84 | %{__glib_gettextize} | |
85 | %{__libtoolize} | |
86 | %{__intltoolize} | |
87 | %{__aclocal} | |
88 | %{__autoheader} | |
89 | %{__automake} | |
90 | %{__autoconf} | |
91 | %configure \ | |
d8157f12 PZ |
92 | --disable-schemas-install \ |
93 | --with-html-dir=%{_gtkdocdir} | |
8f5d8743 | 94 | %{__make} |
95 | ||
96 | %install | |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
99 | %{__make} install \ | |
100 | DESTDIR=$RPM_BUILD_ROOT \ | |
101 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
102 | ||
103 | %find_lang %{name} --with-gnome --all-name | |
104 | ||
105 | %clean | |
106 | rm -rf $RPM_BUILD_ROOT | |
107 | ||
108 | %post | |
109 | %gconf_schema_install empathy.schemas | |
8f5d8743 | 110 | %update_icon_cache hicolor |
3699aa2c | 111 | %update_desktop_database_post |
8f5d8743 | 112 | |
113 | %preun | |
114 | %gconf_schema_uninstall empathy.schemas | |
115 | ||
116 | %postun | |
8f5d8743 | 117 | %update_icon_cache hicolor |
3699aa2c | 118 | %update_desktop_database_postun |
8f5d8743 | 119 | |
120 | %files -f %{name}.lang | |
121 | %defattr(644,root,root,755) | |
122 | %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README | |
123 | %attr(755,root,root) %{_bindir}/* | |
124 | %{_datadir}/%{name} | |
125 | %{_iconsdir}/hicolor/*/apps/* | |
126 | %{_sysconfdir}/gconf/schemas/empathy.schemas | |
127 | %{_datadir}/dbus-1/services/*.service | |
128 | %{_datadir}/gnome/autostart/empathy.desktop | |
129 | %{_datadir}/mission-control/profiles/*.profile | |
130 | %{_datadir}/telepathy/managers/empathy-chat.chandler | |
d8157f12 PZ |
131 | |
132 | %files devel | |
133 | %defattr(644,root,root,755) | |
134 | %{_includedir}/libempathy | |
135 | %{_includedir}/libempathy-gtk | |
136 | %attr(755,root,root) %{_libdir}/libempathy.so | |
137 | %attr(755,root,root) %{_libdir}/libempathy-gtk.so | |
138 | %{_libdir}/libempathy.la | |
139 | %{_libdir}/libempathy-gtk.la | |
140 | %{_gtkdocdir}/libempathy | |
141 | %{_gtkdocdir}/libempathy-gtk | |
142 | %{_pkgconfigdir}/libempathy.pc | |
143 | %{_pkgconfigdir}/libempathy-gtk.pc | |
144 | ||
145 | %files libs | |
146 | %defattr(644,root,root,755) | |
147 | %attr(755,root,root) %{_libdir}/libempathy.so.*.* | |
148 | %attr(755,root,root) %{_libdir}/libempathy-gtk.so.*.* | |
149 | ||
150 | %files static | |
151 | %defattr(644,root,root,755) | |
152 | %{_libdir}/libempathy.a | |
153 | %{_libdir}/libempathy-gtk.a |