ed49ad73c87bc66bff8ecf30f377ed1546506763
[ric-plt/sdl.git] / rpm / sdl.spec.in
1 Name:     sdl
2 Version:  1.2.0
3 Release:  1%{?dist}
4 Summary:  C++ API library for Shared Data Layer clients
5
6 License:  Apache-2
7 URL:      https://gerrit.o-ran-sc.org/r/admin/repos/ric-plt/sdl
8
9 BuildRequires: pkgconfig
10 BuildRequires: gcc
11 BuildRequires: autoconf
12 BuildRequires: autoconf-archive
13 BuildRequires: automake
14 BuildRequires: make
15 BuildRequires: gawk
16 BuildRequires: libtool
17 BuildRequires: boost-devel
18 BuildRequires: pkgconfig(hiredis)
19
20 %description
21 %{name} provices a C++ API library for Shared Data Layer clients
22
23 %package devel
24 Summary:   Development files for %{name}
25 Requires:  %{name}%{?isa} = %{version}-%{release}
26
27 %description devel
28 The %{name}-devel package contains libraries and header files for
29 developing applications that use %{name}.
30
31 %build
32 ./autogen.sh
33 %configure
34 %make_build
35
36 %install
37 %make_install
38 rm -f %{buildroot}%{_libdir}/lib*.*a
39
40 %post -p /sbin/ldconfig
41
42 %files
43 %{_libdir}/*.so.*
44 %{_bindir}/sdltool
45
46 %files devel
47 %{_libdir}/pkgconfig/libsdl.pc
48 %{_libdir}/*.so
49 %{_libdir}/pkgconfig/*.pc
50 %{_includedir}/sdl
51
52 %changelog
53 * Wed May 26 2021 Petri Ovaska <petri.ovaska@nokia.com> - 1.2.0-1
54 - Multiple DBAAS Redis Sentinel groups
55 - New namespace (--ns) option in sdltool test-get-set -command
56
57 * Sat May 16 2020 Timo Tietavainen <timo.tietavainen@nokia.com> - 1.1.3-1
58 - Rename rpm and Debian makefile targets to rpm-pkg and deb-pkg.
59 - Update CI Dockerfile to utilize rpm-pkg and deb-pkg makefile targets.
60
61 * Fri May 15 2020 Timo Tietavainen <timo.tietavainen@nokia.com> - 1.1.2-1
62 - Add makefile targets to build rpm and Debian packages.
63
64 * Mon May 11 2020 Timo Tietavainen <timo.tietavainen@nokia.com> - 1.1.1-1
65 - Add unit test code coverage (gcov) make target.
66
67 * Thu Jan 09 2020 Timo Tietavainen <timo.tietavainen@nokia.com> - 1.1.0-1
68 - Add public helper classes for UT mocking.
69
70 * Tue Nov 12 2019 Rolf Badorek <rolf.badorek@nokia.com> - 1.0.4-1
71 - first version