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