--- /dev/null
+Name: Modello_AMBSimulator
+Summary: A proof of concept pure html5 UI
+Version: 0.0.2
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: zip
+Requires: Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_AMBSimulator.wgt
+/opt/usr/apps/_common/icons/AMB_Simulator_icon.png
--- /dev/null
+Name: Modello_Appmanager
+Summary: A proof of concept pure html5 UI
+Version: 0.0.2
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: zip
+Requires: Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Appmanager.wgt
+/opt/usr/apps/_common/icons/AppManager_icon.png
--- /dev/null
+Name: Modello_Common
+Summary: A proof of concept pure html5 UI
+Version: 0.0.2
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/_common/*
--- /dev/null
+Name: Modello_Dashboard
+Summary: A proof of concept pure html5 UI
+Version: 0.0.2
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: zip
+Requires: Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Dashboard.wgt
+/opt/usr/apps/_common/icons/Dashboard_icon.png
--- /dev/null
+Name: Modello_Homescreen
+Summary: A proof of concept pure html5 UI
+Version: 0.0.2
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: zip
+Requires: Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+ %make_install
+ mkdir -p %{buildroot}%{_bindir}
+ mkdir -p %{buildroot}%{_libdir}/systemd/user/weston.target.wants/
+ install -m 755 systemd/modello_launcher.sh %{buildroot}%{_bindir}
+ install -m 0644 systemd/Modello_Homescreen-launchpad-ready.path %{buildroot}%{_libdir}/systemd/user
+ install -m 0644 systemd/Modello_Homescreen.service %{buildroot}%{_libdir}/systemd/user
+ ln -sf systemd/Modello_Homescreen-launchpad-ready.path %{buildroot}%{_libdir}/systemd/user/weston.target.wants/
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Homescreen.wgt
+/opt/usr/apps/_common/icons/Homescreen_icon.png
+%{_libdir}/systemd/user/Modello_Homescreen.service
+%{_libdir}/systemd/user/Modello_Homescreen-launchpad-ready.path
+%{_bindir}/modello_launcher.sh
+%{_libdir}/systemd/user/weston.target.wants
--- /dev/null
+Name: Modello_Hvac
+Summary: A proof of concept pure html5 UI
+Version: 0.0.2
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: zip
+Requires: Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Hvac.wgt
+/opt/usr/apps/_common/icons/HVAC_icon.png
--- /dev/null
+%define MODELLO_INSTALL_USER app
+%define MODELLO_WIDGET_DIR /opt/usr/apps/.preinstallWidgets
+%define MODELLO_COMMON_DIR /opt/usr/apps/_common
+
+Name: Modello_Installer
+Summary: Installer for Modello
+Version: 0.0.2
+Release: 0
+Group: Base/Configuration
+License: Apache-2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+
+%description
+Installer for Modello package
+
+%package xwalk
+Summary: The Xwalk version of Modello Installer
+Requires: crosswalk
+Requires: Modello_AMBSimulator
+Requires: Modello_Appmanager
+Requires: Modello_Common
+Requires: Modello_Dashboard
+Requires: Modello_Homescreen
+Requires: Modello_Hvac
+Requires: Modello_Multimediaplayer
+Requires: Modello_Nav
+Requires: Modello_Phone
+Requires: Modello_SDL
+Requires: tizen-platform-config
+
+%description xwalk
+The Xwalk version of Modello Installer package
+
+%package wrt
+Summary: The WRT version of Modello Installer
+Requires: wrt-installer
+
+%description wrt
+The WRT version of Modello Installer package
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+#build section
+
+%install
+%make_install
+
+%post xwalk
+source %_sysconfdir/tizen-platform.conf
+
+export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/5000/dbus/user_bus_socket"
+
+for list in $(find $TZ_SYS_APP_PREINSTALL -name "Modello*")
+do
+#XWalk requires you not be root to install files
+ echo "Installing $list"
+ su %{MODELLO_INSTALL_USER} -c "xwalkctl -i $list"
+done
+
+for list2 in $(ls -d $TZ_SYS_HOME/%{MODELLO_INSTALL_USER}/.config/xwalk-service/applications/*/)
+do
+ su %{MODELLO_INSTALL_USER} -c "mkdir -p '$list2/css'"
+ su %{MODELLO_INSTALL_USER} -c "mkdir -p '$list2/js'"
+ su %{MODELLO_INSTALL_USER} -c "cp -r %{MODELLO_COMMON_DIR}/js/services '$list2/js/'"
+ su %{MODELLO_INSTALL_USER} -c "cp -r %{MODELLO_COMMON_DIR}/css/* '$list2/css/'"
+ su %{MODELLO_INSTALL_USER} -c "cp -r %{MODELLO_COMMON_DIR}/icons '$list2/'"
+done
+
+%postun xwalk
+source %_sysconfdir/tizen-platform.conf
+
+for list3 in $(su %{MODELLO_INSTALL_USER} -c "xwalkctl" | grep Modello | cut -c 1-32)
+do
+ echo "Uninstalling $list3"
+ su %{MODELLO_INSTALL_USER} -c "xwalkctl -u $list3"
+done
+
+%post wrt
+source %_sysconfdir/tizen-platform.conf
+
+for list in $(find $TZ_SYS_APP_PREINSTALL -name "Modello*")
+do
+#wrt-installer requires you be root to install files
+ wrt-installer -i $list
+done
+
+for list2 in $(ls -d /opt/usr/apps/*/)
+do
+ mkdir -p "$list2/css"
+ mkdir -p "$list2/js"
+ cp -r %{MODELLO_COMMON_DIR}/js/services "$list2/res/wgt/js/"
+ cp -r %{MODELLO_COMMON_DIR}/css/* "$list2/res/wgt/css/"
+done
+
+%files xwalk
+%defattr(-,root,root,-)
+
+%files wrt
+%defattr(-,root,root,-)
--- /dev/null
+Name: Modello_Multimediaplayer
+Summary: A proof of concept pure html5 UI
+Version: 0.0.2
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: zip
+Requires: Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Multimediaplayer.wgt
+/opt/usr/apps/_common/icons/Multimedia_Player_icon.png
--- /dev/null
+Name: Modello_Nav
+Summary: A proof of concept pure html5 UI
+Version: 0.0.2
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: zip
+Requires: Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Nav.wgt
+/opt/usr/apps/_common/icons/Navigation_icon.png
--- /dev/null
+Name: Modello_Phone
+Summary: A proof of concept pure html5 UI
+Version: 0.0.2
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: zip
+Requires: Modello_Common
+Requires: phoned
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Phone.wgt
+/opt/usr/apps/_common/icons/Phone_icon.png
--- /dev/null
+Name: Modello_SDL
+Summary: A proof of concept pure html5 UI
+Version: 0.0.2
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: zip
+Requires: Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_SDL.wgt
+/opt/usr/apps/_common/icons/SmartDeviceLink_icon.png
--- /dev/null
+%bcond_with qt5
+
+Name: automotive-message-broker
+Summary: Automotive Message Broker is a vehicle network abstraction system
+Version: 0.11.810
+Release: 0
+Group: Automotive/Service
+License: LGPL-2.1
+URL: https://github.com/otcshare/automotive-message-broker
+Source0: %{name}-%{version}.tar.bz2
+Requires: automotive-message-broker-plugins
+Requires: automotive-message-broker-plugins-murphy
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+Requires: default-ac-domains
+BuildRequires: cmake
+BuildRequires: boost-devel
+BuildRequires: pkgconfig(json)
+BuildRequires: libtool-ltdl-devel
+BuildRequires: pkgconfig(libwebsockets)
+BuildRequires: pkgconfig(uuid)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(opencv)
+BuildRequires: murphy
+BuildRequires: pkgconfig(murphy-glib)
+BuildRequires: pkgconfig(dbus-1)
+%if %{with qt5}
+BuildRequires: qt5-qtcore-devel
+BuildRequires: qt5-qtconcurrent-devel
+BuildRequires: qt5-qtdbus-devel
+BuildRequires: qt5-qtnetwork-devel
+BuildRequires: qt5-plugin-bearer-generic
+BuildRequires: qt5-plugin-bearer-connman
+BuildRequires: qt5-plugin-bearer-nm
+%endif
+
+%description
+Automotive Message Broker is a vehicle network abstraction system.
+It brokers information from the vehicle to applications.
+
+%package devel
+Summary: Automotive Message Broker development files
+Group: Automotive/API
+Requires: %{name} = %{version}-%{release}
+Requires: libuuid-devel
+Requires: boost-devel
+
+%description devel
+Development files for the automotive-message-broker
+
+%package doc
+Summary: Documentation for the automotive-message-broker API
+Group: Automotive/Documentation
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+Document files that describe the D-Bus API exposed by automotive-message-broker
+
+%if %{with qt5}
+%package plugins-qtmainloop
+Summary: qt5 mainloop plugin
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: qt5-qtcore
+
+%description plugins-qtmainloop
+Qt mainloop plugin enables qt-based source and sink plugins to run using qt mainloop
+
+%package plugins-websocket
+Summary: Websocket source and sink plugins
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libwebsockets
+Requires: qt5-qtcore
+
+%description plugins-websocket
+websocket source and sink plugins
+
+%package plugins-opencvlux
+Summary: Plugin for simulating ExteriorBrightness using a common webcam
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: opencv
+
+%description plugins-opencvlux
+Plugin for simulating ExteriorBrightness using a common webcam
+
+%package plugins-bluetooth
+Summary: Interface to AMB over bluetooth
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugins-bluetooth
+Bluetooth SPP server interface
+%endif
+
+%package plugins
+Summary: Various plugins for automotive-message-broker
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugins
+Collection of plugins for automotive-message-broker. Contains example, demo and dbus plugins.
+
+%package plugins-common
+Summary: Common plugin library
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugins-common
+library containing a kitchen-sink of common utility functions
+
+%package plugins-obd2
+Summary: OBD-II plugin
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: %{name}-plugins-common = %{version}-%{release}
+
+%description plugins-obd2
+OBD-II plugin that uses ELM 327-compatible scantools to access vehicle data
+
+%package plugins-wheel
+Summary: Source plugin for using the Logitech G27 racing wheel
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugins-wheel
+source plugin for using the Logitech G27 racing wheel package
+
+%package plugins-database
+Summary: Database logging plugin for automotive-message-broker
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: sqlite
+
+%description plugins-database
+Database logging plugin for automotive-message-broker package
+
+%package plugins-murphy
+Summary: Plugin for integration with the murphy policy system
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: murphy
+
+%description plugins-murphy
+Plugin for integration with the murphy policy system package
+
+%package plugins-gpsnmea
+Summary: Plugin that provides gps data from nmea devices
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugins-gpsnmea
+Plugin that provides location data from nmea devices including bluetooth
+
+%package plugins-test
+Summary: Plugin that tests AMB code
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugins-test
+Plugin that tests some internal AMB code and plugin functionality. This plugin will assert if something is wrong.
+
+%package plugins-cangen
+Summary: Plugin that generates CAN data
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugins-cangen
+CAN frames generator plug-in for the AMB CAN Simulator
+
+%package plugins-cansim
+Summary: CAN frames listener plug-in for the AMB CAN Simulator
+Group: Automotive/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugins-cansim
+CAN frames listener plug-in for the AMB CAN Simulator package
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%cmake \
+%if %{with qt5}
+ -Dqtmainloop=ON \
+ -Dopencvlux_plugin=ON \
+ -Dwebsocket_plugin=ON \
+ -Dbluetooth_plugin=ON \
+%endif
+ -Ddatabase_plugin=ON \
+ -Dmurphy_plugin=ON \
+ -Dobd2_plugin=ON \
+ -Dtest_plugin=ON \
+ -Dgpsnmea_plugin=ON \
+ -Dcangen_plugin=ON \
+ -Dcansim_plugin=ON
+
+%__make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}%{_unitdir}/network.target.wants
+cp packaging.in/ambd.service.systemd.tizen %{buildroot}%{_unitdir}/ambd.service
+ln -s ../ambd.service %{buildroot}%{_unitdir}/network.target.wants/ambd.service
+%install_service multi-user.target.wants ambd.service
+
+cp packaging.in/config.tizen %{buildroot}%{_sysconfdir}/ambd/
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%post plugins -p /sbin/ldconfig
+%postun plugins -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest
+%config %{_sysconfdir}/ambd/config
+%config %{_sysconfdir}/ambd/config.tizen
+%config %{_sysconfdir}/ambd/examples/*
+%{_bindir}/ambd
+%{_libdir}/libamb.so*
+%{_unitdir}/ambd.service
+%{_unitdir}/network.target.wants/ambd.service
+%{_unitdir}/multi-user.target.wants/ambd.service
+%{_bindir}/amb-get
+%{_bindir}/amb-get-history
+%{_bindir}/amb-set
+%{_bindir}/amb-listen
+
+%files devel
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_includedir}/amb/*.h
+%{_includedir}/amb/*.hpp
+%{_libdir}/pkgconfig/*.pc
+
+%if %{with qt5}
+%files plugins-qtmainloop
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/qtmainloopplugin.so
+
+%files plugins-websocket
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/websocketsource.so
+%{_libdir}/%{name}/websocketsink.so
+
+%files plugins-opencvlux
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/opencvluxplugin.so
+
+%files plugins-bluetooth
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/bluetoothplugin.so
+%config %{_sysconfdir}/dbus-1/system.d/ambbt.conf
+%endif
+
+%files plugins
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/examplesourceplugin.so
+%{_libdir}/%{name}/examplesinkplugin.so
+%{_libdir}/%{name}/dbussinkplugin.so
+%{_libdir}/%{name}/demosinkplugin.so
+%config %{_sysconfdir}/dbus-1/system.d/amb.conf
+
+%files plugins-common
+%manifest packaging.in/amb.manifest.plugins
+%defattr(-,root,root,-)
+%{_libdir}/libamb-plugins-common.so
+
+%files plugins-wheel
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/wheelsourceplugin.so
+
+%files plugins-obd2
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/obd2sourceplugin.so
+
+%files plugins-database
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/databasesinkplugin.so
+
+%files plugins-murphy
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/murphysourceplugin.so
+
+%files plugins-gpsnmea
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/gpsnmea.so
+
+%files doc
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%doc %{_docdir}/%{name}/*.txt
+
+%files plugins-test
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/testplugin.so
+
+%files plugins-cangen
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/cangenplugin.so
+%{_bindir}/gen-set
+
+%files plugins-cansim
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/cansimplugin.so
Name: badge
-Summary: badge library
+Summary: Badge library
Version: 0.0.5
-Release: 1
+Release: 0
Group: Application Framework/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
-Source1001: badge.manifest
+Source1001: %{name}.manifest
+Source1002: init_db.sh
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(com-core)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: cmake
-BuildRequires: sqlite3
-Requires: libbadge
%description
Badge library.
-%package -n libbadge
-Summary: Badge Library
-Requires: %{name} = %{version}-%{release}
-
-%description -n libbadge
-Badge library.
-
-
%package devel
-Summary: Badge library (devel)
-Group: Application Framework/Development
-Requires: libbadge = %{version}-%{release}
+Summary: Badge library (devel)
+Group: Application Framework/Development
+Requires: %{name} = %{version}-%{release}
%description devel
-Badge library (devel).
+Development files needed to build software that needs to system a system badge.
+
+%package service-devel
+Summary: Badge service library (service-devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description service-devel
+Development files needed to build badge service
%prep
%setup -q
cp %{SOURCE1001} .
%build
-%cmake .
+%cmake .
make %{?jobs:-j%jobs}
%install
%make_install
-mkdir -p %{buildroot}/opt/dbspace
-sqlite3 %{buildroot}/opt/dbspace/.%{name}.db < %{name}.sql
+install -D -m 0640 %{name}.sql %{buildroot}%{TZ_SYS_SHARE}/%{name}/ressources/%{name}.sql
+install -D -m 0750 %{SOURCE1002} %{buildroot}%{TZ_SYS_SHARE}/%{name}/ressources/init_db.sh
-%post -p /sbin/ldconfig -n libbadge
+%post -p /sbin/ldconfig -n %{name}
-%postun -p /sbin/ldconfig -n libbadge
+%postun -p /sbin/ldconfig -n %{name}
-%files -n libbadge
+%files -n %{name}
%manifest %{name}.manifest
%license LICENSE.APLv2.0
-%manifest badge.manifest
%defattr(-,root,root,-)
%{_libdir}/libbadge.so.*
-
-%files
-%manifest %{name}.manifest
-%verify(not md5 size mtime) %config(noreplace) %attr(660,root,app) /opt/dbspace/.%{name}.db-journal
-%verify(not md5 size mtime) %config(noreplace) %attr(660,root,app) /opt/dbspace/.%{name}.db
+%{TZ_SYS_SHARE}/%{name}
+%attr(640,root,%{TZ_SYS_USER_GROUP}) %{TZ_SYS_SHARE}/%{name}/ressources/%{name}.sql
+%attr(750,root,%{TZ_SYS_USER_GROUP}) %{TZ_SYS_SHARE}/%{name}/ressources/init_db.sh
%files devel
%manifest %{name}.manifest
%defattr(-,root,root,-)
-%{_includedir}/%{name}/*.h
+%{_includedir}/%{name}/badge.h
+%{_includedir}/%{name}/badge_error.h
+%{_includedir}/%{name}/badge_setting.h
%{_libdir}/libbadge.so
%{_libdir}/pkgconfig/%{name}.pc
+%files service-devel
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/service/badge_db.h
+%{_includedir}/%{name}/service/badge_setting_service.h
+%{_libdir}/pkgconfig/badge-service.pc
Name: contacts-service
Summary: Contacts Service
-Version: 0.10.1
+Version: 0.10.3
Release: 1
Group: Social & Contents/Contacts
License: Apache-2.0
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(libsmack)
BuildRequires: pkgconfig(security-server)
+BuildRequires: pkgconfig(libtzplatform-config)
Requires(post): /usr/bin/sqlite3, /bin/chmod, /bin/chown
Requires(post): /usr/bin/vconftool
Requires(post): /sbin/ldconfig
%build
-%cmake .
+%cmake . -DTZ_SYS_ETC=%TZ_SYS_ETC
make %{?_smp_mflags}
%post -n contacts-service2
/sbin/ldconfig
-chown :6005 /opt/usr/data/contacts-svc
-chown :6005 /opt/usr/dbspace/.contacts-svc.db
-chown :6005 /opt/usr/dbspace/.contacts-svc.db-journal
-chown :6005 -R /opt/usr/data/contacts-svc/img
-chown :6005 /opt/usr/data/contacts-svc/.CONTACTS_SVC_*_CHANGED
-
-chmod 660 /opt/usr/dbspace/.contacts-svc.db
-chmod 660 /opt/usr/dbspace/.contacts-svc.db-journal
-chmod 775 /opt/usr/data/contacts-svc
-chmod 770 -R /opt/usr/data/contacts-svc/img/
-chmod 660 /opt/usr/data/contacts-svc/.CONTACTS_SVC_*
-
vconftool set -t int file/private/contacts-service/default_lang 0 -g 6005 -s contacts-service::vconf-private
vconftool set -t int db/contacts-svc/name_sorting_order 0 -g 6005 -s contacts-service::vconf
vconftool set -t int db/contacts-svc/name_display_order 0 -g 6005 -s contacts-service::vconf
%defattr(-,root,root,-)
%{_libdir}/libcontacts-service2.so.*
%{_bindir}/contacts-service-ipcd*
-/opt/usr/data/contacts-svc/.CONTACTS_SVC_*
-/opt/usr/data/contacts-svc/img/*
/usr/lib/systemd/user/contacts-service.service
/usr/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service
/usr/lib/systemd/user/sockets.target.wants/contacts-service.socket
/usr/lib/systemd/user/contacts-service.socket
-%config(noreplace) /opt/usr/dbspace/.contacts-svc.db*
-/opt/etc/smack/accesses.d/%{name}2.rule
%files -n contacts-service2-devel
%defattr(-,root,root,-)
Name: crosswalk
-Version: 8.36.161.0
+Version: 8.37.180.0
Release: 0
Summary: Crosswalk is an app runtime based on Chromium
License: (BSD-3-Clause and LGPL-2.1+)
Source1003: %{name}.png
Patch9: Blink-Add-GCC-flag-Wno-narrowing-fix-64bits-build.patch
Patch10: crosswalk-do-not-look-for-gtk-dependencies-on-x11.patch
-##Patch11: crosswalk-tizen-ozonewl-xdgshell150.patch
+Patch11: crosswalk-angle-do-not-depend-git-index.patch
BuildRequires: bison
BuildRequires: bzip2-devel
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(xkbcommon)
-%else
-BuildRequires: pkgconfig(scim)
%endif
%description
%patch10
%endif
-##%patch11
+%patch11
%build
fi
%if %{with wayland}
-GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_ozone=1 -Denable_ozone_wayland_vkb=1 -Denable_xdg_shell=1"
+GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_ozone=1 -Denable_ozone_wayland_vkb=1 -Denable_xdg_shell=0"
%endif
# Force gold binary from chroot ld.gold provided by binutils-gold
# Linking fails in Tizen Common when fatal ld warnings are enabled. XWALK-1379.
GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_fatal_linker_warnings=1"
+# Temporarily disable Alsa support while snd_seq_* support is not enabled on
+# Tizen. See https://codereview.chromium.org/264973012 and
+# https://review.tizen.org/gerrit/#/c/24336/
+GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_alsa=0"
+
+# Temporarily disable WebRTC support because its build currently hardcodes
+# dependencies on X11 and OpenSSL. We are still trying to get some
+# clarifications as to whether this is really necessary. See XWALK-2160.
+GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Denable_webrtc=0"
+
# For building for arm in OBS, we need :
# -> to unset sysroot value.
# sysroot variable is automatically set for cross compilation to use arm-sysroot provided by Chromium project
-Duse_system_libexif=1 \
-Duse_system_libxml=1 \
-Duse_system_nspr=1 \
+-Dshared_process_mode=1 \
-Denable_hidpi=1
ninja %{?_smp_mflags} -C src/out/Release xwalk xwalkctl xwalk_launcher xwalk-pkg-helper
%install
# Binaries.
-install -p -D xwalk %{buildroot}%{_bindir}/xwalk
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
%files
%manifest %{name}.manifest
%license AUTHORS.chromium LICENSE.chromium LICENSE.xwalk
-%{_bindir}/xwalk
%{_bindir}/xwalkctl
%{_bindir}/xwalk-launcher
%{_bindir}/xwalk-pkg-helper
--- /dev/null
+Name: dlt
+License: MPL-2.0
+Group: Automotive/GENIVI
+Summary: GENIVI Diagnostic Log and Trace
+Version: 2.9.1
+Release: 1
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: cmake
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(libsystemd-journal)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+GENIVI Diagnostic Log and Tracing Daemon and Tools
+
+%package daemon
+Summary: GENIVI DLT Daemon
+
+%description daemon
+GENIVI Diagnostic Log and Tracing Daemon
+
+%package bin
+Summary: GENIVI DLT utility binaries
+
+%description bin
+GENIVI DLT utility binaries
+
+%package test
+Summary: GENIVI DLT test binaries
+
+%description test
+GENIVI DLT test binaries
+
+%package -n libdlt
+Summary: GENIVI DLT library
+
+%description -n libdlt
+GENIVI DLT library
+
+%package devel
+Summary: Automotive DLT Development Package
+Requires: libdlt = %{version}-%{release}
+
+%description devel
+Files needed for developing against the Automotive DLT
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+mkdir build
+cd build
+
+cmake -DWITH_SYSTEMD=ON -DWITH_SYSTEMD_JOURNAL=ON \
+ -DWITH_MAN=OFF -DWITH_DLT_EXAMPLES=OFF ..
+make %{?jobs:-j %jobs}
+
+%install
+rm -rf "$RPM_BUILD_ROOT"
+cd build
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%post -n libdlt -p /sbin/ldconfig
+
+%postun -n libdlt -p /sbin/ldconfig
+
+%clean
+rm -rf "$RPM_BUILD_ROOT"
+
+%files daemon
+%defattr(-,root,root,-)
+%{_bindir}/dlt-daemon
+%config %{_sysconfdir}/dlt.conf
+%{_prefix}/lib/systemd/system/dlt.service
+
+%files test
+%defattr(-,root,root,-)
+%{_bindir}/dlt-test*
+%{_datadir}/dlt-filetransfer/*
+
+%files bin
+%defattr(-,root,root,-)
+%{_bindir}/dlt-adaptor*
+%{_bindir}/dlt-convert
+%{_bindir}/dlt-receive
+%{_bindir}/dlt-system
+%{_bindir}/dlt-control
+%config %{_sysconfdir}/dlt-system.conf
+%{_prefix}/lib/systemd/system/dlt-adaptor-udp.service
+%{_prefix}/lib/systemd/system/dlt-receive.service
+%{_prefix}/lib/systemd/system/dlt-system.service
+
+%files -n libdlt
+%defattr(-,root,root,-)
+%{_libdir}/*so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/dlt/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
License: LGPL-2.1+
Summary: EFL toolkit for small touchscreens
Url: http://trac.enlightenment.org/e/wiki/Elementary
-Group: Graphics/EFL
+Group: Graphics & UI Framework/Development
Source0: elementary-%{version}.tar.bz2
Source1001: elementary.manifest
BuildRequires: doxygen
Summary: EFL elementary configuration and test apps
%description tools
-EFL elementary configuration and test apps
+EFL elementary configuration and test apps package
%package devel
-Summary: Development components for the elementary package
+Summary: Development files for elementary
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
-Development files for elementary
+Development components for the elementary package
+
%prep
%setup -q
--disable-ecore-x \
%endif
%if %dbus_unavailable
- --disable-build-examples \
+ --disable-build-examples
%else
- --enable-build-examples \
+ --enable-build-examples
%endif
- #eol
-make %{?_smp_mflags}
+%__make %{?_smp_mflags}
%install
%make_install
--- /dev/null
+%define baseline 3.9
+
+%define USE_EVOLDAP 0
+%define with_introspection 1
+%define enable_goa no
+%define enable_uoa no
+%define enable_gtk no
+%define enable_gdata no
+%define enable_weather no
+%define enable_email no
+
+# should match configure.ac
+%define so_edataserver 17
+%define so_ecal 15
+%define so_edata_cal 20
+%define so_edata_book 17
+%define so_ebook 14
+%define so_camel 43
+%define so_ebackend 6
+%define _evo_version 3.9
+
+
+Name: evolution-data-server
+Version: 3.9.90
+Release: 0
+Summary: Evolution Data Server
+License: LGPL-2.0+
+Group: Development/Libraries
+Url: http://www.gnome.org
+Source0: http://download.gnome.org/sources/evolution-data-server/%{baseline}/%{name}-%{version}.tar.xz
+Source98: baselibs.conf
+BuildRequires: db4-devel
+BuildRequires: fdupes
+BuildRequires: gcc-c++
+BuildRequires: gettext-tools
+BuildRequires: glibc-locale
+BuildRequires: gnome-common
+BuildRequires: gperf
+BuildRequires: gtk-doc
+BuildRequires: intltool
+BuildRequires: vala
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(gcr-base-3) >= 3.4
+%if %{?enable_goa} != no
+BuildRequires: pkgconfig(goa-1.0) >= 3.2
+%endif
+BuildRequires: pkgconfig(gobject-introspection-1.0)
+%if %{?enable_gtk} != no
+BuildRequires: pkgconfig(gtk+-3.0)
+%endif
+%if %{?enable_weather} != no
+BuildRequires: pkgconfig(gweather-3.0) >= 3.5.0
+%endif
+# Not sure what this is for. Not checked by current configure.ac?
+# BuildRequires: pkgconfig(libIDL-2.0)
+%if %{?enable_gdata} != no
+BuildRequires: pkgconfig(libgdata) >= 0.10
+BuildRequires: pkgconfig(oauth)
+%endif
+BuildRequires: pkgconfig(libical) >= 0.43
+BuildRequires: pkgconfig(libsecret-unstable) >= 0.5
+BuildRequires: pkgconfig(libsoup-2.4) >= 2.40.3
+BuildRequires: pkgconfig(nss)
+BuildRequires: pkgconfig(python-2.7)
+BuildRequires: pkgconfig(sqlite3) >= 3.5
+
+Recommends: %{name}-locale = %{version}
+%ifarch %ix86
+Obsoletes: evolution-data-server-32bit
+%endif
+Requires(post): glib2-tools
+Requires(postun): glib2-tools
+
+%description
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+
+%package -n libcamel
+Summary: Evolution Data Server - Messaging Library
+Group: System/Libraries
+
+%description -n libcamel
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package contains a shared system library for messaging.
+
+
+%package -n libebackend
+Summary: Evolution Data Server - Backend Utilities Library
+Group: System/Libraries
+
+%description -n libebackend
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package contains a shared system library for backends.
+
+
+%package -n libebook
+Summary: Evolution Data Server - Address Book Client Library
+Group: System/Libraries
+
+%description -n libebook
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package contains a shared system library to access address books.
+
+
+%package -n libebook-contacts
+Summary: Evolution Data Server - Address Book Client Library
+Group: System/Libraries
+
+%description -n libebook-contacts
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package contains a shared system library to access address books.
+
+
+%if %{?with_introspection}
+
+%package -n typelib-EBookContacts
+Summary: Evolution Data Server - Address Book Backend Library, Introspection bindings
+Group: System/Libraries
+
+%description -n typelib-EBookContacts
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package provides the GObject Introspection bindings for the library
+for address book contacts.
+%endif
+
+
+%package -n libecal
+Summary: Evolution Data Server - Calendar Client Library
+Group: System/Libraries
+
+%description -n libecal
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package contains a shared system library to access calendars.
+
+%package -n libedata-book
+Summary: Evolution Data Server - Address Book Backend Library
+Group: System/Libraries
+
+%description -n libedata-book
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package contains a shared system library for address book backends.
+
+
+%if %{?with_introspection}
+
+%package -n typelib-EBook
+Summary: Evolution Data Server - Address Book Backend Library, Introspection bindings
+Group: System/Libraries
+
+%description -n typelib-EBook
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package provides the GObject Introspection bindings for the library
+for address book backends.
+%endif
+
+
+%package -n libedata-cal
+Summary: Evolution Data Server - Calendar Backend Library
+Group: System/Libraries
+
+%description -n libedata-cal
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package contains a shared system library for calendar backends.
+
+
+%package -n libedataserver
+Summary: Evolution Data Server - Utilities Library
+Group: System/Libraries
+
+%description -n libedataserver
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package contains a shared system library.
+
+
+%if %{?with_introspection}
+
+%package -n typelib-EDataServer
+Summary: Evolution Data Server - Utilities Library, Introspection bindings
+Group: System/Libraries
+
+%description -n typelib-EDataServer
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package provides the GObject Introspection bindings for the
+libedataserver library.
+
+%endif
+
+
+%package devel
+Summary: Evolution Data Server - Development Files
+Group: Development/Libraries
+Requires: evolution-data-server = %{?epoch:}%{version}
+Requires: libcamel = %{version}
+Requires: libebackend = %{version}
+Requires: libebook = %{version}
+Requires: libecal = %{version}
+Requires: libedata-book = %{version}
+Requires: libedata-cal = %{version}
+Requires: libedataserver = %{version}
+%if %{?with_introspection}
+Requires: typelib-EBook = %{version}
+Requires: typelib-EDataServer = %{version}
+%endif
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description devel
+The Evolution Data Server development files provide the necessary
+libraries, headers, and other files for developing applications which
+use the Evolution Data Server for storing contact and calendar
+information.
+
+
+%package doc
+Summary: Evolution Data Server - Developer Documentation
+Group: Documentation
+Requires: %{name} = %{version}
+
+%description doc
+Evolution Data Server provides a central location for your address book
+and calendar in the GNOME Desktop.
+
+This package contains developer documentation.
+
+%prep
+%setup -q
+
+%build
+
+# "maintainer mode" depends on GTK and is not needed
+# for packaging, so disable it.
+
+%autogen \
+ --libexecdir=%{_libexecdir}/evolution-data-server \
+ --disable-maintainer-mode \
+ --enable-ipv6=%{?enable_ipv6} \
+ --enable-smime=%{?enable_smime} \
+ --enable-nntp=%{?enable_nntp} \
+ --disable-static \
+ --disable-uoa \
+ --enable-goa=%{?enable_goa} \
+ --enable-weather=%{?enable_weather} \
+ --enable-gtk=%{?enable_gtk} \
+ --enable-google=%{?enable_gdata} \
+%if %{?with_introspection}
+ --enable-vala-bindings \
+ --enable-introspection \
+%else
+ --disable-vala-bindings \
+ --disable-introspection \
+%endif
+ # end of configure line
+
+make %{?_smp_mflags} V=1
+
+%install
+%make_install
+mkdir -p %{buildroot}/%{_datadir}/help
+%find_lang evolution-data-server-%{_evo_version}
+mv evolution-data-server-%{_evo_version}.lang evolution-data-server.lang
+%fdupes %{buildroot}
+
+%lang_package
+
+%post
+%glib2_gsettings_schema_post
+
+%postun
+%glib2_gsettings_schema_postun
+
+%post -n libcamel -p /sbin/ldconfig
+
+%postun -n libcamel -p /sbin/ldconfig
+
+%post -n libebackend -p /sbin/ldconfig
+
+%postun -n libebackend -p /sbin/ldconfig
+
+%post -n libebook -p /sbin/ldconfig
+
+%postun -n libebook -p /sbin/ldconfig
+
+%post -n libebook-contacts -p /sbin/ldconfig
+
+%postun -n libebook-contacts -p /sbin/ldconfig
+
+%post -n libecal -p /sbin/ldconfig
+
+%postun -n libecal -p /sbin/ldconfig
+
+%post -n libedata-book -p /sbin/ldconfig
+
+%postun -n libedata-book -p /sbin/ldconfig
+
+%post -n libedata-cal -p /sbin/ldconfig
+
+%postun -n libedata-cal -p /sbin/ldconfig
+
+%post -n libedataserver -p /sbin/ldconfig
+
+%postun -n libedataserver -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_datadir}/GConf/gsettings/evolution-data-server.convert
+%{_datadir}/GConf/gsettings/libedataserver.convert
+%{_datadir}/glib-2.0/schemas/org.gnome.Evolution.DefaultSources.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.evolution.eds-shell.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.evolution.shell.network-config.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.evolution-data-server.addressbook.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.evolution-data-server.calendar.gschema.xml
+%{_datadir}/pixmaps/evolution-data-server/
+%{_datadir}/dbus-1/services/org.gnome.evolution.dataserver.*.service
+%{_libdir}/evolution-data-server/
+%if "%{_libdir}" != "%{_libexecdir}"
+%{_libexecdir}/evolution-data-server/
+%endif
+
+
+%files -n libcamel
+%defattr(-, root, root)
+%{_libdir}/libcamel-1.2.so.%{so_camel}*
+
+
+%files -n libebackend
+%defattr(-, root, root)
+%{_libdir}/libebackend-1.2.so.%{so_ebackend}*
+
+
+%files -n libebook
+%defattr(-, root, root)
+%{_libdir}/libebook-1.2.so.%{so_ebook}*
+
+
+%if %{?with_introspection}
+%files -n typelib-EBook
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/EBook-1.2.typelib
+%endif
+
+
+%files -n libebook-contacts
+%defattr(-, root, root)
+%{_libdir}/libebook-contacts-1.2.so.0*
+
+
+%if %{?with_introspection}
+%files -n typelib-EBookContacts
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/EBookContacts-1.2.typelib
+%endif
+
+
+%files -n libecal
+%defattr(-, root, root)
+%{_libdir}/libecal-1.2.so.%{so_ecal}*
+
+
+%files -n libedata-book
+%defattr(-, root, root)
+%{_libdir}/libedata-book-1.2.so.%{so_edata_book}*
+
+
+%files -n libedata-cal
+%defattr(-, root, root)
+%{_libdir}/libedata-cal-1.2.so.%{so_edata_cal}*
+
+
+%files -n libedataserver
+%defattr(-, root, root)
+%{_libdir}/libedataserver-1.2.so.%{so_edataserver}*
+
+
+%if %{?with_introspection}
+%files -n typelib-EDataServer
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/EDataServer-1.2.typelib
+%endif
+
+
+%files devel
+%defattr(-, root, root)
+%{_includedir}/evolution-data-server/
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%if %{?with_introspection}
+%{_datadir}/gir-1.0/*.gir
+%dir %{_datadir}/vala
+%dir %{_datadir}/vala/vapi
+%{_datadir}/vala/vapi/*.deps
+%{_datadir}/vala/vapi/*.vapi
+%endif
--- /dev/null
+Name: festival
+Version: 2.1
+Release: 2
+Group: System/Libraries
+License: MIT and GPL+ and TCL
+Url: http://www.cstr.ed.ac.uk/projects/festival/
+Summary: A free speech synthesis and text-to-speech system
+Source0: festival-%{version}.tar.gz
+Source1: speech_tools-%{version}-release.tar.gz
+Source2: festlex_CMU.tar.gz
+Source3: festvox_kallpc16k.tar.gz
+Source4: festlex_POSLEX.tar.gz
+Patch0: festival-1.95-examples.patch
+Patch1: festival-text2wave-manpage.patch
+Patch2: festival-1.95-libdir.patch
+Patch3: festival-1.95-audsp.patch
+Patch4: festival-1.96-chroot.patch
+Patch5: festival-no-LD_LIBRARY_PATH-extension.patch
+Patch6: festival-safe-temp-file.patch
+# Use pulseaudio
+Patch7: festival-use-pacat.patch
+Patch101: speech_tools-undefined-operation.patch
+Patch102: speech_tools-1.2.95-config.patch
+Patch103: speech_tools-no-LD_LIBRARY_PATH-extension.patch
+Patch104: speech_tools-gcc47.patch
+
+Patch200: festival-1.96-speechtools-shared-build.patch
+Patch201: festival-1.96-bettersonamehack.patch
+Patch205: festival-1.96-main-speech_tools-shared-build.patch
+Patch206: festival-1.96-main-festival-shared-build.patch
+Patch210: no-shared-data.patch
+Patch211: festival-1.96-speechtools-linklibswithotherlibs.patch
+
+BuildRequires: pkgconfig(ncurses)
+
+%description
+Festival is a general multi-lingual speech synthesis system developed
+at CSTR. It offers a full text to speech system with various APIs, as
+well as an environment for development and research of speech synthesis
+techniques. It is written in C++ with a Scheme-based command interpreter
+for general control.
+
+%package devel
+Summary: Development Package for Festival
+License: MIT
+Requires: %{name} = %{version}
+
+%description devel
+Files needed for developing software that uses Festival.
+
+%prep
+%setup -q -b 1 -b 2 -b 3 -b 4
+mv ../festival/lib/* lib/
+%patch0 -p1
+%patch1 -p1
+%patch2
+%patch3
+%patch4
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1 -b .use-pacat
+cd ../speech_tools
+%patch101 -p1
+%patch102
+%patch103 -p1
+%patch104 -p1
+
+%patch200 -p2 -b .shared-build
+%patch201 -p2 -b .bettersoname
+%patch205 -p2 -b .shared
+cd ../festival-2.1
+%patch206 -p1 -b .shared
+cd ../speech_tools
+%patch210 -p1 -b .no-shared-data
+%patch211 -p1 -b .linklibswithotherlibs
+
+%build
+# festival
+%configure --prefix=%_prefix \
+ --libdir=%_libdir \
+ --datadir=%_datadir/festival \
+ --sysconfdir=%_sysconfdir
+
+cd ..
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/speech_tools/lib
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/festival-2.1/src/lib
+
+# speech tools
+cd speech_tools
+%configure --prefix=%_prefix \
+ --libdir=%_libdir \
+ --datadir=%_datadir/festival \
+ --sysconfdir=%_sysconfdir
+
+make CC="gcc -fPIC $RPM_OPT_FLAGS" CXX="g++ $RPM_OPT_FLAGS -fPIC -Wno-non-template-friend -ffriend-injection -fno-strict-aliasing"
+cd ../%{name}-%{version}
+make CC="gcc -fPIC $RPM_OPT_FLAGS" CXX="g++ $RPM_OPT_FLAGS -fPIC -Wno-non-template-friend -ffriend-injection -fno-strict-aliasing"
+make doc
+
+
+%install
+cd ..
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/speech_tools/lib
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/festival-2.1/src/lib
+cd -
+#%make_install
+#make INSTALLED_BIN=$RPM_BUILD_ROOT%{_bindir} make_installed_bin_shared
+cd ../speech_tools
+%make_install
+cd ../%{name}-%{version}
+# install binarys
+install -D bin/text2wave $RPM_BUILD_ROOT%_bindir/text2wave
+install -m 755 src/main/festival $RPM_BUILD_ROOT%_bindir/
+install -m 755 src/main/festival_client $RPM_BUILD_ROOT%_bindir/
+install -m 755 bin/festival_server* $RPM_BUILD_ROOT%_bindir/
+install -m 755 examples/saytime $RPM_BUILD_ROOT%_bindir/
+# install manpages
+install -D -m 644 doc/festival.1 $RPM_BUILD_ROOT%_mandir/man1/festival.1
+install -m 644 doc/festival_client.1 $RPM_BUILD_ROOT%_mandir/man1/
+install -m 644 doc/text2wave.1 $RPM_BUILD_ROOT%_mandir/man1/
+# install configs
+install -D lib/festival.scm $RPM_BUILD_ROOT%_sysconfdir/festival.scm
+# install dictionarys
+install -D lib/dicts/cmu/cmudict-0.4.out $RPM_BUILD_ROOT%_datadir/%name/dicts/cmu/cmudict-0.4.out
+install -m 644 lib/dicts/cmu/*.scm $RPM_BUILD_ROOT%_datadir/%name/dicts/cmu/
+install -m 644 lib/dicts/wsj.wp39.poslexR $RPM_BUILD_ROOT%_datadir/%name/dicts/
+install -m 644 lib/dicts/wsj.wp39.tri.ngrambin $RPM_BUILD_ROOT%_datadir/%name/dicts/
+# install voices
+mkdir -p $RPM_BUILD_ROOT/usr/share/festival/voices/english/kal_diphone/festvox
+mkdir -p $RPM_BUILD_ROOT/usr/share/festival/voices/english/kal_diphone/group
+cp lib/voices/english/kal_diphone/group/* $RPM_BUILD_ROOT/usr/share/festival/voices/english/kal_diphone/group/
+cp lib/voices/english/kal_diphone/festvox/*.scm $RPM_BUILD_ROOT/usr/share/festival/voices/english/kal_diphone/festvox
+# install data
+cp lib/*.scm $RPM_BUILD_ROOT/usr/share/festival/
+cp lib/*.ngrambin $RPM_BUILD_ROOT/usr/share/festival/
+cp lib/*.gram $RPM_BUILD_ROOT/usr/share/festival/
+cp lib/*.el $RPM_BUILD_ROOT/usr/share/festival/
+install -D lib/etc/unknown_Linux/audsp $RPM_BUILD_ROOT/usr/lib/festival/audsp
+# install libs
+install -D src/lib/libFestival.so $RPM_BUILD_ROOT/%_libdir/libFestival.so
+# install includes
+mkdir -p $RPM_BUILD_ROOT%_includedir/
+install -m 644 src/include/*.h $RPM_BUILD_ROOT%_includedir/
+cd ../speech_tools
+# install includes
+mkdir -p $RPM_BUILD_ROOT%_includedir/instantiate
+mkdir -p $RPM_BUILD_ROOT%_includedir/ling_class
+mkdir -p $RPM_BUILD_ROOT%_includedir/rxp
+mkdir -p $RPM_BUILD_ROOT%_includedir/sigpr
+mkdir -p $RPM_BUILD_ROOT%_includedir/unix
+install -m 644 include/*h $RPM_BUILD_ROOT%_includedir
+install -m 644 include/instantiate/*h $RPM_BUILD_ROOT%_includedir/instantiate
+install -m 644 include/ling_class/*h $RPM_BUILD_ROOT%_includedir/ling_class
+install -m 644 include/rxp/*h $RPM_BUILD_ROOT%_includedir/rxp
+install -m 644 include/sigpr/*h $RPM_BUILD_ROOT%_includedir/sigpr
+install -m 644 include/unix/*h $RPM_BUILD_ROOT%_includedir/unix
+# make sure we have no static libs, install shared ones
+install -m 644 lib/lib*.so* $RPM_BUILD_ROOT%_libdir
+rm -f $RPM_BUILD_ROOT%_libdir/*.a
+
+# install init script
+# install -m 755 -D %{S:6} $RPM_BUILD_ROOT/etc/init.d/%name
+# install -d $RPM_BUILD_ROOT%_sbindir
+# ln -sf ../../etc/init.d/%name $RPM_BUILD_ROOT/usr/sbin/rc%name
+# installl sysconfig file
+#install -m 644 -D %{S:5} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%name
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+ldconfig
+
+%postun
+ldconfig
+
+%post devel
+ldconfig
+
+%postun devel
+ldconfig
+
+%files
+%defattr(-,root,root)
+%doc COPYING README INSTALL examples/*.text examples/ex1.* examples/*.scm examples/*.dtd
+%_sysconfdir/festival.scm
+#%_sysconfdir/init.d/%name
+%_bindir/festival
+%_bindir/festival_client
+%_bindir/festival_server
+%_bindir/festival_server_control
+%_bindir/text2wave
+%_bindir/saytime
+%_libdir/libe*.so.*
+%_libdir/libFestival.so
+
+%_prefix/lib/festival
+%_datadir/festival
+%_mandir/man1/*
+
+%files devel
+%defattr(-,root,root)
+%_includedir/*
+%_libdir/libe*.so
--- /dev/null
+Name: genivi-audio-manager
+License: MPL-2.0
+Group: Automotive/API
+Summary: GENIVI Audio Manager
+Version: 3.2
+Release: 1
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: cmake
+BuildRequires: pkgconfig(libsystemd-journal)
+BuildRequires: pkgconfig(python)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(automotive-dlt)
+BuildRequires: pkgconfig(zlib)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+The AudioManager is a framework for managing audio in the IVI context.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%{summary}. This package provides headers for developing AudioManager plugins and applications.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+mkdir build
+cd build
+
+cmake -DUSE_BUILD_LIBS=OFF -DWITH_TESTS=OFF -DWITH_DBUS_WRAPPER=ON -DWITH_NSM=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
+#make VERBOSE=1
+make %{?_smp_mflags}
+
+%install
+rm -rf "$RPM_BUILD_ROOT"
+cd build
+make install DESTDIR=$RPM_BUILD_ROOT
+mkdir $RPM_BUILD_ROOT%{_includedir}/%{name}
+mv $RPM_BUILD_ROOT%{_includedir}/*.h $RPM_BUILD_ROOT%{_includedir}/command $RPM_BUILD_ROOT%{_includedir}/control $RPM_BUILD_ROOT%{_includedir}/routing $RPM_BUILD_ROOT%{_includedir}/shared $RPM_BUILD_ROOT%{_includedir}/%{name}
+rm $RPM_BUILD_ROOT%{_libdir}/audioManager/routing/libPluginRoutingInterfaceAsync.so*
+
+%files
+%doc LICENCE README.html
+%{_bindir}/AudioManager
+%{_libdir}/audioManager/command/libPluginCommandInterfaceDbus.so*
+%{_libdir}/audioManager/routing/libPluginRoutingInterfaceDbus.so*
+%{_libdir}/audioManager/control/libPluginControlInterface.so*
+%{_libdir}/audioManager/control/libPluginControlInterfaceDbus.so*
+%{_datadir}/audiomanager/*xml
+
+%files devel
+%{_includedir}/%{name}/*
--- /dev/null
+%define ictl_conf /opt/etc/ico/device-input-controller
+
+Name: ico-uxf-device-input-controller
+Summary: Device Input Controller
+Version: 0.9.06
+Release: 0
+Group: Graphics & UI Framework/Input
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(wayland-client) >= 1.4.0
+BuildRequires: mesa-devel
+BuildRequires: pkgconfig(egl)
+BuildRequires: pkgconfig(glesv2)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: ico-uxf-weston-plugin-devel >= 0.9.21
+BuildRequires: ico-uxf-utilities-devel >= 0.9.01
+Requires: weston >= 1.4.0
+Requires: ico-uxf-weston-plugin >= 0.9.21
+Requires: ico-uxf-utilities >= 0.9.01
+
+%description
+Device Input Controller for ico-uxf-weston-plugin(Multi Input Manager)
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%reconfigure
+%__make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+# configurations
+mkdir -p %{buildroot}%{ictl_conf}
+mkdir -p %{buildroot}%{_unitdir_user}
+install -m 0644 settings/drivingforcegt.conf %{buildroot}%{ictl_conf}
+install -m 0644 settings/g27racingwheel.conf %{buildroot}%{ictl_conf}
+install -m 0755 settings/set_daynight.sh %{buildroot}%{ictl_conf}
+install -m 644 settings/ico-device-input-controller.service %{buildroot}%{_unitdir_user}/ico-device-input-controller.service
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_bindir}/ico_dic-gtforce
+%{ictl_conf}/drivingforcegt.conf
+%{ictl_conf}/g27racingwheel.conf
+%{ictl_conf}/set_daynight.sh
+%{_unitdir_user}/ico-device-input-controller.service
--- /dev/null
+Name: ico-uxf-homescreen-sample-apps
+Summary: HomeScreen sample application
+Version: 0.9.8
+Release: 0
+Group: System/GUI
+License: Apache License, Version 2.0
+URL: http://www.toyota.com
+Source0: %{name}-%{version}.tar.bz2
+
+#ico-app-soundsample
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(edbus)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: libpulse-devel
+BuildRequires: ico-uxf-utilities-devel
+BuildRequires: pkgconfig(capi-appfw-application)
+Requires: weston >= 1.2
+Requires: ico-uxf-weston-plugin
+Requires: ico-uxf-homescreen >= 0.9.01
+Requires: weston-ivi-shell-clients
+Requires: ecore
+Requires: elementary
+Requires: evas
+Requires: glib2
+Requires: libpulse
+Requires: capi-appfw-application
+Requires: ico-uxf-utilities
+
+#ico-app-vicsample
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(edbus)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(aul)
+BuildRequires: ico-uxf-utilities-devel >= 0.9.04
+BuildRequires: pkgconfig(capi-appfw-application)
+Requires: weston >= 1.2
+Requires: ico-uxf-weston-plugin
+Requires: ico-uxf-homescreen >= 0.9.01
+Requires: ecore
+Requires: elementary
+Requires: evas
+Requires: dbus
+Requires: dbus-glib
+Requires: automotive-message-broker >= 0.10.804
+Requires: capi-appfw-application
+Requires: edbus
+Requires: ico-uxf-utilities >= 0.9.04
+Requires: ico-vic-amb-plugin >= 0.9.4
+
+#ico-app-miscellaneous
+Requires: weekeyboard
+
+%description
+HomeScreen sample application
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+autoreconf --install
+
+%configure
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+# create tizen package metadata related directories
+mkdir -p %{buildroot}%{_datadir}/packages/
+mkdir -p %{buildroot}%{_datadir}/icons/default/small
+
+# configurations(ico-app-soundsample)
+%define sound_PREFIX /usr/apps/org.tizen.ico.app-soundsample
+
+mkdir -p %{buildroot}%{sound_PREFIX}/bin/
+mkdir -p %{buildroot}%{sound_PREFIX}/sounds/
+mkdir -p %{buildroot}%{sound_PREFIX}/res/icons/default/small/
+mkdir -p %{buildroot}%{sound_PREFIX}/res/images/
+install -m 0644 ico-app-soundsample/soundsample_config.txt %{buildroot}%{sound_PREFIX}/res/
+install -m 0644 ico-app-soundsample/sound_bg.png %{buildroot}%{sound_PREFIX}/res/images/
+install -m 0644 ico-app-soundsample/org.tizen.ico.app-soundsample.png %{buildroot}%{sound_PREFIX}/res/icons/default/small/
+install -m 0644 ico-app-soundsample/musicbox.wav %{buildroot}%{sound_PREFIX}/sounds/
+install -m 0644 ico-app-soundsample/org.tizen.ico.app-soundsample.xml %{buildroot}%{_datadir}/packages/
+
+# configurations(ico-app-vicsample)
+%define vic_PREFIX /usr/apps/org.tizen.ico.app-vicsample
+
+mkdir -p %{buildroot}%{vic_PREFIX}/bin/
+mkdir -p %{buildroot}%{vic_PREFIX}/res/icons/default/small/
+mkdir -p %{buildroot}%{vic_PREFIX}/res/images/
+install -m 0644 ico-app-vicsample/vicsample_config.txt %{buildroot}%{vic_PREFIX}/res/
+install -m 0644 ico-app-vicsample/vicinfo_bg.png %{buildroot}%{vic_PREFIX}/res/images/
+install -m 0644 ico-app-vicsample/org.tizen.ico.app-vicsample.png %{buildroot}%{vic_PREFIX}/res/icons/default/small/
+install -m 0644 ico-app-vicsample/org.tizen.ico.app-vicsample.xml %{buildroot}%{_datadir}/packages/
+
+# configurations(ico-app-miscellaneous)
+# install tizen package metadata for weston-terminal
+install -m 0644 ico-app-miscellaneous/terminal.xml %{buildroot}%{_datadir}/packages/
+
+# install browser package metadata for MiniBrowser
+mkdir -p %{buildroot}%{_bindir}
+install -m 0644 ico-app-miscellaneous/browser.xml %{buildroot}%{_datadir}/packages/
+install -m 0644 ico-app-miscellaneous/browser.png %{buildroot}%{_datadir}/icons/default/small/
+install -m 0755 ico-app-miscellaneous/browser %{buildroot}%{_bindir}
+
+# install tizen package metadata for weekeyboard
+install -m 0644 ico-app-miscellaneous/weekeyboard.xml %{buildroot}%{_datadir}/packages/
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+# files(ico-app-soundsample)
+%{sound_PREFIX}/bin/ico-app-soundsample
+%{sound_PREFIX}/res/soundsample_config.txt
+%{sound_PREFIX}/res/images/sound_bg.png
+%{sound_PREFIX}/res/icons/default/small/org.tizen.ico.app-soundsample.png
+%{sound_PREFIX}/sounds/musicbox.wav
+%{_datadir}/packages/org.tizen.ico.app-soundsample.xml
+
+# files(ico-app-vicsample)
+%{vic_PREFIX}/bin/ico-app-vicsample
+%{vic_PREFIX}/res/vicsample_config.txt
+%{vic_PREFIX}/res/images/vicinfo_bg.png
+%{vic_PREFIX}/res/icons/default/small/org.tizen.ico.app-vicsample.png
+/usr/share/packages/org.tizen.ico.app-vicsample.xml
+
+# files(ico-app-miscellaneous)
+%{_bindir}/browser
+%{_datadir}/packages/browser.xml
+%{_datadir}/packages/terminal.xml
+%{_datadir}/packages/weekeyboard.xml
+%{_datadir}/icons/default/small/browser.png
+
+%post
+/sbin/ldconfig
+# This icon exists in main weston package so we don't package it in.
+# Create a symbolic link to it instead.
+ln -s %{_datadir}/weston/terminal.png %{_datadir}/icons/default/small/
+# Update the app database.
+%{_bindir}/pkginfo --imd /usr/share/packages/org.tizen.ico.app-soundsample.xml
+%{_bindir}/pkginfo --imd /usr/share/packages/org.tizen.ico.app-vicsample.xml
+%{_bindir}/pkginfo --imd /usr/share/packages/browser.xml
+%{_bindir}/pkginfo --imd /usr/share/packages/terminal.xml
+
+%preun
+# Update the app database.
+%{_bindir}/pkginfo --rmd /usr/share/packages/org.tizen.ico.app-soundsample.xml
+%{_bindir}/pkginfo --rmd /usr/share/packages/org.tizen.ico.app-vicsample.xml
+%{_bindir}/pkginfo --rmd /usr/share/packages/browser.xml
+%{_bindir}/pkginfo --rmd /usr/share/packages/terminal.xml
+
+%postun
+/sbin/ldconfig
+rm -f /usr/share/applications/org.tizen.ico.app-soundsample.desktop
+rm -f /usr/share/applications/org.tizen.ico.app-vicsample.desktop
+rm -f /usr/share/applications/browser.desktop
+rm -f /usr/share/applications/terminal.desktop
+rm -f %{_datadir}/icons/default/small/terminal.png
--- /dev/null
+Name: ico-uxf-homescreen
+Summary: Sample homescreen and system controller
+Version: 0.9.22
+Release: 0
+Group: Graphics & UI Framework/Automotive UI
+License: Apache-2.0
+URL: ""
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(wayland-client) >= 1.4
+BuildRequires: ico-uxf-weston-plugin-devel >= 0.9.21
+BuildRequires: pkgconfig(egl)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-wayland)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(json-glib-1.0)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(libwebsockets)
+BuildRequires: pkgconfig(murphy-common)
+BuildRequires: pkgconfig(murphy-domain-controller)
+BuildRequires: pkgconfig(murphy-ecore)
+BuildRequires: pkgconfig(murphy-resource)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: boost-devel
+BuildRequires: mesa-devel
+BuildRequires: weston-ivi-shell
+BuildRequires: weston-ivi-shell-devel
+BuildRequires: genivi-shell
+BuildRequires: genivi-shell-devel
+BuildRequires: ico-uxf-utilities-devel >= 0.9.07
+Requires: weston >= 1.4
+Requires: weston-ivi-shell
+Requires: genivi-shell
+Requires: ico-uxf-weston-plugin >= 0.9.21
+Requires: ico-uxf-utilities >= 0.9.07
+
+%description
+Sample homescreen application and system controller daemon
+
+%package system-controller-devel
+Summary: Development files for %{name}
+Group: Graphics & UI Framework/Development
+Requires: %{name} = %{version}-%{release}
+Requires: capi-base-common-devel
+Requires: pkgconfig(eina)
+Requires: pkgconfig(evas)
+Requires: pkgconfig(eina)
+Requires: pkgconfig(edje)
+Requires: pkgconfig(ecore-wayland)
+Requires: pkgconfig(glib-2.0)
+Requires: pkgconfig(appsvc)
+
+%description system-controller-devel
+Development files for application that communicate homescreen.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+mkdir -p weston
+cp -av /usr/share/genivi-shell/protocol/*.xml weston/
+
+ls weston/*.xml | while read protocol ; do
+
+ /usr/bin/wayland-scanner client-header \
+ < "${protocol}" > "${protocol/.xml/}-client-protocol.h"
+
+ /usr/bin/wayland-scanner code \
+ < "${protocol}" > "${protocol/.xml/.c}"
+
+done
+
+ls weston/
+
+
+%build
+%autogen
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+
+%make_install
+
+cp tool/ico_clear_screen %{buildroot}%{_bindir}
+cp tool/ico_change_loginuser %{buildroot}%{_bindir}
+cp tool/notification/ico_del_notification %{buildroot}%{_bindir}
+cp tool/notification/ico_dump_notification %{buildroot}%{_bindir}
+cp tool/notification/ico_send_notification %{buildroot}%{_bindir}
+cp tool/notification/ico_send_notification2 %{buildroot}%{_bindir}
+
+%post
+/sbin/ldconfig
+
+# Update the app database.
+%{_bindir}/pkginfo --imd /usr/share/packages/org.tizen.ico.homescreen.xml
+%{_bindir}/pkginfo --imd /usr/share/packages/org.tizen.ico.statusbar.xml
+%{_bindir}/pkginfo --imd /usr/share/packages/org.tizen.ico.system-controller.xml
+%{_bindir}/pkginfo --imd /usr/share/packages/org.tizen.ico.onscreen.xml
+
+%preun
+# Update the app database.
+%{_bindir}/pkginfo --rmd /usr/share/packages/org.tizen.ico.homescreen.xml
+%{_bindir}/pkginfo --rmd /usr/share/packages/org.tizen.ico.statusbar.xml
+%{_bindir}/pkginfo --rmd /usr/share/packages/org.tizen.ico.system-controller.xml
+%{_bindir}/pkginfo --rmd /usr/share/packages/org.tizen.ico.onscreen.xml
+
+%postun
+/sbin/ldconfig
+rm -f /usr/share/applications/org.tizen.ico.homescreen.desktop
+rm -f /usr/share/applications/org.tizen.ico.statusbar.desktop
+rm -f /usr/share/applications/org.tizen.ico.onscreen.desktop
+rm -f /usr/share/applications/org.tizen.ico.system-controller.desktop
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.ico.homescreen
+/usr/apps/org.tizen.ico.statusbar
+/usr/apps/org.tizen.ico.onscreen
+/usr/share/packages/org.tizen.ico.homescreen.xml
+/usr/share/packages/org.tizen.ico.statusbar.xml
+/usr/share/packages/org.tizen.ico.onscreen.xml
+%{_libdir}/libico-appfw.*
+%{_libdir}/libico-state-machine.*
+/usr/apps/org.tizen.ico.system-controller
+/usr/share/packages/org.tizen.ico.system-controller.xml
+/usr/lib/systemd/user/ico-system-controller.service
+/usr/lib/systemd/user/ico-uxf-wait-launchpad-ready.path
+/usr/lib/systemd/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path
+%{_bindir}/ico_clear_screen
+%{_bindir}/ico_change_loginuser
+%{_bindir}/ico_del_notification
+%{_bindir}/ico_dump_notification
+%{_bindir}/ico_send_notification
+%{_bindir}/ico_send_notification2
+%attr(644,app,app) /home/app/ico/defaultApps.info
+%attr(755,app,app) /home/app/ico
+
+%files system-controller-devel
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_includedir}/ico-appfw/ico_syc_application.h
+%{_includedir}/ico-appfw/ico_syc_appresctl.h
+%{_includedir}/ico-appfw/ico_syc_common.h
+%{_includedir}/ico-appfw/ico_syc_error.h
+%{_includedir}/ico-appfw/ico_syc_inputctl.h
+%{_includedir}/ico-appfw/ico_syc_private.h
+%{_includedir}/ico-appfw/ico_syc_privilege.h
+%{_includedir}/ico-appfw/ico_syc_type.h
+%{_includedir}/ico-appfw/ico_syc_userctl.h
+%{_includedir}/ico-appfw/ico_syc_winctl.h
+%{_includedir}/ico-state-machine/CicoBlockParser.h
+%{_includedir}/ico-state-machine/CicoEvent.h
+%{_includedir}/ico-state-machine/CicoEventInfo.h
+%{_includedir}/ico-state-machine/CicoFinalState.h
+%{_includedir}/ico-state-machine/CicoHistoryState.h
+%{_includedir}/ico-state-machine/CicoState.h
+%{_includedir}/ico-state-machine/CicoStateAction.h
+%{_includedir}/ico-state-machine/CicoStateCore.h
+%{_includedir}/ico-state-machine/CicoStateMachine.h
+%{_includedir}/ico-state-machine/CicoStateMachineCreator.h
--- /dev/null
+Name: ico-uxf-utilities
+Summary: Common utilities for ico uifw
+Version: 0.9.07
+Release: 0
+Group: Automotive/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(libwebsockets) >= 1.2
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(edbus)
+Requires(post): /usr/bin/mkdir
+Requires(post): /usr/bin/chmod
+Requires: automotive-message-broker >= 0.10.803
+
+%description
+common utilities for ico uifw package.
+
+%package devel
+Summary: Development files for %{name}
+Group: Automotive/Development
+Requires: %{name} = %{version}-%{release}
+Requires: libwebsockets-devel
+
+%description devel
+Development files for inter application communications.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%reconfigure
+%__make %{?_smp_mflags}
+
+%install
+%make_install
+
+# include
+mkdir -p %{buildroot}/%{_includedir}/ico-util/
+cp -f include/ico_uws.h %{buildroot}/%{_includedir}/ico-util/
+cp -f include/ico_log.h %{buildroot}/%{_includedir}/ico-util/
+cp -f include/ico_dbus_amb_efl.h %{buildroot}/%{_includedir}/ico-util/
+# log output
+mkdir -p %{buildroot}/%{_localstatedir}/log/ico/
+chmod 0777 %{buildroot}/%{_localstatedir}/log/ico/
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license LICENSE-2.0
+%{_libdir}/libico-util*
+%defattr(777,app,app,-)
+%{_localstatedir}/log/ico/
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_includedir}/ico-util/ico_uws.h
+%{_includedir}/ico-util/ico_log.h
+%{_includedir}/ico-util/ico_dbus_amb_efl.h
+%{_libdir}/libico-util*
+%defattr(777,app,app,-)
+%{_localstatedir}/log/ico/
--- /dev/null
+%define weston_conf %{_sysconfdir}/xdg/weston
+
+Name: ico-uxf-weston-plugin
+Summary: Weston Plugins for IVI
+Version: 0.9.22
+Release: 0
+Group: Graphics & UI Framework/Automotive UI
+License: MIT
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(weston) >= 1.4.0
+BuildRequires: pkgconfig(pixman-1)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(egl)
+BuildRequires: mesa-devel
+BuildRequires: genivi-shell-devel
+BuildRequires: weston-ivi-shell-devel
+Requires: weston >= 1.4.0
+Requires: genivi-shell
+Requires: weston-ivi-shell
+Requires: weekeyboard
+Conflicts: weston-ivi-config
+Conflicts: weston-ivi-shell-config
+
+%description
+Weston Plugins for IVI package
+
+%package devel
+Summary: Development files for %{name}
+Group: Graphics & UI Framework/Development
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development files that expose the wayland extended protocols for IVI.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%reconfigure
+%__make %{?_smp_mflags}
+
+%install
+%make_install
+
+# configurations
+mkdir -p %{buildroot}%{weston_conf} > /dev/null 2>&1
+mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants > /dev/null 2>&1
+install -m 0644 settings/weston.ini %{buildroot}%{weston_conf}
+install -m 0644 settings/ico-pseudo-input-device.service %{buildroot}%{_unitdir}/ico-pseudo-input-device.service
+ln -s %{_unitdir}/ico-pseudo-input-device.service %{buildroot}%{_unitdir}/multi-user.target.wants/ico-pseudo-input-device.service
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license COPYING
+%dir %{_libdir}/weston/
+%{_libdir}/weston/*.so
+%{_libdir}/libico-uxf-weston-plugin.so.*
+%{_bindir}/ico_send_inputevent
+%{_bindir}/ico_pseudo_input_device
+%{_unitdir}/ico-pseudo-input-device.service
+%{_unitdir}/multi-user.target.wants/ico-pseudo-input-device.service
+%config %{weston_conf}/weston.ini
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/ico_input_mgr-client-protocol.h
+%{_includedir}/%{name}/ico_window_mgr-client-protocol.h
+%{_includedir}/%{name}/ico_input_mgr.h
+%{_libdir}/libico-uxf-weston-plugin.so
--- /dev/null
+Name: ico-vic-amb-plugin
+Summary: Automotive Message Broker is a vehicle network abstraction system.
+Version: 0.9.5
+Release: 1.1
+Group: System Environment/Daemons
+License: LGPL v2.1
+URL: ""
+Source0: %{name}-%{version}.tar.bz2
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Requires: libjson
+Requires: ico-uxf-utilities
+BuildRequires: cmake
+BuildRequires: boost-devel
+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)
+
+%description
+Collection of plugins for automotive-message-broker
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%cmake
+
+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/
+cp tool/ico_set_vehicleinfo %{buildroot}/usr/bin/ico_set_vehicleinfo
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_libdir}/automotive-message-broker/*.so
+%{_sysconfdir}/ambd/AMBformat.conf
+/usr/share/doc/automotive-message-broker/%{name}/README
+/usr/bin/ico_set_vehicleinfo
--- /dev/null
+Name: ico-vic-carsimulator
+Summary: CarSimulator
+Version: 0.9.10
+Release: 1.1
+Group: System Environment/Daemons
+License: Apache 2.0
+Source0: %{name}-%{version}.tar.bz2
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Requires: glib2
+Requires: ico-vic-amb-plugin
+Requires: ico-uxf-utilities
+BuildRequires: make
+BuildRequires: automake
+BuildRequires: boost-devel
+#BuildRequires: libwebsockets-devel
+BuildRequires: glib2-devel
+BuildRequires: json-glib-devel
+#BuildRequires: ico-uxf-utilities
+BuildRequires: ico-uxf-utilities-devel
+
+%description
+CarSimulator is simulated driving software
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+autoreconf --install
+
+%configure
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+# configurations
+mkdir -p %{buildroot}/etc/ico-vic-carsim/
+mkdir -p %{buildroot}/usr/lib/systemd/user/
+install -m 0644 G25.conf %{buildroot}/etc/ico-vic-carsim/
+install -m 0644 G27.conf %{buildroot}/etc/ico-vic-carsim/
+install -m 0644 ico-vic-carsim.service %{buildroot}%{_unitdir_user}/ico-vic-carsim.service
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%attr(4755,root,root) %{_bindir}/ico-vic-carsim
+%defattr(-,root,root,-)
+%{_bindir}/*
+/etc/ico-vic-carsim/*
+/usr/lib/systemd/user/ico-vic-carsim.service
Name: capi-media-image-util
Summary: A Image Utility library in Tizen Native API
Version: 0.1.0
-Release: 21
+Release: 0
Group: Multimedia/API
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
-Source1001: capi-media-image-util.manifest
+Source1001: capi-media-image-util.manifest
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(mm-common)
BuildRequires: pkgconfig(mmutil-jpeg)
BuildRequires: gettext-devel
%description
-A Image Utility library in Tizen Native API
-
+A Image Utility library in Tizen Native API package
%package devel
Summary: A Image Utility library in Tizen Native API (Development)
Requires: pkgconfig(capi-base-common)
%description devel
-A Image Utility library in Tizen Native API (Development)
+A Image Utility library in Tizen Native API (Development) package
%prep
%setup -q
%build
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
-make %{?jobs:-j%jobs}
+%__make %{?jobs:-j%jobs}
%install
-
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-
%files
%manifest %{name}.manifest
%license LICENSE.APLv2.0
-%manifest capi-media-image-util.manifest
%{_libdir}/lib*.so.*
%files devel
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/media/*.h
-
--- /dev/null
+Name: lemolo
+Summary: Ofono EFL Dialer
+Version: 0.1.6
+Release: 1
+Group: Applications/Telephony
+License: Apache-2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(edbus)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(ofono)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-system-power)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(libpulse)
+BuildRequires: edje-tools
+BuildRequires: gettext-tools
+Requires: ofono
+Requires: automotive-message-broker
+
+%description
+Provides a dialer application for an In-Vehicle Infotainment (IVI) system, where
+the primary modem access is via a mobile device connected to the head unit via the
+handsfree profile over bluetooth.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+%autogen \
+--enable-notification \
+--enable-tizen
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+%find_lang %{name}
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%{_bindir}/answer_daemon
+%{_bindir}/dialer
+%{_bindir}/messages
+%{_bindir}/dialer_daemon
+%{_bindir}/dialer_open
+%{_bindir}/message_daemon
+%{_datadir}/lemolo/examples/contacts.csv
+%{_datadir}/lemolo/ringtones/default.wav
+%{_datadir}/lemolo/scripts/ofono-efl-contacts-db-create.py
+%{_datadir}/lemolo/themes/default.edj
+%{_datadir}/lemolo/themes/night.edj
+%{_datadir}/lemolo/tizen-examples/order
+%{_datadir}/packages/org.tizen.dialer.xml
+%{_datadir}/icons/default/small/org.tizen.dialer.png
+%{_datadir}/dbus-1/services/org.tizen.dialer.service
Summary: Account DB library
Version: 0.2.52
Release: 1
-Group: TO_BE/FILLED_IN
+Group: Social & Content/Utilities
License: Apache-2.0
Source0: libaccounts-svc-%{version}.tar.gz
Source1001: libaccounts-svc.manifest
+Source1002: accounts_DB.sh
BuildRequires: cmake
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(pkgmgr-info)
BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(libtzplatform-config)
+Requires: libtzplatform-config
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/sqlite3
Requires(postun): /sbin/ldconfig
%package devel
Summary: Development files for %{name}
-Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Development files for %{name}
%prep
%setup -q
-cp %{SOURCE1001} .
+cp %{SOURCE1001} %{SOURCE1002} .
%build
export CFLAGS="${CFLAGS} -fPIC -fvisibility=hidden"
rm -rf %{buildroot}
%make_install
+install -D -m 0750 %{SOURCE1002} %{buildroot}%{_datadir}/%{name}/accounts_DB.sh
+
rm -rf %{buildroot}%{_libdir}/accounts-svc
%post
+
/sbin/ldconfig
-if [ ! -d /opt/dbspace ]
-then
- mkdir -p /opt/dbspace
-fi
-if [ ! -f /opt/dbspace/.account.db ]
-#rm -rf /opt/dbspace/.account.db*
-then
- sqlite3 /opt/dbspace/.account.db 'PRAGMA journal_mode = PERSIST;
- CREATE TABLE if not exists label (AppId TEXT, Label TEXT, Locale TEXT);
- CREATE TABLE if not exists account_type (_id INTEGER PRIMARY KEY AUTOINCREMENT, AppId TEXT,
- ServiceProviderId TEXT, IconPath TEXT, SmallIconPath TEXT, MultipleAccountSupport INT);
- CREATE TABLE if not exists account_custom (AccountId INTEGER, AppId TEXT, Key TEXT, Value TEXT);
- CREATE TABLE if not exists account (_id INTEGER PRIMARY KEY AUTOINCREMENT, user_name TEXT, email_address TEXT, display_name TEXT, icon_path TEXT,
- source TEXT, package_name TEXT, access_token TEXT, domain_name TEXT, auth_type INTEGER, secret INTEGER, sync_support INTEGER,
- txt_custom0 TEXT, txt_custom1 TEXT, txt_custom2 TEXT, txt_custom3 TEXT, txt_custom4 TEXT,
- int_custom0 INTEGER, int_custom1 INTEGER, int_custom2 INTEGER, int_custom3 INTEGER, int_custom4 INTEGER);
- CREATE TABLE if not exists capability (_id INTEGER PRIMARY KEY AUTOINCREMENT, key TEXT, value INTEGER,
- package_name TEXT, user_name TEXT, account_id INTEGER, FOREIGN KEY (account_id) REFERENCES account(_id));
- CREATE TABLE if not exists provider_feature (app_id TEXT, key TEXT);'
-fi
-
-mkdir -p /opt/usr/share/account
-chown 5000:5000 /opt/dbspace/.account.db
-chown 5000:5000 /opt/dbspace/.account.db-journal
-chown 5000:5000 /opt/usr/share/account
-
-chmod 660 /opt/dbspace/.account.db
-chmod 660 /opt/dbspace/.account.db-journal
-chmod 755 /opt/usr/share/account
+%{_datadir}/%{name}/accounts_DB.sh
+
#set message key value to NULL
vconftool set -t string db/account/msg '' -g 6514
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%{_bindir}/account-xml-verify
+%{_datadir}/%{name}/accounts_DB.sh
%files devel
%manifest %{name}.manifest
%{_libdir}/*.so
%{_libdir}/pkgconfig/accounts-svc.pc
%{_includedir}/*.h
+%{_datadir}/%{name}/accounts_DB.sh
%{_bindir}/account-xml-verify
--- /dev/null
+#define dbus bus type to use [p2p, session, system]
+%define dbus_type p2p
+
+Name: libgsignon-glib
+Summary: GLib API for the SSO framework
+Version: 2.3.0
+Release: 1
+Group: Security/Accounts
+License: LGPL-2.1
+Source: %{name}-%{version}.tar.gz
+Source1: %{name}.manifest
+URL: https://01.org/gsso
+Requires: dbus-1
+Requires: gsignon
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(check)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+
+%description
+%{summary}.
+
+
+%package devel
+Summary: Development files for %{name}
+Group: SDK/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+
+%package doc
+Summary: Documentation files for %{name}
+Group: SDK/Documentation
+Requires: %{name}-devel = %{version}-%{release}
+
+%description doc
+%{summary}.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+cp %{SOURCE1} .
+
+
+%build
+autoreconf -fi
+%configure --enable-dbus-type=%{dbus_type}
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%manifest %{name}.manifest
+%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
+%{_libdir}/%{name}.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%manifest %{name}.manifest
+%{_includedir}/%{name}/*.h
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_bindir}/gsso-example
+
+
+%files doc
+%defattr(-,root,root,-)
+%{_datadir}/gtk-doc/html/%{name}/*
+
Source0: %{name}-%{version}.tar.gz
Source1: libsvi.manifest
source2: libfeedback.manifest
-source3: svi-data-sdk.manifest
+source3: svi-data.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: cmake
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(libtzplatform-config)
%description
Feedback library for playing sound, vibration and led
rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}/opt/share/svi/sound/touch
-mkdir -p %{buildroot}/opt/share/svi/sound/operation
-mkdir -p %{buildroot}/opt/share/svi/haptic/default
-mkdir -p %{buildroot}/opt/share/svi/haptic/touch
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}
%post -p /sbin/ldconfig
%postun -n libsvi -p /sbin/ldconfig
-%post -n svi-data
-ln -s %{_datadir}/svi/sound/touch/key0.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key1.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key2.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key3.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key4.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key5.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key6.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key7.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key8.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key9.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/keyasterisk.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/keysharp.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/sip.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/sip_backspace.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/touch.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/operation/call_connect.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/call_disconnect.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/charger_connection.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/fully_charged.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/list_reorder.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/lock.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/low_battery.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/minute_minder.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/power_on.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/shutter.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/slider_sweep.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/unlock.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/volume_control.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/haptic/default/Basic_call.tht /opt/share/svi/haptic/default
-ln -s %{_datadir}/svi/haptic/touch/touch.tht /opt/share/svi/haptic/touch
-
%postun -p /sbin/ldconfig
%postun -n svi-data
-rm -rf %{_datadir}/svi/
-rm -rf /opt/share/svi/
+rm -rf %{_datadir}/feedback/
+rm -rf /opt/usr/share/feedback/
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/libfeedback.so.*
+%{_datadir}/license/%{name}
%files -n libfeedback-devel
%manifest %{name}.manifest
%files -n svi-data
%manifest %{name}.manifest
%defattr(644,root,root,-)
-%{_datadir}/svi/*
-%defattr(666,app,app,-)
-%dir /opt/share/svi/sound/touch
-%dir /opt/share/svi/sound/operation
-%dir /opt/share/svi/haptic/default
-%dir /opt/share/svi/haptic/touch
+%{_datadir}/feedback/*
--- /dev/null
+Name: libwebsockets
+Summary: WebSocket Library
+Version: 1.2
+Release: 1
+Group: System/Libraries
+License: LGPLv2.1
+URL: http://git.warmcat.com/cgi-bin/cgit/libwebsockets/
+Source0: %{name}-%{version}.tar.bz2
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: zlib-devel
+BuildRequires: openssl-devel
+BuildRequires: cmake
+BuildRequires: pkgconfig(libsystemd-daemon)
+
+%description
+C Websockets Server Library
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development files needed for building websocket clients and servers
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+%cmake -DWITH_SSL=On -DWITH_SD_DAEMON=ON
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/libwebsockets*
+%{_libdir}/libwebsockets*.so.*
+%{_datadir}/libwebsockets-test-server/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/libwebsockets.h
+%{_libdir}/libwebsockets.so
+%{_libdir}/pkgconfig/*
+
--- /dev/null
+# By default we build with distro-default compilation flags which
+# enables optimizations. If you want to build with full debugging
+# ie. with optimization turned off and full debug info (-O0 -g3)
+# pass '--with debug' to rpmbuild on the command line. Similary
+# you can chose to compile with/without pulse, ecore, glib, qt,
+# dbus, and telephony support. --without squashpkg will prevent
+# squashing the -core and -plugins-base packages into the base
+# murphy package.
+
+%{!?_with_debug:%{!?_without_debug:%define _without_debug 0}}
+%{!?_with_lua:%{!?_without_lua:%define _with_lua 1}}
+%{!?_with_pulse:%{!?_without_pulse:%define _with_pulse 1}}
+%{!?_with_ecore:%{!?_without_ecore:%define _with_ecore 1}}
+%{!?_with_glib:%{!?_without_glib:%define _with_glib 1}}
+%{!?_with_qt:%{!?_without_qt:%define _without_qt 1}}
+%{!?_with_dbus:%{!?_without_dbus:%define _with_dbus 1}}
+%{!?_with_telephony:%{!?_without_telephony:%define _with_telephony 1}}
+%{!?_with_audiosession:%{!?_without_audiosession:%define _with_audiosession 1}}
+%{!?_with_websockets:%{!?_without_websockets:%define _with_websockets 1}}
+%{!?_with_smack:%{!?_without_smack:%define _with_smack 1}}
+%{!?_with_icosyscon:%{!?_without_icosyscon:%define _without_icosyscon 1}}
+%{!?_with_sysmon:%{!?_without_sysmon:%define _with_sysmon 1}}
+%{!?_with_squashpkg:%{!?_without_squashpkg:%define _with_squashpkg 1}}
+
+# TODO: take care of /lib vs /lib64...
+%define systemddir /lib/systemd
+
+Summary: Murphy policy framework
+Name: murphy
+Version: 0.0.53
+Release: 1
+License: BSD-3-Clause
+Group: System/Service
+URL: http://01.org/murphy/
+Source0: %{name}-%{version}.tar.gz
+Source1: murphy.manifest
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%endif
+
+Requires(post): /bin/systemctl
+Requires(post): libcap-tools
+Requires(postun): /bin/systemctl
+
+BuildRequires: flex
+BuildRequires: bison
+BuildRequires: pkgconfig(lua)
+BuildRequires: pkgconfig(libsystemd-daemon)
+BuildRequires: pkgconfig(libsystemd-journal)
+BuildRequires: pkgconfig(libcap)
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+BuildRequires: pkgconfig(libpulse)
+%endif
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+BuildRequires: pkgconfig(ecore)
+BuildRequires: mesa-libEGL
+BuildRequires: mesa-libGLESv2
+%endif
+%if %{?_with_glib:1}%{!?_with_glib:0}
+BuildRequires: pkgconfig(glib-2.0)
+%endif
+%if %{?_with_qt:1}%{!?_with_qt:0}
+BuildRequires: pkgconfig(QtCore)
+%endif
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+BuildRequires: pkgconfig(dbus-1)
+%endif
+%if %{?_with_telephony:1}%{!?_with_telephony:0}
+BuildRequires: pkgconfig(ofono)
+%endif
+%if %{?_with_audiosession:1}%{!?_with_audiosession:0}
+BuildRequires: pkgconfig(audio-session-mgr)
+BuildRequires: pkgconfig(aul)
+%endif
+%if %{?_with_websockets:1}%{!?_with_websockets:0}
+BuildRequires: libwebsockets-devel
+%endif
+BuildRequires: pkgconfig(json)
+
+%if %{?_with_smack:1}%{!?_with_smack:0}
+BuildRequires: pkgconfig(libsmack)
+%endif
+
+%if %{?_with_icosyscon:0}%{!?_with_icosyscon:1}
+BuildRequires: ico-uxf-weston-plugin-devel
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(aul)
+BuildRequires: libxml2-devel
+%endif
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%package core
+Summary: Murphy core runtime libraries
+Group: System/Libraries
+
+%package plugins-base
+Summary: The basic set of Murphy plugins
+Group: System/Service
+Requires: %{name} = %{version}
+Requires: %{name}-core = %{version}
+%endif
+
+%package devel
+Summary: The header files and libraries needed for Murphy development
+Group: System/Libraries
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+Requires: libjson-devel
+
+%package doc
+Summary: Documentation for Murphy
+Group: SDK/Documentation
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+%package pulse
+Summary: Murphy PulseAudio mainloop integration
+Group: System/Libraries
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+
+%package pulse-devel
+Summary: Murphy PulseAudio mainloop integration development files
+Group: System/Libraries
+Requires: %{name}-pulse = %{version}
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+%endif
+
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+%package ecore
+Summary: Murphy EFL/ecore mainloop integration
+Group: System/Libraries
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+
+%package ecore-devel
+Summary: Murphy EFL/ecore mainloop integration development files
+Group: System/Libraries
+Requires: %{name}-ecore = %{version}
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+%endif
+
+%if %{?_with_glib:1}%{!?_with_glib:0}
+%package glib
+Summary: Murphy glib mainloop integration
+Group: System/Libraries
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+
+%package glib-devel
+Summary: Murphy glib mainloop integration development files
+Group: System/Libraries
+Requires: %{name}-glib = %{version}
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+%endif
+
+%if %{?_with_qt:1}%{!?_with_qt:0}
+%package qt
+Summary: Murphy Qt mainloop integration
+Group: System/Libraries
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+
+%package qt-devel
+Summary: Murphy Qt mainloop integration development files
+Group: System/Libraries
+Requires: %{name}-qt = %{version}
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+%endif
+
+%package tests
+Summary: Various test binaries for Murphy
+Group: System/Testing
+Requires: %{name} = %{version}
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+
+%package ivi-resource-manager
+Summary: Murphy IVI resource manager plugin
+Group: System/Service
+
+%if %{?_with_icosyscon:0}%{!?_with_icosyscon:1}
+%package system-controller
+Summary: Murphy IVI System Controller plugin
+Group: System/Service
+Requires: ico-uxf-homescreen
+Conflicts: murphy-ivi-resource-manager
+%endif
+
+%description
+This package contains the basic daemon.
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%description core
+This package contains the core runtime libraries.
+
+%description plugins-base
+This package contains a basic set of plugins.
+%endif
+
+%description devel
+This package contains header files and libraries necessary for development.
+
+%description doc
+This package contains documentation.
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+%description pulse
+This package contains the Murphy PulseAudio mainloop integration runtime files.
+
+%description pulse-devel
+This package contains the Murphy PulseAudio mainloop integration development
+files.
+%endif
+
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+%description ecore
+This package contains the Murphy EFL/ecore mainloop integration runtime files.
+
+%description ecore-devel
+This package contains the Murphy EFL/ecore mainloop integration development
+files.
+%endif
+
+%if %{?_with_glib:1}%{!?_with_glib:0}
+%description glib
+This package contains the Murphy glib mainloop integration runtime files.
+
+%description glib-devel
+This package contains the Murphy glib mainloop integration development
+files.
+%endif
+
+%if %{?_with_qt:1}%{!?_with_qt:0}
+%description qt
+This package contains the Murphy Qt mainloop integration runtime files.
+
+%description qt-devel
+This package contains the Murphy Qt mainloop integration development
+files.
+%endif
+
+%description tests
+This package contains various test binaries for Murphy.
+
+%description ivi-resource-manager
+This package contains the Murphy IVI resource manager plugin.
+
+%if %{?_with_icosyscon:0}%{!?_with_icosyscon:1}
+%description system-controller
+This package contains the Murphy IVI resource manager plugin.
+%endif
+
+%prep
+%setup -q
+
+%build
+%if %{?_with_debug:1}%{!?_with_debug:0}
+export CFLAGS="-O0 -g3"
+V="V=1"
+%endif
+
+CONFIG_OPTIONS=""
+DYNAMIC_PLUGINS="domain-control,system-controller,ivi-resource-manager"
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-pulse"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-pulse"
+%endif
+
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-ecore"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-ecore"
+%endif
+
+%if %{?_with_glib:1}%{!?_with_glib:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-glib"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-glib"
+%endif
+
+%if %{?_with_qt:1}%{!?_with_qt:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-qt"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-qt"
+%endif
+
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-libdbus"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-libdbus"
+%endif
+
+%if %{?_with_telephony:1}%{!?_with_telephony:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-telephony"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-telephony"
+%endif
+
+%if %{?_with_audiosession:1}%{!?_with_audiosession:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-resource-asm"
+DYNAMIC_PLUGINS="$DYNAMIC_PLUGINS,resource-asm"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-resource-asm"
+%endif
+
+%if %{?_with_websockets:1}%{!?_with_websockets:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-websockets"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-websockets"
+%endif
+
+%if %{?_with_smack:1}%{!?_with_smack:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-smack"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-smack"
+%endif
+
+%if %{?_with_icosyscon:0}%{!?_with_icosyscon:1}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-system-controller"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-system-controller"
+%endif
+
+%if %{?_with_sysmon:1}%{!?_with_sysmon:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-system-monitor"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-system-monitor"
+%endif
+
+NUM_CPUS="`cat /proc/cpuinfo | tr -s '\t' ' ' | \
+grep '^processor *:' | wc -l`"
+[ -z "$NUM_CPUS" ] && NUM_CPUS=1
+
+./bootstrap && \
+%configure $CONFIG_OPTIONS --with-dynamic-plugins=$DYNAMIC_PLUGINS && \
+make clean && \
+make -j$(($NUM_CPUS + 1)) $V
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+
+# Make sure we have a plugin dir even if all the basic plugins
+# are configured to be built in.
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/murphy/plugins
+
+# Get rid of any *.la files installed by libtool.
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+# Clean up also the murphy DB installation.
+rm -f $RPM_BUILD_ROOT%{_libdir}/murphy/*.la
+
+# Generate list of linkedin plugins (depends on the configuration).
+outdir="`pwd`"
+pushd $RPM_BUILD_ROOT >& /dev/null && \
+find ./%{_libdir} -name libmurphy-plugin-*.so* | \
+sed 's#^./*#/#g' > $outdir/filelist.plugins-base && \
+popd >& /dev/null
+echo "Found the following linked-in plugin files:"
+cat $outdir/filelist.plugins-base | sed 's/^/ /g'
+
+# Generate list of header files, filtering ones that go to subpackages.
+outdir="`pwd`"
+pushd $RPM_BUILD_ROOT >& /dev/null && \
+find ./%{_includedir}/murphy | \
+egrep -v '((pulse)|(ecore)|(glib)|(qt))-glue' | \
+sed 's#^./*#/#g' > $outdir/filelist.devel-includes && \
+popd >& /dev/null
+
+# Replace the default sample/test config files with the packaging ones.
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/murphy/*
+cp packaging.in/murphy-lua.conf $RPM_BUILD_ROOT%{_sysconfdir}/murphy/murphy.conf
+cp packaging.in/murphy.lua $RPM_BUILD_ROOT%{_sysconfdir}/murphy/murphy.lua
+
+# Copy plugin configuration files in place.
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/murphy/plugins/amb
+cp packaging.in/amb-config.lua \
+$RPM_BUILD_ROOT%{_sysconfdir}/murphy/plugins/amb/config.lua
+
+# Copy tmpfiles.d config file in place
+mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
+cp packaging.in/murphyd.conf $RPM_BUILD_ROOT%{_tmpfilesdir}
+
+# Copy the systemd files in place.
+mkdir -p $RPM_BUILD_ROOT%{systemddir}/system
+mkdir -p $RPM_BUILD_ROOT%{systemddir}/user
+cp packaging.in/murphyd.service $RPM_BUILD_ROOT%{systemddir}/system
+%if %{?_with_icosyscon:0}%{!?_with_icosyscon:1}
+cp packaging.in/ico-homescreen.service $RPM_BUILD_ROOT%{systemddir}/user
+cp packaging.in/murphy-wait-for-launchpad-ready.path $RPM_BUILD_ROOT%{systemddir}/user
+%endif
+
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d
+cp packaging.in/org.Murphy.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/org.Murphy.conf
+%endif
+
+# copy the manifest file
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/murphy.manifest
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/murphy-tests.manifest
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/murphy-ivi-resource-manager.manifest
+%if %{?_with_qt:1}%{!?_with_qt:0}
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/murphy-qt.manifest
+%endif
+%if %{?_with_glib:1}%{!?_with_glib:0}
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/murphy-glib.manifest
+%endif
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/murphy-pulse.manifest
+%endif
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/murphy-ecore.manifest
+%endif
+%if %{?_with_icosyscon:0}%{!?_with_icosyscon:1}
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/murphy-system-controller.manifest
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/bin/systemctl enable murphyd.service
+setcap 'cap_net_admin=+ep' %{_bindir}/murphyd
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%post core
+%endif
+ldconfig
+
+%postun
+if [ "$1" = "0" ]; then
+/bin/systemctl disable murphyd.service
+fi
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%postun core
+%endif
+ldconfig
+
+%if %{?_with_glib:1}%{!?_with_glib:0}
+%post glib
+ldconfig
+
+%postun glib
+ldconfig
+%endif
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+%post pulse
+ldconfig
+
+%postun pulse
+ldconfig
+%endif
+
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+%post ecore
+ldconfig
+
+%postun ecore
+ldconfig
+%endif
+
+%if %{?_with_qt:1}%{!?_with_qt:0}
+%post qt
+lfconfig
+
+%postun qt
+ldconfig
+%endif
+
+%if %{?_with_icosyscon:0}%{!?_with_icosyscon:1}
+%post system-controller
+# prevent system controller from starting
+rm -f %{systemddir}/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path
+# instead launch just ico-homescreen
+rm -f %{systemddir}/user/weston.target.wants/murphy-wait-for-launchpad-ready.path
+ln -s %{systemddir}/user/murphy-wait-for-launchpad-ready.path \
+ %{systemddir}/user/weston.target.wants/murphy-wait-for-launchpad-ready.path
+
+%postun system-controller
+rm -f %{systemddir}/user/weston.target.wants/murphy-wait-for-launchpad-ready.path
+if [ -f %{systemddir}/user/ico-uxf-wait-launchpad-ready.path ]; then
+ ln -sf %{systemddir}/user/ico-uxf-wait-launchpad-ready.path \
+ %{systemddir}/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path
+fi
+%endif
+
+%if %{?_with_squashpkg:1}%{!?_with_squashpkg:0}
+%files -f filelist.plugins-base
+%else
+%files
+%endif
+%defattr(-,root,root,-)
+%manifest %{_datadir}/murphy.manifest
+%{_bindir}/murphyd
+%config %{_sysconfdir}/murphy
+%{systemddir}/system/murphyd.service
+%{_tmpfilesdir}/murphyd.conf
+%if %{?_with_audiosession:1}%{!?_with_audiosession:0}
+%{_sbindir}/asm-bridge
+%endif
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+%{_sysconfdir}/dbus-1/system.d
+%config %{_sysconfdir}/dbus-1/system.d/org.Murphy.conf
+%endif
+%if %{?_with_websockets:1}%{!?_with_websockets:0}
+%{_datadir}/murphy
+%endif
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%files core
+%defattr(-,root,root,-)
+%endif
+%{_libdir}/libmurphy-common.so.*
+%{_libdir}/libmurphy-core.so.*
+%{_libdir}/libmurphy-resolver.so.*
+%{_libdir}/libmurphy-resource.so.*
+%{_libdir}/libmurphy-resource-backend.so.*
+%if %{?_with_lua:1}%{!?_with_lua:0}
+%{_libdir}/libmurphy-lua-utils.so.*
+%{_libdir}/libmurphy-lua-decision.so.*
+%endif
+%{_libdir}/libmurphy-domain-controller.so.*
+%{_libdir}/murphy/*.so.*
+%{_libdir}/libbreedline*.so.*
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+%{_libdir}/libmurphy-libdbus.so.*
+%{_libdir}/libmurphy-dbus-libdbus.so.*
+%endif
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%files plugins-base -f filelist.plugins-base
+%defattr(-,root,root,-)
+%endif
+%{_libdir}/murphy/plugins/plugin-domain-control.so
+%{_libdir}/murphy/plugins/plugin-resource-asm.so
+%{_libdir}/murphy/plugins/plugin-resource-native.so
+
+%files devel -f filelist.devel-includes
+%defattr(-,root,root,-)
+# %{_includedir}/murphy/config.h
+# %{_includedir}/murphy/common.h
+# #%{_includedir}/murphy/core.h
+# %{_includedir}/murphy/common
+# %{_includedir}/murphy/core
+# %{_includedir}/murphy/resolver
+# %{_includedir}/murphy/resource
+# # hmmm... should handle disabled plugins properly.
+# %{_includedir}/murphy/domain-control
+# %{_includedir}/murphy/plugins
+%{_includedir}/murphy-db
+%{_libdir}/libmurphy-common.so
+%{_libdir}/libmurphy-core.so
+%{_libdir}/libmurphy-resolver.so
+%{_libdir}/libmurphy-resource.so
+%{_libdir}/libmurphy-resource-backend.so
+%if %{?_with_lua:1}%{!?_with_lua:0}
+%{_libdir}/libmurphy-lua-utils.so
+%{_libdir}/libmurphy-lua-decision.so
+%endif
+%{_libdir}/libmurphy-domain-controller.so
+%{_libdir}/murphy/*.so
+%{_libdir}/pkgconfig/murphy-common.pc
+%{_libdir}/pkgconfig/murphy-core.pc
+%{_libdir}/pkgconfig/murphy-resolver.pc
+#%{_libdir}/pkgconfig/murphy-resource.pc
+%if %{?_with_lua:1}%{!?_with_lua:0}
+%{_libdir}/pkgconfig/murphy-lua-utils.pc
+%{_libdir}/pkgconfig/murphy-lua-decision.pc
+%endif
+%{_libdir}/pkgconfig/murphy-domain-controller.pc
+%{_libdir}/pkgconfig/murphy-db.pc
+%{_libdir}/pkgconfig/murphy-resource.pc
+%{_includedir}/breedline
+%{_libdir}/libbreedline*.so
+%{_libdir}/pkgconfig/breedline*.pc
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+#%{_includedir}/murphy/dbus
+%{_libdir}/libmurphy-libdbus.so
+%{_libdir}/libmurphy-dbus-libdbus.so
+%{_libdir}/pkgconfig/murphy-libdbus.pc
+%{_libdir}/pkgconfig/murphy-dbus-libdbus.pc
+%endif
+
+%files doc
+%defattr(-,root,root,-)
+%doc %{_docdir}/../murphy/AUTHORS
+%doc %{_docdir}/../murphy/CODING-STYLE
+%license %{_docdir}/../murphy/COPYING
+%doc %{_docdir}/../murphy/ChangeLog
+%doc %{_docdir}/../murphy/INSTALL
+%doc %{_docdir}/../murphy/NEWS
+%doc %{_docdir}/../murphy/README
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+%files pulse
+%defattr(-,root,root,-)
+%{_libdir}/libmurphy-pulse.so.*
+%manifest %{_datadir}/murphy-pulse.manifest
+
+%files pulse-devel
+%defattr(-,root,root,-)
+%{_includedir}/murphy/common/pulse-glue.h
+%{_libdir}/libmurphy-pulse.so
+%{_libdir}/pkgconfig/murphy-pulse.pc
+%endif
+
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+%files ecore
+%defattr(-,root,root,-)
+%{_libdir}/libmurphy-ecore.so.*
+%manifest %{_datadir}/murphy-ecore.manifest
+
+%files ecore-devel
+%defattr(-,root,root,-)
+%{_includedir}/murphy/common/ecore-glue.h
+%{_libdir}/libmurphy-ecore.so
+%{_libdir}/pkgconfig/murphy-ecore.pc
+%endif
+
+%if %{?_with_glib:1}%{!?_with_glib:0}
+%files glib
+%defattr(-,root,root,-)
+%{_libdir}/libmurphy-glib.so.*
+%manifest %{_datadir}/murphy-glib.manifest
+
+%files glib-devel
+%defattr(-,root,root,-)
+%{_includedir}/murphy/common/glib-glue.h
+%{_libdir}/libmurphy-glib.so
+%{_libdir}/pkgconfig/murphy-glib.pc
+%endif
+
+%if %{?_with_qt:1}%{!?_with_qt:0}
+%files qt
+%defattr(-,root,root,-)
+%{_libdir}/libmurphy-qt.so.*
+%manifest %{_datadir}/murphy-qt.manifest
+
+%files qt-devel
+%defattr(-,root,root,-)
+%{_includedir}/murphy/common/qt-glue.h
+%{_libdir}/libmurphy-qt.so
+%{_libdir}/pkgconfig/murphy-qt.pc
+%endif
+
+%files tests
+%defattr(-,root,root,-)
+%{_bindir}/resource-client
+%{_bindir}/resource-api-test
+%{_bindir}/resource-api-fuzz
+%{_bindir}/test-domain-controller
+%{_bindir}/murphy-console
+%manifest %{_datadir}/murphy-tests.manifest
+
+%files ivi-resource-manager
+%defattr(-,root,root,-)
+%{_libdir}/murphy/plugins/plugin-ivi-resource-manager.so
+%manifest %{_datadir}/murphy-ivi-resource-manager.manifest
+
+%if %{?_with_icosyscon:0}%{!?_with_icosyscon:1}
+%files system-controller
+%defattr(-,root,root,-)
+%{_libdir}/murphy/plugins/plugin-system-controller.so
+%{systemddir}/user/ico-homescreen.service
+%{systemddir}/user/murphy-wait-for-launchpad-ready.path
+%manifest %{_datadir}/murphy-system-controller.manifest
+%endif
+
+%changelog
+* Tue Nov 27 2012 Krisztian Litkey <krisztian.litkey@intel.com> -
+- Initial build for 2.0alpha.
--- /dev/null
+%bcond_with wayland 1
+%bcond_with x
+
+Name: nfc-manager-neard
+Summary: NFC framework manager
+Version: 0.1.6
+Release: 0
+Group: Network & Connectivity/NFC
+License: Flora
+Source0: %{name}-%{version}.tar.gz
+Source1: %{name}.service
+Source1001: %{name}.manifest
+Requires: neard
+Requires: neardal
+BuildRequires: cmake
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(bluetooth-api)
+BuildRequires: pkgconfig(capi-network-wifi)
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(svi)
+BuildRequires: pkgconfig(capi-media-wav-player)
+BuildRequires: pkgconfig(libssl)
+BuildRequires: pkgconfig(libcurl)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-info)
+%if %{with x}
+BuildRequires: pkgconfig(ecore-x)
+%endif
+%if %{with wayland}
+BuildRequires: pkgconfig(ecore-wayland)
+%endif
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(libtzplatform-config)
+BuildRequires: pkgconfig(neardal)
+BuildRequires: python
+BuildRequires: python-xml
+BuildRequires: gettext-tools
+%ifarch %arm
+BuildRequires: pkgconfig(wifi-direct)
+%global ARM_DEF "-DARM_TARGET=Y"
+%endif
+
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/vconftool
+Requires(postun): /sbin/ldconfig
+Requires: nfc-client-lib-neard = %{version}
+
+
+%description
+Tizen NFC framework manager.
+
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+
+%package -n nfc-common-neard-devel
+Summary: NFC common library (devel)
+Group: Network & Connectivity/Development
+
+
+%description -n nfc-common-neard-devel
+NFC manager common header for internal development.
+
+
+%package -n nfc-client-lib-neard
+Summary: NFC client library
+Group: Network & Connectivity/NFC
+
+
+%description -n nfc-client-lib-neard
+NFC manager Client library for NFC client applications.
+
+
+%package -n nfc-client-lib-neard-devel
+Summary: NFC client library (devel)
+Group: Network & Connectivity/Development
+Requires: nfc-client-lib-neard = %{version}
+
+
+%description -n nfc-client-lib-neard-devel
+NFC manager Client library for developing NFC client applications.
+
+
+
+#%%package -n nfc-client-test
+#Summary: NFC client test
+#Group: Network & Connectivity/NFC
+#Requires: %%{name} = %%{version}
+
+
+#%%description -n nfc-client-test
+#NFC client test (devel)
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DMAJORVER=${MAJORVER} -DFULLVER=%{version} %{?ARM_DEF} \
+%if %{with wayland}
+-DWAYLAND_SUPPORT=On \
+%else
+-DWAYLAND_SUPPORT=Off \
+%endif
+%if %{with x}
+-DX11_SUPPORT=On
+%else
+-DX11_SUPPORT=Off
+%endif
+
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
+cp -af %{SOURCE1} %{buildroot}%{_libdir}/systemd/system/
+ln -s ../%{name}.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/%{name}.service
+
+%post
+/sbin/ldconfig
+
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ systemctl restart %{name}.service
+fi
+
+
+%post -n nfc-client-lib-neard
+/sbin/ldconfig
+USER_GROUP_ID=$(getent group %{TZ_SYS_USER_GROUP} | cut -d: -f3)
+vconftool set -t bool db/nfc/feature 0 -g $USER_GROUP_ID -f
+vconftool set -t bool db/nfc/predefined_item_state 0 -g $USER_GROUP_ID -f
+vconftool set -t string db/nfc/predefined_item "None" -g $USER_GROUP_ID -f
+vconftool set -t bool db/nfc/enable 0 -g $USER_GROUP_ID -f
+vconftool set -t int db/nfc/se_type 0 -g $USER_GROUP_ID -f
+
+%postun
+/sbin/ldconfig
+if [ $1 == 0 ]; then
+ systemctl stop %{name}.service
+fi
+systemctl daemon-reload
+
+
+%postun -n nfc-client-lib-neard -p /sbin/ldconfig
+
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_bindir}/nfc-manager-daemon
+#%%{_bindir}/ndef-tool
+%{_libdir}/systemd/system/%{name}.service
+%{_libdir}/systemd/system/multi-user.target.wants/%{name}.service
+%{_datadir}/dbus-1/system-services/org.tizen.NetNfcService.service
+%{_datadir}/packages/nfc-manager.xml
+%{_datadir}/nfc-manager-daemon/sounds/*
+%license LICENSE.Flora
+
+
+%files -n nfc-client-lib-neard
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libnfc.so.*
+%license LICENSE.Flora
+
+
+%files -n nfc-client-lib-neard-devel
+%defattr(-,root,root,-)
+%{_libdir}/libnfc.so
+%{_libdir}/pkgconfig/nfc.pc
+%{_includedir}/nfc/*.h
+
+
+%files -n nfc-common-neard-devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/nfc-common.pc
+%{_includedir}/nfc-common/*.h
+
+
+#%%files -n nfc-client-test
+#%%manifest nfc-client-test.manifest
+#%%defattr(-,root,root,-)
+#%%{_bindir}/nfc_client
+#%%license LICENSE.Flora
+%bcond_with x
+%bcond_with neard_nfc
+
Name: capi-network-nfc
Summary: NFC Core API
Version: 0.1.5
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0)
+%if %{with neard_nfc}
+BuildRequires: nfc-client-lib-neard-devel
+BuildRequires: nfc-common-neard-devel
+%else
BuildRequires: nfc-client-lib-devel
BuildRequires: nfc-common-devel
+%endif
BuildRequires: pkgconfig(capi-base-common)
BuildRequires: pkgconfig(vconf)
+%if %{with x}
BuildRequires: pkgconfig(ecore-x)
+%endif
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%build
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
-%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
+%if %{with x}
+ -DX11_SUPPORT=On
+%else
+ -DX11_SUPPORT=Off
+%endif
make %{?jobs:-j%jobs}
--- /dev/null
+Summary: GENIVI Node Startup Controller
+Name: node-startup-controller
+Version: 1.0.2
+Release: 1
+License: MPL-2.0
+Group: Automotive/GENIVI
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: gtk-doc
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libsystemd-daemon)
+BuildRequires: pkgconfig(automotive-dlt)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: python-xml
+
+%description
+The Node Startup Controller (NSC) is a system lifecycle package for GENIVI
+to handle some startup and shutdown functionality.
+
+%package dummy
+Summary: GENIVI Node Startup Controller
+Requires: %{name} = %{version}-%{release}
+
+%description dummy
+Dummy Node Startup Controller instance
+
+%prep
+%setup -q
+
+%build
+
+(test -d m4 || mkdir m4) && autoreconf -ivf
+
+./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-debug=no \
+ --enable-gtk-doc=no \
+ GDBUS_CODEGEN=`which gdbus-codegen`
+
+%ifarch %{arm}
+make ARCH=arm
+%else
+make ARCH=i586
+%endif
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root,-)
+%config %{_sysconfdir}/dbus-1/system.d/org.genivi.NodeStartupController1.conf
+%{_libdir}/node-startup-controller-1/legacy-app-handler
+%{_libdir}/node-startup-controller-1/node-startup-controller
+%{_libdir}/systemd/system/node-startup-controller.service
+%{_datadir}/dbus-1/system-services/org.genivi.NodeStartupController1.service
+
+%files dummy
+%defattr(-,root,root,-)
+%{_libdir}/node-startup-controller-1/nsm-dummy
+%{_libdir}/systemd/system/nsm-dummy.service
+%config %{_sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf
+%{_datadir}/dbus-1/system-services/org.genivi.NodeStateManager.Consumer.service
+%{_datadir}/dbus-1/system-services/org.genivi.NodeStateManager.LifecycleControl.service
--- /dev/null
+Name: phoned
+Summary: OFono/Obex business logic for phone web APIs
+Version: 0.0.0
+Release: 1
+Group: Automotive/Modello
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: gettext-devel
+BuildRequires: pkgconfig(libebook-contacts-1.2)
+BuildRequires: pkgconfig(expat)
+BuildRequires: pkgconfig(json-glib-1.0)
+BuildRequires: pkgconfig(dbus-1)
+
+%description
+A service to export OFono/Obex functionality over DBUS, to be used by WebRuntime plugin
+
+%prep
+%setup -q
+
+%build
+
+%define PREFIX "%{_libdir}/wrt-plugins"
+
+export LDFLAGS+="-Wl,--rpath=%{PREFIX} -Wl,--as-needed"
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DENABLE_TIME_TRACER="OFF"
+
+make %{?jobs:-j%jobs} VERBOSE=1
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%{_libdir}/pkgconfig/phoned.pc
+%{_prefix}/sbin/phoned
+%{_prefix}/share/dbus-1/services/org.tizen.phone.service
+%{_prefix}/lib/systemd/user/phoned.service
+
--- /dev/null
+Summary: Pulseaudio module for enforcing policy decisions in the audio domain
+Name: pulseaudio-module-murphy-ivi
+Version: 0.9.27
+Release: 0
+License: LGPLv2.1
+Group: System Environment/Daemons
+URL: https://github.com/otcshare/pulseaudio-module-murphy-ivi
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: pkgconfig(pulseaudio-module-devel)
+BuildRequires: pkgconfig(libpulse)
+BuildRequires: pkgconfig(murphy-common)
+Buildrequires: pkgconfig(json)
+BuildRequires: pkgconfig(murphy-lua-utils)
+BuildRequires: pkgconfig(lua)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: libtool-ltdl-devel
+Buildrequires: pkgconfig(json)
+BuildRequires: config(pulseaudio)
+BuildRequires: pkgconfig(murphy-pulse)
+BuildRequires: murphy-pulse
+BuildRequires: pkgconfig(aul)
+Requires: pulseaudio
+Requires: aul
+Conflicts: pulseaudio-module-combine-sink
+Conflicts: pulseaudio-module-augment-properties
+
+
+%description
+This package contains a pulseaudio module that enforces (mostly audio) routing,
+corking and muting policy decisions.
+
+%prep
+%setup -q
+
+%build
+PAVER="`/usr/bin/pkg-config --silence-errors --modversion libpulse | \
+tr -d \\n | sed -e 's/\([0123456789.]\+\).*/\1/'`"
+./bootstrap.sh
+
+unset LD_AS_NEEDED
+%configure --disable-static \
+--with-module-dir=%{_libdir}/pulse-$PAVER/modules \
+--with-dbus \
+--with-documentation=no \
+--with-murphyif
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+rm -f %{_libdir}/pulse-*/modules/module-*.la
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/pulse-*/modules/module-*.so
+%{_sysconfdir}/dbus-1/system.d/pulseaudio-murphy-ivi.conf
+%{_sysconfdir}/pulse/murphy-ivi.lua
--- /dev/null
+#
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22
+#
+# >> macros
+# << macros
+
+Name: rygel
+Summary: GNOME UPnP/DLNA Media Server
+Version: 0_22_0
+Release: 0
+Group: Applications/Multimedia
+License: LGPL-2.0+
+URL: http://live.gnome.org/Rygel
+Source0: http://download.gnome.org/sources/rygel/0.22/%{name}-%{version}.tar.xz
+Requires(post): /bin/touch
+BuildRequires: vala >= 0.22.0
+BuildRequires: gnome-common
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(gupnp-1.0)
+BuildRequires: pkgconfig(gupnp-av-1.0)
+BuildRequires: pkgconfig(gupnp-dlna-2.0)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(gstreamer-1.0)
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
+BuildRequires: pkgconfig(gee-0.8)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(uuid)
+BuildRequires: intltool
+BuildRequires: libxslt-tools
+BuildRequires: docbook-xsl-stylesheets
+
+%description
+Rygel is a collection of DLNA (UPnP AV) devices, implemented through a plug-in mechanism.
+
+
+%package devel
+Summary: Development files for Rygel
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the libraries and files necessary for
+developing software on top of Rygel.
+
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+NOCONFIGURE=y ./autogen.sh
+%configure --disable-static \
+ --disable-external-plugin \
+ --disable-mpris-plugin \
+ --disable-mediathek-plugin \
+ --disable-tracker-plugin \
+ --disable-gst-launch-plugin \
+ --disable-example-plugins \
+ --disable-tests \
+ --enable-valadoc=no
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+# << install post
+%find_lang rygel
+
+# Systemd service file
+install -D -m 644 examples/service/systemd/rygel.service.tizen %{buildroot}%{_unitdir}/rygel.service
+# %install_service network.target.wants rygel.service
+rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
+
+%post
+/sbin/ldconfig
+/bin/touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache \
+ --quiet %{_datadir}/icons/hicolor 2> /dev/null|| :
+# systemctl daemon-reload
+# systemctl restart rygel.service
+
+%preun
+systemctl stop rygel.service
+
+
+%postun
+/sbin/ldconfig
+/bin/touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache \
+ --quiet %{_datadir}/icons/hicolor 2> /dev/null|| :
+systemctl daemon-reload
+
+%files -f rygel.lang
+%defattr(-,root,root,-)
+# >> files
+%config /etc/rygel.conf
+%{_unitdir}/rygel.service
+%{_unitdir}/network.target.wants/rygel.service
+%{_bindir}/rygel
+%{_datadir}/dbus-1/services/org.gnome.Rygel1.service
+%{_datadir}/icons/hicolor/128x128/apps/rygel.png
+%{_datadir}/icons/hicolor/48x48/apps/rygel.png
+%{_datadir}/icons/hicolor/32x32/apps/rygel.png
+%{_datadir}/icons/hicolor/scalable/apps/rygel-full.svg
+%{_datadir}/icons/hicolor/scalable/apps/rygel.svg
+%{_datadir}/rygel/icons/120x120/rygel.jpg
+%{_datadir}/rygel/icons/120x120/rygel.png
+%{_datadir}/rygel/icons/48x48/rygel.jpg
+%{_datadir}/rygel/icons/48x48/rygel.png
+%{_datadir}/rygel/presets/GstFaac.prs
+%{_datadir}/rygel/presets/GstLameMP3Enc.prs
+%{_datadir}/rygel/presets/GstMP4Mux.prs
+%{_datadir}/rygel/presets/GstTwoLame.prs
+%{_datadir}/rygel/presets/GstX264Enc.prs
+%{_datadir}/rygel/presets/avenc_aac.prs
+%{_datadir}/rygel/presets/avenc_mp2.prs
+%{_datadir}/rygel/presets/avenc_mpeg2video.prs
+%{_datadir}/rygel/presets/avenc_wmav1.prs
+%{_datadir}/rygel/presets/avenc_wmv1.prs
+%{_datadir}/rygel/xml/ContentDirectory-NoTrack.xml
+%{_datadir}/rygel/xml/AVTransport2.xml
+%{_datadir}/rygel/xml/BasicManagement2.xml
+%{_datadir}/rygel/xml/ConnectionManager.xml
+%{_datadir}/rygel/xml/ContentDirectory.xml
+%{_datadir}/rygel/xml/MediaRenderer2.xml
+%{_datadir}/rygel/xml/MediaServer3.xml
+%{_datadir}/rygel/xml/RenderingControl2.xml
+%{_datadir}/rygel/xml/X_MS_MediaReceiverRegistrar1.xml
+%{_datadir}/man/man1/rygel.1.gz
+%{_datadir}/man/man5/rygel.conf.5.gz
+# Rygel core libs
+%{_libdir}/librygel-*.so.*
+# Rygel plugins
+%{_libdir}/rygel-2.2/plugins/*.so
+%{_libdir}/rygel-2.2/plugins/*.plugin
+# Rygel MediaEngines
+%{_libdir}/rygel-2.2/engines/*.so
+%{_libdir}/rygel-2.2/engines/*.plugin
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+%{_includedir}/rygel-2.2/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/rygel-*-2.2.pc
+%{_datadir}/vala/vapi/rygel-*-2.2.deps
+%{_datadir}/vala/vapi/rygel-*-2.2.vapi
+# << files devel
+
Name: security-server
Summary: Security server and utilities
-Version: 0.0.120
+Version: 0.1.1
Release: 1
Group: Security/Service
License: Apache-2.0
--- /dev/null
+Name: sphinxbase
+Version: 0.7
+Release: 1
+Group: System/Libraries
+License: BSD
+URL: http://www.pocketsphinx.org/
+Summary: Speech Recognition Engine
+Source: http://sourceforge.net/projects/cmusphinx/files/%{name}/%{version}/%{name}-%{version}.tar.gz
+BuildRequires: bison
+BuildRequires: pkgconfig(python)
+BuildRequires: python-setuptools
+
+%description
+Sphinxbase is a common library for CMU Sphinx voice recognition products.
+This package does not provide voice recognition by itself.
+
+%package devel
+Summary: Header and other development files for sphinxbase
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+
+%description devel
+Header files and other development files for sphinxbase.
+
+%package libs
+Summary: Libraries for sphinxbase
+Group: Development/Libraries
+
+%description libs
+The libraries for sphinxbase.
+
+%package python
+Summary: Python interface to sphinxbase
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+
+%description python
+Python interface to sphinxbase.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static --disable-rpath
+
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{python_sitearch}
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+# Install the man pages
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_mandir}/man1/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/sphinxbase
+%{_libdir}/libsphinxad.so
+%{_libdir}/libsphinxbase.so
+%{_libdir}/pkgconfig/sphinxbase.pc
+
+%files libs
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README
+%{_libdir}/libsphinxad.so.*
+%{_libdir}/libsphinxbase.so.*
+
+%files python
+%defattr(-,root,root,-)
+%{python_sitearch}/*
+%changelog
%define _audiosystem_demo_package tizen-extensions-crosswalk-audiosystem-demo
Name: tizen-extensions-crosswalk
-Version: 0.79
+Version: 0.84
Release: 0
License: BSD-3-Clause and Apache-2.0
Group: Development/Libraries
BuildRequires: pkgconfig(capi-appfw-package-manager)
BuildRequires: pkgconfig(capi-network-bluetooth)
BuildRequires: pkgconfig(capi-network-connection)
+BuildRequires: pkgconfig(capi-network-nfc)
BuildRequires: pkgconfig(capi-system-device)
BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(capi-system-power)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
-BuildRequires: pkgconfig(tapi)
-BuildRequires: pkgconfig(libudev)
+BuildRequires: pkgconfig(libgsignon-glib)
BuildRequires: pkgconfig(libpulse) >= 5.0
+BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(message-port)
BuildRequires: pkgconfig(notification)
BuildRequires: pkgconfig(pkgmgr)
BuildRequires: pkgconfig(pkgmgr-info)
BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(tapi)
BuildRequires: pkgconfig(vconf)
%if %{with wayland}
BuildRequires: pkgconfig(wayland-client)
--- /dev/null
+%define udev_libdir /usr/lib/udev
+
+Summary: Tizen IVI udev Rules
+Name: udev-rules
+Version: 0.12
+Release: 1
+License: GPL-2.0
+Group: Automotive/Hardware Adaptation
+BuildArch: noarch
+Source0: %{name}-%{version}.tar.bz2
+
+%description
+This package includes some profile specific udev rules, which express
+some of handles/actions for Tizen-related udev events.
+
+%package ivi
+Summary: IVI udev rules
+
+%description ivi
+This package installs udev rules that are specific to IVI profile
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+%install
+rm -rf %{buildroot}
+make -C ivi install DESTDIR=%{buildroot}
+
+%clean
+rm -rf %{buildroot}
+
+%files ivi
+%defattr(0644, root, root, 0755)
+%attr(0644,root,root) %{udev_libdir}/rules.d/99-atkbd.rules
+%attr(0644,root,root) %{udev_libdir}/rules.d/99-neard.rules
+%attr(0644,root,root) %{udev_libdir}/rules.d/99-tty.rules
+%attr(0644,root,root) %{udev_libdir}/rules.d/70-tun.rules
Name: capi-media-wav-player
Summary: A wav player library in Tizen C API
-Version: 0.1.0
-Release: 16
+Version: 0.1.0
+Release: 0
Group: Multimedia/API
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
-Source1001: capi-media-wav-player.manifest
+Source1001: capi-media-wav-player.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(mm-sound)
BuildRequires: pkgconfig(dlog)
%description
A wav player library in Tizen C API.
-
%package devel
Summary: A wav player library in Tizen C API (Development)
Group: Development/Multimedia
%description devel
%devel_desc
-
-
%prep
%setup -q
cp %{SOURCE1001} .
-
%build
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
-
-make %{?jobs:-j%jobs}
+%__make %{?jobs:-j%jobs}
%install
%make_install
%postun -p /sbin/ldconfig
-
%files
%manifest %{name}.manifest
%license LICENSE.APLv2
%{_libdir}/libcapi-media-wav-player.so.*
-%manifest capi-media-wav-player.manifest
%files devel
%manifest %{name}.manifest
--- /dev/null
+Name: genivi-shell
+Version: 0.2.2
+Release: 0
+Summary: GENIVI Shell Plugin-in
+License: Apache-2.0
+Group: Graphics & UI Framework/Wayland Window System
+Url: http://git.projects.genivi.org/wayland-ivi-extension.git
+Source0: %name-%version.tar.gz
+Source1001: genivi-shell.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(wayland-client)
+BuildRequires: pkgconfig(wayland-egl)
+BuildRequires: pkgconfig(wayland-server)
+BuildRequires: pkgconfig(cairo)
+BuildRequires: pkgconfig(libffi)
+BuildRequires: pkgconfig(weston) >= 1.5
+BuildRequires: pkgconfig(xkbcommon)
+
+%description
+This package provides a weston plugin implementing the GENIVI layer
+manager client interface.
+
+%package devel
+Summary: Development files for package %{name}
+Group: Graphics & UI Framework/Development
+Requires: %{name} = %{version}
+%description devel
+This package provides header files and other developer files needed for
+creating GENIVI layer manager clients.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+/usr/bin/wayland-scanner code < protocol/ivi-controller.xml \
+ > protocol/ivi-controller-protocol.c
+
+
+%cmake .
+
+%build
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+install -d %{buildroot}/%{_datadir}/%{name}/protocol/
+
+install -m 644 protocol/ivi-application.xml %{buildroot}/%{_datadir}/%{name}/protocol/
+install -m 644 protocol/ivi-controller.xml %{buildroot}/%{_datadir}/%{name}/protocol/
+
+install -m 644 protocol/ivi-application-server-protocol.h \
+ %{buildroot}/%{_datadir}/%{name}/protocol/
+
+install -m 644 protocol/ivi-application-protocol.c \
+ %{buildroot}/%{_datadir}/%{name}/protocol/
+
+install -m 644 protocol/ivi-controller-server-protocol.h \
+ %{buildroot}/%{_datadir}/%{name}/protocol/
+
+install -m 644 protocol/ivi-controller-protocol.c \
+ %{buildroot}/%{_datadir}/%{name}/protocol/
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%{_bindir}/LayerManagerControl
+%{_bindir}/EGLWLMockNavigation
+%{_libdir}/libilmClient.so.*
+%{_libdir}/libilmCommon.so.*
+%{_libdir}/libilmControl.so.*
+%{_libdir}/weston/ivi-controller.so
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/ilm/ilm_client.h
+%{_includedir}/ilm/ilm_common.h
+%{_includedir}/ilm/ilm_control.h
+%{_includedir}/ilm/ilm_platform.h
+%{_includedir}/ilm/ilm_types.h
+%{_libdir}/libilmClient.so
+%{_libdir}/libilmCommon.so
+%{_libdir}/libilmControl.so
+%{_datadir}/%{name}/protocol/*.xml
+%{_datadir}/%{name}/protocol/*.h
+%{_datadir}/%{name}/protocol/*.c
+
+
--- /dev/null
+Name: weston-ivi-shell
+Version: 0.1.5
+Release: 0
+Summary: Weston IVI Shell
+License: MIT
+Group: Graphics & UI Framework/Wayland Window System
+Url: https://github.com/ntanibata/weston-ivi-shell/
+Source0: %name-%version.tar.xz
+Source1: weston.ini
+Source1001: weston-ivi-shell.manifest
+BuildRequires: autoconf >= 2.64, automake >= 1.11
+BuildRequires: libtool >= 2.2
+BuildRequires: libjpeg-devel
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(weston) >= 1.5
+BuildRequires: pkgconfig(cairo-egl) >= 1.11.3
+BuildRequires: pkgconfig(egl) >= 7.10
+BuildRequires: pkgconfig(mtdev) >= 1.1.0
+BuildRequires: pkgconfig(pixman-1)
+BuildRequires: pkgconfig(wayland-client)
+BuildRequires: pkgconfig(wayland-egl)
+BuildRequires: pkgconfig(wayland-server)
+BuildRequires: pkgconfig(xkbcommon) >= 0.3.0
+BuildRequires: pkgconfig(pangocairo) >= 1.34.0
+Requires: weston >= 1.5
+
+%description
+A reference Weston shell designed for use in IVI systems.
+
+%package devel
+Summary: Development files for package %{name}
+Group: Graphics & UI Framework/Development
+Requires: %{name} = %{version}-%{release}
+%description devel
+This package provides header files and other developer releated files
+for package %{name}.
+
+%package config
+Summary: Tizen IVI Weston configuration for package %{name}
+Group: Automotive/Configuration
+Requires: weston-clients
+Requires: weekeyboard
+Requires: genivi-shell
+Conflicts: weston-ivi-config
+Conflicts: ico-uxf-weston-plugin
+%description config
+This package contains Tizen IVI-specific configuration for %{name}.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+# We only care about the ivi-shell related bits so disable anything
+# unrelated.
+%autogen \
+ --disable-static \
+ --disable-egl \
+ --disable-libunwind \
+ --disable-xwayland \
+ --disable-xwayland-test \
+ --disable-drm-compositor \
+ --disable-x11-compositor \
+ --disable-rpi-compositor \
+ --disable-fbdev-compositor \
+ --disable-wayland-compositor \
+ --disable-headless-compositor \
+ --disable-weston-launch \
+ --enable-clients \
+ --disable-wcap-tools \
+ --disable-demo-clients-install \
+ --disable-libinput-backend \
+ --disable-fullscreen-shell
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+install -d %{buildroot}/%{_datadir}/%{name}/protocol/
+
+install -m 644 protocol/*.xml \
+ %{buildroot}/%{_datadir}/%{name}/protocol/
+
+install -m 644 protocol/*.h \
+ %{buildroot}/%{_datadir}/%{name}/protocol/
+
+install -m 644 protocol/*.c \
+ %{buildroot}/%{_datadir}/%{name}/protocol/
+
+%define weston_config_dir %{_sysconfdir}/xdg/weston
+mkdir -p %{buildroot}%{weston_config_dir}
+install -m 0644 %{SOURCE1} %{buildroot}%{weston_config_dir}
+install -d %{buildroot}/%{_datadir}/weston/
+cp -rfva data/* %{buildroot}/%{_datadir}/weston/
+
+%define _unpackaged_files_terminate_build 0
+
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%license COPYING
+%_libdir/weston
+%_libexecdir/weston-ivi-shell-user-interface
+%_datadir/weston/*
+
+
+%files devel
+%manifest %{name}.manifest
+%_includedir/weston/ivi-layout-export.h
+%_includedir/weston/ivi-layout.h
+%_includedir/weston/ivi-shell.h
+%_includedir/weston/ivi-layout-transition.h
+%{_datadir}/%{name}/protocol/*
+
+
+%files config
+%manifest %{name}.manifest
+%config %{weston_config_dir}/weston.ini
+
Summary: Tizen IVI Weston configuration
Group: Automotive/Configuration
Requires: weekeyboard
+Conflicts: ico-uxf-weston-plugin
%description config
This package contains Tizen IVI-specific configuration for the Weston
compositor.
'''
return self.__get_value( projet, "arch", None )
- def get_project_buildtarget(self, projet):
+ def get_manifest_buildtarget(self, meta_manifest):
'''
return the default buildtarget of the project.
'''
- return self.__get_value( projet, "buildtarget", None )
+ return self.__get_value( meta_manifest, "buildtarget", None )
def get_working_dir( self, projet ):
'''
for tmp_res in pkgconfig_name_res:
provides_list.append( "pkgconfig(%s)" % tmp_res )
- MetaSpec.mProvidesDico[self.__package_name] = provides_list
+ if self.__package_name not in MetaSpec.mProvidesDico.keys():
+ MetaSpec.mProvidesDico[self.__package_name] = []
+
+ MetaSpec.mProvidesDico[self.__package_name].extend( provides_list )
def set_mextra_provided_dico( self ):
'''
if (len(manifest_list) == 1) :
file_d.write( "MANIFESTFILES_%s = \"%s\"\n" % ( pkg_yocto_name_short, manifest_list[0] ) )
elif (len(manifest_list) > 1) :
- msg="ERROR Too many manifest for %s" % pkg_yocto_name_short
+ msg="ERROR Too many manifest for \"%s\" " % self.__package_name
print >> sys.stderr, colorize( msg, "red" )
if len(dir_list)>0:
if len( self.__provides_dico[k_provide] ) > 0:
file_d.write( "#PROVIDES by %s\n" % pkg_yocto_name.replace(" ","") )
+ if pkg_yocto_name != self.__package_name:
+ file_d.write( "PROVIDES += \"%s\"\n" % ( pkg_yocto_name ) )
+
+
for p_provide in self.__provides_dico[k_provide]:
pkg = p_provide[0]
file_d.write( "\n" )
-def parse_manifest_xml( src ):
- primaryFile = open( src, "r" )
- primaryXML = primaryFile.read()
- primaryFile.close()
-
- aElement = ElementTree.fromstring( primaryXML )
- remote = ""
- packages_dico = {}
- for value in aElement:
- for project in value.getiterator():
- if project.tag == "project":
- name = project.attrib['name']
- c_name = clean_name( project.attrib['name'] )
- revision = clean_revision( project.attrib['revision'] )
- packages_dico[c_name] = [name, revision]
- elif project.tag == "default":
- remote = project.attrib['remote']
- elif project.tag == "remote":
- fetch = project.attrib['fetch']
- name = project.attrib['name']
- review = project.attrib['review']
- else:
- print "ERROR"
-
- return remote, packages_dico
-
class HTTPAccessFailure( Exception ):
'''Indicate the http access failed'''
return buildtarget_list
def clean_name( raw_name ):
- if "_" in raw_name:
- raw_name = raw_name.replace( "_", "-" )
+ #if "_" in raw_name:
+ # raw_name = raw_name.replace( "_", "-" )
if "/" in raw_name:
return raw_name.split( "/" )[-1]
def __generate_package( self ):
for meta_manifest in self.__my_manifest_file_list.keys():
manifest_uri = self.__my_manifest_file_list[meta_manifest]
+
manifest_git = SPEC2YOCTO_CONFIG.get_manifest_default_git_src( meta_manifest )
manifest_priority = SPEC2YOCTO_CONFIG.get_manifest_priority( meta_manifest )
remote, packages_dico = self.parse_manifest_xml( manifest_uri )
list_packages = set(packages_dico.keys())
blacklist = set(SPEC2YOCTO_CONFIG.get_list(self.__my_project, "blacklist"))
-
list_packages=list_packages.difference(blacklist)
-
for package in list_packages:
if package in packages_dico.keys():
[path, revision] = packages_dico[package]
-
if package in self.__my_package_dico.keys():
if manifest_priority > self.__my_package_dico[package].priority:
self.__my_package_dico[package] = package_def( self.__my_project,
list_buildtarget = get_project_buildtarget(xml_str)
arch = SPEC2YOCTO_CONFIG.get_project_arch( self.__my_project )
- buildtarget = SPEC2YOCTO_CONFIG.get_project_buildtarget(self.__my_project)
+ buildtarget = SPEC2YOCTO_CONFIG.get_manifest_buildtarget(meta_manifest)
if ( arch == "i586" ) and ( "ia32" in list_arch ):
arch = "ia32"