1 %define libname libtzplatform-config
3 Name: tizen-platform-config
6 Summary: Tizen Platform Configuration
8 Url: http://www.tizen.org
9 Group: System/Configuration
10 Source0: %{name}-%{version}.tar.gz
11 Source1: %{name}-rpmlintrc
12 Source1001: %{name}.manifest
13 BuildRequires: tizen-platform-wrapper
15 # the main package only contains a config file but other dependent packages
16 # will contain binary. So, we can't build a noarch package and have to avoid
17 # a rpmlint warning using a filter in xxx-rpmlintrc
20 Tizen Platform Configuration - variables definitions
22 %package -n %{libname}
23 Summary: Tizen Platform Configuration - helper library
24 Group: System/Libraries
26 Requires: %{name} = %{version}
27 %description -n %{libname}
28 Tizen Platform Configuration - helper library to lookup Tizen variables easily
30 %package -n %{libname}-devel
31 Summary: Tizen Platform Configuration - helper libray headers, RPM macros
32 Group: Development/Libraries
34 Requires: %{libname} = %{version}
35 %description -n %{libname}-devel
36 Tizen Platform Configuration - helper library headers to include in source code, RPM macros to call in spec files
38 %package -n %{name}-tools
39 Summary: Tizen Platform Configuration - tools
40 Group: System/Utilities
42 Requires: %{libname} = %{version}
43 %description -n %{name}-tools
44 Tizen Platform Configuration - helper program to lookup Tizen variables easily
62 %post -n %{libname} -p /sbin/ldconfig
64 %postun -n %{libname} -p /sbin/ldconfig
67 %manifest %{name}.manifest
69 %config %{_sysconfdir}/tizen-platform.conf
72 %manifest %{name}.manifest
75 %files -n %{libname}-devel
76 %manifest %{name}.manifest
79 %{_libdir}/pkgconfig/*.pc
81 %config %{_sysconfdir}/rpm/macros.tizen-platform
83 %files -n %{name}-tools
84 %manifest %{name}.manifest