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