I have made the following changes intended for : CE:MW:Shared / ssu CE:MW:Shared / nemo-ssu-repos
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/7107 Thank You, aard [This message was auto-generated] --- Request # 7107: Messages from BOSS: State: review at 2012-10-22T16:53:53 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:aard:staging:accounts / ssu -> CE:MW:Shared / ssu changes files: -------------- ++++++ new changes file: --- ssu.changes +++ ssu.changes @@ -0,0 +1,7 @@ +* Sun Oct 21 2012 Bernd Wachter <[email protected]> - 0.11 +- Allow user URLs in ssu.ini +- Don't allow phones without IMEI to register +- Add update mechanism for ssu.ini + +* Mon Oct 08 2012 Bernd Wachter <[email protected]> - 0.10 +- Initial open source version new: ---- ssu-0.11.tar.gz ssu.changes ssu.spec spec files: ----------- ++++++ new spec file: --- ssu.spec +++ ssu.spec @@ -0,0 +1,109 @@ +Name: ssu +Version: 0.11 +Release: 1 +Summary: SSU enabler for RND +Group: System/Base +License: Proprietary +Source0: %{name}-%{version}.tar.gz +URL: https://github.com/nemomobile/ssu +BuildRequires: pkgconfig(QtCore) +BuildRequires: pkgconfig(libzypp) +BuildRequires: pkgconfig(QtSystemInfo) +BuildRequires: pkgconfig(qt-boostable) +Requires(pre): shadow-utils +Requires(postun): shadow-utils +Requires: ssu-vendor-data + +%description +%{summary}. + +%files +%defattr(-,root,root,-) +%{_libdir}/zypp/plugins/urlresolver/* +%{_bindir}/rndssu +%{_libdir}/*.so.* +%dir %{_sysconfdir}/zypp/credentials.d + + +%package vendor-data-example +Summary: Sample vendor configuration data +Group: System/Base + +%description vendor-data-example +%{summary}. A vendor (including Nemo) is supposed to put those configuration on device. + +%files vendor-data-example +%defattr(-,root,root,-) +%attr(0664, root, ssu) %config(noreplace) %{_sysconfdir}/ssu/ssu.ini +%{_datadir}/ssu/*.ini + + +%package rnd-ui +Summary: Shiny user interface for %{name} +Group: System/Base + +%description rnd-ui +%{summary}. With ponies! + +%files rnd-ui +%defattr(-,root,root,-) +%{_bindir}/rndregisterui +%{_datadir}/applications/*.desktop + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{_libdir}/*.so + + +%package tests +Summary: Unit tests for %{name} +Group: Development/Libraries +Requires: testrunner-lite + +%description tests +%{summary}. + +%files tests +%defattr(-,root,root,-) +/opt/tests/%{name} + +%prep +%setup -q + + +%build +qmake DEFINES+='TARGET_ARCH=\\\"\"%{_target_cpu}\"\\\"' -recursive +make %{?_smp_mflags} + + +%install +make INSTALL_ROOT=%{buildroot} install +mkdir -p %{buildroot}/%{_sysconfdir}/zypp/credentials.d + +%pre +groupadd -rf ssu +USER=$(getent passwd 1000 | cut -d: -f1) +if [ -n "$USER" ]; then + usermod -a -G ssu $USER +fi +if [ -f /etc/ssu/ssu.ini ]; then + chgrp ssu /etc/ssu/ssu.ini + chmod 664 /etc/ssu/ssu.ini +fi + +%postun +/sbin/ldconfig +if [ "$1" == 0 ]; then + getent group ssu >/dev/null && groupdel ssu +fi + +%post -p /sbin/ldconfig other changes: -------------- ++++++ ssu-0.11.tar.gz (new) submit: home:aard:staging:accounts / nemo-ssu-repos -> CE:MW:Shared / nemo-ssu-repos changes files: -------------- ++++++ new changes file: --- nemo-ssu-repos.changes +++ nemo-ssu-repos.changes @@ -0,0 +1,2 @@ +* Mon Oct 22 2012 Bernd Wachter <[email protected]> - 0.1 +- Initial package with Nemo ssu configuration new: ---- nemo-ssu-repos-0.1.tar.gz nemo-ssu-repos.changes nemo-ssu-repos.spec spec files: ----------- ++++++ new spec file: --- nemo-ssu-repos.spec +++ nemo-ssu-repos.spec @@ -0,0 +1,144 @@ +Name: nemo-ssu-repos +Version: 0.1 +Release: 1 +Summary: Nemo SSU repositories +URL: https://github.com/nemomobile/nemo-ssu-repos +Group: System/Base +BuildArch: noarch +License: GPLv2 +Source0: %{name}-%{version}.tar.gz +BuildRequires: pkgconfig(QtCore) + +%description +%{summary}. + +%files +%defattr(-,root,root,-) + + +%package -n ssu-vendor-data-nemo +Summary: Sample vendor configuration data +Group: System/Base +Requires: ssu +Provides: ssu-vendor-data + +%description -n ssu-vendor-data-nemo +%{summary}. A vendor (including Nemo) is supposed to put those configuration on device. + +%files -n ssu-vendor-data-nemo +%defattr(-,root,root,-) +%attr(0664, root, ssu) %config(noreplace) %{_sysconfdir}/ssu/ssu.ini +%{_datadir}/ssu/*.ini + + +%package release +Summary: Release repositories +Group: System/Base +Requires: ssu + +%description release +%{summary}. + +%files release +%defattr(-,root,root,-) +%config %{_sysconfdir}/zypp/repos.d/mer-core-release.repo +%config %{_sysconfdir}/zypp/repos.d/nemo-release.repo + +%package adaptation-release +Summary: Adaptation repositories +Group: System/Base +Requires: ssu + +%description adaptation-release +This package provides device-specific adaptation for any +device where ssu can determine the correct device type, +as well as the main common adaptation repository. If your +device uses more than one common adaptation you will have +to install adaptation-extra-release, and enable the required +repositories. The repositories here are disabled per default. + +%files adaptation-release +%defattr(-,root,root,-) +%config %{_sysconfdir}/zypp/repos.d/adaptation-release.repo + + +%package adaptation-extra-release +Summary: Additional adaptation repositories +Group: System/Base +Requires: ssu + +%description adaptation-extra-release +This package provides additional adaptation repositories for +devices using more than one common adaptation repository. +Configuration for the main common adaptation is already included +in the adaptation-release package. + +%files adaptation-extra-release +%defattr(-,root,root,-) +%config %{_sysconfdir}/zypp/repos.d/adaptation-extra-release.repo + + +%package rnd +Summary: RND repositories +Group: System/Base +Requires: ssu + +%description rnd +%{summary}. + +%files rnd +%defattr(-,root,root,-) +%config %{_sysconfdir}/zypp/repos.d/mer-core-rnd.repo +%config %{_sysconfdir}/zypp/repos.d/nemo-rnd.repo + + +%package adaptation-rnd +Summary: RND adaptation repositories, device specific +Group: System/Base +Requires: ssu + +%description adaptation-rnd +This package provides device-specific adaptation for any +any device where ssu can determine the correct device type, +as well as the main common adaptation repository. If your +device uses more than one common adaptation you will have +to install adaptation-extra-rnd, and enable the required +repositories. + +%files adaptation-rnd +%defattr(-,root,root,-) +%config %{_sysconfdir}/zypp/repos.d/adaptation-rnd.repo + + +%package adaptation-extra-rnd +Summary: Additional adaptation repositories +Group: System/Base +Requires: ssu + +%description adaptation-extra-rnd +This package provides additional adaptation repositories for +devices using more than one common adaptation repository. +Configuration for the main common adaptation is already included +in the adaptation-rnd package. + +%files adaptation-extra-rnd +%defattr(-,root,root,-) +%config %{_sysconfdir}/zypp/repos.d/adaptation-extra-rnd.repo + + +%prep +%setup -q + + +%build +qmake DEFINES+='TARGET_ARCH=\\\"\"%{_target_cpu}\"\\\"' -recursive +make %{?_smp_mflags} + + +%install +make INSTALL_ROOT=%{buildroot} install +RND_REPOS="nemo mer-core adaptation adaptation-extra"; \ +for REPO in $RND_REPOS; do + sed -r 's/-rnd/-release/;s/\?rnd&?/?/;s/\?$//' %{buildroot}/%{_sysconfdir}/zypp/repos.d/$REPO-rnd.repo \ + > %{buildroot}/%{_sysconfdir}/zypp/repos.d/$REPO-release.repo +done other changes: -------------- ++++++ nemo-ssu-repos-0.1.tar.gz (new)
