I have made the following changes intended for :
  CE:Apps / phonesim

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/5431

Thank You,
Marko Saukko

[This message was auto-generated]

---

Request # 5431:

Messages from BOSS:

State: review at 2012-08-07T12:44:47 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:sage:branches:Mer:fake:Core:armv7hl / phonesim -> CE:Apps / 
phonesim
  
changes files:
--------------

++++++ new changes file:
--- phonesim.changes
+++ phonesim.changes
@@ -0,0 +1,3 @@
+* Wed Jul 11 2012 Marko Saukko <[email protected]> - 1.17
+- Initial packaging of phonesim.
+

new:
----
  phonesim-1.17.tar.xz
  phonesim.changes
  phonesim.conf
  phonesim.desktop
  phonesim.spec
  phonesim.yaml

spec files:
-----------

++++++ new spec file:
--- phonesim.spec
+++ phonesim.spec
@@ -0,0 +1,71 @@
+# 
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.25
+# 
+
+Name:       phonesim
+
+# >> macros
+# << macros
+
+Summary:    Phone simulator
+Version:    1.17
+Release:    1
+Group:      Development/Tools
+License:    GPLv2
+URL:        https://ofono.org/
+Source0:    
http://www.kernel.org/pub/linux/network/ofono/%{name}-%{version}.tar.xz
+Source1:    phonesim.conf
+Source2:    phonesim.desktop
+Source100:  phonesim.yaml
+Requires:   ofono
+BuildRequires:  pkgconfig(QtCore)
+BuildRequires:  desktop-file-utils
+
+%description
+%{summary}.
+
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+mkdir -p %{buildroot}%{_sysconfdir}/ofono/
+cp -a %{SOURCE1} %{buildroot}%{_sysconfdir}/ofono/
+mkdir -p %{buildroot}%{_datadir}/applications/
+cp -a %{SOURCE2} %{buildroot}%{_datadir}/applications/
+
+
+# >> install post
+# << install post
+
+desktop-file-install --delete-original       \
+  --dir %{buildroot}%{_datadir}/applications             \
+   %{buildroot}%{_datadir}/applications/*.desktop
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/phonesim
+%{_datadir}/phonesim/default.xml
+%config(noreplace) %{_sysconfdir}/ofono/phonesim.conf
+%{_datadir}/applications/phonesim.desktop
+# >> files
+# << files

other changes:
--------------

++++++ phonesim-1.17.tar.xz (new)

++++++ phonesim.conf (new)
--- phonesim.conf
+++ phonesim.conf
@@ -0,0 +1,14 @@
+# This is a sample file for the phonesim configuration
+#
+# It should be installed in your oFono system directory,
+# e.g. /etc/ofono/phonesim.conf
+#
+# Each group is parsed as a modem device
+#
+# Each group shall at least define the address and port
+#   Address = <valid IPv4 address format>
+#   Port = <valid TCP port>
+
+[phonesim]
+Address=127.0.0.1
+Port=12345

++++++ phonesim.desktop (new)
--- phonesim.desktop
+++ phonesim.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Phonesim
+Categories=Applications;
+Exec=/usr/bin/phonesim -p 12345 -gui /usr/share/phonesim/default.xml
+Icon=icons-Applications-dialer
+
+X-Desktop-File-Install-Version=0.19
+

++++++ phonesim.yaml (new)
--- phonesim.yaml
+++ phonesim.yaml
@@ -0,0 +1,23 @@
+Name: phonesim
+Summary: Phone simulator
+Description: |
+    %{summary}.
+Version: 1.17
+Group: Development/Tools
+URL: https://ofono.org/
+License: GPLv2
+Sources:
+    - http://www.kernel.org/pub/linux/network/ofono/%{name}-%{version}.tar.xz
+Requires:
+    - ofono
+ExtraSources:
+    - phonesim.conf;%{_sysconfdir}/ofono/
+    - phonesim.desktop;%{_datadir}/applications/
+PkgConfigBR:
+    - QtCore
+Files:
+    - "%{_bindir}/phonesim"
+    - "%{_datadir}/phonesim/default.xml"
+    - "%config(noreplace) %{_sysconfdir}/ofono/phonesim.conf"
+    - "%{_datadir}/applications/phonesim.desktop"
+



Reply via email to