Adjust SMACK to new model, remove initscripts 94/14294/1
authorMaciej Wereski <m.wereski@partner.samsung.com>
Thu, 2 Jan 2014 09:23:23 +0000 (10:23 +0100)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Thu, 2 Jan 2014 09:37:04 +0000 (10:37 +0100)
Also RPMLINT fixes and added changes file.

Change-Id: I3a19479eee914af2311bcdf70574f3458f6e84b0
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
AUTHORS [changed mode: 0755->0644]
CMakeLists.txt [changed mode: 0755->0644]
LICENSE.Flora [changed mode: 0755->0644]
NOTICE [changed mode: 0755->0644]
data/CMakeLists.txt [changed mode: 0755->0644]
data/quickpanel.sh.in [deleted file]
org.tizen.quickpanel.manifest [deleted file]
org.tizen.quickpanel.rule [deleted file]
packaging/org.tizen.quickpanel.changes
packaging/org.tizen.quickpanel.manifest [new file with mode: 0644]
packaging/org.tizen.quickpanel.spec [changed mode: 0755->0644]

diff --git a/AUTHORS b/AUTHORS
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/NOTICE b/NOTICE
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index dcb59c2..57ebfe7
@@ -3,9 +3,6 @@
 CONFIGURE_FILE(${PROJECT_NAME}.xml.in ${CMAKE_CURRENT_BINARY_DIR}/${VENDOR}.${PROJECT_NAME}.xml)
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${VENDOR}.${PROJECT_NAME}.xml DESTINATION ${MANIFESTXMLDIR})
 
-CONFIGURE_FILE(${PROJECT_NAME}.sh.in ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME})
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME} DESTINATION /etc/init.d/)
-
 #CONFIGURE_FILE(${PROJECT_NAME}.png ${CMAKE_CURRENT_BINARY_DIR}/${VENDOR}.${PROJECT_NAME}.png COPYONLY)
 #INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${VENDOR}.${PROJECT_NAME}.png DESTINATION "/usr/share/icons/default/small")
 
diff --git a/data/quickpanel.sh.in b/data/quickpanel.sh.in
deleted file mode 100644 (file)
index cf77090..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@BINDIR@/@PROJECT_NAME@ &
diff --git a/org.tizen.quickpanel.manifest b/org.tizen.quickpanel.manifest
deleted file mode 100755 (executable)
index af7de6f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<manifest>
-       <define>
-           <domain name="org.tizen.quickpanel"/>
-       </define>
-       <assign>
-               <filesystem path="/etc/init.d/quickpanel" label="_" exec_label="none"/>
-               <filesystem path="/etc/rc.d/rc3.d/S51quickpanel" label="_" exec_label="none"/>
-               <filesystem path="/etc/rc.d/rc5.d/S51quickpanel" label="_" exec_label="none"/>
-       </assign>
-       <request>
-           <domain name="org.tizen.quickpanel"/>
-       </request>
-</manifest>
diff --git a/org.tizen.quickpanel.rule b/org.tizen.quickpanel.rule
deleted file mode 100755 (executable)
index 8a2c73d..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-org.tizen.quickpanel system::vconf rwxat
-org.tizen.quickpanel system::homedir rwxat
-org.tizen.quickpanel system::media rwxat
-org.tizen.quickpanel system::share rwxat
-org.tizen.quickpanel system::use_internet r
-org.tizen.quickpanel pulseaudio rwxat
-org.tizen.quickpanel xorg rw
-org.tizen.quickpanel device::bklight rw
-org.tizen.quickpanel org.tizen.indicator rwx
-org.tizen.quickpanel crash-popup rx
-org.tizen.quickpanel sound_server rwxa
-org.tizen.quickpanel dbus rwx
-org.tizen.quickpanel e17 rw
-org.tizen.quickpanel notification::db rw
-org.tizen.quickpanel ail::db rw
-org.tizen.quickpanel svi-data rx
-org.tizen.quickpanel sys-assert::core rwxat
-org.tizen.quickpanel isf rwx
-org.tizen.quickpanel media-server rx
-org.tizen.quickpanel data-provider-master rw
-
-e17 org.tizen.quickpanel w
-dbus org.tizen.quickpanel rwx
index 3bce855..d6f3ba3 100644 (file)
@@ -1,2 +1,5 @@
+* Thu Jan 02 2014 Maciej Wereski <m.wereski@partner.samsung.com> submit/tizen/20130627.143056@65e5018
+- Adjust SMACK to new model, remove initscripts
+
 * Thu Jun 27 2013 Junfeng Dong <junfeng.dong@intel.com> accepted/tizen/20130530.164708@6366e3a
 - Fix the build error with glibc 2.17.
diff --git a/packaging/org.tizen.quickpanel.manifest b/packaging/org.tizen.quickpanel.manifest
new file mode 100644 (file)
index 0000000..6c61ae0
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+       <request>
+           <domain name="_"/>
+       </request>
+</manifest>
old mode 100755 (executable)
new mode 100644 (file)
index aacee49..ff42531
@@ -6,10 +6,11 @@ Name:       org.tizen.quickpanel
 Summary:    Quick Panel
 Version:    0.3.38
 Release:    1
-Group:      util
-License:    Flora Software License
+Group:      Application Framework/Utilities
+License:    Flora
 Source0:    %{name}-%{version}.tar.gz
 Source101:  quickpanel.service
+Source102:  org.tizen.quickpanel.manifest
 
 BuildRequires: pkgconfig(capi-appfw-application)
 BuildRequires: pkgconfig(capi-appfw-app-manager)
@@ -49,6 +50,7 @@ Quick Panel
 
 %prep
 %setup -q
+cp %{SOURCE102} .
 
 
 %build
@@ -59,18 +61,11 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 %make_install
-mkdir -p %{buildroot}/%{_sysconfdir}/rc.d/rc5.d/
-mkdir -p %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/
-ln -s ../../init.d/quickpanel %{buildroot}/%{_sysconfdir}/rc.d/rc5.d/S51quickpanel
-ln -s ../../init.d/quickpanel %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/S51quickpanel
 
 mkdir -p %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
 install -m 0644 %SOURCE101 %{buildroot}%{_libdir}/systemd/user/
 ln -s ../quickpanel.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/quickpanel.service
 
-mkdir -p %{buildroot}/usr/share/license
-cp -f LICENSE.Flora %{buildroot}/usr/share/license/%{name}
-
 %post
 vconftool set -t bool db/setting/rotate_lock 0 -u 5000 -f
 vconftool set -t bool db/setting/drivingmode/drivingmode 0 -u 5000 -f
@@ -82,15 +77,11 @@ vconftool set -t bool memory/private/%{name}/hotspot/enable_ask 1 -i -u 5000 -f
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
-%attr(755,-,-) %{_sysconfdir}/init.d/quickpanel
+%license LICENSE.Flora NOTICE
 %attr(775,app,app) %{DATADIR}
 %{DATADIR}/*
 %{PREFIX}/bin/*
 %{RESDIR}/*
 /usr/share/packages/%{name}.xml
-%{_sysconfdir}/rc.d/rc3.d/S51quickpanel
-%{_sysconfdir}/rc.d/rc5.d/S51quickpanel
-%{_sysconfdir}/init.d/quickpanel
 %{_libdir}/systemd/user/quickpanel.service
 %{_libdir}/systemd/user/core-efl.target.wants/quickpanel.service
-/usr/share/license/%{name}