]> git.pld-linux.org Git - packages/telepathy-logger.git/blob - telepathy-logger.spec
963347176547c98aa957938b13ab00342d4180e2
[packages/telepathy-logger.git] / telepathy-logger.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        Logging service for Telepathy
6 Summary(pl.UTF-8):      Usługa logowania dla Telepathy
7 Name:           telepathy-logger
8 Version:        0.4.0
9 Release:        1
10 License:        LGPL v2.1+
11 Group:          Applications
12 Source0:        http://telepathy.freedesktop.org/releases/telepathy-logger/%{name}-%{version}.tar.bz2
13 # Source0-md5:  0b891b860c7f3a01926f5cc22fd26120
14 URL:            http://telepathy.freedesktop.org/wiki/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-devel
21 BuildRequires:  glib2-devel >= 1:2.26.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
29 BuildRequires:  libxml2-devel
30 BuildRequires:  libxslt-progs
31 BuildRequires:  pkgconfig
32 BuildRequires:  python >= 1:2.5
33 BuildRequires:  rpmbuild(macros) >= 1.592
34 BuildRequires:  sqlite3-devel
35 BuildRequires:  telepathy-glib-devel >= 0.16.0
36 BuildRequires:  xorg-lib-libICE-devel
37 Requires(post,postun):  glib2 >= 1:2.26.0
38 Requires:       %{name}-libs = %{version}-%{release}
39 Requires:       dbus >= 1.1.0
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
43 This package provides logging service for Telepathy.
44
45 %description -l pl.UTF-8
46 Ten pakiet udostępnia usługę logowania dla Telepathy.
47
48 %package libs
49 Summary:        telepathy-logger shared library
50 Summary(pl.UTF-8):      Biblioteka telepathy-logger
51 Group:          Libraries
52 Requires:       dbus-glib >= 0.82
53 Requires:       dbus-libs >= 1.1.0
54 Requires:       glib2 >= 1:2.26.0
55 Requires:       telepathy-glib >= 0.16.0
56
57 %description libs
58 telepathy-logger shared library.
59
60 %description libs -l pl.UTF-8
61 Biblioteka telepathy-logger.
62
63 %package devel
64 Summary:        Header files for telepathy-logger library
65 Summary(pl.UTF-8):      Pliki nagłówkowe dla biblioteki telepathy-logger
66 Group:          Development/Libraries
67 Requires:       %{name}-libs = %{version}-%{release}
68 Requires:       dbus-glib-devel >= 0.82
69 Requires:       glib2-devel >= 1:2.26.0
70 Requires:       libxml2-devel
71 Requires:       telepathy-glib-devel >= 0.16.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 %package static
80 Summary:        Static telepathy-logger library
81 Summary(pl.UTF-8):      Statyczna biblioteka telepathy-logger
82 Group:          Development/Libraries
83 Requires:       %{name}-devel = %{version}-%{release}
84
85 %description static
86 Static telepathy-logger library.
87
88 %description static -l pl.UTF-8
89 Statyczna biblioteka telepathy-logger.
90
91 %package apidocs
92 Summary:        telepathy-logger library API documentation
93 Summary(pl.UTF-8):      Dokumentacja API biblioteki telepathy-logger
94 Group:          Documentation
95 Requires:       gtk-doc-common
96
97 %description apidocs
98 telepathy-logger library API documentation.
99
100 %description apidocs -l pl.UTF-8
101 Dokumentacja API biblioteki telepathy-logger.
102
103 %prep
104 %setup -q
105
106 %build
107 %{__libtoolize}
108 %{__aclocal} -I m4
109 %{__autoconf}
110 %{__automake}
111 %configure \
112         --disable-silent-rules \
113         %{!?with_static_libs:--disable-static} \
114         --enable-gtk-doc \
115         --with-html-dir=%{_gtkdocdir}
116 %{__make} -j1
117
118 %install
119 rm -rf $RPM_BUILD_ROOT
120
121 %{__make} install \
122         DESTDIR=$RPM_BUILD_ROOT
123
124 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
125
126 %clean
127 rm -rf $RPM_BUILD_ROOT
128
129 %post   libs -p /sbin/ldconfig
130 %postun libs -p /sbin/ldconfig
131
132 %post
133 %glib_compile_schemas
134
135 %postun
136 %glib_compile_schemas
137
138 %files
139 %defattr(644,root,root,755)
140 %doc AUTHORS ChangeLog
141 %attr(755,root,root) %{_libexecdir}/telepathy-logger
142 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Logger.service
143 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Logger.service
144 %{_datadir}/glib-2.0/schemas/org.freedesktop.Telepathy.Logger.gschema.xml
145 %{_datadir}/telepathy/clients/Logger.client
146
147 %files libs
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/libtelepathy-logger.so.*.*.*
150 %attr(755,root,root) %ghost %{_libdir}/libtelepathy-logger.so.2
151 %{_libdir}/girepository-1.0/TelepathyLogger-0.2.typelib
152
153 %files devel
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{_libdir}/libtelepathy-logger.so
156 %{_includedir}/telepathy-logger-0.2
157 %{_pkgconfigdir}/telepathy-logger-0.2.pc
158 %{_datadir}/gir-1.0/TelepathyLogger-0.2.gir
159
160 %if %{with static_libs}
161 %files static
162 %defattr(644,root,root,755)
163 %{_libdir}/libtelepathy-logger.a
164 %endif
165
166 %files apidocs
167 %defattr(644,root,root,755)
168 %{_gtkdocdir}/telepathy-logger
This page took 0.551463 seconds and 2 git commands to generate.