5 Summary: ARGOS library to detect application malfunctions
8 Group: System/Libraries
10 Source0: %{name}-%{version}.tar.gz
11 Source1: %{name}.manifest
12 Requires(post): /sbin/ldconfig
13 Requires(postun): /sbin/ldconfig
15 %if %{?libsystemd} == on
16 BuildRequires: pkgconfig(libsystemd)
20 ARGOS library to detect application malfunctions
23 Summary: ARGOS library to detect application malfunctions (Development)
24 Group: System/Development
25 Requires: %{name} = %{version}-%{release}
28 ARGOS library to detect application malfunctions (devel)
35 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
38 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
39 -DFULLVER=%{version} \
40 -DMAJORVER=${MAJORVER} \
41 -DLIBSYSTEMD=%{libsystemd} \
50 mkdir -p %{buildroot}%{_datadir}/license
51 cp LICENSE %{buildroot}%{_datadir}/license/%{name}
53 %post -p /sbin/ldconfig
55 %postun -p /sbin/ldconfig
58 %defattr(-,root,root,-)
59 %{_libdir}/lib%{name}.so.*
60 %{_datadir}/license/%{name}
61 %manifest %{name}.manifest
64 %defattr(-,root,root,-)
65 %{_includedir}/%{name}/*.h
66 %{_libdir}/pkgconfig/%{name}.pc
67 %{_libdir}/lib%{name}.so
68 %manifest %{name}.manifest
71 /usr/lib/systemd/system/argos-test.service