diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-10-30 11:50:56 +0100 |
---|---|---|
committer | Ronan Le Martret <ronan@fridu.net> | 2014-10-30 12:17:05 +0100 |
commit | d6b3a16b3cf8754b4c4b11272533f168c6edf747 (patch) | |
tree | cebfe6a358717c3a38556201b02e6efb6f6ee6d9 | |
parent | 07a5e175b598e14b244ddcf2b890b964f855e8c5 (diff) | |
download | tizen-d6b3a16b3cf8754b4c4b11272533f168c6edf747.tar.gz tizen-d6b3a16b3cf8754b4c4b11272533f168c6edf747.tar.bz2 tizen-d6b3a16b3cf8754b4c4b11272533f168c6edf747.zip |
update initial spec files
Change-Id: If2f75e254fe08f018534f4e68a16f4e1df5f4166
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
38 files changed, 978 insertions, 218 deletions
diff --git a/proto-meta-Tizen_generic/specfile-initial/GUPnP-AV/packaging/GUPnP-AV.spec b/proto-meta-Tizen_generic/specfile-initial/GUPnP-AV/packaging/GUPnP-AV.spec new file mode 100644 index 000000000..3f4d088cb --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/GUPnP-AV/packaging/GUPnP-AV.spec @@ -0,0 +1,68 @@ +Name: gupnp-av +Summary: GUPnP-AV is a collection of helpers for building UPnP AV applications +Version: 0.12.4 +Release: 0 +Group: System/Libraries +License: LGPLv2+ +URL: http://www.gupnp.org/ +Source0: http://download.gnome.org/sources/%{name}/0.12/%{name}-%{version}.tar.gz +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig(gupnp-1.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: gobject-introspection-devel +BuildRequires: vala + + +%description +GUPnP is an object-oriented open source framework for creating UPnP +devices and control points, written in C using GObject and libsoup. +The GUPnP API is intended to be easy to use, efficient and flexible. + +GUPnP-AV is a collection of helpers for building AV (audio/video) +applications using GUPnP. + +%package devel +Summary: Development package for gupnp-av +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Files for development with gupnp-av. + + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure --disable-static +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%{_libdir}/*.so.* +%{_datadir}/gupnp-av/*.xsd + +%files devel +%defattr(-,root,root,-) +%{_includedir}/gupnp-av-1.0/libgupnp-av +%{_libdir}/*.so +%{_libdir}/pkgconfig/gupnp-av-1.0.pc +%{_libdir}/girepository-1.0/GUPnPAV-1.0.typelib +%{_datadir}/gir-1.0/GUPnPAV-1.0.gir +%{_datadir}/vala/vapi/gupnp-av-1.0.deps +%{_datadir}/vala/vapi/gupnp-av-1.0.vapi + diff --git a/proto-meta-Tizen_generic/specfile-initial/GUPnP-DLNA/packaging/GUPnP-DLNA.spec b/proto-meta-Tizen_generic/specfile-initial/GUPnP-DLNA/packaging/GUPnP-DLNA.spec new file mode 100644 index 000000000..b0007266d --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/GUPnP-DLNA/packaging/GUPnP-DLNA.spec @@ -0,0 +1,111 @@ +Name: gupnp-dlna +Summary: Utility library for easing DLNA-related tasks +Version: 0.10.2 +Release: 0 +Group: Applications/Multimedia +License: LGPLv2.1 +URL: http://www.gupnp.org +Source0: http://download.gnome.org/sources/%{name}/0.10/%{name}-%{version}.tar.gz +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: gobject-introspection-devel +BuildRequires: vala +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) + + +%description +GUPnP is an object-oriented open source framework for creating UPnP +devices and control points, written in C using GObject and +libsoup. The GUPnP API is intended to be easy to use, efficient and +flexible. + +GUPnP DLNA is a small utility library that aims to ease the +DLNA-related tasks such as media profile guessing, transcoding to a +given profile, etc. + + +%package devel +Summary: Development files for gupnp-dlna +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Files for development with gupnp-dlna + + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure --disable-static +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_bindir}/gupnp-dlna-info-2.0 +%{_bindir}/gupnp-dlna-ls-profiles-2.0 +%{_libdir}/libgupnp-dlna-2.0.so.* +%{_libdir}/libgupnp-dlna-gst-2.0.so.* +%{_libdir}/gupnp-dlna/libgstreamer.so +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/aac.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/ac3.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/amr.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/avc.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/common.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/dlna-profiles.rng +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/jpeg.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/lpcm.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mp3.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg-ts.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg1.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg4.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/png.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/wma.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg-common.xml +%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg-ps.xml + +%files devel +%defattr(-,root,root,-) +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-audio-information.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-container-information.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-gst-utils.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-g-values.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-image-information.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-information.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-profile.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-profile-guesser.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-restriction.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-value-list.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-values.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-video-information.h +%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/metadata/gupnp-dlna-metadata-extractor.h +%{_libdir}/pkgconfig/gupnp-dlna-2.0.pc +%{_libdir}/pkgconfig/gupnp-dlna-metadata-2.0.pc +%{_libdir}/pkgconfig/gupnp-dlna-gst-2.0.pc +%{_libdir}/libgupnp-dlna-2.0.so +%{_libdir}/libgupnp-dlna-gst-2.0.so +%{_libdir}/gupnp-dlna/libgstreamer.so +%{_libdir}/girepository-1.0/GUPnPDLNA-2.0.typelib +%{_libdir}/girepository-1.0/GUPnPDLNAGst-2.0.typelib +%{_datadir}/gir-1.0/GUPnPDLNA-2.0.gir +%{_datadir}/gir-1.0/GUPnPDLNAGst-2.0.gir +%{_datadir}/vala/vapi/gupnp-dlna-2.0.deps +%{_datadir}/vala/vapi/gupnp-dlna-2.0.vapi +%{_datadir}/vala/vapi/gupnp-dlna-gst-2.0.deps +%{_datadir}/vala/vapi/gupnp-dlna-gst-2.0.vapi + + diff --git a/proto-meta-Tizen_generic/specfile-initial/GUPnP/packaging/GUPnP.spec b/proto-meta-Tizen_generic/specfile-initial/GUPnP/packaging/GUPnP.spec new file mode 100644 index 000000000..8131594af --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/GUPnP/packaging/GUPnP.spec @@ -0,0 +1,65 @@ +Name: gupnp +Summary: GUPnP is an framework for creating UPnP devices & control points +Version: 0.20.5 +Release: 1 +Group: System/Libraries +License: LGPLv2+ +URL: http://www.gupnp.org/ +Source0: http://download.gnome.org/sources/%{name}/0.20/%{name}-%{version}.tar.bz2 +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gmodule-2.0) +BuildRequires: pkgconfig(gssdp-1.0) +BuildRequires: pkgconfig(libsoup-2.4) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(uuid) +BuildRequires: gobject-introspection-devel +BuildRequires: vala + + +%description +GUPnP is an object-oriented open source framework for creating UPnP +devices and control points, written in C using GObject and libsoup. +The GUPnP API is intended to be easy to use, efficient and flexible. + +%package devel +Summary: Development package for gupnp +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Files for development with gupnp. + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure --disable-static +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/pkgconfig/gupnp-1.0.pc +%{_libdir}/*.so +%{_includedir}/gupnp-1.0 +%{_bindir}/gupnp-binding-tool +%{_libdir}/girepository-1.0/GUPnP-1.0.typelib +%{_datadir}/gir-1.0/GUPnP-1.0.gir +%{_datadir}/vala/vapi/gupnp-1.0.deps +%{_datadir}/vala/vapi/gupnp-1.0.vapi diff --git a/proto-meta-Tizen_generic/specfile-initial/Modello_Common/packaging/Modello-Common.spec b/proto-meta-Tizen_generic/specfile-initial/Modello_Common/packaging/Modello-Common.spec index 12a5685c8..44f373071 100644 --- a/proto-meta-Tizen_generic/specfile-initial/Modello_Common/packaging/Modello-Common.spec +++ b/proto-meta-Tizen_generic/specfile-initial/Modello_Common/packaging/Modello-Common.spec @@ -1,6 +1,6 @@ Name: Modello-Common Summary: Pure html5 UI -Version: 0.0.2 +Version: 0.0.3 Release: 0 Group: Automotive/Modello License: Apache-2.0 diff --git a/proto-meta-Tizen_generic/specfile-initial/Modello_Hvac/packaging/Modello-Hvac.spec b/proto-meta-Tizen_generic/specfile-initial/Modello_Hvac/packaging/Modello-Hvac.spec index 9bd883b85..42a59f271 100644 --- a/proto-meta-Tizen_generic/specfile-initial/Modello_Hvac/packaging/Modello-Hvac.spec +++ b/proto-meta-Tizen_generic/specfile-initial/Modello_Hvac/packaging/Modello-Hvac.spec @@ -1,6 +1,6 @@ Name: Modello-Hvac Summary: Pure html5 UI -Version: 0.0.2 +Version: 0.0.3 Release: 0 Group: Automotive/Modello License: Apache-2.0 diff --git a/proto-meta-Tizen_generic/specfile-initial/ail/packaging/ail.spec b/proto-meta-Tizen_generic/specfile-initial/ail/packaging/ail.spec index bae42ae69..2a5ce8a35 100755 --- a/proto-meta-Tizen_generic/specfile-initial/ail/packaging/ail.spec +++ b/proto-meta-Tizen_generic/specfile-initial/ail/packaging/ail.spec @@ -16,7 +16,6 @@ BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(xdgmime) BuildRequires: pkgconfig(libtzplatform-config) Provides: libail = %{version}-%{release} -Requires(post): libcap-tools %description Application Information Library package diff --git a/proto-meta-Tizen_generic/specfile-initial/alarm-manager/packaging/alarm-manager.spec b/proto-meta-Tizen_generic/specfile-initial/alarm-manager/packaging/alarm-manager.spec index d4e49a47a..4713f6d44 100644 --- a/proto-meta-Tizen_generic/specfile-initial/alarm-manager/packaging/alarm-manager.spec +++ b/proto-meta-Tizen_generic/specfile-initial/alarm-manager/packaging/alarm-manager.spec @@ -10,7 +10,6 @@ Source102: 60-alarm-manager-rtc.rules Source103: alarm-service.conf Source1001: %{name}.manifest -BuildRequires: pkgconfig BuildRequires: pkgconfig(appsvc) BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(bundle) @@ -27,30 +26,30 @@ BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(libtzplatform-config) %description -Alarm server and alaram manager libraries. +Alarm Server and devel libraries %package -n alarm-server -Summary: Alarm server (devel) -Requires(post): /usr/bin/systemctl +Summary: Alarm server (devel) +Requires(post): /usr/bin/systemctl Requires(postun): /usr/bin/systemctl -Requires(preun): /usr/bin/systemctl +Requires(preun): /usr/bin/systemctl %description -n alarm-server -Alarm Server (development files). +Alarm Server %package -n libalarm -Summary: Alarm server (libs) +Summary: Alarm server libraries Requires: alarm-server = %{version}-%{release} %description -n libalarm -Alarm server libraries. +Alarm server library %package -n libalarm-devel -Summary: Alarm server libraries (devel) +Summary: Alarm server libraries(devel) Requires: libalarm = %{version}-%{release} %description -n libalarm-devel -Alarm server library (development files). +Alarm server library (devel) %prep %setup -q @@ -127,3 +126,4 @@ fi %{_includedir}/*.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libalarm.so + diff --git a/proto-meta-Tizen_generic/specfile-initial/bluetooth-frwk/packaging/bluetooth-frwk.spec b/proto-meta-Tizen_generic/specfile-initial/bluetooth-frwk/packaging/bluetooth-frwk.spec index 0534829f6..4959ee9a2 100644 --- a/proto-meta-Tizen_generic/specfile-initial/bluetooth-frwk/packaging/bluetooth-frwk.spec +++ b/proto-meta-Tizen_generic/specfile-initial/bluetooth-frwk/packaging/bluetooth-frwk.spec @@ -13,7 +13,6 @@ Source1001: bluetooth-frwk.manifest Source1002: bt-icon.png URL: https://review.tizen.org/git/?p=platform/core/connectivity/bluetooth-frwk.git;a=summary Requires: dbus -Requires: syspopup Requires: bluetooth-tools BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(dbus-glib-1) @@ -23,8 +22,9 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gtk+-3.0) -%else +%elif %{without bluetooth_frwk_libnotification} BuildRequires: pkgconfig(syspopup-caller) +Requires: syspopup %endif BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(libxml-2.0) @@ -89,8 +89,10 @@ export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbol export CFLAGS+=" -fpie" export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie" %endif + %cmake . \ -DTZ_SYS_USER_GROUP=%TZ_SYS_USER_GROUP \ +-DTZ_SYS_DEFAULT_USER=%TZ_SYS_DEFAULT_USER \ %if %{with bluetooth_frwk_libnotify} -DLIBNOTIFY_SUPPORT=On \ %else @@ -107,21 +109,22 @@ make %install rm -rf %{buildroot} %make_install -mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/ -mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/ -ln -s %{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S80bluetooth-frwk-service -ln -s %{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S80bluetooth-frwk-service mkdir -p %{buildroot}%{_unitdir_user} mkdir -p %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants install -m 0644 bt-service/bluetooth-frwk-service.service %{buildroot}%{_unitdir_user} ln -s ../bluetooth-frwk-service.service %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants/bluetooth-frwk-service.service -%if %{with bluetooth_frwk_libnotify} +%if %{with bluetooth_frwk_libnotify} || %{with bluetooth_frwk_libnotification} mkdir -p %{buildroot}%{_datadir}/icons/default install -m 0644 %{SOURCE1002} %{buildroot}%{_datadir}/icons/default/bt-icon.png %endif +# On IVI bt-service needs to be run as 'app' even if there is a 'guest' user. +%if "%{profile}"=="ivi" +sed -i 's/%TZ_SYS_DEFAULT_USER/app/' %{buildroot}%{_datadir}/dbus-1/system-services/org.projectx.bt.service +%endif + %post /sbin/ldconfig vconftool set -tf int db/bluetooth/status "0" -g 6520 @@ -152,16 +155,13 @@ vconftool set -tf int memory/bluetooth/btsco "0" -g 6520 -i %manifest %{name}.manifest %defattr(-, root, root) %{_datadir}/dbus-1/system-services/org.projectx.bt.service -%{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service -%{_sysconfdir}/rc.d/rc3.d/S80bluetooth-frwk-service -%{_sysconfdir}/rc.d/rc5.d/S80bluetooth-frwk-service %{_bindir}/bt-service %{_unitdir_user}/tizen-middleware.target.wants/bluetooth-frwk-service.service %{_unitdir_user}/bluetooth-frwk-service.service %attr(0666,-,-) /opt/var/lib/bluetooth/auto-pair-blacklist %{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-service.conf -%if %{with bluetooth_frwk_libnotify} +%if %{with bluetooth_frwk_libnotify} || %{with bluetooth_frwk_libnotification} %{_datadir}/icons/default/bt-icon.png %endif diff --git a/proto-meta-Tizen_generic/specfile-initial/common-crosswalk-suite/packaging/common-crosswalk-suite.spec b/proto-meta-Tizen_generic/specfile-initial/common-crosswalk-suite/packaging/common-crosswalk-suite.spec new file mode 100644 index 000000000..5e7ee0fda --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/common-crosswalk-suite/packaging/common-crosswalk-suite.spec @@ -0,0 +1,38 @@ +Name: common-crosswalk-suite +Summary: Crosswalk suite for Tizen Common +Version: 1.0.0 +Release: 1 +License: GPL-2.0 +Group: Development/Testing +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: common-suite-launcher +Requires: testkit-lite +Requires: testkit-stub +BuildArch: noarch + + +%description +The common-crosswalk-suite validates web features of the Tizen Common image : web W3C api and device api using crosswalk + + +%prep +%setup -q +cp %{SOURCE1001} . + + +%build + + +%install +install -d %{buildroot}/%{_datadir}/tests/%{name} +install -m 0755 common/runtest.sh %{buildroot}/%{_datadir}/tests/%{name} +install -m 0644 common/*.xml %{buildroot}/%{_datadir}/tests/%{name} +cp -r common/TESTDIR %{buildroot}/%{_datadir}/tests/%{name} + + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%{_datadir}/tests/%{name}
\ No newline at end of file diff --git a/proto-meta-Tizen_generic/specfile-initial/common-graphics-suite/packaging/common-graphics-suite.spec b/proto-meta-Tizen_generic/specfile-initial/common-graphics-suite/packaging/common-graphics-suite.spec new file mode 100644 index 000000000..fc6ee34d5 --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/common-graphics-suite/packaging/common-graphics-suite.spec @@ -0,0 +1,40 @@ +Name: common-graphics-suite +Summary: Graphics suite for Tizen Common +Version: 1.1 +Release: 0 +License: GPL-2.0 +Group: Development/Testing +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest +Requires: common-suite-launcher +Requires: testkit-lite +Requires: wayland-fits-master +BuildArch: noarch + + +%description +The common-graphics-suite validates graphical features of the +Tizen Common image : wayland, wayland-efl integration in software +and accelerated modes + + +%prep +%setup -q +cp %{SOURCE1001} . + + +%build + + +%install +install -d %{buildroot}/%{_datadir}/tests/common/%{name} +install -m 0755 runtest %{buildroot}/%{_datadir}/tests/common/%{name} +install -m 0644 *.xml %{buildroot}/%{_datadir}/tests/common/%{name} +install -m 0644 LICENSE %{buildroot}/%{_datadir}/tests/common/%{name} +cp -r TESTDIR %{buildroot}/%{_datadir}/tests/common/%{name} + + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%{_datadir}/tests/common/%{name} diff --git a/proto-meta-Tizen_generic/specfile-initial/common-multimedia-suite/packaging/common-multimedia-suite.spec b/proto-meta-Tizen_generic/specfile-initial/common-multimedia-suite/packaging/common-multimedia-suite.spec new file mode 100755 index 000000000..c052adca7 --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/common-multimedia-suite/packaging/common-multimedia-suite.spec @@ -0,0 +1,85 @@ +Name: common-multimedia-suite +Summary: Multimedia suite for Tizen Common +Version: 1.0.0 +Release: 1 +License: GPL-2.0 +Group: Development/Testing +Source0: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(gstreamer-base-1.0) +BuildRequires: pkgconfig(gthread-2.0) +Requires: common-suite-launcher +Requires: testkit-lite + +%description +The common-multimedia-suite validates the multimedia features of the Tizen Common image : audio and video playing of media files of different formats with gstreamer + + +%package -n ivi-multimedia-tests +Summary: IVI multimedia test suite +Group: Development/Testing +Requires: gstreamer-utils +Requires: pulseaudio-utils +Requires: testkit-lite + +%description -n ivi-multimedia-tests +IVI multimedia test suite. Validates gstreamer and pulseaudio features + + +%package -n gst-auto-launch +Summary: Improved version of gst-launch +Group: Development/Testing +Requires: gstreamer-utils + +%description -n gst-auto-launch +gst-auto-launch is an improved version of gst-launch that accepts commands + + +%prep +%setup -q +cp %{SOURCE1001} . + + +%build +%reconfigure \ + --prefix=%{_prefix} +%__make %{?_smp_mflags} + + +%install +%make_install + +# common-multimedia-suite package +install -d %{buildroot}/%{_datadir}/tests/%{name} +install -m 0755 common/runtest.sh %{buildroot}/%{_datadir}/tests/%{name} +install -m 0644 common/*.xml %{buildroot}/%{_datadir}/tests/%{name} +install -m 0644 LICENSE %{buildroot}/%{_datadir}/tests/%{name} +cp -r common/TESTDIR %{buildroot}/%{_datadir}/tests/%{name} + +# ivi-multimedia-tests package +install -d %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-gstreamer-tests +install -d %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-pulseaudio-tests +install -m 0755 ivi/tts-gstreamer-tests/src/* %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-gstreamer-tests +install -m 0644 ivi/tts-gstreamer-tests/tests.xml %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-gstreamer-tests +install -m 0644 ivi/tts-gstreamer-tests/README %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-gstreamer-tests +install -m 0755 ivi/tts-pulseaudio-tests/src/*.sh %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-pulseaudio-tests +install -m 0644 ivi/tts-pulseaudio-tests/tests.xml %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-pulseaudio-tests +install -m 0644 ivi/tts-pulseaudio-tests/README %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-pulseaudio-tests +install -m 0644 LICENSE %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%{_datadir}/tests/%{name} + + +%files -n ivi-multimedia-tests +%defattr(-,root,root) +%{_datadir}/tests/ivi-multimedia-tests + + +%files -n gst-auto-launch +%defattr(-,root,root) +%{_bindir}/gst-auto-launch +%{_datadir}/gst-auto-launch diff --git a/proto-meta-Tizen_generic/specfile-initial/common-sanity-suite/packaging/common-sanity-suite.spec b/proto-meta-Tizen_generic/specfile-initial/common-sanity-suite/packaging/common-sanity-suite.spec new file mode 100644 index 000000000..e2c56fbbe --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/common-sanity-suite/packaging/common-sanity-suite.spec @@ -0,0 +1,38 @@ +Name: common-sanity-suite +Summary: Sanity suite for Tizen Common +Version: 1.1 +Release: 0 +License: GPL-2.0 +Group: Development/Testing +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest +BuildArch: noarch +Requires: testkit-lite +Requires: common-suite-launcher + + +%description +The common-sanity-suite is the acceptance test to validate the Tizen Common image + + +%prep +%setup -q +cp %{SOURCE1001} . + + +%build + + +%install +## common-sanity-suite +install -d %{buildroot}/%{_datadir}/tests/common/%{name} +install -m 0755 runtest %{buildroot}/%{_datadir}/tests/common/%{name} +install -m 644 *.xml %{buildroot}/%{_datadir}/tests/common/%{name} +install -m 0644 LICENSE %{buildroot}/%{_datadir}/tests/common/%{name} +cp -r TESTDIR %{buildroot}/%{_datadir}/tests/common/%{name} + + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%{_datadir}/tests/common/%{name} diff --git a/proto-meta-Tizen_generic/specfile-initial/common-suite-launcher/packaging/common-suite-launcher.spec b/proto-meta-Tizen_generic/specfile-initial/common-suite-launcher/packaging/common-suite-launcher.spec new file mode 100644 index 000000000..ebea23997 --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/common-suite-launcher/packaging/common-suite-launcher.spec @@ -0,0 +1,37 @@ +Name: common-suite-launcher +Version: 2.1.0 +Release: 0 +License: GPL-2.0 +Summary: Launcher of Tizen Common test suites +Group: Development/Testing +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest +Requires: xmlstarlet +BuildArch: noarch + + +%description + +Common Suite Launcher is the launcher of the test suites that +are packaged in Tizen. + + +%prep +%setup -q +cp %{SOURCE1001} . + + +%build + + +%install +install -d %{buildroot}/%{_bindir} +install -m 0755 src/%{name} %{buildroot}/%{_bindir} +install -m 0755 src/result-format %{buildroot}/%{_bindir} + + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%{_bindir}/common-suite-launcher +%{_bindir}/result-format diff --git a/proto-meta-Tizen_generic/specfile-initial/crosswalk/packaging/crosswalk.spec b/proto-meta-Tizen_generic/specfile-initial/crosswalk/packaging/crosswalk.spec index 55cb76205..437f0cf8e 100644 --- a/proto-meta-Tizen_generic/specfile-initial/crosswalk/packaging/crosswalk.spec +++ b/proto-meta-Tizen_generic/specfile-initial/crosswalk/packaging/crosswalk.spec @@ -1,6 +1,9 @@ %bcond_with x %bcond_with wayland +%define debug_package %{nil} +%define __debug_install_post %{nil} + # NaCl build on 64bit system require libc 32bit to build the 32 IRT. # While Tizen 64bit image does not offer 32bit packages at all, # check https://bugs.tizen.org/jira/browse/PTREL-803 for details. @@ -10,28 +13,26 @@ # are not present. %define _disable_nacl 1 + # adjust compression algorithm to speed up RPMS creation # source RPM and debug RPMS are big and take too much time # when using standard (lzma) compression %define _source_payload w3.gzdio %define _binary_payload w3.gzdio -Name: crosswalk -Version: 10.38.217.0 +Name: crosswalk-thirdparty +Version: 10.38.222.0 Release: 0 Summary: Chromium-based app runtime License: (BSD-3-Clause and LGPL-2.1+) Group: Web Framework/Web Run Time Url: https://github.com/otcshare/crosswalk -Source: %{name}.tar -Source1: xwalk.in -Source2: org.crosswalkproject.Runtime1.service -Source3: xwalk.service.in -Source1001: crosswalk.manifest -Source1002: %{name}.xml.in -Source1003: %{name}.png +Source: crosswalk.tar +Source1001: crosswalk-thirdparty.manifest +Source1002: xwalk-thirdparty.gyp Patch9: Blink-Add-GCC-flag-Wno-narrowing-fix-64bits-build.patch Patch10: crosswalk-do-not-look-for-gtk-dependencies-on-x11.patch +NoSource: 0 BuildRequires: bison BuildRequires: bzip2-devel @@ -47,37 +48,18 @@ BuildRequires: python BuildRequires: python-xml BuildRequires: perl BuildRequires: which -BuildRequires: pkgconfig(ail) BuildRequires: pkgconfig(alsa) -BuildRequires: pkgconfig(appcore-common) BuildRequires: pkgconfig(cairo) -BuildRequires: pkgconfig(capi-location-manager) BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(fontconfig) -BuildRequires: pkgconfig(freetype2) -BuildRequires: pkgconfig(gles20) BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(haptic) -BuildRequires: pkgconfig(icu-i18n) -BuildRequires: pkgconfig(libdrm) -BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libpci) BuildRequires: pkgconfig(libpulse) -BuildRequires: pkgconfig(tizen-platform-wrapper) -BuildRequires: pkgconfig(libtzplatform-config) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(pango) -BuildRequires: pkgconfig(pkgmgr) -BuildRequires: pkgconfig(pkgmgr-info) -BuildRequires: pkgconfig(pkgmgr-installer) -BuildRequires: pkgconfig(pkgmgr-parser) -BuildRequires: pkgconfig(nspr) BuildRequires: pkgconfig(nss) -BuildRequires: pkgconfig(sensor) -BuildRequires: pkgconfig(vconf) -BuildRequires: pkgconfig(xmlsec1) %if %{with x} BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcomposite) @@ -106,31 +88,21 @@ BuildRequires: pkgconfig(xkbcommon) %endif Requires: ca-certificates-tizen +AutoProv: 0 +Provides: crosswalk-thirdparty + %description -Crosswalk is an app runtime based on Chromium. It is an open source project started by the Intel Open Source Technology Center (http://www.01.org). +libraries and binaries of crosswalk project -%define _manifestdir %TZ_SYS_RO_PACKAGES -%define _manifestdir_ro %TZ_SYS_RO_PACKAGES -%define _desktop_icondir %TZ_SYS_RW_ICONS/default/small -%define _desktop_icondir_ro %TZ_SYS_RO_ICONS/default/small %define _dbusservicedir /usr/share/dbus-1/services %define _systemduserservicedir /usr/lib/systemd/user %prep %setup -q -n crosswalk -cp %{SOURCE1} . -cp %{SOURCE3} . cp %{SOURCE1001} . -cp %{SOURCE1002} . -cp %{SOURCE1003} . -sed "s/@VERSION@/%{version}/g" %{name}.xml.in > %{name}.xml -sed "s|@LIB_INSTALL_DIR@|%{_libdir}|g" xwalk.in > xwalk -sed "s|@LIB_INSTALL_DIR@|%{_libdir}|g" xwalk.service.in > xwalk.service +cp %{SOURCE1002} src/xwalk/ -cp -a src/AUTHORS AUTHORS.chromium -cp -a src/LICENSE LICENSE.chromium -cp -a src/xwalk/LICENSE LICENSE.xwalk %patch9 @@ -212,7 +184,7 @@ GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Denable_murphy=1" # --no-parallel is added because chroot does not mount a /dev/shm, this will # cause python multiprocessing.SemLock error. export GYP_GENERATORS='ninja' -./src/xwalk/gyp_xwalk src/xwalk/xwalk.gyp \ +./src/xwalk/gyp_xwalk src/xwalk/xwalk-thirdparty.gyp \ --no-parallel \ ${GYP_EXTRA_FLAGS} \ -Dchromeos=0 \ @@ -231,76 +203,16 @@ ${GYP_EXTRA_FLAGS} \ -Dshared_process_mode=1 \ -Denable_hidpi=1 -ninja %{?_smp_mflags} -C src/out/Release xwalk xwalk_launcher xwalk_application_tools +ninja %{?_smp_mflags} -C src/out/Release xwalk-thirdparty %install -# Binaries. -install -p -D %{SOURCE2} %{buildroot}%{_dbusservicedir}/org.crosswalkproject.Runtime1.service -install -p -D xwalk.service %{buildroot}%{_systemduserservicedir}/xwalk.service -install -p -D src/out/Release/xwalk %{buildroot}%{_libdir}/xwalk/xwalk -install -p -D src/out/Release/xwalkctl %{buildroot}%{_bindir}/xwalkctl -install -p -D src/out/Release/xwalk-launcher %{buildroot}%{_bindir}/xwalk-launcher -install -p -D src/out/Release/lib/libxwalk-backendlib.so %{buildroot}%{_libdir}/xwalk/libxwalk-backendlib.so -install -p -D src/xwalk/application/tools/tizen/xwalk_backend_wrapper.sh %{buildroot}%{_libdir}/xwalk/xwalk_backend_wrapper.sh - -# Supporting libraries and resources. -install -p -D src/out/Release/icudtl.dat %{buildroot}%{_libdir}/xwalk/icudtl.dat -install -p -D src/out/Release/libffmpegsumo.so %{buildroot}%{_libdir}/xwalk/libffmpegsumo.so -install -p -D src/out/Release/xwalk.pak %{buildroot}%{_libdir}/xwalk/xwalk.pak -mkdir -p %{buildroot}%{_datadir}/xwalk -install -p -D src/xwalk/application/common/tizen/configuration/*.xsd %{buildroot}%{_datadir}/xwalk/ - -# PNaCl -%if ! %{_disable_nacl} -install -p -D src/out/Release/nacl_bootstrap_raw %{buildroot}%{_libdir}/xwalk/nacl_bootstrap_raw -install -p -D src/out/Release/nacl_helper %{buildroot}%{_libdir}/xwalk/nacl_helper -install -p -D src/out/Release/nacl_helper_bootstrap %{buildroot}%{_libdir}/xwalk/nacl_helper_bootstrap -install -p -D src/out/Release/nacl_irt_*.nexe %{buildroot}%{_libdir}/xwalk -install -p -d %{buildroot}%{_libdir}/xwalk/pnacl -install -m 0664 -p -D src/out/Release/pnacl/* %{buildroot}%{_libdir}/xwalk/pnacl -%endif -# Register xwalk to the package manager. -install -p -D %{name}.xml %{buildroot}%{_manifestdir}/%{name}.xml -install -p -D %{name}.png %{buildroot}%{_desktop_icondir}/%{name}.png - -%post -mkdir -p %{_desktop_icondir_ro} -mkdir -p %{_manifestdir_ro} - -ln -sf %{_libdir}/xwalk/libxwalk-backendlib.so /etc/package-manager/backendlib/libxpk.so -ln -sf %{_libdir}/xwalk/libxwalk-backendlib.so /etc/package-manager/backendlib/libwgt.so -ln -sf %{_libdir}/xwalk/xwalk_backend_wrapper.sh /etc/package-manager/backend/xpk -ln -sf %{_libdir}/xwalk/xwalk_backend_wrapper.sh /etc/package-manager/backend/wgt - -%preun -if [ $1 -eq 0 ] ; then -# don't remove if we are upgrade the rpm package -[ -L /etc/package-manager/backendlib/libxpk.so ] && rm /etc/package-manager/backendlib/libxpk.so -[ -L /etc/package-manager/backendlib/libwgt.so ] && rm /etc/package-manager/backendlib/libwgt.so -[ -L /etc/package-manager/backend/xpk ] && rm /etc/package-manager/backend/xpk -[ -L /etc/package-manager/backend/wgt ] && rm /etc/package-manager/backend/wgt -fi +mkdir -p %{buildroot}/opt/crosswalk-thirdparty/ +#cp -ar src/out/* %{buildroot}/opt/crosswalk-thirdparty/ +tar -zcvf out.tgz src/out +cp -ar out.tgz %{buildroot}/opt/crosswalk-thirdparty/ + %files %manifest %{name}.manifest -%license AUTHORS.chromium LICENSE.chromium LICENSE.xwalk -%{_bindir}/xwalkctl -%{_bindir}/xwalk-launcher -%{_libdir}/xwalk/icudtl.dat -%{_libdir}/xwalk/libffmpegsumo.so -%if ! %{_disable_nacl} -%{_libdir}/xwalk/nacl_bootstrap_raw -%{_libdir}/xwalk/nacl_helper -%{_libdir}/xwalk/nacl_helper_bootstrap -%{_libdir}/xwalk/nacl_irt_*.nexe -%{_libdir}/xwalk/pnacl/* -%endif -%{_libdir}/xwalk/xwalk -%{_libdir}/xwalk/xwalk.pak -%{_libdir}/xwalk/libxwalk-backendlib.so -%{_libdir}/xwalk/xwalk_backend_wrapper.sh -%{_manifestdir}/%{name}.xml -%{_desktop_icondir}/%{name}.png -%{_dbusservicedir}/org.crosswalkproject.Runtime1.service -%{_systemduserservicedir}/xwalk.service -%{_datadir}/xwalk/* +/opt/crosswalk-thirdparty/* + diff --git a/proto-meta-Tizen_generic/specfile-initial/dlog/packaging/dlog.spec b/proto-meta-Tizen_generic/specfile-initial/dlog/packaging/dlog.spec index 811c037e6..b80daa8cb 100644 --- a/proto-meta-Tizen_generic/specfile-initial/dlog/packaging/dlog.spec +++ b/proto-meta-Tizen_generic/specfile-initial/dlog/packaging/dlog.spec @@ -9,7 +9,6 @@ Source1: dlog.manifest BuildRequires: pkgconfig(libsystemd-journal) BuildRequires: pkgconfig(libtzplatform-config) -BuildRequires: pkgconfig %description Logging service dlog API library @@ -40,7 +39,7 @@ cp %{SOURCE1} . %build %reconfigure --disable-static -%__make %{?_smp_mflags} +%__make %{?jobs:-j%jobs} %install %make_install diff --git a/proto-meta-Tizen_generic/specfile-initial/elementary/packaging/elementary.spec b/proto-meta-Tizen_generic/specfile-initial/elementary/packaging/elementary.spec index d5c099090..ce3d17dd2 100644 --- a/proto-meta-Tizen_generic/specfile-initial/elementary/packaging/elementary.spec +++ b/proto-meta-Tizen_generic/specfile-initial/elementary/packaging/elementary.spec @@ -13,7 +13,6 @@ Source0: elementary-%{version}.tar.bz2 Source1001: elementary.manifest BuildRequires: doxygen BuildRequires: gettext-devel -BuildRequires: pkgconfig BuildRequires: pkgconfig(ecore) BuildRequires: pkgconfig(ecore-evas) BuildRequires: pkgconfig(ecore-file) @@ -146,3 +145,5 @@ cp %{SOURCE1001} . %{_libdir}/pkgconfig/*.pc %{_libdir}/cmake/Elementary/ElementaryConfig.cmake %{_libdir}/cmake/Elementary/ElementaryConfigVersion.cmake + +%changelog diff --git a/proto-meta-Tizen_generic/specfile-initial/gsignond/packaging/gsignond.spec b/proto-meta-Tizen_generic/specfile-initial/gsignond/packaging/gsignond.spec index 1cd201cb9..fa025889f 100644 --- a/proto-meta-Tizen_generic/specfile-initial/gsignond/packaging/gsignond.spec +++ b/proto-meta-Tizen_generic/specfile-initial/gsignond/packaging/gsignond.spec @@ -19,7 +19,6 @@ Requires: dbus-1 %endif Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig -BuildRequires: pkgconfig BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(glib-2.0) >= 2.30 BuildRequires: pkgconfig(gobject-2.0) @@ -68,7 +67,7 @@ rm -rf %{buildroot} install -m 755 -d %{buildroot}%{_unitdir_user} install -m 644 data/gsignond.service %{buildroot}%{_unitdir_user}/ install -m 755 -d %{buildroot}%{_unitdir_user}/weston.target.wants -ln -sf ../gsignond.service %{buildroot}%{_unitdir_user}/weston.target.wants/gsignond.service +ln -s ../gsignond.service %{buildroot}%{_unitdir_user}/weston.target.wants/gsignond.service %post /sbin/ldconfig @@ -80,7 +79,7 @@ getent group gsignond > /dev/null || /usr/sbin/groupadd -r gsignond %files %defattr(-,root,root,-) %manifest %{name}.manifest -%doc AUTHORS COPYING.LIB +%doc AUTHORS COPYING.LIB INSTALL NEWS README %{_bindir}/%{name} %{_libdir}/lib%{name}-*.so.* %{_libdir}/%{name}/extensions/*.so* diff --git a/proto-meta-Tizen_generic/specfile-initial/ico-vic-amb-plugin/packaging/ico-vic-amb-plugin.spec b/proto-meta-Tizen_generic/specfile-initial/ico-vic-amb-plugin/packaging/ico-vic-amb-plugin.spec index 29edb749a..63dd06c0b 100644 --- a/proto-meta-Tizen_generic/specfile-initial/ico-vic-amb-plugin/packaging/ico-vic-amb-plugin.spec +++ b/proto-meta-Tizen_generic/specfile-initial/ico-vic-amb-plugin/packaging/ico-vic-amb-plugin.spec @@ -1,51 +1,50 @@ Name: ico-vic-amb-plugin -Summary: Automotive Message Broker is a vehicle network abstraction system +Summary: Automotive Message Broker is a vehicle network abstraction system. Version: 0.9.5 -Release: 0 -Group: Automotive/Other -License: LGPL-2.1 +Release: 1.1 +Group: System Environment/Daemons +License: LGPL v2.1 +URL: "" Source0: %{name}-%{version}.tar.bz2 -Source1001: ico-vic-amb-plugin.manifest - -Requires(post): /sbin/ldconfig +Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig -Requires: ico-uxf-utilities +Requires: libjson +Requires: ico-uxf-utilities BuildRequires: cmake BuildRequires: boost-devel -BuildRequires: pkgconfig(json) +BuildRequires: libjson-devel BuildRequires: automotive-message-broker-devel >= 0.10.0 BuildRequires: ico-uxf-utilities-devel >= 0.9.04 BuildRequires: ico-uxf-utilities >= 0.9.04 -BuildRequires: pkgconfig(elementary) -BuildRequires: pkgconfig(appcore-efl) +BuildRequires: pkgconfig(elementary) +BuildRequires: pkgconfig(appcore-efl) %description -Automotive Message Broker is a vehicle network abstraction system Collection of plugins for automotive-message-broker %prep %setup -q -n %{name}-%{version} -cp %{SOURCE1001} . %build %cmake -%__make %{?jobs:-j%jobs} + +make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install mkdir -p %{buildroot}/%{_sysconfdir}/ambd +mkdir -p %{buildroot}/usr/bin cp src/AMBformat.conf %{buildroot}/%{_sysconfdir}/ambd/ -mkdir -p %{buildroot}%{_bindir} -cp tool/ico_set_vehicleinfo %{buildroot}%{_bindir}/ico_set_vehicleinfo +cp tool/ico_set_vehicleinfo %{buildroot}/usr/bin/ico_set_vehicleinfo %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %manifest %{name}.manifest +%defattr(-,root,root,-) %{_libdir}/automotive-message-broker/*.so -%config %{_sysconfdir}/ambd/AMBformat.conf -%{_datadir}/doc/automotive-message-broker/%{name}/README -%{_bindir}/ico_set_vehicleinfo +%{_sysconfdir}/ambd/AMBformat.conf +/usr/share/doc/automotive-message-broker/%{name}/README +/usr/bin/ico_set_vehicleinfo diff --git a/proto-meta-Tizen_generic/specfile-initial/ico-vic-carsimulator/packaging/ico-vic-carsimulator.spec b/proto-meta-Tizen_generic/specfile-initial/ico-vic-carsimulator/packaging/ico-vic-carsimulator.spec index e04d96616..229d1e5df 100644 --- a/proto-meta-Tizen_generic/specfile-initial/ico-vic-carsimulator/packaging/ico-vic-carsimulator.spec +++ b/proto-meta-Tizen_generic/specfile-initial/ico-vic-carsimulator/packaging/ico-vic-carsimulator.spec @@ -14,6 +14,7 @@ BuildRequires: automake BuildRequires: glib2-devel BuildRequires: json-glib-devel BuildRequires: ico-uxf-utilities-devel +BuildRequires: pkgconfig %description CarSimulator is simulated driving software diff --git a/proto-meta-Tizen_generic/specfile-initial/ivi-sanity-suite/packaging/ivi-sanity-suite.spec b/proto-meta-Tizen_generic/specfile-initial/ivi-sanity-suite/packaging/ivi-sanity-suite.spec new file mode 100644 index 000000000..5b208ea43 --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/ivi-sanity-suite/packaging/ivi-sanity-suite.spec @@ -0,0 +1,64 @@ +Name: ivi-sanity-suite +Summary: Sanity suite for Tizen IVI +Version: 1.1 +Release: 0 +License: GPL-2.0 +Group: Development/Testing +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest +BuildArch: noarch +Requires: testkit-lite +Requires: common-suite-launcher + +%description +The ivi-sanity-suite is the acceptance test to validate the Tizen IVI image + +%package -n %{name}-GUI +Summary: GUI Sanity Case +Group: Development/Testing +Requires: testkit-lite +Requires: fMBT + + +%description -n %{name}-GUI +IVI sanity GUI testing case to validate launch of homescreen and key apps. + + +%prep +%setup -q +cp %{SOURCE1001} . + + +%build + + +%install +install -d %{buildroot}/%{_datadir}/tests/%{profile}/%{name} +install -m 0755 runtest %{buildroot}/%{_datadir}/tests/%{profile}/%{name} +install -m 0755 process_check/prs_checker %{buildroot}/%{_datadir}/tests/%{profile}/%{name} +install -m 0644 process_check/testkit.xml %{buildroot}/%{_datadir}/tests/%{profile}/%{name} +install -m 0644 LICENSE %{buildroot}/%{_datadir}/tests/%{profile}/%{name} +install -m 0644 process_check/README %{buildroot}/%{_datadir}/tests/%{profile}/%{name} + +install -d %{buildroot}/%{_datadir}/tests/ivi/%{name}/GUI +install -m 0755 GUI/runtest.sh %{buildroot}/%{_datadir}/tests/ivi/%{name}/GUI +install -m 0755 GUI/ivi_apps.py %{buildroot}/%{_datadir}/tests/ivi/%{name}/GUI +install -m 0755 GUI/ivi_tests.py %{buildroot}/%{_datadir}/tests/ivi/%{name}/GUI +install -m 0644 GUI/testkit.xml %{buildroot}/%{_datadir}/tests/ivi/%{name}/GUI +install -m 0644 GUI/README %{buildroot}/%{_datadir}/tests/ivi/%{name}/GUI +install -m 0644 LICENSE %{buildroot}/%{_datadir}/tests/ivi/%{name}/GUI +cp -r GUI/ivi-tests_pics %{buildroot}/%{_datadir}/tests/ivi/%{name}/GUI + + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%{_datadir}/tests/ivi/%{name}/runtest +%{_datadir}/tests/ivi/%{name}/prs_checker +%{_datadir}/tests/ivi/%{name}/testkit.xml +%{_datadir}/tests/ivi/%{name}/LICENSE +%{_datadir}/tests/ivi/%{name}/README + + +%files -n %{name}-GUI +%{_datadir}/tests/ivi/%{name}/GUI diff --git a/proto-meta-Tizen_generic/specfile-initial/libgee/packaging/libgee.spec b/proto-meta-Tizen_generic/specfile-initial/libgee/packaging/libgee.spec new file mode 100644 index 000000000..aefe3b235 --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/libgee/packaging/libgee.spec @@ -0,0 +1,89 @@ +%define baseline 0.10 +%define apiversion 0.8 + + +Name: libgee +Version: 0.10.5 +Release: 0 +Summary: GObject-based library providing commonly used data structures +License: LGPL-2.1+ +Group: System/Libraries +Url: http://live.gnome.org/Libgee +Source: http://download.gnome.org/sources/libgee/%{baseline}/%{name}-%{version}.tar.xz + +BuildRequires: gnome-common +BuildRequires: vala >= 0.17.5 +BuildRequires: pkgconfig(glib-2.0) >= 2.32 +BuildRequires: pkgconfig(gobject-introspection-1.0) + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description +Libgee is a collection library providing GObject-based interfaces and +classes for commonly used data structures. + + +%package -n typelib-Gee +Summary: GObject-based library providing common data structures -- Introspection binding +Group: System/Libraries + +%description -n typelib-Gee +Libgee is a collection library providing GObject-based interfaces and +classes for commonly used data structures. + +This package provides the GObject Introspection bindings for libgee. + + +%package devel +Summary: GObject-based library providing useful data structures - Development Files +Group: Development/Libraries +Requires: %{name} = %{version} +Requires: typelib-Gee = %{version} + +%description -n libgee-devel +Libgee is a collection library providing GObject-based interfaces and +classes for commonly used data structures. + +%prep +%setup -q + + +%build + +[ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh + +%configure \ + --disable-static + +make %{?jobs:-j%jobs} + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-, root, root) +%license COPYING +%{_libdir}/*.so.* + + +%files -n typelib-Gee +%defattr(-,root,root) +%{_libdir}/girepository-1.0/Gee-%{apiversion}.typelib + + +%files devel +%defattr(-, root, root) +%{_includedir}/gee-%{apiversion}/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/gir-1.0/*.gir +%dir %{_datadir}/vala +%dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/*.vapi + diff --git a/proto-meta-Tizen_generic/specfile-initial/libmm-fileinfo/packaging/libmm-fileinfo.spec b/proto-meta-Tizen_generic/specfile-initial/libmm-fileinfo/packaging/libmm-fileinfo.spec index 6a3139c29..d6b559e69 100755 --- a/proto-meta-Tizen_generic/specfile-initial/libmm-fileinfo/packaging/libmm-fileinfo.spec +++ b/proto-meta-Tizen_generic/specfile-initial/libmm-fileinfo/packaging/libmm-fileinfo.spec @@ -1,4 +1,4 @@ -Name: libmm-fileinfo +Name: libmm-fileinfo Summary: Media Fileinfo Version: 0.6.0 Release: 0 @@ -6,7 +6,6 @@ Group: System/Libraries License: Apache-2.0 Source0: %{name}-%{version}.tar.gz Source1001: libmm-fileinfo.manifest -BuildRequires: pkgconfig BuildRequires: pkgconfig(mm-common) BuildRequires: pkgconfig(mm-log) BuildRequires: pkgconfig(libswscale) @@ -31,7 +30,7 @@ Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel -Multimedia Framework FileInfo Library (development files) +Multimedia Framework FileInfo Library (developement files) %prep %setup -q diff --git a/proto-meta-Tizen_generic/specfile-initial/libmm-session/packaging/libmm-session.spec b/proto-meta-Tizen_generic/specfile-initial/libmm-session/packaging/libmm-session.spec index d333ec192..c71ecc7c6 100644 --- a/proto-meta-Tizen_generic/specfile-initial/libmm-session/packaging/libmm-session.spec +++ b/proto-meta-Tizen_generic/specfile-initial/libmm-session/packaging/libmm-session.spec @@ -6,7 +6,6 @@ Group: Multimedia/Libraries License: Apache-2.0 Source0: libmm-session-%{version}.tar.gz Source1001: libmm-session.manifest -BuildRequires: pkgconfig BuildRequires: pkgconfig(audio-session-mgr) BuildRequires: pkgconfig(mm-common) diff --git a/proto-meta-Tizen_generic/specfile-initial/libnet-client/packaging/libnet-client.spec b/proto-meta-Tizen_generic/specfile-initial/libnet-client/packaging/libnet-client.spec index 385eaf23f..e04479c92 100644 --- a/proto-meta-Tizen_generic/specfile-initial/libnet-client/packaging/libnet-client.spec +++ b/proto-meta-Tizen_generic/specfile-initial/libnet-client/packaging/libnet-client.spec @@ -1,33 +1,32 @@ Name: libnet-client -Summary: Network Client library +Summary: Network Client library (Shared library) Version: 0.1.77_55 Release: 0 Group: System/Network -License: Flora +License: Flora License Source0: %{name}-%{version}.tar.gz Source1001: libnet-client.manifest URL: https://review.tizen.org/git/?p=framework/connectivity/libnet-client.git;a=summary Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: cmake -BuildRequires: pkgconfig BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gio-2.0) -BuildRequires: pkgconfig(gthread-2.0) -BuildRequires: pkgconfig(dbus-glib-1) +BuildRequires: pkgconfig(gthread-2.0) +BuildRequires: pkgconfig(dbus-glib-1) %description -Network Client library (Shared library). +Network Client library (Shared library) %package devel -Summary: Network Client library (Dev) +Summary: Network Client library (Development) Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel -Network Client library (Development). +Network Client library (Development) %prep %setup -q diff --git a/proto-meta-Tizen_generic/specfile-initial/media-server/packaging/media-server.spec b/proto-meta-Tizen_generic/specfile-initial/media-server/packaging/media-server.spec index b12f8089c..08389f376 100755 --- a/proto-meta-Tizen_generic/specfile-initial/media-server/packaging/media-server.spec +++ b/proto-meta-Tizen_generic/specfile-initial/media-server/packaging/media-server.spec @@ -1,17 +1,17 @@ Name: media-server -Summary: File manager service server +Summary: File manager service server. Version: 0.2.47 Release: 0 Group: Multimedia/Service License: Apache-2.0 Source0: %{name}-%{version}.tar.gz Source1: media-server.service +Source2: media-server-user.service Source1001: %{name}.manifest Source1002: libmedia-utils.manifest Source1003: libmedia-utils-devel.manifest Source1004: media-data-sdk_create_db.sh Requires(post): /usr/bin/vconftool -BuildRequires: pkgconfig BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(dlog) @@ -27,24 +27,24 @@ BuildRequires: pkgconfig(libsmack) BuildRequires: pkgconfig(libtzplatform-config) %description -File manager service server (main package). +Description: File manager service server %package -n libmedia-utils -Summary: Media server library +Summary: Media server runtime library. Group: Multimedia/Libraries Requires: media-server = %{version}-%{release} %description -n libmedia-utils -Media server runtime library. +Description : media server runtime library. %package -n libmedia-utils-devel -Summary: Media server development library +Summary: Media server development library. Group: Development/Multimedia Requires: libmedia-utils = %{version}-%{release} Requires: libtzplatform-config-devel %description -n libmedia-utils-devel -Mdia server library (development files). +Description: media server development library. %prep %setup -q @@ -55,13 +55,15 @@ rm -rf autom4te.cache rm -f aclocal.m4 ltmain.sh mkdir -p m4 %reconfigure --prefix=%{_prefix} --disable-static -%__make %{?_smp_mflags} +%__make %{?jobs:-j%jobs} %install %make_install mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/media-server.service +mkdir -p %{buildroot}%{_unitdir_user} +install -m 644 %{SOURCE2} %{buildroot}%{_unitdir_user}/media-server-user.service ln -s ../media-server.service %{buildroot}%{_unitdir}/multi-user.target.wants/media-server.service mkdir -p %{buildroot}%{TZ_SYS_DATA}/data-media/Camera mkdir -p %{buildroot}%{TZ_SYS_DATA}/data-media/Downloads @@ -88,6 +90,10 @@ chgrp %TZ_SYS_USER_GROUP %{_bindir}/media-data-sdk_create_db.sh chgrp -R %TZ_SYS_USER_GROUP %{TZ_SYS_DATA}/data-media chgrp -R %TZ_SYS_USER_GROUP %{TZ_SYS_DATA}/file-manager-service +# setup dbupdate in user session +mkdir -p %{_unitdir_user}/default.target.requires/ +ln -sf ../media-server-user.service %{_unitdir_user}/default.target.wants/ + %post -n libmedia-utils -p /sbin/ldconfig %postun -n libmedia-utils -p /sbin/ldconfig @@ -103,6 +109,7 @@ chgrp -R %TZ_SYS_USER_GROUP %{TZ_SYS_DATA}/file-manager-service %exclude /etc/rc.d/rc5.d/S46mediasvr %{_unitdir}/media-server.service %{_unitdir}/multi-user.target.wants/media-server.service +%{_unitdir_user}/media-server-user.service %license LICENSE.APLv2.0 %{_bindir}/media-data-sdk_create_db.sh %{TZ_SYS_DATA}/data-media/* diff --git a/proto-meta-Tizen_generic/specfile-initial/murphy/packaging/murphy.spec b/proto-meta-Tizen_generic/specfile-initial/murphy/packaging/murphy.spec index b91ac5bd3..e8a5db730 100644 --- a/proto-meta-Tizen_generic/specfile-initial/murphy/packaging/murphy.spec +++ b/proto-meta-Tizen_generic/specfile-initial/murphy/packaging/murphy.spec @@ -29,8 +29,8 @@ # murphy package. Summary: Resource policy framework -Name: murphy -Version: 0.0.57 +Name: murphy +Version: 0.0.59 Release: 0 License: BSD-3-Clause Group: System/Service @@ -48,7 +48,6 @@ Requires(postun): /bin/systemctl BuildRequires: flex BuildRequires: bison -BuildRequires: pkgconfig BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(libsystemd-daemon) BuildRequires: pkgconfig(libsystemd-journal) @@ -437,10 +436,9 @@ cp packaging.in/murphyd.conf %{buildroot}%{_tmpfilesdir} mkdir -p %{buildroot}%{_unitdir} cp packaging.in/murphyd.service %{buildroot}%{_unitdir} %if %{with icosyscon} -mkdir -p %{buildroot}%{_unitdir_user} -cp packaging.in/ico-homescreen.service %{buildroot}%{_unitdir_user} -cp packaging.in/murphy-wait-for-launchpad-ready.path \ - %{buildroot}%{_unitdir_user} +# cp packaging.in/ico-homescreen.service %%{buildroot}%%{_unitdir_user} +# cp packaging.in/murphy-wait-for-launchpad-ready.path \ +# %%{buildroot}%%{_unitdir_user} %endif %if %{with dbus} @@ -466,7 +464,7 @@ ldconfig %postun if [ "$1" = "0" ]; then -/bin/systemctl disable murphyd.service + systemctl disable murphyd.service fi ldconfig @@ -519,20 +517,19 @@ ldconfig %if %{with icosyscon} %post system-controller # prevent system controller from starting -rm -f %{_unitdir_user}/weston.target.wants/ico-uxf-wait-launchpad-ready.path +# rm -f %%{_unitdir_user}/weston.target.wants/ico-uxf-wait-launchpad-ready.path # instead launch just ico-homescreen -rm -f %{_unitdir_user}/weston.target.wants/murphy-wait-for-launchpad-ready.path -ln -s %{_unitdir_user}/murphy-wait-for-launchpad-ready.path \ - %{_unitdir_user}/weston.target.wants/murphy-wait-for-launchpad-ready.path +# rm -f %%{_unitdir_user}/weston.target.wants/murphy-wait-for-launchpad-ready.path +# ln -s %%{_unitdir_user}/murphy-wait-for-launchpad-ready.path \ +# %%{_unitdir_user}/weston.target.wants/murphy-wait-for-launchpad-ready.path %postun system-controller -if [ "$1" = "0" ]; then -rm -f %{_unitdir_user}/weston.target.wants/murphy-wait-for-launchpad-ready.path -if [ -f %{_unitdir_user}/ico-uxf-wait-launchpad-ready.path ]; then - ln -sf %{_unitdir_user}/ico-uxf-wait-launchpad-ready.path \ - %{_unitdir_user}/weston.target.wants/ico-uxf-wait-launchpad-ready.path -fi -fi +#if [ "$1" = "0" ]; then +# rm -f %%{_unitdir_user}/weston.target.wants/murphy-wait-for-launchpad-ready.path +# if [ -f %%{_unitdir_user}/ico-uxf-wait-launchpad-ready.path ]; then +# ln -sf %%{_unitdir_user}/ico-uxf-wait-launchpad-ready.path \ +# %%{_unitdir_user}/weston.target.wants/ico-uxf-wait-launchpad-ready.path +#fi %endif %post gam @@ -729,7 +726,7 @@ ldconfig %files system-controller %defattr(-,root,root,-) %{_libdir}/murphy/plugins/plugin-system-controller.so -%{_unitdir_user}/ico-homescreen.service -%{_unitdir_user}/murphy-wait-for-launchpad-ready.path +# %%{_unitdir_user}/ico-homescreen.service +# %%{_unitdir_user}/murphy-wait-for-launchpad-ready.path %manifest murphy.manifest %endif diff --git a/proto-meta-Tizen_generic/specfile-initial/pulseaudio-module-murphy-ivi/packaging/pulseaudio-module-murphy-ivi.spec b/proto-meta-Tizen_generic/specfile-initial/pulseaudio-module-murphy-ivi/packaging/pulseaudio-module-murphy-ivi.spec index 3d0940483..ce22b2972 100644 --- a/proto-meta-Tizen_generic/specfile-initial/pulseaudio-module-murphy-ivi/packaging/pulseaudio-module-murphy-ivi.spec +++ b/proto-meta-Tizen_generic/specfile-initial/pulseaudio-module-murphy-ivi/packaging/pulseaudio-module-murphy-ivi.spec @@ -1,9 +1,9 @@ Summary: Pulseaudio module for enforcing policy decisions in the audio domain Name: pulseaudio-module-murphy-ivi -Version: 0.9.29 +Version: 0.9.32 Release: 0 License: LGPL-2.1 -Group: Multimedia/Audio FW +Group: Automotive/Resource Policy URL: https://github.com/otcshare/pulseaudio-module-murphy-ivi Source0: %{name}-%{version}.tar.gz BuildRequires: pkgconfig(pulseaudio-module-devel) diff --git a/proto-meta-Tizen_generic/specfile-initial/python-requests/packaging/python-requests.spec b/proto-meta-Tizen_generic/specfile-initial/python-requests/packaging/python-requests.spec new file mode 100644 index 000000000..a0641ec44 --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/python-requests/packaging/python-requests.spec @@ -0,0 +1,58 @@ +Name: python-requests +Version: 2.2.1 +Release: 0 +Summary: Awesome Python HTTP Library That's Actually Usable +License: Apache-2.0 +GROUP: Development/Python +URL: http://python-requests.org +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest +BuildRequires: fdupes +BuildRequires: python +BuildRequires: python-devel +BuildRequires: python-setuptools +Requires: python +BuildArch: noarch + +%description +Most existing Python modules for sending HTTP requests are extremely verbose and +cumbersome. Python’s built-in urllib2 module provides most of the HTTP +capabilities you should need, but the API is thoroughly broken. This library is +designed to make HTTP requests easy for developers. + +Features: + +- Extremely simple GET, HEAD, POST, PUT, DELETE Requests + + Simple HTTP Header Request Attachment + + Simple Data/Params Request Attachment + + Simple Multipart File Uploads + + CookieJar Support + + Redirection History + + Redirection Recursion Urllib Fix + + Auto Decompression of GZipped Content + + Unicode URL Support +- Simple Authentication + + Simple URL + HTTP Auth Registry + +%prep +%setup -q -n requests-%{version} +cp %{SOURCE1001} . +# for rpmlint warning: remove shebang from python library +sed -i '/^#!/d' ./requests/certs.py +sed -i '/^#!/d' ./requests/packages/chardet/chardetect.py + +%build +python setup.py build + +%check +python setup.py test + +%install +python setup.py install --skip-build --prefix=%{_prefix} --root=%{buildroot} +%fdupes $RPM_BUILD_ROOT + +%files +%manifest %{name}.manifest +%defattr(-,root,root,-) +%license LICENSE +%{python_sitelib}/* diff --git a/proto-meta-Tizen_generic/specfile-initial/rpm/packaging/rpm.spec b/proto-meta-Tizen_generic/specfile-initial/rpm/packaging/rpm.spec index 9fb9c36b4..9ac417e6c 100644 --- a/proto-meta-Tizen_generic/specfile-initial/rpm/packaging/rpm.spec +++ b/proto-meta-Tizen_generic/specfile-initial/rpm/packaging/rpm.spec @@ -184,7 +184,8 @@ rm -f %{buildroot}%{rpmlibdir}/rpmpopt rm -rf %{buildroot}%{_mandir}/{fr,ja,ko,pl,ru,sk} rm -f %{buildroot}%{_datadir}/locale/de/LC_MESSAGES/rpm.mo rm -f %{buildroot}%{rpmhome}/cpanflute %{buildroot}%{rpmhome}/cpanflute2 -install -m 755 scripts/find-supplements{,.ksyms} %{buildroot}%{rpmhome} +install -m 755 scripts/find-supplements %{buildroot}%{rpmhome} +install -m 755 scripts/find-supplements.ksyms %{buildroot}%{rpmhome} install -m 755 scripts/firmware.prov %{buildroot}%{rpmhome} install -m 755 scripts/debuginfo.prov %{buildroot}%{rpmhome} rm -f %{buildroot}%{rpmlibdir}/locale %{buildroot}%{rpmlibdir}/rpmrc diff --git a/proto-meta-Tizen_generic/specfile-initial/rygel/packaging/rygel.spec b/proto-meta-Tizen_generic/specfile-initial/rygel/packaging/rygel.spec index a3a6686f0..cd8fac641 100644 --- a/proto-meta-Tizen_generic/specfile-initial/rygel/packaging/rygel.spec +++ b/proto-meta-Tizen_generic/specfile-initial/rygel/packaging/rygel.spec @@ -31,6 +31,7 @@ BuildRequires: pkgconfig(uuid) BuildRequires: intltool BuildRequires: libxslt-tools BuildRequires: docbook-xsl-stylesheets +Requires(post): /usr/bin/pkg_initdb %description Rygel is a collection of DLNA (UPnP AV) devices, implemented through a plug-in mechanism. @@ -71,6 +72,9 @@ NOCONFIGURE=y ./autogen.sh # << build post %install rm -rf %{buildroot} +mkdir -p %{buildroot}%{_datadir}/packages/ +install -m 0644 org.tizen.rygel.xml %{buildroot}%{_datadir}/packages/ + # >> install pre # << install pre %make_install @@ -89,6 +93,8 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop /bin/touch --no-create %{_datadir}/icons/hicolor || : %{_bindir}/gtk-update-icon-cache \ --quiet %{_datadir}/icons/hicolor 2> /dev/null|| : +/usr/bin/pkg_initdb + # systemctl daemon-reload # systemctl restart rygel.service @@ -141,6 +147,7 @@ systemctl daemon-reload %{_datadir}/rygel/xml/X_MS_MediaReceiverRegistrar1.xml %{_datadir}/man/man1/rygel.1.gz %{_datadir}/man/man5/rygel.conf.5.gz +%{_datadir}/packages/org.tizen.rygel.xml # Rygel core libs %{_libdir}/librygel-*.so.* # Rygel plugins diff --git a/proto-meta-Tizen_generic/specfile-initial/system-info/packaging/capi-system-info.spec b/proto-meta-Tizen_generic/specfile-initial/system-info/packaging/capi-system-info.spec index 7341a70d9..43871710b 100644 --- a/proto-meta-Tizen_generic/specfile-initial/system-info/packaging/capi-system-info.spec +++ b/proto-meta-Tizen_generic/specfile-initial/system-info/packaging/capi-system-info.spec @@ -50,7 +50,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %install %make_install -mkdir -p %{buildroot}/etc +mkdir -p %{buildroot}%{_sysconfdir} cp -f script/make_info_file.sh %{buildroot}%{_sysconfdir}/make_info_file.sh %post -p /sbin/ldconfig diff --git a/proto-meta-Tizen_generic/specfile-initial/testkit-lite/packaging/testkit-lite.spec b/proto-meta-Tizen_generic/specfile-initial/testkit-lite/packaging/testkit-lite.spec new file mode 100644 index 000000000..af028e873 --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/testkit-lite/packaging/testkit-lite.spec @@ -0,0 +1,86 @@ +Summary: Test runner with a command-line interface +Name: testkit-lite +Version: 3.1.7 +Release: 0 +URL: https://github.com/testkit/testkit-lite +License: GPL-2.0 +Group: Development/Testing +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest +BuildRequires: fdupes +BuildRequires: python-distribute +BuildRequires: python-requests +BuildRequires: python +Requires: dbus-python +Requires: python +Requires: python-lxml +Requires: python-requests +Requires: testkit-stub +BuildArch: noarch + +%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +%description +testkit-lite is a test runner with command-line interface. It has the following functions +1. Accepts .xml test case descriptor files as input. +2. drives automatic test execution. +3. provide multiple options to meet various test requirements. + + +%prep +%setup -q +cp %{SOURCE1001} . +# for rpmlint warning: remove shebang from python library +sed -i '/^#!/d' ./testkitlite/commodule/androidmobile.py +sed -i '/^#!/d' ./testkitlite/commodule/localhost.py +sed -i '/^#!/d' ./testkitlite/commodule/tizenivi.py +sed -i '/^#!/d' ./testkitlite/commodule/tizenlocal.py +sed -i '/^#!/d' ./testkitlite/commodule/tizenmobile.py +sed -i '/^#!/d' ./testkitlite/engines/androidunit.py +sed -i '/^#!/d' ./testkitlite/engines/default.py +sed -i '/^#!/d' ./testkitlite/engines/pyunit.py +sed -i '/^#!/d' ./testkitlite/util/autoexec.py +sed -i '/^#!/d' ./testkitlite/util/config.py +sed -i '/^#!/d' ./testkitlite/util/connector.py +sed -i '/^#!/d' ./testkitlite/util/errors.py +sed -i '/^#!/d' ./testkitlite/util/httprequest.py +sed -i '/^#!/d' ./testkitlite/util/killall.py +sed -i '/^#!/d' ./testkitlite/util/log.py +sed -i '/^#!/d' ./testkitlite/util/process.py +sed -i '/^#!/d' ./testkitlite/util/result.py +sed -i '/^#!/d' ./testkitlite/util/session.py +sed -i '/^#!/d' ./testkitlite/util/str2.py +sed -i '/^#!/d' ./testkitmerge/merger.py + + +%build + + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} +install -d %{buildroot}/%{_datadir}/%{name} +cp -r xsd %{buildroot}/%{_datadir}/%{name} +%fdupes %{buildroot} +pushd %{buildroot}%{python_sitelib} +%py_compile . +popd + + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%license LICENSE +%config %{_sysconfdir}/dbus-1/system.d/com.intel.testkit.conf +%{_bindir}/testkit-lite +%{_bindir}/testkit-lite-dbus +%{_bindir}/testkit-merge +/opt/testkit/lite/mh.html +/opt/testkit/lite/testkit-lite_user_guide.pdf +/opt/testkit/lite/testkit-lite_tutorial.pdf +/opt/testkit/lite/test_definition_schema.pdf +%{python_sitelib}/testkitlite/* +%{python_sitelib}/testkitmerge/* +%{python_sitelib}/testkit_lite-%{version}-py%{py_ver}.egg-info/* +%{_datadir}/%{name} +/opt/testkit/lite/VERSION +/opt/testkit/lite/commodule/CONFIG diff --git a/proto-meta-Tizen_generic/specfile-initial/testkit-stub/packaging/testkit-stub.spec b/proto-meta-Tizen_generic/specfile-initial/testkit-stub/packaging/testkit-stub.spec new file mode 100644 index 000000000..6efb99d89 --- /dev/null +++ b/proto-meta-Tizen_generic/specfile-initial/testkit-stub/packaging/testkit-stub.spec @@ -0,0 +1,37 @@ +Name: testkit-stub +Summary: Test stub of testkit-lite +Version: 1.0 +Release: 1 +Group: Development/Testing +License: GPL-2.0 +URL: http://github.com/testkit/testkit-stub +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest +BuildRoot: %{_tmppath}/%{name}-%{version}-build + + +%description +Test stub for testkit-lite to run web applications + + +%prep +%setup -q -n %{name}-%{version} +cp %{SOURCE1001} . + +%build +make %{?jobs:-j%jobs} + + +%install +rm -rf %{buildroot} +%make_install + + +%clean +rm -rf %{buildroot} + + +%files +%manifest %{name}.manifest +%defattr(-,root,root,-) +%{_bindir}/testkit-stub diff --git a/proto-meta-Tizen_generic/specfile-initial/tizen-extensions-crosswalk/packaging/tizen-extensions-crosswalk.spec b/proto-meta-Tizen_generic/specfile-initial/tizen-extensions-crosswalk/packaging/tizen-extensions-crosswalk.spec index ab8261711..bfca2f4c8 100644 --- a/proto-meta-Tizen_generic/specfile-initial/tizen-extensions-crosswalk/packaging/tizen-extensions-crosswalk.spec +++ b/proto-meta-Tizen_generic/specfile-initial/tizen-extensions-crosswalk/packaging/tizen-extensions-crosswalk.spec @@ -8,7 +8,7 @@ %define _audiosystem_demo_package tizen-extensions-crosswalk-audiosystem-demo Name: tizen-extensions-crosswalk -Version: 0.101 +Version: 0.107 Release: 0 License: BSD-3-Clause and Apache-2.0 Group: Development/Libraries @@ -76,6 +76,8 @@ BuildRequires: python Requires: crosswalk # For Content API Requires: media-thumbnail-server +# For Datasync API +Requires: oma-ds-agent %description Tizen Web APIs implemented using Crosswalk. diff --git a/proto-meta-Tizen_generic/specfile-initial/user-session-units/packaging/user-session-units.spec b/proto-meta-Tizen_generic/specfile-initial/user-session-units/packaging/user-session-units.spec index f6f66b501..5ef8985e7 100644 --- a/proto-meta-Tizen_generic/specfile-initial/user-session-units/packaging/user-session-units.spec +++ b/proto-meta-Tizen_generic/specfile-initial/user-session-units/packaging/user-session-units.spec @@ -10,11 +10,10 @@ Source0: http://foo-projects.org/~sofar/%{name}/%{name}-%{version}.tar.gz Source1001: user-session-units.manifest Source1002: user-session.pam -BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(systemd) %if %{with x} BuildRequires: xorg-launch-helper %endif -BuildRequires: pkgconfig BuildRequires: pkgconfig(dbus-1) BuildRequires: pam-devel BuildRequires: pkgconfig(libsystemd-login) diff --git a/proto-meta-Tizen_generic/specfile-initial/weekeyboard/packaging/weekeyboard.spec b/proto-meta-Tizen_generic/specfile-initial/weekeyboard/packaging/weekeyboard.spec index af3d5a751..e0bdf16f0 100644 --- a/proto-meta-Tizen_generic/specfile-initial/weekeyboard/packaging/weekeyboard.spec +++ b/proto-meta-Tizen_generic/specfile-initial/weekeyboard/packaging/weekeyboard.spec @@ -19,7 +19,6 @@ BuildRequires: pkgconfig(edje) BuildRequires: pkgconfig(eet) BuildRequires: pkgconfig(efreet) BuildRequires: pkgconfig(eldbus) -BuildRequires: pkgconfig BuildRequires: ibus Requires: ibus @@ -33,9 +32,8 @@ ExclusiveArch: %endif %description -Weekeyboard is a virtual keyboard application written in EFL and +Weekeyboard is virtual keyboard application written in EFL and made for Wayland compositors. - %prep %setup -q cp %{SOURCE1001} . @@ -43,7 +41,7 @@ cp %{SOURCE1001} . %build %reconfigure --disable-ibus -%__make %{?_smp_mflags} +make %{?_smp_mflags} %install %make_install @@ -54,3 +52,4 @@ cp %{SOURCE1001} . %license COPYING %{_bindir}/weekeyboard %{_datadir}/weekeyboard/*.edj + diff --git a/proto-meta-Tizen_generic/specfile-initial/weston-common/packaging/weston-common.spec b/proto-meta-Tizen_generic/specfile-initial/weston-common/packaging/weston-common.spec index 5b44e3e9a..075c29b36 100644 --- a/proto-meta-Tizen_generic/specfile-initial/weston-common/packaging/weston-common.spec +++ b/proto-meta-Tizen_generic/specfile-initial/weston-common/packaging/weston-common.spec @@ -105,17 +105,17 @@ install -m 0644 weston.ini %{buildroot}%{weston_config_dir} # open the graphics device mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d cat >%{buildroot}%{_sysconfdir}/udev/rules.d/99-dri.rules <<'EOF' -SUBSYSTEM=="drm", MODE="0660", GROUP="%{daemon_group}", SMACK="*" +SUBSYSTEM=="drm", MODE="0660", GROUP="%{daemon_group}", SECLABEL{smack}="*" EOF # user 'display' must own /dev/tty7 for weston to start correctly cat >%{buildroot}%{_sysconfdir}/udev/rules.d/99-tty.rules <<'EOF' -SUBSYSTEM=="tty", KERNEL=="tty7", OWNER="%{daemon_user}", SMACK="^" +SUBSYSTEM=="tty", KERNEL=="tty7", OWNER="%{daemon_user}", SECLABEL{smack}="^" EOF -# user 'display' must also be able to access /dev/input/event* +# user 'display' must also be able to access /dev/input/* cat >%{buildroot}%{_sysconfdir}/udev/rules.d/99-input.rules <<'EOF' -SUBSYSTEM=="input", KERNEL=="event*", MODE="0660", GROUP="input", SMACK="^" +SUBSYSTEM=="input", MODE="0660", GROUP="input", SECLABEL{smack}="^" EOF # install desktop file diff --git a/proto-meta-Tizen_generic/specfile-initial/weston-ivi/packaging/weston-ivi.spec b/proto-meta-Tizen_generic/specfile-initial/weston-ivi/packaging/weston-ivi.spec index d3fe476a6..0b2165bb6 100644 --- a/proto-meta-Tizen_generic/specfile-initial/weston-ivi/packaging/weston-ivi.spec +++ b/proto-meta-Tizen_generic/specfile-initial/weston-ivi/packaging/weston-ivi.spec @@ -22,6 +22,17 @@ Conflicts: ico-uxf-weston-plugin This package contains Tizen IVI-specific configuration for the Weston compositor. +%package config-modello +Summary: Tizen IVI Modello Weston configuration +Group: Automotive/Configuration +Requires: weekeyboard +Requires(post): sed +Requires(postun): sed +Conflicts: ico-uxf-weston-plugin, weston-ivi-config +%description config-modello +This package contains Tizen IVI-specific Modello configuration for the Weston +compositor. + %prep %setup -q cp %{SOURCE1001} . @@ -40,6 +51,16 @@ install -m 0644 weston.sh %{buildroot}%{_sysconfdir}/profile.d/ %define weston_config_dir %{_sysconfdir}/xdg/weston mkdir -p %{buildroot}%{weston_config_dir} install -m 0644 weston.ini %{buildroot}%{weston_config_dir} +install -m 0644 weston-modello.ini %{buildroot}%{weston_config_dir}/weston-modello.ini + +%post config-modello +ln -s %{weston_config_dir}/weston-modello.ini %{weston_config_dir}/weston.ini +sed -i 's/ --current-mode//' %{_unitdir_user}/weston.service + + +%postun config-modello +rm %{weston_config_dir}/weston.ini +sed -i 's/\(^ExecStart.*\)/\1 --current-mode/' %{_unitdir_user}/weston.service %files %manifest %{name}.manifest @@ -52,3 +73,7 @@ install -m 0644 weston.ini %{buildroot}%{weston_config_dir} %files config %manifest %{name}.manifest %config %{weston_config_dir}/weston.ini + +%files config-modello +%manifest %{name}.manifest +%config %{weston_config_dir}/weston-modello.ini |