2 Summary: Library to get storage information
5 Group: System/Libraries
7 Source0: %{name}-%{version}.tar.gz
8 Source1: %{name}.manifest
10 BuildRequires: pkgconfig(dlog)
11 BuildRequires: pkgconfig(capi-base-common)
12 BuildRequires: pkgconfig(vconf)
13 BuildRequires: pkgconfig(glib-2.0)
14 BuildRequires: pkgconfig(gio-2.0)
15 BuildRequires: pkgconfig(libtzplatform-config)
16 BuildRequires: pkgconfig(mount)
17 BuildRequires: pkgconfig(blkid)
18 BuildRequires: pkgconfig(capi-system-info)
24 development package of library to get storage
27 Summary: Get storage information (devel)
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
32 Library to get storage information (devel)
36 Summary: Get storage information (gcov)
37 Group: Development/Libraries
39 Library to get storage information (gcov)
48 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
49 export LDFLAGS+=" -lgcov"
56 find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
64 mkdir -p %{buildroot}%{_datadir}/gcov/obj
65 install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
68 %post -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
73 %manifest %{name}.manifest
74 %license LICENSE.Apache-2.0
76 %{_sysconfdir}/storage/libstorage.conf
79 %manifest %{name}.manifest
80 %license LICENSE.Apache-2.0
81 %{_includedir}/storage/*.h
83 %{_libdir}/pkgconfig/*.pc