]>
Commit | Line | Data |
---|---|---|
632d2dd3 PZ |
1 | Summary: Logging service for Telepathy |
2 | Name: telepathy-logger | |
3 | Version: 0.1.1 | |
4 | Release: 1 | |
5 | License: LGPL | |
6 | Group: Libraries | |
7 | Source0: http://telepathy.freedesktop.org/releases/telepathy-logger/%{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: 76b69c52a53aec8a8d1b5a0f02484a8c | |
9 | URL: http://telepathy.freedesktop.org/wiki/Logger | |
10 | BuildRequires: autoconf >= 2.59 | |
11 | BuildRequires: automake >= 1:1.8 | |
12 | BuildRequires: glib2-devel >= 1:2.0.0 | |
13 | Requires: %{name} = %{version}-%{release} | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | This package provides Gadu-Gadu functionality for Telepathy. | |
18 | ||
19 | %description -l pl.UTF-8 | |
20 | Ten pakiet udostępnia funkcjonalność Gadu-Gadu dla Telepathy. | |
21 | ||
22 | %package apidocs | |
23 | Summary: telepathy-logger library API documentation | |
24 | Group: Documentation | |
25 | Requires: gtk-doc-common | |
26 | ||
27 | %description apidocs | |
28 | telepathy-logger library API documentation. | |
29 | ||
30 | %package libs | |
31 | Summary: telepathy-logger shared libraries | |
32 | Group: Libraries | |
33 | ||
34 | %description libs | |
35 | telepathy-logger shared libraries. | |
36 | ||
37 | %package devel | |
38 | Summary: Header files for telepathy-logger library | |
39 | Group: Development/Libraries | |
40 | Requires: %{name}-libs = %{version}-%{release} | |
41 | Requires: glib2-devel >= 1:2.0.0 | |
42 | ||
43 | %description devel | |
44 | Header files for telepathy-logger library. | |
45 | ||
46 | %prep | |
47 | %setup -q | |
48 | ||
49 | %build | |
50 | %{__aclocal} -I m4 | |
51 | %{__autoconf} | |
52 | %{__automake} | |
53 | %configure \ | |
54 | --disable-static \ | |
55 | --with-html-dir=%{_gtkdocdir} | |
56 | %{__make} -j1 | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | rm $RPM_BUILD_ROOT%{_libdir}/*.la | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post | |
69 | %gconf_schema_install telepathy-logger.schemas | |
70 | ||
71 | %preun | |
72 | %gconf_schema_uninstall telepathy-logger.schemas | |
73 | ||
74 | %post libs -p /sbin/ldconfig | |
75 | %postun libs -p /sbin/ldconfig | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
79 | %doc AUTHORS ChangeLog | |
80 | %attr(755,root,root) %{_bindir}/telepathy-logger | |
81 | %{_sysconfdir}/gconf/schemas/telepathy-logger.schemas | |
82 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Logger.service | |
83 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Logger.service | |
84 | %{_datadir}/telepathy/clients/TelepathyLogger.client | |
85 | ||
86 | %files apidocs | |
87 | %defattr(644,root,root,755) | |
88 | %{_gtkdocdir}/telepathy-logger | |
89 | ||
90 | %files libs | |
91 | %defattr(644,root,root,755) | |
92 | %attr(755,root,root) %{_libdir}/libtelepathy-logger.so.*.* | |
93 | %attr(755,root,root) %ghost %{_libdir}/libtelepathy-logger.so.0 | |
94 | ||
95 | %files devel | |
96 | %defattr(644,root,root,755) | |
97 | %{_libdir}/libtelepathy-logger.so | |
98 | %{_includedir}/telepathy-logger | |
99 | %{_pkgconfigdir}/telepathy-logger.pc |