update spec file
authorRonan Le Martret <ronan@fridu.net>
Tue, 23 Sep 2014 15:10:00 +0000 (17:10 +0200)
committerRonan Le Martret <ronan@fridu.net>
Tue, 23 Sep 2014 15:10:00 +0000 (17:10 +0200)
Change-Id: I2a56158468a74fb4aafd543dc488b406fb5ee666
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
13 files changed:
proto-meta-Tizen_generic/specfile-initial/Modello_AMBSimulator/packaging/modello-ambsimulator.spec
proto-meta-Tizen_generic/specfile-initial/Modello_Common/packaging/modello-common.spec
proto-meta-Tizen_generic/specfile-initial/automotive-message-broker/packaging/automotive-message-broker.spec
proto-meta-Tizen_generic/specfile-initial/common-api-dbus-runtime/packaging/CommonAPI-DBus.spec [new file with mode: 0755]
proto-meta-Tizen_generic/specfile-initial/common-api-runtime/packaging/CommonAPI.spec [new file with mode: 0755]
proto-meta-Tizen_generic/specfile-initial/download-provider/packaging/download-provider.spec
proto-meta-Tizen_generic/specfile-initial/ecryptfs-utils/packaging/ecryptfs-utils.spec
proto-meta-Tizen_generic/specfile-initial/efl/packaging/efl.spec
proto-meta-Tizen_generic/specfile-initial/genivi-audio-manager/packaging/genivi-audio-manager.spec
proto-meta-Tizen_generic/specfile-initial/libgsasl/packaging/libgsasl.spec
proto-meta-Tizen_generic/specfile-initial/libhangul/packaging/libhangul.spec
proto-meta-Tizen_generic/specfile-initial/pulseaudio-module-murphy-ivi/packaging/pulseaudio-module-murphy-ivi.spec
proto-meta-Tizen_generic/specfile-initial/system-server/packaging/system-server.spec

index 45a4a01..883c732 100644 (file)
@@ -1,29 +1,38 @@
 Name:       Modello_AMBSimulator
-Summary:    A proof of concept pure html5 UI
+Summary:    Pure html5 UI
 Version:    0.0.2
-Release:    1
-Group:      Applications/System
-License:    Apache 2.0
+Release:    0
+Group:      Automotive/Modello
+License:    Apache-2.0
 URL:        http://www.tizen.org
 Source0:    %{name}-%{version}.tar.bz2
+Source1001: Modello_AMBSimulator.manifest
+
 BuildRequires:  zip
-Requires:   Modello_Common
+Requires:       Modello_Common
+BuildRequires:  pkgconfig(libtzplatform-config)
+
+BuildArchitectures: noarch
 
 %description
 A proof of concept pure html5 UI
 
 %prep
 %setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
 
 %build
-
-make wgtPkg
+#empty
 
 %install
 rm -rf %{buildroot}
-%make_install
+mkdir -p %{buildroot}%{TZ_SYS_APP_PREINSTALL}
+mkdir -p %{buildroot}%{_datadir}/Modello/Common/icons
+zip -r %{buildroot}%{TZ_SYS_APP_PREINSTALL}/%{name}.wgt config.xml manifest.json css AMBSimulator_icon.png  index.html  js templates
+install -m 0644 AMBSimulator_icon.png %{buildroot}%{_datadir}/Modello/Common/icons
 
 %files
 %defattr(-,root,root,-)
-/opt/usr/apps/.preinstallWidgets/Modello_AMBSimulator.wgt
-/opt/usr/apps/_common/icons/AMB_Simulator_icon.png
+%manifest %{name}.manifest
+%{TZ_SYS_APP_PREINSTALL}/Modello_AMBSimulator.wgt
+%{_datadir}/Modello/Common/icons/AMBSimulator_icon.png
index 9401bd3..951b7eb 100644 (file)
@@ -1,24 +1,36 @@
 Name:       Modello_Common
-Summary:    A proof of concept pure html5 UI
+Summary:    Pure html5 UI
 Version:    0.0.2
-Release:    1
-Group:      Applications/System
-License:    Apache 2.0
+Release:    0
+Group:      Automotive/Modello
+License:    Apache-2.0
 URL:        http://www.tizen.org
 Source0:    %{name}-%{version}.tar.bz2
+Source1001: Modello_Common.manifest
+
+BuildRequires:  fdupes
+
+BuildArchitectures: noarch
 
 %description
 A proof of concept pure html5 UI
 
 %prep
 %setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
 
 %build
+#empty
 
 %install
-rm -rf %{buildroot}
-%make_install
+mkdir -p %{buildroot}%{_datadir}/Modello/Common/
+cp -r css %{buildroot}%{_datadir}/Modello/Common/
+cp -r js %{buildroot}%{_datadir}/Modello/Common/
+
+%fdupes %{buildroot}%{_datadir}
 
 %files
 %defattr(-,root,root,-)
-/opt/usr/apps/_common/*
+%manifest %{name}.manifest
+%{_datadir}/Modello/Common/js
+%{_datadir}/Modello/Common/css
index 62d1013..dc68150 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:       automotive-message-broker
 Summary:    Automotive Message Broker is a vehicle network abstraction system
-Version:    0.11.900
+Version:    0.11.901
 Release:    0
 Group:      Automotive/Service
 License:    LGPL-2.1
@@ -30,6 +30,7 @@ BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  qt5-qtcore-devel
 BuildRequires:  qt5-qtconcurrent-devel
 BuildRequires:  qt5-qtdbus-devel
+BuildRequires:  qt5-qtdeclarative-devel
 BuildRequires:  qt5-qtnetwork-devel
 BuildRequires:  qt5-plugin-bearer-generic
 BuildRequires:  qt5-plugin-bearer-connman
@@ -179,6 +180,17 @@ Requires:  %{name} = %{version}-%{release}
 %description plugins-cansim
 CAN frames listener plug-in for the AMB CAN Simulator package
 
+%if %{with qt5}
+%package plugins-bluemonkey
+Summary:   javascript plugin engine
+Group:     Automotive/Libraries
+Requires:  %{name} = %{version}-%{release}
+Requires: qt5-qtdeclarative
+
+%description plugins-bluemonkey
+Engine for creating scriptable plugins for AMB
+%endif
+
 %prep
 %setup -q -n %{name}-%{version}
 
@@ -189,6 +201,7 @@ CAN frames listener plug-in for the AMB CAN Simulator package
        -Dopencvlux_plugin=ON \
        -Dwebsocket_plugin=ON \
        -Dbluetooth_plugin=ON \
+       -Dbluemonkey_plugin=ON \
 %endif
        -Ddatabase_plugin=ON \
        -Dmurphy_plugin=ON \
@@ -197,7 +210,8 @@ CAN frames listener plug-in for the AMB CAN Simulator package
        -Dgpsnmea_plugin=ON \
        -Dcangen_plugin=ON \
        -Dcansim_plugin=ON \
-       -Denable_docs=ON
+       -Denable_docs=ON \
+       -Dusebluez5=ON
 
 
 %__make %{?jobs:-j%jobs}
@@ -325,3 +339,11 @@ cp packaging.in/config.tizen %{buildroot}%{_sysconfdir}/ambd/
 %defattr(-,root,root,-)
 %manifest packaging.in/amb.manifest.plugins
 %{_libdir}/%{name}/cansimplugin.so
+
+%if %{with qt5}
+%files plugins-bluemonkey
+%defattr(-,root,root,-)
+%manifest packaging.in/amb.manifest.plugins
+%{_libdir}/%{name}/bluemonkeyplugin.so
+%config %{_sysconfdir}/ambd/bluemonkey
+%endif
diff --git a/proto-meta-Tizen_generic/specfile-initial/common-api-dbus-runtime/packaging/CommonAPI-DBus.spec b/proto-meta-Tizen_generic/specfile-initial/common-api-dbus-runtime/packaging/CommonAPI-DBus.spec
new file mode 100755 (executable)
index 0000000..213500c
--- /dev/null
@@ -0,0 +1,65 @@
+%bcond_with dbus_patch_enabled
+
+Name:       CommonAPI-DBus
+Summary:    GENIVI IPC Common API C++ DBus
+Version:    2.1.6
+Release:    0
+Group:      Automotive/GENIVI
+License:    MPL-2.0
+Source0:    %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(CommonAPI)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+Requires(post):   /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+GENIVI IPC Common API C++ DBus components
+
+%package -n libCommonAPI-DBus
+Summary:    CommonAPI C++ DBus libraries
+
+%description -n libCommonAPI-DBus
+GENIVI IPC CommonAPI C++ DBus libraries
+
+%package devel
+Summary:    CommonAPI C++ DBus devel package
+Requires:   libCommonAPI-DBus = %{version}-%{release}
+
+%description devel
+Files needed to build against CommonAPI.
+
+%prep
+%setup -q
+
+%build
+autoreconf -i
+%configure \
+%if %{with dbus_patch_enabled}
+       CXXFLAGS=-DDBUS_PATCH_ENABLED
+%endif
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -n libCommonAPI-DBus -p /sbin/ldconfig
+
+%postun -n libCommonAPI-DBus -p /sbin/ldconfig
+
+%files -n libCommonAPI-DBus
+%defattr(-,root,root,-)
+%{_libdir}/*so.*
+%license LICENSE
+%license LICENSE_MurmurHash
+%license LICENSE_pugixml
+
+%files devel
+%defattr(-,root,root,-)
+%license LICENSE
+%license LICENSE_pugixml
+%{_includedir}/CommonAPI-2.1/CommonAPI/*
+%{_includedir}/CommonAPI-2.1/pugixml/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
diff --git a/proto-meta-Tizen_generic/specfile-initial/common-api-runtime/packaging/CommonAPI.spec b/proto-meta-Tizen_generic/specfile-initial/common-api-runtime/packaging/CommonAPI.spec
new file mode 100755 (executable)
index 0000000..868fd7d
--- /dev/null
@@ -0,0 +1,52 @@
+Name:       CommonAPI
+Summary:    GENIVI IPC Common API C++ Runtime
+Version:    2.1.6
+Release:    0
+Group:      Automotive/GENIVI
+License:    MPL-2.0
+Source0:    %{name}-%{version}.tar.gz
+Requires(post):   /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+GENIVI IPC Common API C++ Runtime components
+
+%package -n libCommonAPI
+Summary:    CommonAPI C++ Runtime libraries
+
+%description -n libCommonAPI
+GENIVI IPC CommonAPI C++ Runtime libraries
+
+%package devel
+Summary:    CommonAPI C++ Runtime devel package
+Requires:   libCommonAPI = %{version}-%{release}
+
+%description devel
+Files needed to build against CommonAPI.
+
+%prep
+%setup -q
+
+%build
+autoreconf -i
+%configure
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -n libCommonAPI -p /sbin/ldconfig
+
+%postun -n libCommonAPI -p /sbin/ldconfig
+
+%files -n libCommonAPI
+%defattr(-,root,root,-)
+%{_libdir}/*so.*
+%license LICENSE
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/CommonAPI-2.1/CommonAPI/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
index 762d4fe..7178098 100755 (executable)
@@ -1,3 +1,9 @@
+%define _data_install_path %{_datadir}/%{name}
+%define _imagedir          %{_data_install_path}/images
+%define _localedir         %{_datadir}/locale
+%define _sqlschemadir      %{_data_install_path}/sql
+%define _sqlschemafile     %{_sqlschemadir}/download-provider-schema.sql
+
 Name:       download-provider
 Summary:    Download the contents in background
 Version:    1.1.6
@@ -32,6 +38,7 @@ Requires:       sqlite
 Requires:       connman
 Requires:       net-config
 
+
 %description
 Description: download the contents in background
 
@@ -46,46 +53,32 @@ Description: download the contents in background (development files)
 %prep
 %setup -q
 
-%define _data_install_path %{_datadir}/%{name}
-%define _imagedir %{_data_install_path}/images
-%define _localedir %{_data_install_path}/locales
-%define _sqlschemadir %{_data_install_path}/sql
-%define _sqlschemafile %{_sqlschemadir}/download-provider-schema.sql
-
-%define cmake \
-       CFLAGS="${CFLAGS:-%optflags} -fPIC -D_REENTRANT -fvisibility=hidden"; export CFLAGS \
-       FFLAGS="${FFLAGS:-%optflags} -fPIC -fvisibility=hidden"; export FFLAGS \
-       LDFLAGS+=" -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS \
-       %__cmake \\\
-               -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
-               -DBIN_INSTALL_DIR:PATH=%{_bindir} \\\
-               -DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
-               -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
-               -DPKG_NAME=%{name} \\\
-               -DPKG_VERSION=%{version} \\\
-               -DPKG_RELEASE=%{release} \\\
-               -DIMAGE_DIR:PATH=%{_imagedir} \\\
-               -DLOCALE_DIR:PATH=%{_localedir} \\\
-               -DSYSTEMD_DIR:PATH=%{_unitdir} \\\
-               -DDATABASE_SCHEMA_DIR=%{_sqlschemadir} \\\
-               -DDATABASE_SCHEMA_FILE=%{_sqlschemafile} \\\
-               -DSUPPORT_WIFI_DIRECT:BOOL=OFF \\\
-               -DSUPPORT_LOG_MESSAGE:BOOL=ON \\\
-               -DSUPPORT_CHECK_IPC:BOOL=ON \\\
-               %if "%{?_lib}" == "lib64" \
-               %{?_cmake_lib_suffix64} \\\
-               %endif \
-               %{?_cmake_skip_rpath} \\\
-               -DBUILD_SHARED_LIBS:BOOL=ON
-
 %build
 %if 0%{?tizen_build_binary_release_type_eng}
-export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
-export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
-export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
+export CFLAGS="${CFLAGS} -DTIZEN_ENGINEER_MODE"
+export CXXFLAGS="${CXXFLAGS} -DTIZEN_ENGINEER_MODE"
+export FFLAGS="${FFLAGS} -DTIZEN_ENGINEER_MODE"
 %endif
-%cmake .
-make %{?jobs:-j%jobs}
+
+CFLAGS="${CFLAGS:-%optflags} -fPIC -D_REENTRANT -fvisibility=hidden"; export CFLAGS
+FFLAGS="${FFLAGS:-%optflags} -fPIC -fvisibility=hidden"; export FFLAGS
+LDFLAGS="${LDFLAGS} -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS
+
+%cmake . \
+         -DBIN_INSTALL_DIR:PATH=%{_bindir} \
+         -DPKG_NAME=%{name} \
+         -DPKG_VERSION=%{version} \
+         -DPKG_RELEASE=%{release} \
+         -DIMAGE_DIR:PATH=%{_imagedir} \
+         -DLOCALE_DIR:PATH=%{_localedir} \
+         -DSYSTEMD_DIR:PATH=%{_unitdir} \
+         -DDATABASE_SCHEMA_DIR=%{_sqlschemadir} \
+         -DDATABASE_SCHEMA_FILE=%{_sqlschemafile} \
+         -DSUPPORT_WIFI_DIRECT:BOOL=OFF \
+         -DSUPPORT_LOG_MESSAGE:BOOL=ON \
+         -DSUPPORT_CHECK_IPC:BOOL=ON
+
+%__make %{?_smp_mflags}
 
 %install
 %make_install
@@ -94,6 +87,9 @@ mkdir -p %{buildroot}%{_unitdir}/graphical.target.wants
 mkdir -p %{buildroot}%{_unitdir}/sockets.target.wants
 ln -s ../download-provider.service %{buildroot}%{_unitdir}/graphical.target.wants/
 ln -s ../download-provider.socket %{buildroot}%{_unitdir}/sockets.target.wants/
+
+%find_lang %{name}
+
 %fdupes %{buildroot}%{_localedir}
 
 %post
@@ -108,7 +104,8 @@ vconftool set -t int db/setting/default_memory/wap 0
 /sbin/ldconfig
 %systemd_postun %{name}.service
 
-%files
+
+%files -f %{name}.lang
 %defattr(-,root,root,-)
 %manifest %{name}.manifest
 %license LICENSE.APLv2
@@ -122,7 +119,6 @@ vconftool set -t int db/setting/default_memory/wap 0
 %{_unitdir}/download-provider.socket
 %{_unitdir}/sockets.target.wants/download-provider.socket
 %{_sqlschemafile}
-%{_localedir}/*
 
 %files devel
 %defattr(-,root,root,-)
@@ -133,4 +129,3 @@ vconftool set -t int db/setting/default_memory/wap 0
 %{_includedir}/download-provider/download-provider-interface.h
 %{_libdir}/pkgconfig/download-provider.pc
 %{_libdir}/pkgconfig/download-provider-interface.pc
-
index 3d68a5b..160d3d7 100644 (file)
@@ -3,54 +3,55 @@
 %{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 
 Name:    ecryptfs-utils
-Summary: eCryptfs user space utilities
+Summary: ECryptfs utilities
 Version: 104
-Release: 2
+Release: 0
 Group:   System/Libraries
 License: GPL-2.0+
 Source:  %{name}_%{version}.orig.tar.gz
 Source1: %{name}.manifest
 URL:     http://ecryptfs.org
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-Requires: keyutils
-Requires: libecryptfs = %{version}-%{release}
-BuildRequires: intltool
-BuildRequires: python-devel
-BuildRequires: keyutils-devel
-BuildRequires: nss-devel
-BuildRequires: pam-devel
-
+Requires(post):     /sbin/ldconfig
+Requires(postun):   /sbin/ldconfig
+Requires:           keyutils
+Requires:           libecryptfs = %{version}-%{release}
+BuildRequires:      intltool
+BuildRequires:      python-devel
+BuildRequires:      keyutils-devel
+BuildRequires:      nss-devel
+BuildRequires:      pam-devel
+BuildRequires:      pkgconfig(glib-2.0)
+BuildRequires:      fdupes
 
 %description
-%{summary}.
+eCryptfs user space utilities.
 
 
 %package -n libecryptfs
-Summary:    eCryptfs runtime library
+Summary:    ECryptfs library
 Group:      System/Libraries
 
 %description -n libecryptfs
-%{summary}.
+eCryptfs runtime library.
 
 
 %package -n libecryptfs-devel
-Summary:    Development files for %{name}
+Summary:    Devel files for libecryptfs
 Group:      Development/Libraries
 Requires:   libecryptfs = %{version}-%{release}
 Requires:   keyutils-devel
 
 %description -n libecryptfs-devel
-%{summary}.
+Development files for eCryptfs library.
 
 
 %package -n libecryptfs-python
-Summary:    Python bindings for %{name}
+Summary:    Python bindings for libecryptfs
 Group:      Development/Libraries
 Requires:   libecryptfs = %{version}-%{release}
 
 %description -n libecryptfs-python
-%{summary}.
+Python bindings for eCryptfs library.
 
 
 %prep
@@ -59,30 +60,33 @@ cp %{SOURCE1} .
 
 
 %build
-%configure --disable-openssl
-make %{?_smp_mflags}
+%reconfigure --disable-openssl
+%__make %{?_smp_mflags}
 
 
 %install
 rm -rf %{buildroot}
 %make_install
 
+%find_lang %{name}
+
+%fdupes %{buildroot}
 
-%post -p /sbin/ldconfig
 
+%post -n libecryptfs -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -n libecryptfs -p /sbin/ldconfig
 
 
-%files
+%files -f %{name}.lang
 %defattr(-,root,root,-)
 %manifest %{name}.manifest
-%doc AUTHORS COPYING INSTALL NEWS README
+%license COPYING
+%doc AUTHORS NEWS
 %{_bindir}/ecryptfs*
 /sbin/mount.ecryptfs*
 /sbin/umount.ecryptfs*
 /%{_lib}/security/pam_ecryptfs.so
-%{_datadir}/locale/*/LC_MESSAGES/ecryptfs-utils.mo
 %{_mandir}/man1/*ecryptfs*
 %{_mandir}/man7/*ecryptfs*
 %{_mandir}/man8/*ecryptfs*
@@ -108,4 +112,3 @@ rm -rf %{buildroot}
 %defattr(-,root,root,-)
 %{python2_sitelib}/ecryptfs-utils/*
 %{python2_sitearch}/ecryptfs-utils/*
-
index 731506a..f61921a 100644 (file)
@@ -83,6 +83,8 @@ BuildRequires:  pkgconfig(capi-system-sensor)
 BuildRequires:  libmount-devel
 BuildRequires:  pkgconfig(dlog)
 
+BuildRequires:  fdupes
+
 %description
 EFL is a library collection providing various functionality used (not only) by
 Enlightenment, Terminology, Tizen and more.
@@ -103,20 +105,20 @@ Requires: %{name}-data = %{version}-%{release}
 Eina is a data type library.
 
 %package -n eina-examples
-Summary:  Examples for the eina package
+Summary:  Examples for the eina
 Group:    Graphics & UI Framework/Testing
 Requires: eina = %{version}-%{release}
 
 %description -n eina-examples
-Example files for eina
+Example files for the eina
 
 %package -n eina-devel
-Summary:  Development components for the eina package
+Summary:  Development components for the eina
 Group:    Graphics & UI Framework/Development
 Requires: eina = %{version}-%{release}
 
 %description -n eina-devel
-Development files for eina.
+Development files components for the eina
 
 ############ Eet
 %package -n eet
@@ -146,20 +148,20 @@ Provides:  eet-bin
 The eet tools package the eet binary utility.
 
 %package -n eet-examples
-Summary:  Examples for the eet package
+Summary:  Examples for the eet
 Group:    Graphics & UI Framework/Testing
 Requires: eet = %{version}-%{release}
 
 %description -n eet-examples
-Example files for eet
+Example files for the eet
 
 %package -n eet-devel
-Summary:  Development components for the eet package
+Summary:  Development components for the eet
 Group:    Graphics & UI Framework/Development
 Requires: eet = %{version}-%{release}
 
 %description -n eet-devel
-Development files for eet
+Development files components for the eet
 
 ############ Eo
 %package -n eo
@@ -171,20 +173,20 @@ The Eo generic object system. It was designed to be the base object
 system for the EFL.
 
 %package -n eo-examples
-Summary:  Examples for the eo package
+Summary:  Examples for the eo
 Group:    Graphics & UI Framework/Testing
 Requires: eo = %{version}-%{release}
 
 %description -n eo-examples
-Example files for eo
+Example files for the eo
 
 %package -n eo-devel
-Summary:  Development components for the eo package
+Summary:  Development components for the eo
 Group:    Graphics & UI Framework/Development
 Requires: eo = %{version}-%{release}
 
 %description -n eo-devel
-Development files for eo
+Development files components for the eo
 
 ############ Evas
 %package -n evas
@@ -197,20 +199,20 @@ that can draw anti-aliased text, smooth super and sub-sampled scaled
 images, alpha-blend objects much and more.
 
 %package -n evas-examples
-Summary:  Examples for the evas package
+Summary:  Examples for the evas
 Group:    Graphics & UI Framework/Testing
 Requires: evas = %{version}-%{release}
 
 %description -n evas-examples
-Example files for evas
+Example files for the evas
 
 %package -n evas-devel
-Summary:  Development components for the evas package
+Summary:  Development components for the evas
 Group:    Graphics & UI Framework/Development
 Requires: evas = %{version}-%{release}
 
 %description -n evas-devel
-Development files for evas
+Development files components for the evas
 
 ############ Ecore
 %package -n ecore
@@ -223,20 +225,20 @@ Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
 optimized, and convenient.
 
 %package -n ecore-examples
-Summary:  Examples for the ecore package
+Summary:  Examples for the ecore
 Group:    Graphics & UI Framework/Testing
 Requires: ecore = %{version}-%{release}
 
 %description -n ecore-examples
-Example files for ecore
+Example files for the ecore
 
 %package -n ecore-devel
-Summary:  Development components for the ecore package
+Summary:  Development components for the ecore
 Group:    Graphics & UI Framework/Development
 Requires: ecore = %{version}-%{release}
 
 %description -n ecore-devel
-Development files for ecore
+Development files components for the ecore
 
 ############ Eldbus
 %package -n eldbus
@@ -253,20 +255,20 @@ libdbus to end-user. One day libdbus may be completely removed as a
 dependency.
 
 %package -n eldbus-examples
-Summary:  Examples for the eldbus package
+Summary:  Examples for the eldbus
 Group:    Graphics & UI Framework/Testing
 Requires: eldbus = %{version}-%{release}
 
 %description -n eldbus-examples
-Example files for eldbus
+Example files for eldbus files
 
 %package -n eldbus-devel
-Summary:  Development components for the eldbus package
+Summary:  Development components for the eldbus
 Group:    Graphics & UI Framework/Development
 Requires: eldbus = %{version}-%{release}
 
 %description -n eldbus-devel
-Development files for eldbus
+Development files components for the eldbus
 
 ############ Embryo
 %package -n embryo
@@ -284,7 +286,7 @@ Group:    Graphics & UI Framework/Development
 Requires: embryo = %{version}-%{release}
 
 %description -n embryo-devel
-Development files for embryo
+Development components for the embryo package files
 
 ############ Eio
 %package -n eio
@@ -292,23 +294,23 @@ Summary: Enlightenment Input/Output Library
 Requires: %{name}-data = %{version}-%{release}
 
 %description -n eio
-Enlightenment Input/Output Library
+Enlightenment Input/Output Library files
 
 %package -n eio-examples
-Summary:  Examples for the eio package
+Summary:  Examples for the eio
 Group:    Graphics & UI Framework/Testing
 Requires: eio = %{version}-%{release}
 
 %description -n eio-examples
-Example files for eio
+Example files for the eio
 
 %package -n eio-devel
-Summary:  Development components for the eio package
+Summary:  Development components for the eio
 Group:    Graphics & UI Framework/Development
 Requires: eio = %{version}-%{release}
 
 %description -n eio-devel
-Development files for eio
+Development components for the eio files
 
 ############ Ephysics
 %package -n ephysics
@@ -322,12 +324,12 @@ It's not intended to be a physics library (we already have many out there).
 Enlightenment Input/Output Library
 
 %package -n ephysics-examples
-Summary:  Examples for the ephysics package
+Summary:  Examples for the ephysics
 Group:    Graphics & UI Framework/Testing
 Requires: ephysics = %{version}-%{release}
 
 %description -n ephysics-examples
-Example files for ephysics
+Example files for ephysics files
 
 %package -n ephysics-devel
 Summary:  Development components for the ephysics package
@@ -335,7 +337,7 @@ Group:    Graphics & UI Framework/Development
 Requires: ephysics = %{version}-%{release}
 
 %description -n ephysics-devel
-Development files for ephysics
+Development components for the ephysics package files
 
 ############ Edje
 %package -n edje
@@ -369,20 +371,20 @@ The edje tools package include the compiler, decompiler, visualizer, code
 generator and more.
 
 %package -n edje-examples
-Summary:  Examples for the edje package
+Summary:  Examples for the edje
 Group:    Graphics & UI Framework/Testing
 Requires: edje = %{version}-%{release}
 
 %description -n edje-examples
-Example files for edje
+Examples for the edje files
 
 %package -n edje-devel
-Summary:  Development components for the edje package
+Summary:  Development components for the edje
 Group:    Graphics & UI Framework/Development
 Requires: edje-tools = %{version}-%{release}
 
 %description -n edje-devel
-Development files for edje
+Development components for the edje files
 
 ############ Eeze
 %package -n eeze
@@ -406,12 +408,12 @@ eeze function, as one of the primary focuses of the library is to
 reduce the complexity of managing devices.
 
 %package -n eeze-devel
-Summary:  Development components for the eeze package
+Summary:  Development components for the eeze
 Group:    Graphics & UI Framework/Development
 Requires: eeze = %{version}-%{release}
 
 %description -n eeze-devel
-Development files for eeze
+Development components for the eeze files
 
 ############ Efreet
 %package -n efreet
@@ -423,12 +425,12 @@ Efreet implements the FreeDesktop.Org application and MIME-handling
 standards.
 
 %package -n efreet-devel
-Summary:  Development components for the efreet package
+Summary:  Development components for the efreet
 Group:    Graphics & UI Framework/Development
 Requires: efreet = %{version}-%{release}
 
 %description -n efreet-devel
-Development files for efreet
+Development components for the efreet files
 
 ############ Emotion
 %package -n emotion
@@ -439,20 +441,20 @@ Requires: %{name}-data = %{version}-%{release}
 Emotion is a media library with support for different backends as plug-ins.
 
 %package -n emotion-examples
-Summary:  Examples for the emotion package
+Summary:  Examples for the emotion
 Group:    Graphics & UI Framework/Testing
 Requires: emotion = %{version}-%{release}
 
 %description -n emotion-examples
-Example files for emotion
+Examples for the emotion package
 
 %package -n emotion-devel
-Summary:  Development components for the emotion package
+Summary:  Development components for the emotion
 Group:    Graphics & UI Framework/Development
 Requires: emotion = %{version}-%{release}
 
 %description -n emotion-devel
-Development files for emotion
+Development components for the emotion files
 
 ############ Ethumb
 %package -n ethumb
@@ -460,34 +462,31 @@ Summary: EFL thumbnail generator library
 Requires: %{name}-data = %{version}-%{release}
 
 %description -n ethumb
-Enlightenment thumbnailing library
+Enlightenment thumbnailing library files
 
 %package -n ethumb-examples
-Summary:  Examples for the ethumb package
+Summary:  Examples for the ethumb
 Group:    Graphics & UI Framework/Testing
 Requires: ethumb = %{version}-%{release}
 
 %description -n ethumb-examples
-Example files for ethumb
+Example files for the ethumb package
 
 %package -n ethumb-devel
-Summary:  Development components for the ethumb package
+Summary:  Development components for the ethumb
 Group:    Graphics & UI Framework/Development
 Requires: ethumb = %{version}-%{release}
 
 %description -n ethumb-devel
-Development files for emotion
-
+Development components for the ethumb files
 
 %prep
 %setup -q
 cp %{SOURCE1001} .
 
-
 %build
-
 %if ! %{with x}
-CFLAGS+=" -DMESA_EGL_NO_X11_HEADERS "
+CFLAGS="${CFLAGS} -DMESA_EGL_NO_X11_HEADERS "
 %endif
 
 %reconfigure \
@@ -519,12 +518,14 @@ CFLAGS+=" -DMESA_EGL_NO_X11_HEADERS "
 
 %__make %{?_smp_mflags}
 
-
 %install
 %make_install
-make datadir=%{buildroot}%{_datadir} install-examples
+%__make datadir=%{buildroot}%{_datadir} install-examples
 rm -rf %{buildroot}%{_libdir}/ecore/system/upower
 
+%find_lang %{name}
+%fdupes %{buildroot}
+
 
 %post -n eina -p /sbin/ldconfig
 %postun -n eina -p /sbin/ldconfig
@@ -584,10 +585,9 @@ grep --silent ECORE_IMF_MODULE "$f" \
 %postun -n ephysics -p /sbin/ldconfig
 
 
-%files data
+%files data -f %{name}.lang
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
-%{_datadir}/locale/*/*/*.mo
 %{_includedir}/efl-1/Efl_Config.h
 
 %files -n eina
@@ -903,7 +903,7 @@ grep --silent ECORE_IMF_MODULE "$f" \
 %{_datadir}/dbus-1/services/org.enlightenment.Ethumb.service
 %{_datadir}/ethumb/*
 %{_datadir}/ethumb_client/*
-#%{_datadir}/ethumb_client/*/*
+#%%{_datadir}/ethumb_client/*/*
 %{_libdir}/ethumb/modules/*/*/module.so
 %{_libdir}/ethumb/modules/*/*/template.edj
 %{_libdir}/ethumb_client/utils/*/ethumbd_slave
index 1a63198..bb6a4ce 100644 (file)
@@ -2,9 +2,10 @@ Name:             genivi-audio-manager
 License:          MPL-2.0
 Group:            Automotive/API
 Summary:          GENIVI Audio Manager
-Version:          3.2
+Version:          6.0
 Release:          0
 Source:           %{name}-%{version}.tar.bz2
+Source1001:       genivi-audio-manager.manifest
 BuildRequires:    cmake
 BuildRequires:    pkgconfig(libsystemd-journal)
 BuildRequires:    pkgconfig(python)
@@ -12,11 +13,13 @@ BuildRequires:    pkgconfig(sqlite3)
 BuildRequires:    pkgconfig(dbus-1)
 BuildRequires:    pkgconfig(automotive-dlt)
 BuildRequires:    pkgconfig(zlib)
-BuildRequires:   pkgconfig(murphy-common)
+BuildRequires:    pkgconfig(CommonAPI)
+BuildRequires:    pkgconfig(CommonAPI-DBus)
+BuildRequires:    pkgconfig(murphy-common)
 BuildRequires:    pkgconfig(murphy-domain-controller)
 BuildRequires:    pkgconfig(murphy-dbus-libdbus)
-BuildRequires:   bison
-BuildRequires:   flex
+BuildRequires:    bison
+BuildRequires:    flex
 Requires(post):   /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 
@@ -29,28 +32,41 @@ Group:      Development/Libraries
 Requires:   %{name} = %{version}-%{release}
 
 %description devel
-%{summary}. This package provides headers for developing AudioManager plugins and applications.
+"%{summary}.
+This package provides headers for developing AudioManager plugins 
+and applications."
 
 %prep
 %setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
 
 %build
 mkdir -p build
 cd build
 
-%cmake -DUSE_BUILD_LIBS=OFF -DWITH_TESTS=OFF -DWITH_DBUS_WRAPPER=ON -DWITH_NSM=OFF -DWITH_DLT=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
+%cmake -DUSE_BUILD_LIBS=OFF \
+       -DWITH_TESTS=OFF \
+       -DWITH_ENABLED_IPC=DBUS \
+       -DWITH_DBUS_WRAPPER=ON \
+       -DWITH_NSM=OFF \
+       -DWITH_DLT=OFF \
+       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+       ..
 #make VERBOSE=1
 %__make %{?_smp_mflags}
 
 %install
-rm -rf "$RPM_BUILD_ROOT"
+rm -rf "%{buildroot}"
 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*
+%make_install
+mkdir -p %{buildroot}%{_includedir}/%{name}
+for cpath in *.h command control routing shared; do
+    mv %{buildroot}%{_includedir}/${cpath} %{buildroot}%{_includedir}/%{name}
+done
+rm %{buildroot}%{_libdir}/audioManager/routing/libPluginRoutingInterfaceAsync.so*
 
 %files
+%manifest %{name}.manifest
 %doc LICENCE README.html
 %{_bindir}/AudioManager
 %{_bindir}/domain-manager
@@ -62,4 +78,5 @@ rm $RPM_BUILD_ROOT%{_libdir}/audioManager/routing/libPluginRoutingInterfaceAsync
 %{_datadir}/audiomanager/*xml
 
 %files devel
+%manifest %{name}.manifest
 %{_includedir}/%{name}/*
index 3363291..5179218 100644 (file)
@@ -1,27 +1,27 @@
-Name: libgsasl
-Summary: Library for perfoming SASL authentication
-Version: 1.8.0
-Release: 1
-Group: Security/Accounts
-License: LGPL-2.1+
-Source: %{name}-%{version}.tar.gz
-Source1: %{name}.manifest
-URL: http://www.gnu.org/software/gsasl/
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-BuildRequires: libgcrypt-devel
+Name:       libgsasl
+Summary:    Library for perfoming SASL authentication
+Version:    1.8.0
+Release:    0
+Group:      Security/Accounts
+License:    LGPL-2.1+
+Source:     %{name}-%{version}.tar.gz
+Source1:    %{name}.manifest
+URL:        http://www.gnu.org/software/gsasl/
+Requires(post):     /sbin/ldconfig
+Requires(postun):   /sbin/ldconfig
+BuildRequires:      libgcrypt-devel
 
 %description
-%{summary}.
+%{name} is a library to perfom SASL authentication.
 
 
 %package devel
-Summary: Development files for %{name}
+Summary: Devel package for %{name}
 Group: SDK/Libraries
 Requires: %{name} = %{version}-%{release}
 
 %description devel
-%{summary}.
+Development files for %{name}.
 
 
 %prep
@@ -31,26 +31,27 @@ cp %{SOURCE1} .
 
 %build
 %configure --with-libgcrypt
-make %{?_smp_mflags}
+%__make %{?_smp_mflags}
 
 
 %install
 rm -rf %{buildroot}
 %make_install
 
+%find_lang %{name}
 
-%post -p /sbin/ldconfig
 
+%post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 
-%files
+%files -f %{name}.lang
+%license COPYING COPYING.LIB
 %defattr(-,root,root,-)
 %manifest %{name}.manifest
-%doc AUTHORS COPYING COPYING.LIB INSTALL NEWS README THANKS
+%doc AUTHORS NEWS README THANKS
 %{_libdir}/%{name}.so.*
-%{_datadir}/locale/*/LC_MESSAGES/libgsasl.mo
 
 
 %files devel
@@ -59,4 +60,3 @@ rm -rf %{buildroot}
 %{_includedir}/gsasl*.h
 %{_libdir}/%{name}.so
 %{_libdir}/pkgconfig/%{name}.pc
-
index 6f499f8..f59b6dc 100644 (file)
@@ -32,7 +32,6 @@ Requires:       %{name} = %{version}-%{release}
 This package contains all necessary include files and libraries needed
 to develop applications that require these.
 
-
 %prep
 %setup -q
 cp %{SOURCE1001} .
@@ -46,7 +45,7 @@ touch ChangeLog
 %install
 make DESTDIR=${RPM_BUILD_ROOT} install
 rm -f %{buildroot}%{_libdir}/*.la
-
+%find_lang %{name}
 
 %clean
 rm -rf %{buildroot}
@@ -57,7 +56,7 @@ rm -rf %{buildroot}
 %postun
 /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %manifest %{name}.manifest
 %defattr(-, root, root)
 %license COPYING
@@ -66,7 +65,6 @@ rm -rf %{buildroot}
 %dir %{_datadir}/libhangul/hanja/
 %{_datadir}/libhangul/hanja/hanja.txt
 %{_bindir}/hangul
-%{_datadir}/locale/ko/LC_MESSAGES/libhangul.mo
 
 %files devel
 %manifest %{name}.manifest
index a7fe1bc..83ced2a 100755 (executable)
@@ -1,6 +1,5 @@
 %bcond_with x
 
-#sbs-git:slp/pkgs/s/system-server system-server 0.1.51 56e16bca39f96d6c8aed9ed3df2fea9b393801be
 Name:       system-server
 Summary:    System server
 Version:    2.0.0
@@ -39,35 +38,37 @@ BuildRequires:  pkgconfig(libsystemd-daemon)
 BuildRequires:  pkgconfig(capi-base-common)
 BuildRequires:  pkgconfig(libtzplatform-config)
 
+BuildRequires:  fdupes
+
 %{?systemd_requires}
 Requires(post): /usr/bin/vconftool
 
 %description
-system server
+system server files
 
 %package -n sysman
-Summary:    Sysman library
+Summary:    System manager interface library
 Group:      System/Libraries
 Requires:   %{name} = %{version}-%{release}
 
 %description -n sysman
-System manager interface library.
+system manager internal library files
 
 %package -n sysman-devel
-Summary:    Sysman devel library
+Summary:    System Manager base (devel)
 Group:      System/Development
 Requires:   sysman = %{version}-%{release}
 
 %description -n sysman-devel
-sysman devel library.
+System Manager base library (devel) files
 
 %package -n sysman-internal-devel
-Summary:    Sysman internal devel library
+Summary:    System Manager base (devel)
 Group:      System/Development
 Requires:   sysman = %{version}-%{release}
 
 %description -n sysman-internal-devel
-sysman internal devel library.
+System Manager base library (devel) files
 
 %package -n libslp-pm
 Summary:    Power manager client
@@ -75,7 +76,7 @@ Group:      System/Libraries
 Requires:   %{name} = %{version}-%{release}
 
 %description -n libslp-pm
-power-manager library.
+power-manager library files.
 
 %package -n libslp-pm-devel
 Summary:    Power manager client (devel)
@@ -83,7 +84,7 @@ Group:      System/Development
 Requires:   libslp-pm = %{version}-%{release}
 
 %description -n libslp-pm-devel
-power-manager devel library.
+power-manager devel library files.
 
 %package -n libhaptic
 Summary:    Haptic library
@@ -151,24 +152,17 @@ Deviced library for device control (devel)
 
 %prep
 %setup -q
-
-%cmake . \
-    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-%if %{with x}
-    -DX11_SUPPORT=On \
-%else
-    -DX11_SUPPORT=Off \
-%endif
-    #eol
-
-%build
 cp %{SOURCE1} .
 cp %{SOURCE2} .
 cp %{SOURCE3} .
 cp %{SOURCE4} .
 cp %{SOURCE5} .
 cp %{SOURCE6} .
-%cmake . -DTZ_SYS_ETC=%TZ_SYS_ETC
+
+%build
+%cmake . \
+       -DTZ_SYS_ETC=%TZ_SYS_ETC \
+       -DSYSTEMD_DIR=%{_unitdir}
 
 %install
 %make_install
@@ -186,6 +180,9 @@ install -m 0644 %{SOURCE9} %{buildroot}%{_unitdir}/zbooting-done.service
 rm -f %{buildroot}%{_bindir}/restart
 %endif
 
+%fdupes %{buildroot}
+
+
 %post
 #memory type vconf key init
 users_gid=$(getent group $TZ_SYS_USER_GROUP | cut -f3 -d':')
@@ -254,7 +251,7 @@ systemctl daemon-reload
 if [ "$1" = "1" ]; then
     systemctl restart system-server.service
     systemctl restart regpmon.service
-       systemctl restart zbooting-done.service
+    systemctl restart zbooting-done.service
 fi
 /sbin/ldconfig
 
@@ -262,7 +259,7 @@ fi
 if [ "$1" = "0" ]; then
     systemctl stop system-server.service
     systemctl stop regpmon.service
-       systemctl stop zbooting-done.service
+    systemctl stop zbooting-done.service
 fi
 
 %postun
@@ -403,4 +400,3 @@ systemctl daemon-reload
 %{_includedir}/deviced/haptic-plugin-intf.h
 %{_libdir}/libdeviced.so
 %{_libdir}/pkgconfig/deviced.pc
-