I have made the following changes intended for : CE:Apps:MTF / qmlgallery
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/4382 Thank You, vesku [This message was auto-generated] --- Request # 4382: Messages from BOSS: State: review at 2012-02-16T16:10:42 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:vesku:branches:CE:Apps / qmlgallery -> CE:Apps:MTF / qmlgallery changes files: -------------- ++++++ new changes file: --- qmlgallery.changes +++ qmlgallery.changes @@ -0,0 +1,2 @@ +* Thu Feb 16 2012 Vesa-Matti Hartikainen <[email protected]> - 0.0.1 +- Initial release for Nemo 0.0.1 new: ---- qmlgallery-0.0.1.tar.bz2 qmlgallery.changes qmlgallery.desktop qmlgallery.spec qmlgallery.yaml spec files: ----------- ++++++ new spec file: --- qmlgallery.spec +++ qmlgallery.spec @@ -0,0 +1,83 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.23 +# +# >> macros +# << macros + +Name: qmlgallery +Summary: Photo Gallery for Nemo +Version: 0.0.1 +Release: 1 +Group: System/Libraries +License: BSD +URL: https://github.com/nemomobile/qmlgallery +Source0: %{name}-%{version}.tar.bz2 +Source1: qmlgallery.desktop +Source100: qmlgallery.yaml +Requires: libdeclarative-gallery +BuildRequires: pkgconfig(QtCore) >= 4.7.0 +BuildRequires: pkgconfig(QtDeclarative) +BuildRequires: pkgconfig(QtGui) +BuildRequires: pkgconfig(qdeclarative-boostable) +BuildRequires: desktop-file-utils + + +%description +Photo Gallery application using Qt Quick for Nemo Mobile. + + + +%prep +%setup -q -n %{name}-%{version} + +# >> setup +# << setup + +%build +# >> build pre +# << build pre + +%qmake \ + MEEGO_VERSION_MAJOR=1 \ + MEEGO_VERSION_MINOR=2 \ + MEEGO_VERSION_PATCH=0 \ + MEEGO_EDITION=harmattan \ + DEFINES+=MEEGO_EDITION_HARMATTAN + +make %{?jobs:-j%jobs} + +# >> build post +# << build post +%install +rm -rf %{buildroot} +# >> install pre +mkdir -p %{buildroot}/%{_datadir}/applications +cp %{SOURCE1} %{buildroot}/%{_datadir}/applications/qmlgallery.desktop +# << install pre +%qmake_install + +# >> install post +rm %{buildroot}/%{_datadir}/applications/qmlgallery_harmattan.desktop +# << install post +desktop-file-install --delete-original \ + --dir %{buildroot}%{_datadir}/applications \ + %{buildroot}%{_datadir}/applications/*.desktop + + + + + + +%files +%defattr(-,root,root,-) +/opt/qmlgallery/bin/qmlgallery +%{_datadir}/applications/qmlgallery.desktop +%{_datadir}/icons/hicolor/80x80/apps/qmlgallery80.png +/opt/qmlgallery/qml/qmlgallery/ImagePage.qml +/opt/qmlgallery/qml/qmlgallery/MainPage.qml +/opt/qmlgallery/qml/qmlgallery/main.qml +# >> files +# << files + + other changes: -------------- ++++++ qmlgallery-0.0.1.tar.bz2 (new) ++++++ qmlgallery.desktop (new) --- qmlgallery.desktop +++ qmlgallery.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Terminal=false +Name=qmlgallery +Exec=/opt/qmlgallery/bin/qmlgallery +Icon=icons-Applications-photos +X-Window-Icon= +X-HildonDesk-ShowInToolbar=true +X-Osso-Type=application/x-executable ++++++ qmlgallery.yaml (new) --- qmlgallery.yaml +++ qmlgallery.yaml @@ -0,0 +1,42 @@ +Name: qmlgallery +Summary: Photo Gallery for Nemo +Version: 0.0.1 +Release: 1 +Group: System/Libraries +License: BSD +URL: https://github.com/nemomobile/qmlgallery +Sources: + - "%{name}-%{version}.tar.bz2" + - "qmlgallery.desktop" +Description: Photo Gallery application using Qt Quick for Nemo Mobile. +Configure: none +Builder: qmake + +# These are the flags QtSDK sets for Harmattan +# we want to keep both QtSDK harmattan and Nemo build as close as possible +# so we define the same flags +QMakeOptions: + - "MEEGO_VERSION_MAJOR=1" + - "MEEGO_VERSION_MINOR=2" + - "MEEGO_VERSION_PATCH=0" + - "MEEGO_EDITION=harmattan" + - "DEFINES+=MEEGO_EDITION_HARMATTAN" + + +PkgConfigBR: + - QtCore >= 4.7.0 + - QtDeclarative + - QtGui + - qdeclarative-boostable +Requires: + - libdeclarative-gallery + +Files: + - "/opt/qmlgallery/bin/qmlgallery" + - "%{_datadir}/applications/qmlgallery.desktop" + - "%{_datadir}/icons/hicolor/80x80/apps/qmlgallery80.png" + - "/opt/qmlgallery/qml/qmlgallery/ImagePage.qml" + - "/opt/qmlgallery/qml/qmlgallery/MainPage.qml" + - "/opt/qmlgallery/qml/qmlgallery/main.qml" + +
