summaryrefslogtreecommitdiff
path: root/packaging/libslp-db-util.spec
blob: 3d2bc0251ef0c83f5ce50770011e6056407af323 (plain)
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
Name:           libslp-db-util
Version:        0.1.1
Release:        5
License:        Apache-2.0
Summary:        DB Utility
Group:          Application Framework/Database
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  pkgconfig(dlog)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(icu-i18n)
BuildRequires:  pkgconfig(sqlite3)

%description
DB Utility.

%package devel
Summary:        Devel package for libslp-db-util (devel)
Requires:       %{name} = %{version}
%description devel
Devel package for libslp-db-util (devel)

%prep
%setup -q

%build
%cmake .
make %{?_smp_mflags}

%install
%make_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%manifest libSLP-db-util.manifest
%license LICENSE
%defattr(-,root,root,-)
%{_libdir}/libSLP-db-util.so.0
%{_libdir}/libSLP-db-util.so.0.1.0

%files devel
%defattr(-,root,root,-)
%dir %{_includedir}/db-util
%{_includedir}/db-util/*.h
%{_libdir}/pkgconfig/db-util.pc
%{_libdir}/libSLP-db-util.so