Also RPMLINT fixes and added changes file.
Change-Id: I3a19479eee914af2311bcdf70574f3458f6e84b0
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
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")
+++ /dev/null
-@BINDIR@/@PROJECT_NAME@ &
+++ /dev/null
-<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>
+++ /dev/null
-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
+* 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.
--- /dev/null
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
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)
%prep
%setup -q
+cp %{SOURCE102} .
%build
%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
%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}