%prep
%setup -q
-
-%build
%if 0%{?_with_tizen}
cp %{SOURCE1001} .
%endif
+%build
%if 0%{?debug_enable}
export CFLAGS=$(echo $CFLAGS | sed -e 's/^-g / /g' | sed -e 's/ -g / /g')
export CFLAGS=$(echo $CFLAGS | sed -e 's/^-O[0-9] / /g' | sed -e 's/ $-O[0-9] / /g')
%if 0%{?_with_tizen}
%manifest %{name}.manifest
%endif
+%license LICENSE.Apache-2.0
%{_libdir}/libsystem.so.*
%files devel
%if 0%{?_with_tizen}
%manifest %{name}.manifest
%endif
+%license LICENSE.Apache-2.0
%{_libdir}/libsystem.so
%{_includedir}/libsystem/config-parser.h
%{_includedir}/libsystem/dbus-util.h
%if 0%{?_with_tizen}
%manifest %{name}.manifest
%endif
+%license LICENSE.Apache-2.0
%{_libdir}/libsystem-sd.so.*
%files -n libsystem-sd-devel
%if 0%{?_with_tizen}
%manifest %{name}.manifest
%endif
+%license LICENSE.Apache-2.0
%{_libdir}/libsystem-sd.so
%{_includedir}/libsystem-sd/systemd.h
%{_libdir}/pkgconfig/libsystem-sd.pc