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)
19 BuildRequires: pkgconfig(libsyscommon)
25 development package of library to get storage
28 Summary: Get storage information (devel)
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release}
33 Library to get storage information (devel)
37 Summary: Get storage information (gcov)
38 Group: Development/Libraries
40 Library to get storage information (gcov)
49 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
50 export LDFLAGS+=" -lgcov"
57 find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
65 mkdir -p %{buildroot}%{_datadir}/gcov/obj/%{name}
66 install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj/%{name}
69 %post -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
74 %manifest %{name}.manifest
75 %license LICENSE.Apache-2.0
77 %{_sysconfdir}/storage/libstorage.conf
80 %manifest %{name}.manifest
81 %license LICENSE.Apache-2.0
82 %{_includedir}/storage/*.h
84 %{_libdir}/pkgconfig/*.pc