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: 2e9f8ee2c7ffa1612f70bb36757b99e5
14 URL: http://telepathy.freedesktop.org/wiki/
15 BuildRequires: autoconf >= 2.59
16 BuildRequires: automake >= 1:1.9
17 BuildRequires: dbus-glib-devel >= 0.74
18 BuildRequires: glib2-devel >= 1:2.16.0
19 %{?with_apidocs:BuildRequires: gtk-doc >= 1.10}
20 BuildRequires: libtool
21 BuildRequires: libxslt-progs
22 BuildRequires: pkgconfig
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 telepathy-glib is a D-Bus framework for unifying real time
27 communication, including instant messaging, voice calls and video
28 calls. It abstracts differences between protocols to provide a unified
29 interface for applications.
31 %description -l pl.UTF-8
32 telepathy-glib jest szkieletem opartym na D-Bus ujednolicającym
33 komunikację w czasie rzeczywistym, włączając w to komunikatory oraz
34 komunikację głosową i za pośrednictwem wideo. Zasłania warstwą
35 abstrakcji różnice pomiędzy protokołami dostarczając jednolity
36 interfejs dla aplikacji.
39 Summary: Header files for telepathy-glib library
40 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki telepathy-glib
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
43 Requires: dbus-glib-devel >= 0.74
44 Requires: glib2-devel >= 1:2.16.0
47 Header files for telepathy-glib library.
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe biblioteki telepathy-glib.
53 Summary: Static telepathy-glib library
54 Summary(pl.UTF-8): Statyczna biblioteka telepathy-glib
55 Group: Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
59 Static telepathy-glib library.
61 %description static -l pl.UTF-8
62 Statyczna biblioteka telepathy-glib.
65 Summary: telepathy-glib API documentation
66 Summary(pl.UTF-8): Dokumentacja API telepathy-glib
68 Requires: gtk-doc-common
71 telepathy-glib API documentation.
73 %description apidocs -l pl.UTF-8
74 Dokumentacja API telepathy-glib.
86 --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
87 --with-html-dir=%{_gtkdocdir}
91 rm -rf $RPM_BUILD_ROOT
94 DESTDIR=$RPM_BUILD_ROOT
96 %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
99 rm -rf $RPM_BUILD_ROOT
101 %post -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog README
107 %attr(755,root,root) %{_libdir}/libtelepathy-glib.so.*.*.*
108 %attr(755,root,root) %ghost %{_libdir}/libtelepathy-glib.so.0
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/libtelepathy-glib.so
113 %{_libdir}/libtelepathy-glib.la
114 %dir %{_includedir}/telepathy-1.0
115 %dir %{_includedir}/telepathy-1.0/telepathy-glib
116 %dir %{_includedir}/telepathy-1.0/telepathy-glib/_gen
117 %{_includedir}/telepathy-1.0/telepathy-glib/*.h
118 %{_includedir}/telepathy-1.0/telepathy-glib/_gen/*.h
119 %{_pkgconfigdir}/telepathy-glib.pc
122 %defattr(644,root,root,755)
123 %{_libdir}/libtelepathy-glib.a
127 %defattr(644,root,root,755)
128 %{_gtkdocdir}/telepathy-glib