Description: Tizen Platform Config library.
Version: @LIBTZPLATFORM_CONFIG_VERSION@
URL: @PACKAGE_URL@
-Libs: -L${libdir} -ltzplatform-config-static -ltzplatform-config-@LIBTZPLATFORM_CONFIG_VERSION@
+Libs: -L${libdir} -ltzplatform-config-@LIBTZPLATFORM_CONFIG_VERSION@
Cflags: -I${includedir}/
Tizen Platform Configuration - helper library headers to include in source code,
RPM macros to call in spec files
-%package -n %{libname}-static
-Summary: Tizen Platform Configuration - static libray
-Group: Development/Libraries
-License: LGPL-2.0
-Requires: %{libname} = %{version}
-%description -n %{libname}-static
-Tizen Platform Configuration - static library
-
%package -n %{name}-tools
Summary: Tizen Platform Configuration - tools
Group: System/Utilities
install -m 755 %{SOURCE1002} -D %{buildroot}%{_datadir}/upgrade/scripts/201.tizen-platform-config_upgrade.sh
install -m 755 %{SOURCE2001} -D %{buildroot}%{_datadir}/upgrade/scripts/200.filesystem-pre.patch.sh
install -m 755 %{SOURCE2002} -D %{buildroot}%{_datadir}/upgrade/scripts/799.filesystem-post.patch.sh
+rm %{buildroot}%{_libdir}/*.a
%post
##############################################
%{_includedir}/*.h
%config %{_sysconfdir}/rpm/macros.tizen-platform
-%files -n %{libname}-static
-%manifest %{name}.manifest
-%{_libdir}/*.a
-
%files -n %{name}-tools
%manifest %{name}.manifest
%{_bindir}/*
lib_LTLIBRARIES = libtzplatform-config-@LIBTZPLATFORM_CONFIG_VERSION@.la
-lib_LIBRARIES = libtzplatform-config-static.a
-
bin_PROGRAMS = tzplatform-get
wrappersrcdir=$(shell pkg-config --variable=datadir tizen-platform-wrapper)
CLEANFILES=$(SRC_FROMWRAPPER) $(SRC_FROMTOOL)
-libtzplatform_config_static_a_SOURCES = $(SRC_FROMWRAPPER_STATIC)
-
libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_SOURCES = \
- $(SRC_FROMWRAPPER_SHARED) \
+ $(SRC_FROMWRAPPER) \
$(SRC_FROMTOOL)
tizen-platform.conf: /etc/tizen-platform.meta
dist_tzplatform_config_sysconf_DATA=macros.tizen-platform
tzplatform_get_SOURCES = tzplatform_get.c
-tzplatform_get_LDADD = libtzplatform-config-static.a libtzplatform-config-@LIBTZPLATFORM_CONFIG_VERSION@.la
-
-
+tzplatform_get_LDADD = libtzplatform-config-@LIBTZPLATFORM_CONFIG_VERSION@.la