]>
Commit | Line | Data |
---|---|---|
1 | Summary: Logging service for Telepathy | |
2 | Summary(pl.UTF-8): Usługa logowania dla Telepathy | |
3 | Name: telepathy-logger | |
4 | Version: 0.2.8 | |
5 | Release: 1 | |
6 | License: LGPL | |
7 | Group: Applications | |
8 | Source0: http://telepathy.freedesktop.org/releases/telepathy-logger/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 755e6dcaa6a9ccf47f2fe73f3d4d888b | |
10 | URL: http://telepathy.freedesktop.org/wiki/Logger | |
11 | BuildRequires: autoconf >= 2.66 | |
12 | BuildRequires: automake >= 1:1.9 | |
13 | BuildRequires: dbus-devel >= 1.1.0 | |
14 | BuildRequires: dbus-glib-devel >= 0.82 | |
15 | BuildRequires: docbook-dtd412-xml | |
16 | BuildRequires: gettext-devel | |
17 | BuildRequires: glib2-devel >= 1:2.26.0 | |
18 | BuildRequires: gnome-common | |
19 | BuildRequires: gnome-doc-utils > 0.17.3 | |
20 | BuildRequires: gobject-introspection-devel >= 0.10.0 | |
21 | BuildRequires: gtk-doc >= 1.10 | |
22 | BuildRequires: gtk-doc-automake >= 1.10 | |
23 | BuildRequires: intltool >= 0.35.0 | |
24 | BuildRequires: libtool | |
25 | BuildRequires: libxml2-devel | |
26 | BuildRequires: pkgconfig | |
27 | BuildRequires: rpmbuild(macros) >= 1.592 | |
28 | BuildRequires: sqlite3-devel | |
29 | BuildRequires: telepathy-glib-devel >= 0.14.0 | |
30 | BuildRequires: xorg-lib-libICE-devel | |
31 | Requires(post,postun): glib2 >= 1:2.26.0 | |
32 | Requires: %{name}-libs = %{version}-%{release} | |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | This package provides logging service for Telepathy. | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | Ten pakiet udostępnia usługę logowania dla Telepathy. | |
40 | ||
41 | %package apidocs | |
42 | Summary: telepathy-logger library API documentation | |
43 | Summary(pl.UTF-8): Dokumentacja API biblioteki telepathy-logger | |
44 | Group: Documentation | |
45 | Requires: gtk-doc-common | |
46 | ||
47 | %description apidocs | |
48 | telepathy-logger library API documentation. | |
49 | ||
50 | %description apidocs -l pl.UTF-8 | |
51 | Dokumentacja API biblioteki telepathy-logger. | |
52 | ||
53 | %package libs | |
54 | Summary: telepathy-logger shared library | |
55 | Summary(pl.UTF-8): Biblioteka telepathy-logger | |
56 | Group: Libraries | |
57 | ||
58 | %description libs | |
59 | telepathy-logger shared library. | |
60 | ||
61 | %description libs -l pl.UTF-8 | |
62 | Biblioteka telepathy-logger. | |
63 | ||
64 | %package devel | |
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: glib2-devel >= 1:2.26.0 | |
70 | Requires: libxml2-devel | |
71 | Requires: telepathy-glib-devel >= 0.14.0 | |
72 | ||
73 | %description devel | |
74 | Header files for telepathy-logger library. | |
75 | ||
76 | %description devel -l pl.UTF-8 | |
77 | Pliki nagłówkowe dla biblioteki telepathy-logger. | |
78 | ||
79 | %prep | |
80 | %setup -q | |
81 | ||
82 | %build | |
83 | %{__libtoolize} | |
84 | %{__aclocal} -I m4 | |
85 | %{__autoconf} | |
86 | %{__automake} | |
87 | %configure \ | |
88 | --disable-static \ | |
89 | --enable-gtk-doc \ | |
90 | --with-html-dir=%{_gtkdocdir} | |
91 | %{__make} -j1 | |
92 | ||
93 | %install | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
96 | %{__make} install \ | |
97 | DESTDIR=$RPM_BUILD_ROOT | |
98 | ||
99 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
100 | ||
101 | %clean | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %post libs -p /sbin/ldconfig | |
105 | %postun libs -p /sbin/ldconfig | |
106 | ||
107 | %post | |
108 | %glib_compile_schemas | |
109 | ||
110 | %postun | |
111 | %glib_compile_schemas | |
112 | ||
113 | %files | |
114 | %defattr(644,root,root,755) | |
115 | %doc AUTHORS ChangeLog | |
116 | %attr(755,root,root) %{_libexecdir}/telepathy-logger | |
117 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Logger.service | |
118 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Logger.service | |
119 | %{_datadir}/glib-2.0/schemas/org.freedesktop.Telepathy.Logger.gschema.xml | |
120 | %{_datadir}/telepathy/clients/Logger.client | |
121 | ||
122 | %files apidocs | |
123 | %defattr(644,root,root,755) | |
124 | %{_gtkdocdir}/telepathy-logger | |
125 | ||
126 | %files libs | |
127 | %defattr(644,root,root,755) | |
128 | %attr(755,root,root) %{_libdir}/libtelepathy-logger.so.*.*.* | |
129 | %attr(755,root,root) %ghost %{_libdir}/libtelepathy-logger.so.2 | |
130 | %{_libdir}/girepository-1.0/TelepathyLogger-0.2.typelib | |
131 | ||
132 | %files devel | |
133 | %defattr(644,root,root,755) | |
134 | %attr(755,root,root) %{_libdir}/libtelepathy-logger.so | |
135 | %{_includedir}/telepathy-logger-0.2 | |
136 | %{_pkgconfigdir}/telepathy-logger-0.2.pc | |
137 | %{_datadir}/gir-1.0/TelepathyLogger-0.2.gir |