]> git.pld-linux.org Git - packages/telepathy-logger.git/blob - telepathy-logger.spec
- Up to 0.2.5
[packages/telepathy-logger.git] / telepathy-logger.spec
1 Summary:        Logging service for Telepathy
2 Summary(pl.UTF-8):      Usługa logowania dla Telepathy
3 Name:           telepathy-logger
4 Version:        0.2.5
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:  629791e89436933aa6a2c4bd8ce39898
10 URL:            http://telepathy.freedesktop.org/wiki/Logger
11 BuildRequires:  GConf2-devel
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  dbus-devel >= 1.1.0
15 BuildRequires:  dbus-glib-devel >= 0.82
16 BuildRequires:  docbook-dtd412-xml
17 BuildRequires:  gettext-devel
18 BuildRequires:  glib2-devel >= 1:2.26.0
19 BuildRequires:  gnome-common
20 BuildRequires:  gnome-doc-utils > 0.17.3
21 BuildRequires:  gtk-doc
22 BuildRequires:  gtk-doc-automake >= 1.10
23 BuildRequires:  intltool
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.9.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.22.0
70 Requires:       libxml2-devel
71 Requires:       telepathy-glib-devel >= 0.9.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
131 %files devel
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_libdir}/libtelepathy-logger.so
134 %{_includedir}/telepathy-logger-0.2
135 %{_pkgconfigdir}/telepathy-logger-0.2.pc
This page took 0.042248 seconds and 4 git commands to generate.