-
Notifications
You must be signed in to change notification settings - Fork 13
/
blkin.spec.in
62 lines (44 loc) · 1.29 KB
/
blkin.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Name: blkin
Version: @VERSION@
Release: 1%{?dist}
Summary: blkin is a Dapper-style tracing library to be used with Zipkin
Group: Development/Libraries
License: BSD
URL: https://github.com/marioskogias/blkin
Source0: blkin-%{version}.tar.xz
Provides: libblkin-front.so()(64bit), libzipkin-cpp.so()(64bit)
BuildRequires: boost-devel, pkgconfig(lttng-ust)
Requires: pkgconfig
%description
blkin is a C/C++ library that enables you to get traces from C/C++ applications
according to the tracing semantics mentioned in the Dapper paper and
implemented in Zipkin
As a tracing backend blkin uses LTTng
%package devel
Summary: blkin library headers and development files
Group: Development/Libraries
%description devel
Support for developing programs using the blkin tracing library
%prep
%setup -q
%build
autoreconf -i
%{configure} --prefix=%{_prefix}
make %{?_smp_mflags}
%install
make install prefix=%{_prefix} DESTDIR=%{buildroot}
%{__rm} %{buildroot}%{_libdir}/*.la
%files
%doc README.md
%doc COPYRIGHT
%{_libdir}/lib*so*
%files devel
%{_libdir}/lib*.a
%{_libdir}/pkgconfig/blkin.pc
%{_includedir}/blkin/blkin-front.h
%{_includedir}/blkin/zipkin_c.h
%{_includedir}/blkin/zipkin_trace.h
%{_includedir}/blkin/ztracer.hpp
%changelog
* Mon Nov 3 2014 Andrew Shewmaker <[email protected]> 0.1
- Initial packaging