2 # Spec file for ltt-control
9 Group: Applications
/Development
10 Source: http
://ltt.polymtl.ca
/lttng
/ltt
-control
-%{version}-%{release}.tar.gz
11 URL: http
://ltt.polymtl.ca
12 Packager: Martin Bisson
<bissonm@discreet.com
>
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
15 # Where do we install the libs
16 %ifarch x86_64 ppc64 ppc64iseries ia64
17 %define libdir
/usr
/lib64
19 %define libdir
/usr
/lib
25 ltt
-control is the part of the Linux Trace Toolkit Next Generation
26 that allows a machine to be traced. It holds the daemon with which
27 the kernel will communicate and the application that starts and
31 %setup -q
-n ltt
-control
-%{version}-%{release}
34 .
/configure
--prefix
=/usr
--libdir
=%{libdir}
38 rm -rf $RPM_BUILD_ROOT
39 make DESTDIR
=$RPM_BUILD_ROOT
install
42 echo "Running ldconfig
(might take a
while)"
46 echo "Running ldconfig
(might take a
while)"
50 %{libdir}/liblttctl.so
.0.0.0
51 %{libdir}/liblttctl.so
.0
52 %{libdir}/liblttctl.so
53 %{libdir}/liblttctl.la
57 /usr
/include
/liblttctl
58 /usr
/include
/liblttctl
/lttctl.h