From d4c8047e0221b69ece15d88e0a7cb18de66b2787 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 3 Jun 2013 07:00:22 -0400 Subject: [PATCH] Remove license/group placeholders --- CMakeLists.txt | 2 +- LICENSE.APLv2 | 0 packaging/capi-system-system-settings.changes | 3 +++ packaging/capi-system-system-settings.spec | 19 +++++++------------ 4 files changed, 11 insertions(+), 13 deletions(-) mode change 100755 => 100644 LICENSE.APLv2 create mode 100644 packaging/capi-system-system-settings.changes diff --git a/CMakeLists.txt b/CMakeLists.txt index d0999e5..761010a 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,7 +64,7 @@ ENDFOREACH(flag) TARGET_LINK_LIBRARIES(test_gui ${fw_name}) SET_TARGET_PROPERTIES(test_gui PROPERTIES OUTPUT_NAME test_system_settings_gui) -INSTALL(TARGETS test_gui DESTINATION /usr/local/bin) +INSTALL(TARGETS test_gui DESTINATION bin) #--------------------------------------------------------------------- diff --git a/LICENSE.APLv2 b/LICENSE.APLv2 old mode 100755 new mode 100644 diff --git a/packaging/capi-system-system-settings.changes b/packaging/capi-system-system-settings.changes new file mode 100644 index 0000000..04c67c8 --- /dev/null +++ b/packaging/capi-system-system-settings.changes @@ -0,0 +1,3 @@ +* Mon Jun 03 2013 Anas Nashif accepted/tizen/20130520.100832@da5592a +- Remove license/group placeholders + diff --git a/packaging/capi-system-system-settings.spec b/packaging/capi-system-system-settings.spec index 6f4bb22..954d24a 100755 --- a/packaging/capi-system-system-settings.spec +++ b/packaging/capi-system-system-settings.spec @@ -2,8 +2,8 @@ Name: capi-system-system-settings Summary: A System Settings library in Tizen Native API Version: 0.0.2 Release: 3 -Group: TO_BE/FILLED_IN -License: TO BE FILLED IN +Group: System/API +License: Apache-2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(dlog) @@ -20,19 +20,18 @@ BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(libxml-2.0) -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig - %description +A System Settings library in Tizen Native API. %package devel Summary: A System Settings library in Tizen Native API (Development) -Group: TO_BE/FILLED_IN +Group: Development/System Requires: %{name} = %{version}-%{release} Requires: pkgconfig(capi-base-common) %description devel +%devel_desc @@ -47,9 +46,6 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` make %{?jobs:-j%jobs} %install -mkdir -p %{buildroot}/usr/share/license -cp -f LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} - %make_install %post -p /sbin/ldconfig @@ -58,11 +54,10 @@ cp -f LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} %files +%license LICENSE.APLv2 %manifest system-settings.manifest %{_libdir}/lib*.so.* -/usr/share/license/%{name} -# /usr/local/bin/test_system_settings -/usr/local/bin/test_system_settings_gui +/usr/bin/test_system_settings_gui %files devel %{_includedir}/system/*.h -- 2.7.4