3 %bcond_without apidocs # disable gtk-doc
5 Summary: A GLib library to ease writing telepathy clients
6 Summary(pl.UTF-8): Biblioteka oparta na GLib dla aplikacji służących do komunikacji
12 Source0: http://telepathy.freedesktop.org/releases/telepathy-glib/%{name}-%{version}.tar.gz
13 # Source0-md5: 42ceb70aacbe918e64c8f3196afc5c81
14 Patch0: %{name}-makefile.patch
15 URL: http://telepathy.freedesktop.org/wiki/
16 BuildRequires: autoconf >= 2.59
17 BuildRequires: automake >= 1:1.9
18 BuildRequires: dbus-glib-devel >= 0.74
19 BuildRequires: glib2-devel >= 1:2.16.0
20 %{?with_apidocs:BuildRequires: gtk-doc >= 1.10}
21 BuildRequires: libtool
22 BuildRequires: libxslt-progs
23 BuildRequires: pkgconfig
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 telepathy-glib is a D-Bus framework for unifying real time
28 communication, including instant messaging, voice calls and video
29 calls. It abstracts differences between protocols to provide a unified
30 interface for applications.
32 %description -l pl.UTF-8
33 telepathy-glib jest szkieletem opartym na D-Bus ujednolicającym
34 komunikację w czasie rzeczywistym, włączając w to komunikatory oraz
35 komunikację głosową i za pośrednictwem wideo. Zasłania warstwą
36 abstrakcji różnice pomiędzy protokołami dostarczając jednolity
37 interfejs dla aplikacji.
40 Summary: Header files for telepathy-glib library
41 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki telepathy-glib
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
44 Requires: dbus-glib-devel >= 0.74
45 Requires: glib2-devel >= 1:2.16.0
48 Header files for telepathy-glib library.
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe biblioteki telepathy-glib.
54 Summary: Static telepathy-glib library
55 Summary(pl.UTF-8): Statyczna biblioteka telepathy-glib
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Static telepathy-glib library.
62 %description static -l pl.UTF-8
63 Statyczna biblioteka telepathy-glib.
66 Summary: telepathy-glib API documentation
67 Summary(pl.UTF-8): Dokumentacja API telepathy-glib
69 Requires: gtk-doc-common
72 telepathy-glib API documentation.
74 %description apidocs -l pl.UTF-8
75 Dokumentacja API telepathy-glib.
88 --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
89 --with-html-dir=%{_gtkdocdir}
93 rm -rf $RPM_BUILD_ROOT
96 DESTDIR=$RPM_BUILD_ROOT
98 %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
101 rm -rf $RPM_BUILD_ROOT
103 %post -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
107 %defattr(644,root,root,755)
108 %doc AUTHORS ChangeLog README
109 %attr(755,root,root) %{_libdir}/libtelepathy-glib.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libtelepathy-glib.so.0
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/libtelepathy-glib.so
115 %{_libdir}/libtelepathy-glib.la
116 %dir %{_includedir}/telepathy-1.0
117 %dir %{_includedir}/telepathy-1.0/telepathy-glib
118 %dir %{_includedir}/telepathy-1.0/telepathy-glib/_gen
119 %{_includedir}/telepathy-1.0/telepathy-glib/*.h
120 %{_includedir}/telepathy-1.0/telepathy-glib/_gen/*.h
121 %{_pkgconfigdir}/telepathy-glib.pc
124 %defattr(644,root,root,755)
125 %{_libdir}/libtelepathy-glib.a
129 %defattr(644,root,root,755)
130 %{_gtkdocdir}/telepathy-glib