3 %bcond_without static_libs # don't build static library
5 Summary: Logging service for Telepathy
6 Summary(pl.UTF-8): Usługa logowania dla Telepathy
12 Source0: http://telepathy.freedesktop.org/releases/telepathy-logger/%{name}-%{version}.tar.bz2
13 # Source0-md5: 0b891b860c7f3a01926f5cc22fd26120
14 URL: http://telepathy.freedesktop.org/wiki/Logger
15 BuildRequires: autoconf >= 2.66
16 BuildRequires: automake >= 1:1.9
17 BuildRequires: dbus-devel >= 1.1.0
18 BuildRequires: dbus-glib-devel >= 0.82
19 BuildRequires: docbook-dtd412-xml
20 BuildRequires: gettext-devel
21 BuildRequires: glib2-devel >= 1:2.26.0
22 BuildRequires: gnome-common
23 BuildRequires: gnome-doc-utils > 0.17.3
24 BuildRequires: gobject-introspection-devel >= 0.10.0
25 BuildRequires: gtk-doc >= 1.10
26 BuildRequires: gtk-doc-automake >= 1.10
27 BuildRequires: intltool >= 0.35.0
28 BuildRequires: libtool
29 BuildRequires: libxml2-devel
30 BuildRequires: libxslt-progs
31 BuildRequires: pkgconfig
32 BuildRequires: python >= 1:2.5
33 BuildRequires: rpmbuild(macros) >= 1.592
34 BuildRequires: sqlite3-devel
35 BuildRequires: telepathy-glib-devel >= 0.16.0
36 BuildRequires: xorg-lib-libICE-devel
37 Requires(post,postun): glib2 >= 1:2.26.0
38 Requires: %{name}-libs = %{version}-%{release}
39 Requires: dbus >= 1.1.0
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 This package provides logging service for Telepathy.
45 %description -l pl.UTF-8
46 Ten pakiet udostępnia usługę logowania dla Telepathy.
49 Summary: telepathy-logger shared library
50 Summary(pl.UTF-8): Biblioteka telepathy-logger
52 Requires: dbus-glib >= 0.82
53 Requires: dbus-libs >= 1.1.0
54 Requires: glib2 >= 1:2.26.0
55 Requires: telepathy-glib >= 0.16.0
58 telepathy-logger shared library.
60 %description libs -l pl.UTF-8
61 Biblioteka telepathy-logger.
64 Summary: Header files for telepathy-logger library
65 Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki telepathy-logger
66 Group: Development/Libraries
67 Requires: %{name}-libs = %{version}-%{release}
68 Requires: dbus-glib-devel >= 0.82
69 Requires: glib2-devel >= 1:2.26.0
70 Requires: libxml2-devel
71 Requires: telepathy-glib-devel >= 0.16.0
74 Header files for telepathy-logger library.
76 %description devel -l pl.UTF-8
77 Pliki nagłówkowe dla biblioteki telepathy-logger.
80 Summary: Static telepathy-logger library
81 Summary(pl.UTF-8): Statyczna biblioteka telepathy-logger
82 Group: Development/Libraries
83 Requires: %{name}-devel = %{version}-%{release}
86 Static telepathy-logger library.
88 %description static -l pl.UTF-8
89 Statyczna biblioteka telepathy-logger.
92 Summary: telepathy-logger library API documentation
93 Summary(pl.UTF-8): Dokumentacja API biblioteki telepathy-logger
95 Requires: gtk-doc-common
98 telepathy-logger library API documentation.
100 %description apidocs -l pl.UTF-8
101 Dokumentacja API biblioteki telepathy-logger.
112 --disable-silent-rules \
113 %{!?with_static_libs:--disable-static} \
115 --with-html-dir=%{_gtkdocdir}
119 rm -rf $RPM_BUILD_ROOT
122 DESTDIR=$RPM_BUILD_ROOT
124 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
127 rm -rf $RPM_BUILD_ROOT
129 %post libs -p /sbin/ldconfig
130 %postun libs -p /sbin/ldconfig
133 %glib_compile_schemas
136 %glib_compile_schemas
139 %defattr(644,root,root,755)
140 %doc AUTHORS ChangeLog
141 %attr(755,root,root) %{_libexecdir}/telepathy-logger
142 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Logger.service
143 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Logger.service
144 %{_datadir}/glib-2.0/schemas/org.freedesktop.Telepathy.Logger.gschema.xml
145 %{_datadir}/telepathy/clients/Logger.client
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/libtelepathy-logger.so.*.*.*
150 %attr(755,root,root) %ghost %{_libdir}/libtelepathy-logger.so.2
151 %{_libdir}/girepository-1.0/TelepathyLogger-0.2.typelib
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{_libdir}/libtelepathy-logger.so
156 %{_includedir}/telepathy-logger-0.2
157 %{_pkgconfigdir}/telepathy-logger-0.2.pc
158 %{_datadir}/gir-1.0/TelepathyLogger-0.2.gir
160 %if %{with static_libs}
162 %defattr(644,root,root,755)
163 %{_libdir}/libtelepathy-logger.a
167 %defattr(644,root,root,755)
168 %{_gtkdocdir}/telepathy-logger