update spec file
authorRonan Le Martret <ronan@fridu.net>
Thu, 9 Oct 2014 16:01:30 +0000 (18:01 +0200)
committerRonan Le Martret <ronan@fridu.net>
Thu, 9 Oct 2014 16:01:30 +0000 (18:01 +0200)
Change-Id: I1cfb7fcb62cf8df8e9928f35feeb5cd115585b0e

16 files changed:
proto-meta-Tizen_generic/specfile-initial/alsa-scenario-0.2/packaging/alsa-scenario.spec
proto-meta-Tizen_generic/specfile-initial/audio-session-manager/packaging/audio-session-manager.spec
proto-meta-Tizen_generic/specfile-initial/bundle/packaging/bundle.spec
proto-meta-Tizen_generic/specfile-initial/crosswalk/packaging/crosswalk.spec
proto-meta-Tizen_generic/specfile-initial/ecryptfs-utils/packaging/ecryptfs-utils.spec
proto-meta-Tizen_generic/specfile-initial/edbus/packaging/edbus.spec
proto-meta-Tizen_generic/specfile-initial/ico-uxf-homescreen-sample-apps/packaging/ico-uxf-homescreen-sample-apps.spec
proto-meta-Tizen_generic/specfile-initial/ico-vic-amb-plugin/packaging/ico-vic-amb-plugin.spec
proto-meta-Tizen_generic/specfile-initial/lemolo/packaging/lemolo.spec
proto-meta-Tizen_generic/specfile-initial/libdrm/packaging/libdrm.spec [new file with mode: 0644]
proto-meta-Tizen_generic/specfile-initial/libjpeg-turbo/packaging/libjpeg-turbo.spec [new file with mode: 0644]
proto-meta-Tizen_generic/specfile-initial/libxml2/packaging/libxml2.spec [new file with mode: 0644]
proto-meta-Tizen_generic/specfile-initial/media-content/packaging/capi-content-media-content.spec
proto-meta-Tizen_generic/specfile-initial/phoned/packaging/phoned.spec
proto-meta-Tizen_generic/specfile-initial/python-libxml2/packaging/python-libxml2.spec [new file with mode: 0644]
proto-meta-Tizen_generic/specfile-initial/tiff/packaging/tiff.spec [new file with mode: 0644]

index fc208b8..f64d73f 100644 (file)
@@ -1,12 +1,15 @@
-Name:       alsa-scenario
-Summary:    ALSA Scenario pkg
-Version: 0.2.1
-Release:    13
-Group:      Multimedia/Audio
-License:    LGPLv2+
-Source0:    %{name}-%{version}.tar.gz
-Source1001:    alsa-scenario.manifest
-BuildRequires:  pkgconfig(alsa)
+Name:             alsa-scenario
+Summary:          ALSA Scenario pkg
+Version:          0.2.1
+Release:          0
+Group:            Multimedia/Audio FW
+License:          LGPL-2.0+
+Source0:          %{name}-%{version}.tar.gz
+Source1001:       packaging/alsa-scenario.manifest
+Requires(post):   /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:    pkgconfig(alsa)
+BuildRequires:    pkgconfig
 
 %description
 ALSA Scenario package
@@ -27,26 +30,27 @@ cp %{SOURCE1001} .
 
 
 %build
-cp -f /usr/share/libtool/config/config.guess %{_builddir}/%{name}-%{version}/
-cp -f /usr/share/libtool/config/config.sub %{_builddir}/%{name}-%{version}/
-%configure --disable-static
-make %{?jobs:-j%jobs}
+cp -f %{_datadir}/libtool/config/config.guess %{_builddir}/%{name}-%{version}/
+cp -f %{_datadir}/libtool/config/config.sub %{_builddir}/%{name}-%{version}/
+%reconfigure --disable-static
+%__make %{?_smp_mflags}
 
 %install
+rm -rf %{buildroot}
 %make_install
 
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
+
 %files
-%manifest %{name}.manifest
+%manifest alsa-scenario.manifest
 %{_libdir}/libascenario-0.2.so.*
 
-
 %files devel
-%manifest %{name}.manifest
+%manifest alsa-scenario.manifest
 %{_includedir}/alsa/*.h
 %{_libdir}/libascenario.so
 %{_libdir}/pkgconfig/libascenario.pc
-
index 1453c77..d3259e9 100644 (file)
@@ -5,16 +5,17 @@ Release:    0
 Group:      Multimedia/Service
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
-Source1001: audio-session-manager.manifest
-Requires(post): /sbin/ldconfig
-Requires(post): /usr/bin/vconftool
-Requires(postun): /sbin/ldconfig
-BuildRequires:  pkgconfig(glib-2.0)
-BuildRequires:  pkgconfig(mm-common)
-BuildRequires:  pkgconfig(sysman)
-BuildRequires:  pkgconfig(vconf)
-BuildRequires:  pkgconfig(avsysaudio)
-BuildRequires:  pkgconfig(security-server)
+Source1001:         audio-session-manager.manifest
+Requires(post):     /sbin/ldconfig
+Requires(post):     /usr/bin/vconftool
+Requires(postun):   /sbin/ldconfig
+BuildRequires:      pkgconfig
+BuildRequires:      pkgconfig(glib-2.0)
+BuildRequires:      pkgconfig(mm-common)
+BuildRequires:      pkgconfig(sysman)
+BuildRequires:      pkgconfig(vconf)
+BuildRequires:      pkgconfig(avsysaudio)
+BuildRequires:      pkgconfig(security-server)
 
 %description
 Audio Session Manager package.
index 865b547..36d1dff 100644 (file)
@@ -1,11 +1,11 @@
 Name:       bundle
 Summary:    String key-val dictionary ADT
 Version:    0.1.31
-Release:    1
+Release:    0
 Group:      System/Libraries
-License:    Apache License, Version 2.0
-Source0:    bundle-%{version}.tar.gz
-Source1001:    bundle.manifest
+License:    Apache-2.0
+Source0:        bundle-%{version}.tar.gz
+Source1001:     bundle.manifest
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(dlog)
@@ -25,10 +25,9 @@ Simple string key-val dictionary ADT (devel)
 %setup -q -n %{name}-%{version}
 cp %{SOURCE1001} .
 
-
 %build
 %cmake .
-make %{?jobs:-j%jobs}
+%__make %{?_smp_mflags}
 
 %install
 %make_install
@@ -42,7 +41,7 @@ make %{?jobs:-j%jobs}
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libbundle.so.*
-
+%license LICENSE
 
 %files devel
 %manifest %{name}.manifest
@@ -51,4 +50,3 @@ make %{?jobs:-j%jobs}
 %{_includedir}/SLP_bundle_PG.h
 %{_libdir}/pkgconfig/bundle.pc
 %{_libdir}/libbundle.so
-
index 30eb7c3..2f92108 100644 (file)
@@ -17,7 +17,7 @@
 %define _binary_payload w3.gzdio
 
 Name:           crosswalk
-Version:        10.38.210.0
+Version:        10.38.217.0
 Release:        0
 Summary:        Chromium-based app runtime
 License:        (BSD-3-Clause and LGPL-2.1+)
@@ -141,6 +141,13 @@ cp -a src/xwalk/LICENSE LICENSE.xwalk
 
 %build
 
+# Stop unconditionally passing -Wall to the compiler. Chromium has its own
+# mechanisms for deciding which parts of the code need -Wall and which need it
+# to be left out (since several pieces are built with -Werror). At least in
+# M39, this is preventing the "rtc_base" target from being built because it
+# does not expect -Wall to be passed to the compiler (see webrtc issue 3307).
+export CXXFLAGS=`echo $CXXFLAGS | sed s,-Wall,,g`
+
 # For ffmpeg on ia32. The original CFLAGS set by the gyp and config files in
 # src/third_party/ffmpeg already pass -O2 -fomit-frame-pointer, but Tizen's
 # CFLAGS end up appending -fno-omit-frame-pointer. See http://crbug.com/37246
@@ -175,7 +182,7 @@ if [ -n "${BUILDDIR_NAME}" ]; then
 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_xdg_shell=1"
 %endif
 
 # Force gold binary from chroot ld.gold provided by binutils-gold
@@ -224,7 +231,7 @@ ${GYP_EXTRA_FLAGS} \
 -Dshared_process_mode=1 \
 -Denable_hidpi=1
 
-ninja %{?_smp_mflags} -C src/out/Release xwalk xwalkctl xwalk_launcher xwalk-pkg-helper xwalk-backendlib
+ninja %{?_smp_mflags} -C src/out/Release xwalk xwalk_launcher xwalk_application_tools
 
 %install
 # Binaries.
@@ -233,8 +240,6 @@ install -p -D xwalk.service %{buildroot}%{_systemduserservicedir}/xwalk.service
 install -p -D src/out/Release/xwalk %{buildroot}%{_libdir}/xwalk/xwalk
 install -p -D src/out/Release/xwalkctl %{buildroot}%{_bindir}/xwalkctl
 install -p -D src/out/Release/xwalk-launcher %{buildroot}%{_bindir}/xwalk-launcher
-# xwalk-pkg-helper needs to be set-user-ID-root so it can finish the installation process.
-install -m 0755 -p -D src/out/Release/xwalk-pkg-helper %{buildroot}%{_bindir}/xwalk-pkg-helper
 install -p -D src/out/Release/lib/libxwalk-backendlib.so %{buildroot}%{_libdir}/xwalk/libxwalk-backendlib.so
 install -p -D src/xwalk/application/tools/tizen/xwalk_backend_wrapper.sh %{buildroot}%{_libdir}/xwalk/xwalk_backend_wrapper.sh
 
@@ -269,17 +274,18 @@ ln -sf %{_libdir}/xwalk/xwalk_backend_wrapper.sh /etc/package-manager/backend/xp
 ln -sf %{_libdir}/xwalk/xwalk_backend_wrapper.sh /etc/package-manager/backend/wgt
 
 %preun
+if [ $1 -eq 1 ] ; then
+# don't remove if we are upgrade the rpm package
 [ -L /etc/package-manager/backendlib/libxpk.so ] && rm /etc/package-manager/backendlib/libxpk.so
 [ -L /etc/package-manager/backendlib/libwgt.so ] && rm /etc/package-manager/backendlib/libwgt.so
 [ -L /etc/package-manager/backend/xpk ] && rm /etc/package-manager/backend/xpk
 [ -L /etc/package-manager/backend/wgt ] && rm /etc/package-manager/backend/wgt
-
+fi
 %files
 %manifest %{name}.manifest
 %license AUTHORS.chromium LICENSE.chromium LICENSE.xwalk
 %{_bindir}/xwalkctl
 %{_bindir}/xwalk-launcher
-%{_bindir}/xwalk-pkg-helper
 %{_libdir}/xwalk/icudtl.dat
 %{_libdir}/xwalk/libffmpegsumo.so
 %if ! %{_disable_nacl}
index 160d3d7..6855d23 100644 (file)
@@ -1,9 +1,5 @@
-%{!?__python2: %global __python2 /usr/bin/python2}
-%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-
 Name:    ecryptfs-utils
-Summary: ECryptfs utilities
+Summary: Userspace Utilities for ecryptfs
 Version: 104
 Release: 0
 Group:   System/Libraries
@@ -15,6 +11,7 @@ Requires(post):     /sbin/ldconfig
 Requires(postun):   /sbin/ldconfig
 Requires:           keyutils
 Requires:           libecryptfs = %{version}-%{release}
+BuildRequires:      pkgconfig
 BuildRequires:      intltool
 BuildRequires:      python-devel
 BuildRequires:      keyutils-devel
@@ -24,7 +21,8 @@ BuildRequires:      pkgconfig(glib-2.0)
 BuildRequires:      fdupes
 
 %description
-eCryptfs user space utilities.
+A stacked cryptographic filesystem for Linux.
+eCryptfs user space utilities
 
 
 %package -n libecryptfs
@@ -78,7 +76,10 @@ rm -rf %{buildroot}
 %postun -n libecryptfs -p /sbin/ldconfig
 
 
-%files -f %{name}.lang
+%lang_package -f %{name}
+
+
+%files
 %defattr(-,root,root,-)
 %manifest %{name}.manifest
 %license COPYING
@@ -103,6 +104,7 @@ rm -rf %{buildroot}
 
 %files -n libecryptfs-devel
 %defattr(-,root,root,-)
+%manifest %{name}.manifest
 %{_includedir}/ecryptfs.h
 %{_libdir}/libecryptfs.so
 %{_libdir}/pkgconfig/libecryptfs.pc
@@ -110,5 +112,5 @@ rm -rf %{buildroot}
 
 %files -n libecryptfs-python
 %defattr(-,root,root,-)
-%{python2_sitelib}/ecryptfs-utils/*
-%{python2_sitearch}/ecryptfs-utils/*
+%manifest %{name}.manifest
+%{py_sitedir}/ecryptfs-utils/*
index ece23f7..c4684af 100644 (file)
@@ -1,13 +1,14 @@
 Name:           edbus
 Version:        1.7.8
-Release:        1
-License:        BSD 2-clause
+Release:        0
+License:        BSD-2-Clause
 Summary:        EFL Wrapper for DBus
 Url:            http://www.enlightenment.org/
-Group:          Graphics/EFL
+Group:          Graphics & UI Framework/EFL
 Source0:        e_dbus-%{version}.tar.bz2
-Source1001:    edbus.manifest
+Source1001:     edbus.manifest
 BuildRequires:  doxygen
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(ecore)
 BuildRequires:  pkgconfig(eina)
@@ -29,31 +30,23 @@ Development files for e_dbus
 cp %{SOURCE1001} .
 
 %build
-%configure --disable-static
-make %{?_smp_mflags}
+%reconfigure --disable-static
+%__make %{?_smp_mflags}
 
 %install
 %make_install
 
-
-
-
 %post -p /sbin/ldconfig
-
 %postun -p /sbin/ldconfig
 
-
-
-
-
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
 %license COPYING
 %{_bindir}/e_dbus_*
-/usr/bin/e-notify-send
+%{_bindir}/e-notify-send
 %{_libdir}/libe*.so.*
-/usr/share/e_dbus/logo.png
+%{_datadir}/e_dbus/logo.png
 
 %files devel
 %manifest %{name}.manifest
@@ -62,7 +55,4 @@ make %{?_smp_mflags}
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 %{_includedir}/e_dbus-1/connman0_7x/E_Connman.h
-/usr/bin/e-notify-send
-
-
-%changelog
+%{_bindir}/e-notify-send
index 323870a..e552147 100644 (file)
@@ -1,3 +1,9 @@
+# configurations(ico-app-soundsample)
+%define sound_PREFIX %TZ_SYS_RW_APP/org.tizen.ico.app-soundsample
+
+# configurations(ico-app-vicsample)
+%define vic_PREFIX %TZ_SYS_RW_APP/org.tizen.ico.app-vicsample
+
 Name:       ico-uxf-homescreen-sample-apps
 Summary:    HomeScreen sample application
 Version:    0.9.8
@@ -6,6 +12,9 @@ Group:      Automotive/ICO Homescreen
 License:    Apache-2.0
 URL:        http://www.toyota.com
 Source0:    %{name}-%{version}.tar.bz2
+Source1001: %{name}.manifest
+
+BuildRequires:  pkgconfig(libtzplatform-config)
 
 #ico-app-soundsample
 BuildRequires: pkgconfig(glib-2.0)
@@ -57,10 +66,11 @@ Requires: genivi-shell
 Requires: weekeyboard
 
 %description
-HomeScreen sample application
+HomeScreen sample application files
 
 %prep
 %setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
 
 %build
 %reconfigure
@@ -74,12 +84,8 @@ rm -rf %{buildroot}
 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/
@@ -87,11 +93,7 @@ install -m 0644 ico-app-soundsample/org.tizen.ico.app-soundsample.png %{buildroo
 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/
@@ -115,7 +117,27 @@ install -m 0644 ico-app-miscellaneous/weekeyboard.xml %{buildroot}%{_datadir}/pa
 install -m 0644 ico-app-miscellaneous/navigator.xml %{buildroot}%{_datadir}/packages/
 install -m 0644 ico-app-miscellaneous/navigator.png %{buildroot}%{_datadir}/icons/default/small/
 
+%post
+/sbin/ldconfig
+# This icons exists in main weston package so we don't package it in.
+# Create a symbolic link to it instead.
+ln -sf %{_datadir}/weston/terminal.png %{_datadir}/icons/default/small/
+# Update the app database.
+pkg_initdb
+ail_initdb
 
+%postun
+if [ "$1" = "0" ]; then
+/sbin/ldconfig
+rm -f %{_datadir}/applications/org.tizen.ico.app-soundsample.desktop
+rm -f %{_datadir}/applications/org.tizen.ico.app-vicsample.desktop
+rm -f %{_datadir}/applications/browser.desktop
+rm -f %{_datadir}/applications/terminal.desktop
+rm -f %{_datadir}/icons/default/small/terminal.png
+# Update the app database.
+pkg_initdb
+ail_initdb
+fi
 
 %files
 %manifest %{name}.manifest
@@ -143,31 +165,3 @@ install -m 0644 ico-app-miscellaneous/navigator.png %{buildroot}%{_datadir}/icon
 %{_datadir}/packages/weekeyboard.xml
 %{_datadir}/icons/default/small/browser.png
 %{_datadir}/icons/default/small/navigator.png
-
-%post
-/sbin/ldconfig
-# This icons exists in main weston package so we don't package it in.
-# Create a symbolic link to it instead.
-ln -sf %{_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
-%{_bindir}/pkginfo --imd /usr/share/packages/navigator.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
-%{_bindir}/pkginfo --rmd /usr/share/packages/navigator.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
index 63dd06c..29edb74 100644 (file)
@@ -1,50 +1,51 @@
 Name:       ico-vic-amb-plugin
-Summary:    Automotive Message Broker is a vehicle network abstraction system.
+Summary:    Automotive Message Broker is a vehicle network abstraction system
 Version:    0.9.5
-Release:    1.1
-Group:      System Environment/Daemons
-License:    LGPL v2.1
-URL:        ""
+Release:    0
+Group:      Automotive/Other
+License:    LGPL-2.1
 Source0:    %{name}-%{version}.tar.bz2
-Requires(post): /sbin/ldconfig
+Source1001: ico-vic-amb-plugin.manifest
+
+Requires(post):   /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
-Requires:   libjson
-Requires:  ico-uxf-utilities
+Requires:       ico-uxf-utilities
 BuildRequires:  cmake
 BuildRequires:  boost-devel
-BuildRequires:  libjson-devel
+BuildRequires:  pkgconfig(json)
 BuildRequires:  automotive-message-broker-devel >= 0.10.0
 BuildRequires:  ico-uxf-utilities-devel >= 0.9.04
 BuildRequires:  ico-uxf-utilities >= 0.9.04
-BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(appcore-efl)
+BuildRequires:  pkgconfig(elementary)
+BuildRequires:  pkgconfig(appcore-efl)
 
 %description 
+Automotive Message Broker is a vehicle network abstraction system
 Collection of plugins for automotive-message-broker
 
 %prep
 %setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
 
 %build
 %cmake
-
-make %{?jobs:-j%jobs}
+%__make %{?jobs:-j%jobs}
 
 %install
 rm -rf %{buildroot}
 %make_install
 mkdir -p %{buildroot}/%{_sysconfdir}/ambd
-mkdir -p %{buildroot}/usr/bin
 cp src/AMBformat.conf %{buildroot}/%{_sysconfdir}/ambd/
-cp tool/ico_set_vehicleinfo %{buildroot}/usr/bin/ico_set_vehicleinfo
+mkdir -p %{buildroot}%{_bindir}
+cp tool/ico_set_vehicleinfo %{buildroot}%{_bindir}/ico_set_vehicleinfo
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
-%manifest %{name}.manifest
 %defattr(-,root,root,-)
+%manifest %{name}.manifest
 %{_libdir}/automotive-message-broker/*.so
-%{_sysconfdir}/ambd/AMBformat.conf
-/usr/share/doc/automotive-message-broker/%{name}/README
-/usr/bin/ico_set_vehicleinfo
+%config %{_sysconfdir}/ambd/AMBformat.conf
+%{_datadir}/doc/automotive-message-broker/%{name}/README
+%{_bindir}/ico_set_vehicleinfo
index 04c8a8f..01ac494 100644 (file)
@@ -1,7 +1,7 @@
 Name:       lemolo
 Summary:    Ofono EFL Dialer
 Version:    0.1.7
-Release:    1
+Release:    0
 Group:      Applications/Telephony
 License:    Apache-2.0
 URL:        http://www.tizen.org
@@ -19,6 +19,7 @@ BuildRequires:  pkgconfig(aul)
 BuildRequires:  pkgconfig(appsvc)
 BuildRequires:  pkgconfig(notification)
 BuildRequires:  pkgconfig(libpulse)
+BuildRequires:  pkgconfig
 BuildRequires:  edje-tools
 BuildRequires:  gettext-tools
 Requires: ofono
@@ -38,7 +39,7 @@ handsfree profile over bluetooth.
 --enable-notification \
 --enable-tizen
 
-make %{?jobs:-j%jobs}
+%__make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
@@ -62,3 +63,4 @@ rm -rf %{buildroot}
 %{_datadir}/packages/org.tizen.dialer.xml
 %{_datadir}/icons/default/small/org.tizen.dialer.png
 %{_datadir}/dbus-1/services/org.tizen.dialer.service
+%license COPYING
diff --git a/proto-meta-Tizen_generic/specfile-initial/libdrm/packaging/libdrm.spec b/proto-meta-Tizen_generic/specfile-initial/libdrm/packaging/libdrm.spec
new file mode 100644 (file)
index 0000000..ab11d00
--- /dev/null
@@ -0,0 +1,133 @@
+Name:           libdrm
+Version:        2.4.52
+Release:        0
+License:        MIT
+Url:            http://cgit.freedesktop.org/mesa/drm
+Summary:        Userspace interface to kernel DRM services
+Group:          Graphics & UI Framework/Libraries
+Source0:        %{name}-%{version}.tar.bz2
+Source1001:     libdrm.manifest
+
+BuildRequires:  kernel-headers
+BuildRequires:  pkgconfig(pciaccess)
+BuildRequires:  pkgconfig(pthread-stubs)
+
+%description
+Direct Rendering Manager headers and kernel modules.
+
+%package tools
+Summary:        Diagnostic utilities for DRI and DRM
+Group:          Graphics & UI Framework/Utilities
+Obsoletes:      libdrm < %version-%release
+Provides:       libdrm = %version-%release
+
+%description tools
+Diagnoistic tools to run a test for DRI and DRM
+
+%package devel
+Summary:        Userspace interface to kernel DRM services
+Requires:       kernel-headers
+Requires:       libdrm = %{version}
+%ifarch i586 i686 %ix86 x86_64
+Requires:       libdrm-intel = %{version}
+%endif
+Requires:       libkms = %{version}
+
+%description devel
+Direct Rendering Manager headers and kernel modules.
+
+Development related files.
+
+%package -n libkms
+Summary:        Userspace interface to kernel DRM buffer management
+
+%description -n libkms
+Userspace interface to kernel DRM buffer management files
+
+%package intel
+Summary:        Userspace interface to intel graphics kernel DRM buffer management
+
+%description intel
+Userspace interface to intel graphics kernel DRM buffer management files
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%reconfigure \
+        --enable-static=yes  \
+        --enable-udev \
+        --enable-libkms \
+        --disable-nouveau-experimental-api \
+        --disable-radeon \
+        --disable-nouveau \
+        --enable-exynos-experimental-api \
+        --enable-install-test-programs \
+        --disable-cairo-tests
+
+%__make %{?_smp_mflags}
+%__make %{?_smp_mflags} -C tests dristat drmstat
+
+%install
+%make_install
+%{__mkdir} -p %{buildroot}%{_bindir}
+%{__install}  \
+        tests/.libs/dristat \
+        tests/.libs/drmstat \
+        %{buildroot}%{_bindir}
+
+rm -f %{buildroot}%{_bindir}/kmstest
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%post -n libkms -p /sbin/ldconfig
+
+%postun -n libkms -p /sbin/ldconfig
+
+%post intel -p /sbin/ldconfig
+
+%postun intel -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%{_libdir}/libdrm.so.*
+%{_libdir}/libdrm_exynos.so.*
+%{_libdir}/libdrm_vigs.so.*
+
+%files tools
+%manifest %{name}.manifest
+%{_bindir}/dristat
+%{_bindir}/drmstat
+%{_bindir}/modeprint
+%{_bindir}/modetest
+
+%files devel
+%manifest %{name}.manifest
+%dir %{_includedir}/libdrm
+%{_includedir}/libdrm/*.h
+%dir %{_includedir}/libkms
+%{_includedir}/libkms/*.h
+%dir %{_includedir}/exynos
+%{_includedir}/exynos/*.h
+%{_includedir}/*.h
+%{_libdir}/libdrm.so
+%ifarch i586 i686 %ix86 x86_64
+%{_libdir}/libdrm_intel.so
+%endif
+%{_libdir}/libkms.so
+%{_libdir}/libdrm_exynos.so
+%{_libdir}/libdrm_vigs.so
+%{_libdir}/pkgconfig/*
+
+%files -n libkms
+%manifest %{name}.manifest
+%{_libdir}/libkms.so.*
+
+%ifarch i586 i686 %ix86 x86_64
+%files intel
+%manifest %{name}.manifest
+%{_libdir}/libdrm_intel.so.*
+%endif
diff --git a/proto-meta-Tizen_generic/specfile-initial/libjpeg-turbo/packaging/libjpeg-turbo.spec b/proto-meta-Tizen_generic/specfile-initial/libjpeg-turbo/packaging/libjpeg-turbo.spec
new file mode 100644 (file)
index 0000000..a1c9b40
--- /dev/null
@@ -0,0 +1,115 @@
+%define major   8
+%define minor   0
+%define micro   2
+%define srcver  1.2.1
+%define libver  %{major}.%{minor}.%{micro}
+# major number of library from jpeg8
+%define cmajor  8
+
+Name:           libjpeg-turbo
+Version:        %{srcver}
+Release:        0
+Summary:        A MMX/SSE2 accelerated library for manipulating JPEG image files
+License:        BSD-3-Clause
+Group:          Graphics & UI Framework/Libraries
+Url:            http://sourceforge.net/projects/libjpeg-turbo
+Source0:        http://downloads.sourceforge.net/project/%{name}/%{version}/%{name}-%{version}.tar.gz
+Source1:        baselibs.conf
+Source1001:    libjpeg-turbo.manifest
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
+BuildRequires:  yasm
+
+%description
+The libjpeg-turbo package contains a library of functions for manipulating
+JPEG images.
+
+%package -n libjpeg
+
+Version:        %{libver}
+Release:        0
+Summary:        The MMX/SSE accelerated JPEG compression/decompression library
+Group:          Graphics & UI Framework/Libraries
+
+Provides:       libjpeg = %{version}
+Provides:       libjpeg8
+Obsoletes:      libjpeg < %{version}
+
+%description -n libjpeg
+This library contains MMX/SSE accelerated functions for manipulating
+JPEG images.
+
+%package -n libjpeg-devel
+Version:        %{libver}
+Release:        0
+Summary:        Development Tools for applications which will use the Libjpeg Library
+Group:          Graphics & UI Framework/Development
+
+Provides:       libjpeg-turbo-devel
+Requires:       libjpeg = %{version}
+Provides:       libjpeg-devel = %{version}
+Provides:       libjpeg8-devel
+Obsoletes:      libjpeg-devel < %{version}
+%if "%{major}" != "%{cmajor}"
+Conflicts:      libjpeg-devel
+%endif
+
+%description -n libjpeg-devel
+The libjpeg-devel package includes the header files and libraries
+necessary for compiling and linking programs which will manipulate JPEG
+files using the libjpeg library.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+autoreconf -fiv
+%configure --disable-static \
+           --with-jpeg8
+make %{?_smp_mflags}
+
+%check
+make test libdir=%{_libdir}
+
+%install
+%makeinstall
+
+# Fix perms
+chmod -x README-turbo.txt release/copyright
+
+# Remove unwanted files
+rm -f %{buildroot}%{_libdir}/lib{,turbo}jpeg.la
+
+rm %{buildroot}%{_bindir}/tjbench
+
+# Remove docs, we'll select docs manually
+rm -rf %{buildroot}%{_datadir}/doc/
+
+%post -n libjpeg -p /sbin/ldconfig
+
+%postun -n libjpeg -p /sbin/ldconfig
+
+%docs_package
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%license release/copyright 
+%{_bindir}/*
+
+%files -n libjpeg
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%{_libdir}/libturbojpeg.so
+%{_libdir}/libjpeg.so.%{libver}
+%{_libdir}/libjpeg.so.%{major}
+
+%files -n libjpeg-devel
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%{_includedir}/*.h
+%{_libdir}/libjpeg.so
+%doc coderules.txt jconfig.txt libjpeg.txt structure.txt example.c
+
+%changelog
diff --git a/proto-meta-Tizen_generic/specfile-initial/libxml2/packaging/libxml2.spec b/proto-meta-Tizen_generic/specfile-initial/libxml2/packaging/libxml2.spec
new file mode 100644 (file)
index 0000000..c241e76
--- /dev/null
@@ -0,0 +1,117 @@
+Name:           libxml2
+Version:        2.8.0
+Release:        0
+Summary:        A Library to Manipulate XML Files
+License:        MIT
+Group:          System/Libraries
+Url:            http://xmlsoft.org
+# Source ftp://xmlsoft.org/libxml2/libxml2-git-snapshot.tar.gz changes every day
+Source:         ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz
+Source2:        baselibs.conf
+Source1001:    libxml2.manifest
+BuildRequires:  pkg-config
+BuildRequires:  readline-devel
+BuildRequires:  xz-devel
+BuildRequires:  zlib-devel
+
+%description
+The XML C library was initially developed for the GNOME project. It is
+now used by many programs to load and save extensible data structures
+or manipulate any kind of XML files.
+
+This library implements a number of existing standards related to
+markup languages, including the XML standard, name spaces in XML, XML
+Base, RFC 2396, XPath, XPointer, HTML4, XInclude, SGML catalogs, and
+XML catalogs. In most cases, libxml tries to implement the
+specification in a rather strict way. To some extent, it provides
+support for the following specifications, but does not claim to
+implement them: DOM, FTP client, HTTP client, and SAX.
+
+The library also supports RelaxNG. Support for W3C XML Schemas is in
+progress.
+
+
+%package tools
+Summary:        Tools using libxml
+Group:          System/Libraries
+
+%description tools
+This package contains xmllint, a very useful tool proving libxml's power.
+
+%package devel
+Summary:        Include Files and Libraries mandatory for Development
+Group:          Development/Libraries
+Requires:       %{name} = %{version}
+Requires:       %{name}-tools = %{version}
+Requires:       glibc-devel
+Requires:       readline-devel
+Requires:       xz-devel
+Requires:       zlib-devel
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%configure --disable-static \
+    --docdir=%_docdir/%name \
+    --with-html-dir=%_docdir/%name/html \
+    --with-fexceptions \
+    --with-history \
+    --without-python \
+    --enable-ipv6 \
+    --with-sax1 \
+    --with-regexps \
+    --with-threads \
+    --with-reader \
+    --with-http
+
+make %{?_smp_mflags} BASE_DIR="%_docdir" DOC_MODULE="%name"
+
+%check
+# qemu-arm can't keep up atm, disabling check for arm
+%ifnarch %arm
+make check
+%endif
+
+%install
+make install DESTDIR="%buildroot" BASE_DIR="%_docdir" DOC_MODULE="%name"
+ln -s libxml2/libxml %{buildroot}%{_includedir}/libxml
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files 
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%license COPYING*
+%{_libdir}/lib*.so.*
+
+%files tools
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%{_bindir}/xmllint
+%{_bindir}/xmlcatalog
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%{_bindir}/xml2-config
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/libxml.m4
+%{_includedir}/libxml
+%{_includedir}/libxml2
+%{_libdir}/lib*.so
+# libxml2.la is needed for the python-libxml2 build. Deleting it breaks build of python-libxml2.
+%{_libdir}/libxml2.la
+%{_libdir}/*.sh
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
index be25bc7..889da04 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-content-media-content
 Summary:    A Media content library in SLP C API
-Version:    0.2.58
+Version:    0.2.59
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index d8c0683..7eb8c18 100644 (file)
@@ -1,10 +1,13 @@
+%define PREFIX "%{_libdir}/wrt-plugins"
+
 Name:       phoned
 Summary:    OFono/Obex business logic for phone web APIs
 Version:    0.0.0
-Release:    1
+Release:    0
 Group:      Automotive/Modello
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
 
 BuildRequires:  cmake
 BuildRequires:  gettext-devel
@@ -12,23 +15,23 @@ BuildRequires:  pkgconfig(libebook-contacts-1.2)
 BuildRequires:  pkgconfig(expat)
 BuildRequires:  pkgconfig(json-glib-1.0)
 BuildRequires:  pkgconfig(dbus-1)
-BuildRequires:  pkgconfig(aul)
 
 %description
 A service to export OFono/Obex functionality over DBUS, to be used by WebRuntime plugin
 
 %prep
 %setup -q
+cp %{SOURCE1001} .
 
 %build
+export LDFLAGS="${LDFLAGS} -Wl,--rpath=%{PREFIX} -Wl,--as-needed"
 
-%define PREFIX "%{_libdir}/wrt-plugins"
-
-export LDFLAGS+="-Wl,--rpath=%{PREFIX} -Wl,--as-needed"
-
-%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DENABLE_TIME_TRACER="OFF"
+%cmake . \
+       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+       -DENABLE_TIME_TRACER="OFF" \
+       -DSYSTEMD_SERVICE_PREFIX="%{_unitdir_user}"
 
-make %{?jobs:-j%jobs} VERBOSE=1
+%__make %{?_smp_mflags} VERBOSE=1
 
 %install
 rm -rf %{buildroot}
@@ -37,9 +40,9 @@ rm -rf %{buildroot}
 %install_service ../user/weston.target.wants phoned.service
 
 %files
+%manifest %{name}.manifest
 %{_libdir}/pkgconfig/phoned.pc
 %{_prefix}/bin/phoned
 %{_prefix}/share/dbus-1/services/org.tizen.phone.service
 %{_unitdir_user}/phoned.service
 %{_unitdir_user}/weston.target.wants/phoned.service
-
diff --git a/proto-meta-Tizen_generic/specfile-initial/python-libxml2/packaging/python-libxml2.spec b/proto-meta-Tizen_generic/specfile-initial/python-libxml2/packaging/python-libxml2.spec
new file mode 100644 (file)
index 0000000..88c5198
--- /dev/null
@@ -0,0 +1,65 @@
+Name:           python-libxml2
+Version:        2.8.0
+Release:        0
+Summary:        Python Bindings for libxml2
+License:        MIT
+Group:          Platform Development/Python
+Url:            http://xmlsoft.org
+Source:         ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  libxml2-devel
+BuildRequires:  python-devel
+BuildRequires:  python-xml
+Requires:       libxml2 = %{version}
+Obsoletes:      libxml2-python < %{version}
+Provides:       libxml2-python = %{version}
+
+%description
+The libxml2-python package contains a module that permits applications
+written in the Python programming language to use the interface
+supplied by the libxml2 library to manipulate XML files.
+
+This library allows manipulation of XML files. It includes support for
+reading, modifying, and writing XML and HTML files. There is DTD
+support that includes parsing and validation even with complex DTDs,
+either at parse time or later once the document has been modified.
+
+%prep
+%setup -q -n libxml2-%{version}
+
+%build
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+%configure \
+    --with-fexceptions \
+    --with-history \
+    --enable-ipv6 \
+    --with-sax1 \
+    --with-regexps \
+    --with-threads \
+    --with-reader \
+    --with-http
+
+# use libxml2 as built by libxml2 source package
+mkdir .libs
+cp -v %{_libdir}/libxml2.la .
+make -C python %{?_smp_mflags}
+
+%install
+make -C python install \
+    DESTDIR=%{buildroot} \
+    pythondir=%{py_sitedir} \
+    PYTHON_SITE_PACKAGES=%{py_sitedir}
+chmod a-x python/tests/*.py
+# Unwanted doc stuff
+rm -fr %{buildroot}%{_datadir}/doc
+rm -f python/tests/Makefile*
+# #223696
+rm -f %{buildroot}%{py_sitedir}/*.{la,a}
+
+%files
+%defattr(-, root, root)
+%doc python/libxml2class.txt
+%doc python/tests
+%{py_sitedir}/*
+
+%changelog
diff --git a/proto-meta-Tizen_generic/specfile-initial/tiff/packaging/tiff.spec b/proto-meta-Tizen_generic/specfile-initial/tiff/packaging/tiff.spec
new file mode 100644 (file)
index 0000000..f43bc32
--- /dev/null
@@ -0,0 +1,89 @@
+Name:           tiff
+Version:        4.0.2
+Release:        0
+License:        HPND
+Summary:        Tools for Converting from and to the Tiff Format
+Url:            http://www.remotesensing.org/libtiff
+Group:          Productivity/Graphics/Convertors
+Source:         tiff-%{version}.tar.bz2
+Source3:        baselibs.conf
+Source1001:    tiff.manifest
+BuildRequires:  gcc-c++
+BuildRequires:  libjpeg8-devel
+BuildRequires:  libtool
+BuildRequires:  lzma-devel
+BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(zlib)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%description
+This package contains the library and support programs for the TIFF
+image format.
+
+%package -n libtiff
+Summary:        The Tiff Library (with JPEG and compression support)
+Group:          System/Libraries
+
+%description -n libtiff
+This package includes the tiff libraries. To link a program with
+libtiff, you will have to add -ljpeg and -lz to include the necessary
+libjpeg and libz in the linking process.
+
+%package -n libtiff-devel
+Summary:        Development Tools for Programs which will use the libtiff Library
+Group:          Development/Libraries/C and C++
+Requires:       glibc-devel
+Requires:       libstdc++-devel
+Requires:       libtiff = %{version}
+
+%description -n libtiff-devel
+This package contains the header files and static libraries for
+developing programs which will manipulate TIFF format image files using
+the libtiff library.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%configure --disable-static --with-pic
+make %{?_smp_mflags}
+
+%install
+mkdir -p %{buildroot}/{%{_mandir}/{man1,man3},usr/{bin,lib,include}}
+%make_install
+for f in `find %{buildroot}/%{_mandir} -type f -print ` ; do
+  if [ `wc -l <$f` -eq 1 ] && grep -q "^\.so " $f ; then
+    linkto=`sed -e "s|^\.so ||" $f`
+    [ -f "`dirname $f`/$linkto" ] && ln -sf "$linkto" $f
+  fi
+done
+
+rm -rf %{buildroot}%{_datadir}/doc/tiff*
+rm -f %{buildroot}/%{_libdir}/*.la
+find html -name "Makefile*" | xargs rm
+
+
+%docs_package
+
+%post -n libtiff -p /sbin/ldconfig
+
+%postun -n libtiff -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%{_bindir}/*
+
+%files -n libtiff
+%manifest %{name}.manifest
+%doc COPYRIGHT
+%{_libdir}/*.so.*
+
+%files -n libtiff-devel
+%manifest %{name}.manifest
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog