I have made the following changes intended for : CE:Apps / meego-pinquery
Please review and accept or decline. BOSS has already run some checks on this request. See the "Messages from BOSS" section below. https://build.pub.meego.com//request/show/6817 Thank You, stskeeps [This message was auto-generated] --- Request # 6817: Messages from BOSS: State: review at 2012-09-30T07:15:35 by bossbot Reviews: accepted by bossbot : Prechecks succeeded. new for CE-maintainers : Please replace this text with a review and approve/reject the review (not the SR). BOSS will take care of the rest Changes: submit: home:stskeeps:user-sessions:Apps / meego-pinquery -> CE:Apps / meego-pinquery changes files: -------------- --- meego-pinquery.changes +++ meego-pinquery.changes @@ -0,0 +1,3 @@ +* Sun Sep 30 2012 Carsten Munk <[email protected]> - 0.0.2 +- Add .service file for systemd user sessions + new: ---- meego-pinquery.service spec files: ----------- --- meego-pinquery.spec +++ meego-pinquery.spec @@ -1,11 +1,13 @@ # # Do NOT Edit the Auto-generated Part! -# Generated by: spectacle version 0.23 +# Generated by: spectacle version 0.25 # + +Name: meego-pinquery + # >> macros # << macros -Name: meego-pinquery Summary: QML based PIN query application using ofono-qt Version: 0.0.2 Release: 1 @@ -13,6 +15,7 @@ License: BSD URL: http://meego.com Source0: %{name}-%{version}.tar.gz +Source1: meego-pinquery.service Source100: meego-pinquery.yaml Patch0: fix-the-Meego-pin-query-issue.patch Requires: libdeclarative-sensors @@ -22,12 +25,10 @@ BuildRequires: pkgconfig(QtDeclarative) BuildRequires: pkgconfig(ofono-qt) - %description QML PIN query dialog - %prep %setup -q -n %{name}-%{version} @@ -46,20 +47,20 @@ # >> build post # << build post + %install rm -rf %{buildroot} # >> install pre # << install pre %qmake_install +mkdir -p %{buildroot}%{_libdir}/systemd/user/ +cp -a %{SOURCE1} %{buildroot}%{_libdir}/systemd/user/ + # >> install post # << install post - - - - %files %defattr(-,root,root,-) %{_bindir}/meego-pinquery @@ -67,7 +68,6 @@ %{_usr}/share/applications/meego-pinquery.desktop %{_usr}/share/icons/hicolor/64x64/apps/meego-pinquery.png %config %{_sysconfdir}/xdg/autostart/meego-pinquery-startup.desktop +%{_libdir}/systemd/user/meego-pinquery.service # >> files # << files - - other changes: -------------- ++++++ meego-pinquery.service (new) --- meego-pinquery.service +++ meego-pinquery.service @@ -0,0 +1,9 @@ +[Unit] +Description=Pin query app +After=xorg.target +Requires=dbus.socket xorg.target +Type=oneshot + +[Service] +ExecStart=/usr/bin/meego-pinquery + ++++++ meego-pinquery.yaml --- meego-pinquery.yaml +++ meego-pinquery.yaml @@ -9,6 +9,8 @@ - "%{name}-%{version}.tar.gz" Patches: - fix-the-Meego-pin-query-issue.patch +ExtraSources: + - meego-pinquery.service;%{_libdir}/systemd/user/ Description: QML PIN query dialog PkgConfigBR: @@ -27,3 +29,4 @@ - "%{_usr}/share/applications/meego-pinquery.desktop" - "%{_usr}/share/icons/hicolor/64x64/apps/meego-pinquery.png" - "%config %{_sysconfdir}/xdg/autostart/meego-pinquery-startup.desktop" + - "%{_libdir}/systemd/user/meego-pinquery.service"
