46197cb64bad49bbb27189aa1c3539058f20004e
[ric-plt/sdl.git] / rpm / sdl.spec.in
1 Name:     sdl
2 Version:  1.2.1
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 * Mon May 31 2021 Petri Ovaska <petri.ovaska@nokia.com> - 1.2.1-1
54 - Multiple DBAAS Redis standalone groups
55
56 * Wed May 26 2021 Petri Ovaska <petri.ovaska@nokia.com> - 1.2.0-1
57 - Multiple DBAAS Redis Sentinel groups
58 - New namespace (--ns) option in sdltool test-get-set -command
59
60 * Sat May 16 2020 Timo Tietavainen <timo.tietavainen@nokia.com> - 1.1.3-1
61 - Rename rpm and Debian makefile targets to rpm-pkg and deb-pkg.
62 - Update CI Dockerfile to utilize rpm-pkg and deb-pkg makefile targets.
63
64 * Fri May 15 2020 Timo Tietavainen <timo.tietavainen@nokia.com> - 1.1.2-1
65 - Add makefile targets to build rpm and Debian packages.
66
67 * Mon May 11 2020 Timo Tietavainen <timo.tietavainen@nokia.com> - 1.1.1-1
68 - Add unit test code coverage (gcov) make target.
69
70 * Thu Jan 09 2020 Timo Tietavainen <timo.tietavainen@nokia.com> - 1.1.0-1
71 - Add public helper classes for UT mocking.
72
73 * Tue Nov 12 2019 Rolf Badorek <rolf.badorek@nokia.com> - 1.0.4-1
74 - first version