diff options
author | Youngjae Shin <yj99.shin@samsung.com> | 2015-09-03 11:21:51 +0900 |
---|---|---|
committer | Youngjae Shin <yj99.shin@samsung.com> | 2015-09-03 11:21:51 +0900 |
commit | 4058a4feab73b8e59faaa0a2b3fd7fb8d0a520f0 (patch) | |
tree | 315a18ab38e8f846716b8affa537f8f6d3d8d22d /packaging | |
parent | 333f950ddfc3c7da101758aa65d066b47cecb38f (diff) | |
download | iotivity-4058a4feab73b8e59faaa0a2b3fd7fb8d0a520f0.tar.gz iotivity-4058a4feab73b8e59faaa0a2b3fd7fb8d0a520f0.tar.bz2 iotivity-4058a4feab73b8e59faaa0a2b3fd7fb8d0a520f0.zip |
revise spec file
Change-Id: I9f66f28f23b17fb1c9f92527d1efd01bfd55e211
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/iotivity.spec | 85 |
1 files changed, 30 insertions, 55 deletions
diff --git a/packaging/iotivity.spec b/packaging/iotivity.spec index a56402e64..db615ef3e 100644 --- a/packaging/iotivity.spec +++ b/packaging/iotivity.spec @@ -32,7 +32,7 @@ IoTivity Base (RICH & LITE) Stack & IoTivity Services %package service Summary: Development files for %{name} Group: Network & Connectivity/Service -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{version} %description service The %{name}-service package contains service libraries files for @@ -41,7 +41,7 @@ developing applications that use %{name}-service. %package test Summary: Development files for %{name} Group: Network & Connectivity/Testing -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{version} %description test The %{name}-test package contains example files to show @@ -50,7 +50,7 @@ how the iotivity works using %{name}-test %package devel Summary: Development files for %{name} Group: Network & Connectivity/Development -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{version} %description devel The %{name}-devel package contains libraries and header files for @@ -95,61 +95,36 @@ mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_bindir} %if %{release_mode} == "true" - -cp out/tizen/*/release/resource/examples/devicediscoveryclient %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/devicediscoveryserver %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/fridgeclient %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/fridgeserver %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/garageclient %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/garageserver %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/groupclient %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/groupserver %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/lightserver %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/presenceclient %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/presenceserver %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/roomclient %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/roomserver %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/simpleclient %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/simpleclientHQ %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/simpleclientserver %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/simpleserver %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/simpleserverHQ %{buildroot}%{_bindir} -cp out/tizen/*/release/resource/examples/threadingsample %{buildroot}%{_bindir} -cp out/tizen/*/release/lib*.so %{buildroot}%{_libdir} -cp out/tizen/*/release/libSSMSDK.a %{buildroot}%{_libdir} -cp out/tizen/*/release/libppm.a %{buildroot}%{_libdir} -cp out/tizen/*/release/service/protocol-plugin/plugins/mqtt-fan/*.so %{buildroot}%{_libdir} -cp out/tizen/*/release/service/protocol-plugin/plugins/mqtt-light/*.so %{buildroot}%{_libdir} - +%define out_mode release %else - -cp out/tizen/*/debug/resource/examples/devicediscoveryclient %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/devicediscoveryserver %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/fridgeclient %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/fridgeserver %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/garageclient %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/garageserver %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/groupclient %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/groupserver %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/lightserver %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/presenceclient %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/presenceserver %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/roomclient %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/roomserver %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/simpleclient %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/simpleclientHQ %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/simpleclientserver %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/simpleserver %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/simpleserverHQ %{buildroot}%{_bindir} -cp out/tizen/*/debug/resource/examples/threadingsample %{buildroot}%{_bindir} -cp out/tizen/*/debug/lib*.so %{buildroot}%{_libdir} -cp out/tizen/*/debug/libSSMSDK.a %{buildroot}%{_libdir} -cp out/tizen/*/debug/libppm.a %{buildroot}%{_libdir} -cp out/tizen/*/debug/service/protocol-plugin/plugins/mqtt-fan/*.so %{buildroot}%{_libdir} -cp out/tizen/*/debug/service/protocol-plugin/plugins/mqtt-light/*.so %{buildroot}%{_libdir} - +%define out_mode debug %endif +cp out/tizen/*/%{out_mode}/resource/examples/devicediscoveryclient %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/devicediscoveryserver %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/fridgeclient %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/fridgeserver %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/garageclient %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/garageserver %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/groupclient %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/groupserver %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/lightserver %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/presenceclient %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/presenceserver %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/roomclient %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/roomserver %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/simpleclient %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/simpleclientHQ %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/simpleclientserver %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/simpleserver %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/simpleserverHQ %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/resource/examples/threadingsample %{buildroot}%{_bindir} +cp out/tizen/*/%{out_mode}/lib*.so %{buildroot}%{_libdir} +cp out/tizen/*/%{out_mode}/libSSMSDK.a %{buildroot}%{_libdir} +cp out/tizen/*/%{out_mode}/libppm.a %{buildroot}%{_libdir} +cp out/tizen/*/%{out_mode}/service/protocol-plugin/plugins/mqtt-fan/*.so %{buildroot}%{_libdir} +cp out/tizen/*/%{out_mode}/service/protocol-plugin/plugins/mqtt-light/*.so %{buildroot}%{_libdir} + cp resource/csdk/stack/include/*.h %{buildroot}%{_includedir} cp resource/csdk/logger/include/*.h %{buildroot}%{_includedir} cp resource/csdk/ocrandom/include/*.h %{buildroot}%{_includedir} |