blob: 865b54754907b70be76f54d027f7adb2fda7815f (
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
51
52
53
54
|
Name: bundle
Summary: String key-val dictionary ADT
Version: 0.1.31
Release: 1
Group: System/Libraries
License: Apache License, Version 2.0
Source0: bundle-%{version}.tar.gz
Source1001: bundle.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(dlog)
%description
Simple string key-val dictionary ADT
%package devel
Summary: String key-val dictionary ADT (devel)
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Simple string key-val dictionary ADT (devel)
%prep
%setup -q -n %{name}-%{version}
cp %{SOURCE1001} .
%build
%cmake .
make %{?jobs:-j%jobs}
%install
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/libbundle.so.*
%files devel
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_includedir}/bundle.h
%{_includedir}/SLP_bundle_PG.h
%{_libdir}/pkgconfig/bundle.pc
%{_libdir}/libbundle.so
|