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: https://telepathy.freedesktop.org/releases/telepathy-logger/%{name}-%{version}.tar.bz2
13 # Source0-md5: c2f6a31c76cbdf8790500cf4f872ba71
14 URL: https://telepathy.freedesktop.org/components/telepathy-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-tools
21 BuildRequires: glib2-devel >= 1:2.28.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 >= 2:2
29 BuildRequires: libxml2-devel
30 BuildRequires: libxslt-progs
31 BuildRequires: pkgconfig
32 BuildRequires: python >= 1:2.5
33 BuildRequires: rpm-build >= 4.6
34 BuildRequires: rpmbuild(macros) >= 1.592
35 BuildRequires: sqlite3-devel
36 BuildRequires: telepathy-glib-devel >= 0.19.2
37 BuildRequires: xorg-lib-libICE-devel
38 Requires(post,postun): glib2 >= 1:2.28.0
39 Requires: %{name}-libs = %{version}-%{release}
40 Requires: dbus >= 1.1.0
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 This package provides logging service for Telepathy.
46 %description -l pl.UTF-8
47 Ten pakiet udostępnia usługę logowania dla Telepathy.
50 Summary: telepathy-logger shared library
51 Summary(pl.UTF-8): Biblioteka telepathy-logger
53 Requires: dbus-glib >= 0.82
54 Requires: dbus-libs >= 1.1.0
55 Requires: glib2 >= 1:2.28.0
56 Requires: telepathy-glib >= 0.19.2
59 telepathy-logger shared library.
61 %description libs -l pl.UTF-8
62 Biblioteka telepathy-logger.
65 Summary: Header files for telepathy-logger library
66 Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki telepathy-logger
67 Group: Development/Libraries
68 Requires: %{name}-libs = %{version}-%{release}
69 Requires: dbus-glib-devel >= 0.82
70 Requires: glib2-devel >= 1:2.28.0
71 Requires: libxml2-devel
72 Requires: telepathy-glib-devel >= 0.19.2
75 Header files for telepathy-logger library.
77 %description devel -l pl.UTF-8
78 Pliki nagłówkowe dla biblioteki telepathy-logger.
81 Summary: Static telepathy-logger library
82 Summary(pl.UTF-8): Statyczna biblioteka telepathy-logger
83 Group: Development/Libraries
84 Requires: %{name}-devel = %{version}-%{release}
87 Static telepathy-logger library.
89 %description static -l pl.UTF-8
90 Statyczna biblioteka telepathy-logger.
93 Summary: telepathy-logger library API documentation
94 Summary(pl.UTF-8): Dokumentacja API biblioteki telepathy-logger
96 Requires: gtk-doc-common
100 telepathy-logger library API documentation.
102 %description apidocs -l pl.UTF-8
103 Dokumentacja API biblioteki telepathy-logger.
114 --disable-silent-rules \
115 %{!?with_static_libs:--disable-static} \
117 --with-html-dir=%{_gtkdocdir}
121 rm -rf $RPM_BUILD_ROOT
124 DESTDIR=$RPM_BUILD_ROOT
126 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
129 rm -rf $RPM_BUILD_ROOT
131 %post libs -p /sbin/ldconfig
132 %postun libs -p /sbin/ldconfig
135 %glib_compile_schemas
138 %glib_compile_schemas
141 %defattr(644,root,root,755)
142 %doc AUTHORS ChangeLog
143 %attr(755,root,root) %{_libexecdir}/telepathy-logger
144 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Logger.service
145 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Logger.service
146 %{_datadir}/glib-2.0/schemas/org.freedesktop.Telepathy.Logger.gschema.xml
147 %{_datadir}/telepathy/clients/Logger.client
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_libdir}/libtelepathy-logger.so.*.*.*
152 %attr(755,root,root) %ghost %{_libdir}/libtelepathy-logger.so.3
153 %{_libdir}/girepository-1.0/TelepathyLogger-0.2.typelib
156 %defattr(644,root,root,755)
157 %attr(755,root,root) %{_libdir}/libtelepathy-logger.so
158 %{_includedir}/telepathy-logger-0.2
159 %{_pkgconfigdir}/telepathy-logger-0.2.pc
160 %{_datadir}/gir-1.0/TelepathyLogger-0.2.gir
162 %if %{with static_libs}
164 %defattr(644,root,root,755)
165 %{_libdir}/libtelepathy-logger.a
169 %defattr(644,root,root,755)
170 %{_gtkdocdir}/telepathy-logger