--- /dev/null
+crosswalk
\ No newline at end of file
--- /dev/null
+%bcond_with x
+%bcond_with wayland
+
+# NaCl build on 64bit system require libc 32bit to build the 32 IRT.
+# While Tizen 64bit image does not offer 32bit packages at all,
+# check https://bugs.tizen.org/jira/browse/PTREL-803 for details.
+# So disable nacl for 64bit now.
+### ARM
+# Due to OBS build for ARM some files needed by NaCl to be build
+# are not present.
+%define _disable_nacl 1
+
+
+# adjust compression algorithm to speed up RPMS creation
+# source RPM and debug RPMS are big and take too much time
+# when using standard (lzma) compression
+%define _source_payload w3.gzdio
+%define _binary_payload w3.gzdio
+
+Name: crosswalk
+Version: 10.38.222.0
+Release: 0
+Summary: Chromium-based app runtime
+License: (BSD-3-Clause and LGPL-2.1+)
+Group: Web Framework/Web Run Time
+Url: https://github.com/otcshare/crosswalk
+Source: %{name}.tar
+Source1: xwalk.in
+Source2: org.crosswalkproject.Runtime1.service
+Source3: xwalk.service.in
+Source1001: crosswalk.manifest
+Source1002: %{name}.xml.in
+Source1003: %{name}.png
+Patch9: Blink-Add-GCC-flag-Wno-narrowing-fix-64bits-build.patch
+Patch10: crosswalk-do-not-look-for-gtk-dependencies-on-x11.patch
+
+BuildRequires: bison
+BuildRequires: bzip2-devel
+BuildRequires: elfutils
+BuildRequires: expat-devel
+BuildRequires: flex
+BuildRequires: binutils-gold
+BuildRequires: gperf
+BuildRequires: libcap-devel
+BuildRequires: libelf-devel
+BuildRequires: ninja
+BuildRequires: python
+BuildRequires: python-xml
+BuildRequires: perl
+BuildRequires: which
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(alsa)
+BuildRequires: pkgconfig(appcore-common)
+BuildRequires: pkgconfig(cairo)
+BuildRequires: pkgconfig(capi-location-manager)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(fontconfig)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(gles20)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(haptic)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(libexif)
+BuildRequires: pkgconfig(libpci)
+BuildRequires: pkgconfig(libpulse)
+BuildRequires: pkgconfig(tizen-platform-wrapper)
+BuildRequires: pkgconfig(libtzplatform-config)
+BuildRequires: pkgconfig(libudev)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(libxslt)
+BuildRequires: pkgconfig(pango)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(pkgmgr-installer)
+BuildRequires: pkgconfig(pkgmgr-parser)
+BuildRequires: pkgconfig(secure-storage)
+BuildRequires: pkgconfig(sensor)
+BuildRequires: pkgconfig(nspr)
+BuildRequires: pkgconfig(nss)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(xmlsec1)
+%if %{with x}
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xcomposite)
+BuildRequires: pkgconfig(xcursor)
+BuildRequires: pkgconfig(xdamage)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xfixes)
+BuildRequires: pkgconfig(xi)
+BuildRequires: pkgconfig(xrandr)
+BuildRequires: pkgconfig(xrender)
+BuildRequires: pkgconfig(xscrnsaver)
+BuildRequires: pkgconfig(xt)
+BuildRequires: pkgconfig(xtst)
+%endif
+
+%if "%{profile}" == "ivi"
+BuildRequires: pkgconfig(murphy-common)
+BuildRequires: pkgconfig(murphy-resource)
+%endif
+
+%if %{with wayland}
+BuildRequires: pkgconfig(wayland-client)
+BuildRequires: pkgconfig(wayland-cursor)
+BuildRequires: pkgconfig(wayland-egl)
+BuildRequires: pkgconfig(xkbcommon)
+%endif
+Requires: ca-certificates-tizen
+
+BuildRequires: crosswalk-thirdparty
+
+%description
+Crosswalk is an app runtime based on Chromium. It is an open source project started by the Intel Open Source Technology Center (http://www.01.org).
+
+%define _manifestdir %TZ_SYS_RO_PACKAGES
+%define _manifestdir_ro %TZ_SYS_RO_PACKAGES
+%define _desktop_icondir %TZ_SYS_RW_ICONS/default/small
+%define _desktop_icondir_ro %TZ_SYS_RO_ICONS/default/small
+%define _dbusservicedir /usr/share/dbus-1/services
+%define _systemduserservicedir /usr/lib/systemd/user
+
+%prep
+%setup -q -n crosswalk
+
+cp %{SOURCE1} .
+cp %{SOURCE3} .
+cp %{SOURCE1001} .
+cp %{SOURCE1002} .
+cp %{SOURCE1003} .
+sed "s/@VERSION@/%{version}/g" %{name}.xml.in > %{name}.xml
+sed "s|@LIB_INSTALL_DIR@|%{_libdir}|g" xwalk.in > xwalk
+sed "s|@LIB_INSTALL_DIR@|%{_libdir}|g" xwalk.service.in > xwalk.service
+
+cp -a src/AUTHORS AUTHORS.chromium
+cp -a src/LICENSE LICENSE.chromium
+cp -a src/xwalk/LICENSE LICENSE.xwalk
+
+%patch9
+
+# The profiles using Wayland (and thus Ozone) do not need this patch.
+%if !%{with wayland}
+%patch10
+%endif
+
+%build
+
+mkdir -p src/out
+if [ -f ${prefix}/share/crosswalk-thirdparty/out.tgz ]; then
+ tar -zxvf %{_datadir}/crosswalk-thirdparty/out.tgz
+fi
+find . -exec touch -a -m -t "200912120000" {} \;
+
+# 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
+export CFLAGS=`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g`
+
+%if ! %{_disable_nacl}
+# For nacl_bootstrap on ia32. The original CFLAGS set by the gyp
+# native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp already ignored
+# -fstack-protector and -funwind-tables, but Tizen's CFLAGS end up appending them, thus
+# causing linking failures. Check XWALK-1689 for details.
+export CFLAGS=`echo $CFLAGS | sed s,-fstack-protector,,g`
+export CFLAGS=`echo $CFLAGS | sed s,-funwind-tables,,g`
+%endif
+
+# Building the RPM in the GBS chroot fails with errors such as
+# /usr/lib/gcc/i586-tizen-linux/4.7/../../../../i586-tizen-linux/bin/ld:
+# failed to set dynamic section sizes: Memory exhausted
+# For now, work around it by passing a GNU ld-specific flag that optimizes the
+# linker for memory usage.
+export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory"
+
+# Support building in a non-standard directory, possibly outside %{_builddir}.
+# Since the build root is erased every time a new build is performed, one way
+# to avoid losing the build directory is to specify a location outside the
+# build root to the BUILDDIR_NAME definition, such as "/var/tmp/xwalk-build"
+# (remember all paths are still inside the chroot):
+# gbs build --define 'BUILDDIR_NAME /some/path'
+BUILDDIR_NAME="%{?BUILDDIR_NAME}"
+if [ -n "${BUILDDIR_NAME}" ]; then
+ mkdir -p "${BUILDDIR_NAME}"
+ ln -s "${BUILDDIR_NAME}" src/out
+fi
+
+%if %{with wayland}
+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
+GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=%{_disable_nacl} -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 "
+
+# Linking fails in Tizen Common when fatal ld warnings are enabled. XWALK-1379.
+GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_fatal_linker_warnings=1"
+
+# 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
+# sysroot usage is not needed, we need to use arm libraries from the virtualized environment.
+#
+# Crosswalk build fails if the fpu selected in the gcc option is different from neon in case of arm7 compilation
+# So force it.
+%ifarch %{arm}
+GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Dsysroot= "
+export CFLAGS=`echo $CFLAGS | sed s,-mfpu=vfpv3,-mfpu=neon,g`
+export CXXFLAGS=`echo $CXXFLAGS | sed s,-mfpu=vfpv3,-mfpu=neon,g`
+export FFLAGS=`echo $FFLAGS | sed s,-mfpu=vfpv3,-mfpu=neon,g`
+%endif
+
+%if "%{profile}" == "ivi"
+GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Denable_murphy=1"
+%endif
+
+# --no-parallel is added because chroot does not mount a /dev/shm, this will
+# cause python multiprocessing.SemLock error.
+export GYP_GENERATORS='ninja'
+./src/xwalk/gyp_xwalk src/xwalk/xwalk.gyp \
+--no-parallel \
+${GYP_EXTRA_FLAGS} \
+-Dchromeos=0 \
+-Dclang=0 \
+-Dtizen=1 \
+-Dpython_ver=2.7 \
+-Duse_aura=1 \
+-Duse_cups=0 \
+-Duse_gconf=0 \
+-Duse_gnome_keyring=0 \
+-Duse_kerberos=0 \
+-Duse_system_bzip2=1 \
+-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 xwalk_launcher xwalk_application_tools
+
+%install
+# Binaries.
+install -p -D %{SOURCE2} %{buildroot}%{_dbusservicedir}/org.crosswalkproject.Runtime1.service
+install -p -D xwalk.service %{buildroot}%{_systemduserservicedir}/xwalk.service
+install -p -D src/out/Release/xwalk %{buildroot}%{_libdir}/xwalk/xwalk
+install -p -D src/out/Release/xwalkctl %{buildroot}%{_bindir}/xwalkctl
+install -p -D src/out/Release/xwalk-launcher %{buildroot}%{_bindir}/xwalk-launcher
+install -p -D src/out/Release/lib/libxwalk-backendlib.so %{buildroot}%{_libdir}/xwalk/libxwalk-backendlib.so
+install -p -D src/xwalk/application/tools/tizen/xwalk_backend_wrapper.sh %{buildroot}%{_libdir}/xwalk/xwalk_backend_wrapper.sh
+
+# Supporting libraries and resources.
+install -p -D src/out/Release/icudtl.dat %{buildroot}%{_libdir}/xwalk/icudtl.dat
+install -p -D src/out/Release/libffmpegsumo.so %{buildroot}%{_libdir}/xwalk/libffmpegsumo.so
+install -p -D src/out/Release/xwalk.pak %{buildroot}%{_libdir}/xwalk/xwalk.pak
+mkdir -p %{buildroot}%{_datadir}/xwalk
+install -p -D src/xwalk/application/common/tizen/configuration/*.xsd %{buildroot}%{_datadir}/xwalk/
+
+# PNaCl
+%if ! %{_disable_nacl}
+install -p -D src/out/Release/nacl_bootstrap_raw %{buildroot}%{_libdir}/xwalk/nacl_bootstrap_raw
+install -p -D src/out/Release/nacl_helper %{buildroot}%{_libdir}/xwalk/nacl_helper
+install -p -D src/out/Release/nacl_helper_bootstrap %{buildroot}%{_libdir}/xwalk/nacl_helper_bootstrap
+install -p -D src/out/Release/nacl_irt_*.nexe %{buildroot}%{_libdir}/xwalk
+install -p -d %{buildroot}%{_libdir}/xwalk/pnacl
+install -m 0664 -p -D src/out/Release/pnacl/* %{buildroot}%{_libdir}/xwalk/pnacl
+%endif
+
+# Register xwalk to the package manager.
+install -p -D %{name}.xml %{buildroot}%{_manifestdir}/%{name}.xml
+install -p -D %{name}.png %{buildroot}%{_desktop_icondir}/%{name}.png
+
+%post
+mkdir -p %{_desktop_icondir_ro}
+mkdir -p %{_manifestdir_ro}
+
+ln -sf %{_libdir}/xwalk/libxwalk-backendlib.so /etc/package-manager/backendlib/libxpk.so
+ln -sf %{_libdir}/xwalk/libxwalk-backendlib.so /etc/package-manager/backendlib/libwgt.so
+ln -sf %{_libdir}/xwalk/xwalk_backend_wrapper.sh /etc/package-manager/backend/xpk
+ln -sf %{_libdir}/xwalk/xwalk_backend_wrapper.sh /etc/package-manager/backend/wgt
+
+%preun
+if [ $1 -eq 0 ] ; then
+ # don't remove if we are upgrade the rpm package
+[ -L /etc/package-manager/backendlib/libxpk.so ] && rm /etc/package-manager/backendlib/libxpk.so
+[ -L /etc/package-manager/backendlib/libwgt.so ] && rm /etc/package-manager/backendlib/libwgt.so
+[ -L /etc/package-manager/backend/xpk ] && rm /etc/package-manager/backend/xpk
+[ -L /etc/package-manager/backend/wgt ] && rm /etc/package-manager/backend/wgt
+fi
+
+%files
+%manifest %{name}.manifest
+%license AUTHORS.chromium LICENSE.chromium LICENSE.xwalk
+%{_bindir}/xwalkctl
+%{_bindir}/xwalk-launcher
+%{_libdir}/xwalk/icudtl.dat
+%{_libdir}/xwalk/libffmpegsumo.so
+%if ! %{_disable_nacl}
+%{_libdir}/xwalk/nacl_bootstrap_raw
+%{_libdir}/xwalk/nacl_helper
+%{_libdir}/xwalk/nacl_helper_bootstrap
+%{_libdir}/xwalk/nacl_irt_*.nexe
+%{_libdir}/xwalk/pnacl/*
+%endif
+%{_libdir}/xwalk/xwalk
+%{_libdir}/xwalk/xwalk.pak
+%{_libdir}/xwalk/libxwalk-backendlib.so
+%{_libdir}/xwalk/xwalk_backend_wrapper.sh
+%{_manifestdir}/%{name}.xml
+%{_desktop_icondir}/%{name}.png
+%{_dbusservicedir}/org.crosswalkproject.Runtime1.service
+%{_systemduserservicedir}/xwalk.service
+%{_datadir}/xwalk/*
%install
-mkdir -p %{buildroot}/opt/crosswalk-thirdparty/
-#cp -ar src/out/* %{buildroot}/opt/crosswalk-thirdparty/
+mkdir -p %{buildroot}/%{_datadir}/crosswalk-thirdparty/
tar -zcvf out.tgz src/out
-cp -ar out.tgz %{buildroot}/opt/crosswalk-thirdparty/
+cp -ar out.tgz %{buildroot}/%{_datadir}/crosswalk-thirdparty/
%files
%manifest %{name}.manifest
-/opt/crosswalk-thirdparty/*
+%{_datadir}/crosswalk-thirdparty/*
-Name: desktop-skin
-Summary: Desktop skin for Tizen:Common
-Version: 2.0
-Group: Applications/Multimedia
-License: GPL-2.0+
-Release: 1
+Name: desktop-skin
+Summary: Desktop skin for Tizen:Common
+Version: 2.0
+Group: Applications/Multimedia
+License: GPL-2.0+
+Release: 0
Source0: %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
Requires: python-cairo
+BuildArchitectures: noarch
+
%description
Provides desktop visuals and test programs
- desktop background
%prep
%setup -q
+cp %{SOURCE1001} .
%build
ln -sf tizen_common.png %{_datadir}/backgrounds/tizen/current
%files
+%manifest %{name}.manifest
%{_bindir}/*
%{_datadir}/media/videos/AmazingNature_480p.mp4
%{_datadir}/media/photos/*
--- /dev/null
+Name: dukgenerator
+Version: 1.0.0
+Release: 7
+License: Apache-2.0
+Summary: Device Unique Key Library
+Group: Security/Libraries
+Source0: %{name}-%{version}.tar.gz
+Source1001: dukgenerator.manifest
+BuildRequires: cmake
+
+BuildRequires: pkgconfig(cryptsvc)
+BuildRequires: pkgconfig(openssl)
+
+%description
+Device Unique Key Library.
+
+%package devel
+Summary: Device Unique Key Library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Device Unique Key Library (Development Files).
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DLIB_INSTALL_DIR:PATH=%{_libdir} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION="%{summary}" -DBUILD_SHARED_LIBS:BOOL=OFF
+make %{?_smp_mflags}
+
+
+%install
+make DESTDIR=%{?buildroot:%{buildroot}} INSTALL_ROOT=%{?buildroot:%{buildroot}} install
+rm -f %{?buildroot:%{buildroot}}%{_infodir}/dir
+find %{?buildroot:%{buildroot}} -regex ".*\\.la$" | xargs rm -f --
+
+%files
+%manifest %{name}.manifest
+%license LICENSE.APLv2
+%{_libdir}/*.a
+
+
+%files devel
+%manifest %{name}.manifest
+%{_includedir}/*
+%{_libdir}/pkgconfig/dukgenerator.pc
Summary: AV codec lib
Version: 9.8
Release: 0
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
URL: http://libav.org
License: LGPL-2.1+
Source0: %{name}-%{version}.tar.gz
-
+Source1001: %{name}.manifest
%description
AV codec library
%package -n libavtools
Summary: AV tools
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
%description -n libavtools
AV tools binary
%package -n libavcodec
Summary: AV codec lib
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
%description -n libavcodec
AV codec library
%package -n libavcodec-devel
Summary: AV codec lib (devel)
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
Requires: libavcodec = %{version}-%{release}
%description -n libavcodec-devel
%package -n libavformat
Summary: AV format lib
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
%description -n libavformat
AV format library
%package -n libavformat-devel
Summary: AV format lib (devel)
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
Requires: libavformat = %{version}-%{release}
%description -n libavformat-devel
%package -n libavutil
Summary: AV util lib
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
%description -n libavutil
AV util library
%package -n libavutil-devel
Summary: AV util lib (devel)
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
Requires: libavutil = %{version}-%{release}
%description -n libavutil-devel
%package -n libavfilter
Summary: AV util lib
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
%description -n libavfilter
AV filter library
%package -n libavfilter-devel
Summary: AV util lib (devel)
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
Requires: libavfilter = %{version}-%{release}
%description -n libavfilter-devel
%package -n libswscale
Summary: SW scale lib
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
%description -n libswscale
development files for libswsacle
%package -n libswscale-devel
Summary: SW scale lib (devel)
-Group: Multimedia/Libraries
+Group: Multimedia/Codec
Requires: libswscale = %{version}-%{release}
%description -n libswscale-devel
development files for libswsacle
-
%prep
%setup -q
-
+cp %{SOURCE1001} .
%build
-
-export CONFIGURE_OPTIONS="\
---disable-static --disable-nonfree --disable-gpl \
---disable-version3 --disable-devices --disable-doc \
---disable-zlib --disable-network --disable-avdevice \
---disable-bsfs --disable-yasm --disable-avresample \
---disable-muxers \
---disable-filters \
---enable-filter=buffer --enable-filter=buffersink --enable-filter=crop \
---enable-filter=hflip --enable-filter=lut --enable-filter=lutyuv \
---enable-filter=lutrgb --enable-filter=overlay --enable-filter=scale \
---enable-filter=transpose --enable-filter=unsharp --enable-filter=vflip \
+export CONFIGURE_OPTIONS="--enable-shared --disable-static \
+--disable-version3 --disable-devices --disable-nonfree --disable-gpl --disable-doc \
+--disable-zlib --disable-network \
+--disable-avdevice \
+--disable-bsfs --disable-filters \
+--enable-filter=buffer --enable-filter=buffersink --enable-filter=crop \
+--enable-filter=hflip --enable-filter=lut --enable-filter=lutyuv \
+--enable-filter=lutrgb --enable-filter=overlay --enable-filter=scale \
+--enable-filter=transpose --enable-filter=unsharp --enable-filter=vflip \
--disable-protocols \
+--disable-avresample \
--enable-protocol=file \
+--disable-encoders \
+--disable-muxers \
--disable-parsers \
---enable-parser=aac --enable-parser=h264 --enable-parser=mpegaudio \
---enable-parser=h263 --enable-parser=mpeg4video --enable-parser=mpegvideo \
+--enable-parser=aac --enable-parser=h264 --enable-parser=mpegaudio \
+--enable-parser=h263 --enable-parser=mpeg4video --enable-parser=mpegvideo \
--disable-demuxers \
---enable-demuxer=aac --enable-demuxer=h264 --enable-demuxer=mpegts \
---enable-demuxer=amr --enable-demuxer=m4v --enable-demuxer=mpegtsraw \
---enable-demuxer=asf --enable-demuxer=mmf --enable-demuxer=mpegvideo \
---enable-demuxer=avi --enable-demuxer=mov --enable-demuxer=ogg \
---enable-demuxer=flac --enable-demuxer=mp3 --enable-demuxer=wav \
---enable-demuxer=h263 --enable-demuxer=mpegps --enable-demuxer=matroska \
---enable-demuxer=dv --enable-demuxer=flv \
+--enable-demuxer=aac --enable-demuxer=h264 --enable-demuxer=mpegts \
+--enable-demuxer=amr --enable-demuxer=m4v --enable-demuxer=mpegtsraw \
+--enable-demuxer=asf --enable-demuxer=mmf --enable-demuxer=mpegvideo \
+--enable-demuxer=avi --enable-demuxer=mov --enable-demuxer=ogg \
+--enable-demuxer=flac --enable-demuxer=mp3 --enable-demuxer=wav \
+--enable-demuxer=h263 --enable-demuxer=mpegps --enable-demuxer=matroska \
+--enable-demuxer=dv --enable-demuxer=flv \
--disable-decoders \
---enable-decoder=alac --enable-decoder=h264 --enable-decoder=wmv1 \
---enable-decoder=flac --enable-decoder=mpeg4 --enable-decoder=wmv2 \
---enable-decoder=h263 --enable-decoder=mpegvideo --enable-decoder=wmv3 \
---enable-decoder=vc1 --enable-decoder=flv --enable-decoder=amrnb \
---enable-decoder=tiff --enable-decoder=mp3 --enable-decoder=h263i \
---enable-decoder=aac --enable-decoder=theora --enable-decoder=pcm_mulaw \
---enable-decoder=pcm_alaw --enable-decoder=bmp \
---disable-encoders \
---enable-encoder=h263 --enable-encoder=h263p --enable-encoder=mpeg4 \
---enable-encoder=bmp --enable-encoder=aac \
---enable-swscale --enable-fft --enable-rdft \
---enable-mdct --enable-neon --enable-shared \
+--enable-decoder=alac --enable-decoder=h264 --enable-decoder=wmv1 \
+--enable-decoder=flac --enable-decoder=mpeg4 --enable-decoder=wmv2 \
+--enable-decoder=h263 --enable-decoder=mpegvideo --enable-decoder=wmv3 \
+--enable-decoder=vc1 --enable-decoder=flv \
+--enable-decoder=h263i --enable-decoder=theora \
+--enable-decoder=pcm_alaw --enable-decoder=pcm_mulaw \
+--enable-encoder=h263 --enable-encoder=h263p --enable-encoder=mpeg4 \
+--enable-decoder=bmp --enable-encoder=bmp \
+--enable-decoder=tiff \
+--enable-decoder=mp3 --enable-decoder=amrnb \
+--enable-encoder=aac --enable-decoder=aac \
+--enable-swscale --disable-yasm \
+--enable-fft --enable-rdft --enable-mdct --enable-neon \
"
-
%ifarch %{arm}
export CONFIGURE_OPTIONS+="--disable-mmx"
%else
%ifarch %{arm}
./configure \
- --prefix=%{_prefix} \
- --libdir=%_libdir \
- --shlibdir=%_libdir \
+ --prefix=%{_prefix} \
+ --libdir=%{_libdir} \
+ --shlibdir=%{_libdir} \
%ifnarch aarch64
- --extra-cflags="-mfpu=neon" \
+ --extra-cflags="-mfpu=neon" \
%endif
- $CONFIGURE_OPTIONS
+ $CONFIGURE_OPTIONS
%else
-./configure --prefix=%{_prefix} --shlibdir=%_libdir --libdir=%_libdir $CONFIGURE_OPTIONS
+./configure --prefix=%{_prefix} --shlibdir=%{_libdir} --libdir=%{_libdir} $CONFIGURE_OPTIONS
%endif
%__make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%make_install
-
+mkdir -p %{buildroot}/%{_datadir}/license
+cp -rf %{_builddir}/%{name}-%{version}/COPYING.LGPLv2.1 %{buildroot}/%{_datadir}/license/libavcodec
+cp -rf %{_builddir}/%{name}-%{version}/COPYING.LGPLv2.1 %{buildroot}/%{_datadir}/license/libavformat
+cp -rf %{_builddir}/%{name}-%{version}/COPYING.LGPLv2.1 %{buildroot}/%{_datadir}/license/libavutil
+cp -rf %{_builddir}/%{name}-%{version}/COPYING.LGPLv2.1 %{buildroot}/%{_datadir}/license/libavfilter
+cp -rf %{_builddir}/%{name}-%{version}/COPYING.LGPLv2.1 %{buildroot}/%{_datadir}/license/libswscale
%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-%post -n libavcodec -p /sbin/ldconfig
-%postun -n libavcodec -p /sbin/ldconfig
-
-%post -n libavformat -p /sbin/ldconfig
-%postun -n libavformat -p /sbin/ldconfig
-
-%post -n libavutil -p /sbin/ldconfig
-%postun -n libavutil -p /sbin/ldconfig
-
-%post -n libavfilter -p /sbin/ldconfig
-%postun -n libavfilter -p /sbin/ldconfig
-
-%post -n libswscale -p /sbin/ldconfig
-%postun -n libswscale -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files -n libavtools
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_bindir}/av*
%{_datadir}/avconv/*.avpreset
%files -n libavcodec
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libavcodec.so.*
-%license COPYING.LGPLv2.1
+%{_datadir}/license/libavcodec
+%post -n libavcodec -p /sbin/ldconfig
+%postun -n libavcodec -p /sbin/ldconfig
%files -n libavformat
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libavformat.so.*
-%license COPYING.LGPLv2.1
+%{_datadir}/license/libavformat
+%post -n libavformat -p /sbin/ldconfig
+%postun -n libavformat -p /sbin/ldconfig
%files -n libavutil
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libavutil.so.*
-%license COPYING.LGPLv2.1
+%{_datadir}/license/libavutil
+%post -n libavutil -p /sbin/ldconfig
+%postun -n libavutil -p /sbin/ldconfig
%files -n libavfilter
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libavfilter.so.*
-%license COPYING.LGPLv2.1
+%{_datadir}/license/libavfilter
+%post -n libavfilter -p /sbin/ldconfig
+%postun -n libavfilter -p /sbin/ldconfig
%files -n libswscale
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libswscale.so.*
-%license COPYING.LGPLv2.1
+%{_datadir}/license/libswscale
+%post -n libswscale -p /sbin/ldconfig
+%postun -n libswscale -p /sbin/ldconfig
%files -n libavcodec-devel
%defattr(-,root,root,-)
-%_includedir/libavcodec/*
-%_libdir/libavcodec.so
-%_libdir/pkgconfig/libavcodec.pc
+%manifest %{name}.manifest
+%{_includedir}/libavcodec/*
+%{_libdir}/libavcodec.so
+%{_libdir}/pkgconfig/libavcodec.pc
%files -n libavformat-devel
%defattr(-,root,root,-)
-%_includedir/libavformat/*
-%_libdir/libavformat.so
-%_libdir/pkgconfig/libavformat.pc
+%manifest %{name}.manifest
+%{_includedir}/libavformat/*
+%{_libdir}/libavformat.so
+%{_libdir}/pkgconfig/libavformat.pc
%files -n libavutil-devel
%defattr(-,root,root,-)
-%_includedir/libavutil/*
-%_libdir/libavutil.so
-%_libdir/pkgconfig/libavutil.pc
+%manifest %{name}.manifest
+%{_includedir}/libavutil/*
+%{_libdir}/libavutil.so
+%{_libdir}/pkgconfig/libavutil.pc
%files -n libavfilter-devel
%defattr(-,root,root,-)
-%_includedir/libavfilter/*
-%_libdir/libavfilter.so
-%_libdir/pkgconfig/libavfilter.pc
+%manifest %{name}.manifest
+%{_includedir}/libavfilter/*
+%{_libdir}/libavfilter.so
+%{_libdir}/pkgconfig/libavfilter.pc
%files -n libswscale-devel
%defattr(-,root,root,-)
-%_includedir/libswscale/*
-%_libdir/libswscale.so
-%_libdir/pkgconfig/libswscale.pc
+%manifest %{name}.manifest
+%{_includedir}/libswscale/*
+%{_libdir}/libswscale.so
+%{_libdir}/pkgconfig/libswscale.pc
--- /dev/null
+Name: libcryptsvc
+Summary: Crypto Service Library
+Version: 0.0.1
+Release: 6
+Group: Security/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1001: libcryptsvc.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(openssl)
+
+%description
+Crypto Service Library.
+
+%package devel
+Summary: Crypto Service Library (Development)
+Group: Security/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Crypto Service Library (Development).
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%ifarch %ix86 x86_64
+%cmake . -DARCH=x86 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION="%{summary}"
+%else
+%cmake . -DARCH=arm -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION="%{summary}"
+%endif
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%license LICENSE.APLv2
+%{_libdir}/*.so*
+
+%files devel
+%manifest %{name}.manifest
+%{_includedir}/*
+%{_libdir}/pkgconfig/cryptsvc.pc
--- /dev/null
+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
%define profile common
-Summary: Common Meta Data
-Name: meta-common
-Version: 001
-Release: 1
-BuildArch: noarch
-License: GPL-2.0
-Group: Base/Configuration
-URL: http://www.tizen.org
-Source: %{name}-%{version}.tar.bz2
+Summary: Common Meta Data
+Name: meta-common
+Version: 001
+Release: 0
+License: GPL-2.0
+Group: Base/Configuration
+URL: http://www.tizen.org
+Source: %{name}-%{version}.tar.bz2
+Source1001: %{name}.manifest
+
+Requires: meta-generic
-Requires: meta-generic
+BuildArch: noarch
%description
Common Meta Data.
%prep
%setup -q
+cp %{SOURCE1001} .
%build
-make
+%__make
%install
%make_install
-
%files
%attr(644,-,-) %{_datadir}/package-groups/%{profile}/*.yaml
+%manifest %{name}.manifest
%{_datadir}/image-configurations/%{profile}/*.yaml
%{_datadir}/image-configurations/%{profile}/configs/*.yaml
%{_datadir}/image-configurations/%{profile}/partitions
-Name: neardal
+Name: neardal
Summary: Neard Abstraction Library (for Neard v0.7)
Version: 0.7.0
-Release: 20140926.1411744055
+Release: 0
Group: Network & Connectivity/NFC
License: LGPL-2.0
URL: https://github.com/connectivity/neardal.git
Source0: %{name}-%{version}.tar.bz2
+Source1001: %{name}.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: autoconf
BuildRequires: gettext-tools
BuildRequires: python-xml
-BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) >= 2.30.0
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(dlog)
%prep
%setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
%build
%reconfigure --disable-traces --prefix=/usr
Summary: Headers for neardal
Requires: %{name} = %{version}-%{release}
-
%description devel
-Development headers and libraries for neardal
+Development headers and libraries for neardal.
%install
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%license COPYING
%doc README AUTHORS
-
-# libraries files
%{_libdir}/libneardal.so.0
%{_libdir}/libneardal.so.0.0.1
%files devel
-# headers files
+%manifest %{name}.manifest
%{_includedir}/neardal/*.h
-# pkg-config files
%{_libdir}/pkgconfig/neardal.pc
%{_libdir}/libneardal.so
--- /dev/null
+Name: oma-ds-agent
+Summary: OMA-DS Agent Daemon for Data Synchronization
+Version: 0.1.66
+Release: 0
+Group: Base/Device Management
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(sync-agent)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(check)
+BuildRequires: pkgconfig(memo)
+BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(libtzplatform-config)
+BuildRequires: expat-devel
+BuildRequires: cmake
+
+
+%description
+oma-ds-agent daemon (development headers)
+
+%package -n ds-public-plugins
+Summary: DS Public Plugins
+Group: Base/Device Management
+
+%description -n ds-public-plugins
+ds public plugins for sync-agent
+
+
+%prep
+%setup -q
+
+
+%build
+%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DTZ_SYS_DB=%TZ_SYS_DB
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+
+if [ ! -d %{buildroot}%{TZ_SYS_DB} ]
+then
+ mkdir -p %{buildroot}%{TZ_SYS_DB}
+fi
+
+sqlite3 %{buildroot}%{TZ_SYS_DB}/.omasyncagent.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
+
+%make_install
+
+%clean
+rm -rf %{buildroot}
+
+
+%post
+if [ ! -d %{TZ_SYS_DB} ]
+then
+ mkdir %{TZ_SYS_DB}
+fi
+if [ ! -d %{_sysconfdir}/rc.d/rc3.d ]
+then
+ mkdir %{_sysconfdir}/rc.d/rc3.d
+fi
+if [ ! -d %{_sysconfdir}/rc.d/rc5.d ]
+then
+ mkdir %{_sysconfdir}/rc.d/rc5.d
+fi
+
+
+%postun
+
+rm -f /tmp/agent_fw_event_omads*
+rm -f /tmp/agent_fw_noti_reply_omads*
+
+rm -f %{_sysconfdir}/rc.d/rc3.d/S91oma-ds-agent
+rm -f %{_sysconfdir}/rc.d/rc5.d/S91oma-ds-agent
+
+rm -f %{TZ_SYS_DB}/.omasyncagent.db %{TZ_SYS_DB}/.omasyncagent.db-journal
+
+rm -rf /usr/share/oma-ds-cfg
+
+
+%files
+%attr(600,root,root) %{TZ_SYS_DB}/.omasyncagent.db
+%attr(600,root,root) %{TZ_SYS_DB}/.omasyncagent.db-journal
+
+%manifest oma-ds-agent.manifest
+%defattr(-,root,root,-)
+/usr/share/dbus-1/system-services/com.samsung.omadsagent.service
+%{_bindir}/oma-ds-agent
+
+/usr/share/oma-ds-cfg/*
+
+%defattr(700,root,root)
+%defattr(644,root,root)
+/usr/lib/systemd/system/oma-ds-agent.service
+/usr/lib/systemd/system/graphical.target.wants/oma-ds-agent.service
+%{_sysconfdir}/dbus-1/system.d/com.samsung.omadsagent.conf
+
+%files -n ds-public-plugins
+%manifest ds-public-plugins.manifest
+%defattr(-,root,root,-)
+/usr/lib/sync-agent/ds-public/*
Summary: PA realtime scheduling
Group: Multimedia/Audio
Requires: %{name} = %{version}-%{release}
-Requires: /usr/sbin/setcap
+Requires: libcap-tools
%description realtime-scheduling
PulseAudio realtime-scheduling.
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
export LD_AS_NEEDED=0
-./bootstrap.sh --prefix=%{_prefix} \
+NOCONFIGURE=yes ./bootstrap.sh
+%configure --prefix=%{_prefix} \
--disable-static \
--enable-alsa \
--disable-ipv6 \
--- /dev/null
+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
--- /dev/null
+Name: secure-storage
+Summary: Secure storage
+Version: 0.12.9
+Release: 4
+Group: System/Security
+License: Apache 2.0
+Source0: secure-storage-%{version}.tar.gz
+Source1001: libss-client.manifest
+Source1002: libss-client-devel.manifest
+Source1003: ss-server.manifest
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(libsystemd-daemon)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: cmake
+BuildRequires: pkgconfig(dukgenerator)
+
+%description
+Secure storage package
+
+%package -n libss-client
+Summary: Secure storage (client)
+Group: Development/Libraries
+Provides: libss-client.so
+Requires: dukgenerator
+
+%description -n libss-client
+Secure storage package (client)
+
+%package -n libss-client-devel
+Summary: Secure storage (client-devel)
+Group: Development/Libraries
+Requires: libss-client = %{version}-%{release}
+
+%description -n libss-client-devel
+Secure storage package (client-devel)
+
+%package -n ss-server
+Summary: Secure storage (ss-server)
+Group: Development/Libraries
+Requires(preun): /usr/bin/systemctl
+Requires(post): /usr/bin/systemctl
+Requires(postun): /usr/bin/systemctl
+Requires: systemd
+Requires: libss-client = %{version}-%{release}
+
+%description -n ss-server
+Secure storage package (ss-server)
+
+%prep
+%setup -q
+cp %{SOURCE1001} %{SOURCE1002} %{SOURCE1003} .
+
+
+%build
+%cmake .
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/multi-user.target.wants
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/sockets.target.wants
+ln -s ../secure-storage.service %{buildroot}%{_prefix}/lib/systemd/system/multi-user.target.wants/secure-storage.service
+ln -s ../secure-storage.socket %{buildroot}%{_prefix}/lib/systemd/system/sockets.target.wants/secure-storage.socket
+
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/ss-server
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/libss-client
+
+%preun -n ss-server
+if [ $1 == 0 ]; then
+ systemctl stop secure-storage.service
+ systemctl disable secure-storage.service -q
+fi
+
+%post -n ss-server
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ systemctl enable secure-storage.service -q
+ systemctl restart secure-storage.service
+fi
+
+%postun -n ss-server
+systemctl daemon-reload
+
+%post -n libss-client -p /sbin/ldconfig
+
+%postun -n libss-client -p /sbin/ldconfig
+
+%files -n ss-server
+%manifest ss-server.manifest
+%defattr(-,root,root,-)
+%{_bindir}/ss-server
+%{_prefix}/lib/systemd/system/secure-storage.service
+%{_prefix}/lib/systemd/system/multi-user.target.wants/secure-storage.service
+%{_prefix}/lib/systemd/system/secure-storage.socket
+%{_prefix}/lib/systemd/system/sockets.target.wants/secure-storage.socket
+%{_datadir}/secure-storage/config
+/usr/share/license/ss-server
+
+%files -n libss-client
+%manifest libss-client.manifest
+%defattr(-,root,root)
+%{_libdir}/libss-client.so.*
+/usr/share/license/libss-client
+
+%files -n libss-client-devel
+%manifest libss-client-devel.manifest
+%defattr(-,root,root,-)
+%{_includedir}/ss_manager.h
+%{_libdir}/pkgconfig/secure-storage.pc
+%{_libdir}/libss-client.so
+
+%if ! 0%{?_rootprefix:1}
+%define _rootprefix %{_prefix}
+%endif
+%define _rootlibdir %{_rootprefix}/lib
+
Name: systemd
-Version: 208
+Version: 212
Release: 0
# For a breakdown of the licensing, see README
License: LGPL-2.0+ and MIT and GPL-2.0+
BuildRequires: libcap-devel
BuildRequires: libgcrypt-devel
BuildRequires: libkmod-devel >= 14
-BuildRequires: libxslt
+BuildRequires: xsltproc
+BuildRequires: docbook-xsl-stylesheets
BuildRequires: pam-devel
BuildRequires: pkgconfig
BuildRequires: usbutils >= 0.82
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libpci)
-BuildRequires: attr-devel
+BuildRequires: pkgconfig(libkmod)
+
Requires: dbus
Requires: filesystem
Requires: hwdata
Requires(post): coreutils
Requires(post): gawk
-Requires(post): /usr/bin/chsmack
Requires(pre): coreutils
Requires(pre): /usr/bin/getent
Requires(pre): /usr/sbin/groupadd
License: LGPL-2.0+ and MIT
Summary: Development headers for systemd
Requires: %{name} = %{version}
+Requires: libsystemd = %{version}
Provides: libudev-devel = %{version}
Obsoletes: libudev-devel < 183
intltoolize --force --automake
%reconfigure \
+ --enable-compat-libs \
--enable-bootchart \
--libexecdir=%{_prefix}/lib \
--docdir=%{_docdir}/systemd \
--disable-static \
--with-sysvinit-path= \
--with-sysvrcnd-path= \
- --with-smack-run-label=System
-%__make %{?_smp_mflags} \
- systemunitdir=%{_unitdir} \
- userunitdir=%{_unitdir_user}
+ --with-smack-run-label=System \
+ --with-rootprefix=%{_rootprefix} \
+ --with-rootlibdir=%{_rootlibdir} \
+ cc_cv_CFLAGS__flto=no
+
+%__make %{?_smp_mflags}
%install
%make_install
+%find_lang %{name}
+cat <<EOF >> systemd.lang
+%lang(fr) %{_prefix}/lib/systemd/catalog/systemd.fr.catalog
+%lang(it) %{_prefix}/lib/systemd/catalog/systemd.it.catalog
+%lang(ru) %{_prefix}/lib/systemd/catalog/systemd.ru.catalog
+EOF
+
# udev links
-%{_bindir}/mkdir -p %{buildroot}%{_sbindir}
-%{_bindir}/ln -sf ../bin/udevadm %{buildroot}%{_sbindir}/udevadm
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/firmware/updates
+mkdir -p %{buildroot}/%{_sbindir}
+ln -sf ../bin/udevadm %{buildroot}%{_sbindir}/udevadm
+mkdir -p %{buildroot}%{_prefix}/lib/firmware/updates
# Create SysV compatibility symlinks. systemctl/systemd are smart
# enough to detect in which way they are called.
-%{_bindir}/ln -s ../lib/systemd/systemd %{buildroot}%{_sbindir}/init
-%{_bindir}/ln -s ../lib/systemd/systemd %{buildroot}%{_bindir}/systemd
-%{_bindir}/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/reboot
-%{_bindir}/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/halt
-%{_bindir}/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/poweroff
-%{_bindir}/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/shutdown
-%{_bindir}/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/telinit
-%{_bindir}/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/runlevel
+ln -sf %{_rootprefix}/lib/systemd/systemd %{buildroot}%{_sbindir}/init
+ln -sf %{_rootprefix}/lib/systemd/systemd %{buildroot}%{_bindir}/systemd
+ln -sf ../bin/systemctl %{buildroot}%{_sbindir}/reboot
+ln -sf ../bin/systemctl %{buildroot}%{_sbindir}/halt
+ln -sf ../bin/systemctl %{buildroot}%{_sbindir}/poweroff
+ln -sf ../bin/systemctl %{buildroot}%{_sbindir}/shutdown
+ln -sf ../bin/systemctl %{buildroot}%{_sbindir}/telinit
+ln -sf ../bin/systemctl %{buildroot}%{_sbindir}/runlevel
# legacy links
-%{_bindir}/ln -s loginctl %{buildroot}%{_bindir}/systemd-loginctl
+ln -sf loginctl %{buildroot}%{_bindir}/systemd-loginctl
# We create all wants links manually at installation time to make sure
# they are not owned and hence overriden by rpm after the used deleted
# them.
-%{_bindir}/rm -r %{buildroot}%{_sysconfdir}/systemd/system/*.target.wants
+rm -rf %{buildroot}%{_sysconfdir}/systemd/system/*.target.wants
# Make sure the ghost-ing below works
-%{_bindir}/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel2.target
-%{_bindir}/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel3.target
-%{_bindir}/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel4.target
-%{_bindir}/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel5.target
+touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel2.target
+touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel3.target
+touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel4.target
+touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel5.target
# Make sure these directories are properly owned
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/basic.target.wants
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/default.target.wants
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/dbus.target.wants
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/syslog.target.wants
+mkdir -p %{buildroot}%{_unitdir}/basic.target.wants
+mkdir -p %{buildroot}%{_unitdir}/default.target.wants
+mkdir -p %{buildroot}%{_unitdir}/dbus.target.wants
+mkdir -p %{buildroot}%{_unitdir}/syslog.target.wants
# Make sure the user generators dir exists too
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-generators
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/systemd/user-generators
+mkdir -p %{buildroot}%{_rootprefix}/lib/systemd/system-generators
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/user-generators
# Create new-style configuration files so that we can ghost-own them
-%{_bindir}/touch %{buildroot}%{_sysconfdir}/hostname
-%{_bindir}/touch %{buildroot}%{_sysconfdir}/vconsole.conf
-%{_bindir}/touch %{buildroot}%{_sysconfdir}/locale.conf
-%{_bindir}/touch %{buildroot}%{_sysconfdir}/machine-id
-%{_bindir}/touch %{buildroot}%{_sysconfdir}/machine-info
-%{_bindir}/touch %{buildroot}%{_sysconfdir}/timezone
-#%{_bindir}/mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
-#%{_bindir}/touch %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/00-keyboard.conf
-
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-preset/
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/systemd/user-preset/
+touch %{buildroot}%{_sysconfdir}/hostname
+touch %{buildroot}%{_sysconfdir}/vconsole.conf
+touch %{buildroot}%{_sysconfdir}/locale.conf
+touch %{buildroot}%{_sysconfdir}/machine-id
+touch %{buildroot}%{_sysconfdir}/machine-info
+touch %{buildroot}%{_sysconfdir}/timezone
+#mkdir -p %%{buildroot}%%{_sysconfdir}/X11/xorg.conf.d
+#touch %%{buildroot}%%{_sysconfdir}/X11/xorg.conf.d/00-keyboard.conf
+
+mkdir -p %{buildroot}%{_rootprefix}/lib/systemd/system-preset/
+mkdir -p %{buildroot}%{_rootprefix}/lib/systemd/user-preset/
# Make sure the shutdown/sleep drop-in dirs exist
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-shutdown/
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-sleep/
+mkdir -p %{buildroot}%{_rootprefix}/lib/systemd/system-shutdown/
+mkdir -p %{buildroot}%{_rootprefix}/lib/systemd/system-sleep/
# Make sure the NTP units dir exists
-%{_bindir}/mkdir -p %{buildroot}%{_prefix}/lib/systemd/ntp-units.d/
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/ntp-units.d/
# Install modprobe fragment
-%{_bindir}/mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d/
+mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d/
# Enable readahead services
-%{_bindir}/ln -s ../systemd-readahead-collect.service %{buildroot}%{_prefix}/lib/systemd/system/default.target.wants/
-%{_bindir}/ln -s ../systemd-readahead-replay.service %{buildroot}%{_prefix}/lib/systemd/system/default.target.wants/
+ln -sf ../systemd-readahead-collect.service %{buildroot}%{_unitdir}/default.target.wants/
+ln -sf ../systemd-readahead-replay.service %{buildroot}%{_unitdir}/default.target.wants/
# Fix the dangling /var/lock -> /run/lock symlink
install -Dm644 tmpfiles.d/legacy.conf %{buildroot}%{_prefix}/lib/tmpfiles.d/legacy.conf
install -m644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/
-rm -rf %{buildroot}%{_prefix}/lib/systemd/user/default.target
+rm -rf %{buildroot}/%{_unitdir_user}/default.target
-rm -rf %{buildroot}%{_docdir}/%{name}
+rm -rf %{buildroot}/%{_docdir}/%{name}
# Move macros to the proper location for Tizen
mkdir -p %{buildroot}%{_sysconfdir}/rpm
install -m644 src/core/macros.systemd %{buildroot}%{_sysconfdir}/rpm/macros.systemd
-rm -f %{buildroot}%{_prefix}/lib/rpm/macros.d/macros.systemd
+
+rm -fr %{buildroot}%{_prefix}/lib/rpm
+rm -fr %{buildroot}%{_sysconfdir}/kernel
+rm -fr %{buildroot}%{_sysconfdir}/modprobe.d
+rm -fr %{buildroot}%{_var}
%pre
-%{_bindir}/getent group cdrom >/dev/null 2>&1 || %{_sbindir}/groupadd -r -g 11 cdrom >/dev/null 2>&1 || :
-%{_bindir}/getent group tape >/dev/null 2>&1 || %{_sbindir}/groupadd -r -g 33 tape >/dev/null 2>&1 || :
-%{_bindir}/getent group dialout >/dev/null 2>&1 || %{_sbindir}/groupadd -r -g 18 dialout >/dev/null 2>&1 || :
-%{_bindir}/getent group floppy >/dev/null 2>&1 || %{_sbindir}/groupadd -r -g 19 floppy >/dev/null 2>&1 || :
-%{_bindir}/systemctl stop systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udevd.service >/dev/null 2>&1 || :
+getent group cdrom >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 11 cdrom >/dev/null 2>&1 || :
+getent group tape >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 33 tape >/dev/null 2>&1 || :
+getent group dialout >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 18 dialout >/dev/null 2>&1 || :
+getent group floppy >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 19 floppy >/dev/null 2>&1 || :
+systemctl stop systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udevd.service >/dev/null 2>&1 || :
# Rename configuration files that changed their names
-%{_bindir}/mv -n %{_sysconfdir}/systemd/systemd-logind.conf %{_sysconfdir}/systemd/logind.conf >/dev/null 2>&1 || :
-%{_bindir}/mv -n %{_sysconfdir}/systemd/systemd-journald.conf %{_sysconfdir}/systemd/journald.conf >/dev/null 2>&1 || :
+mv -n %{_sysconfdir}/systemd/systemd-logind.conf %{_sysconfdir}/systemd/logind.conf >/dev/null 2>&1 || :
+mv -n %{_sysconfdir}/systemd/systemd-journald.conf %{_sysconfdir}/systemd/journald.conf >/dev/null 2>&1 || :
%post
-%{_bindir}/systemd-machine-id-setup > /dev/null 2>&1 || :
-%{_prefix}/lib/systemd/systemd-random-seed save > /dev/null 2>&1 || :
-%{_bindir}/systemctl daemon-reexec > /dev/null 2>&1 || :
-%{_bindir}/systemctl start systemd-udevd.service >/dev/null 2>&1 || :
+systemd-machine-id-setup > /dev/null 2>&1 || :
+systemd-random-seed save > /dev/null 2>&1 || :
+systemctl daemon-reexec > /dev/null 2>&1 || :
+systemctl start systemd-udevd.service >/dev/null 2>&1 || :
%postun
if [ $1 -ge 1 ] ; then
- %{_bindir}/systemctl daemon-reload > /dev/null 2>&1 || :
- %{_bindir}/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
+ systemctl daemon-reload > /dev/null 2>&1 || :
+ systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
fi
%preun
if [ $1 -eq 0 ] ; then
- %{_bindir}/systemctl disable \
+ systemctl disable \
getty@.service \
remote-fs.target \
systemd-readahead-replay.service \
systemd-readahead-collect.service >/dev/null 2>&1 || :
- %{_bindir}/rm -f %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
+ rm -f %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
fi
%post -n libsystemd -p /sbin/ldconfig
%post -n libgudev -p /sbin/ldconfig
%postun -n libgudev -p /sbin/ldconfig
-
+%lang_package
%files
%manifest %{name}.manifest
%config %{_sysconfdir}/systemd/bootchart.conf
%config %{_sysconfdir}/pam.d/systemd-user
%{_bindir}/bootctl
+%{_bindir}/busctl
%{_bindir}/kernel-install
-%{_bindir}/machinectl
+%{_rootprefix}/bin/machinectl
%{_bindir}/systemd-run
%dir %{_prefix}/lib/kernel
%dir %{_prefix}/lib/kernel/install.d
%{_prefix}/lib/kernel/install.d/50-depmod.install
%{_prefix}/lib/kernel/install.d/90-loaderentry.install
-%{_prefix}/lib/systemd/system-generators/systemd-efi-boot-generator
+%{_rootprefix}/lib/systemd/system-generators/systemd-efi-boot-generator
%{_bindir}/hostnamectl
%{_bindir}/localectl
%{_bindir}/systemd-coredumpctl
%{_datadir}/zsh/site-functions/*
%dir %{_sysconfdir}/udev
%dir %{_sysconfdir}/udev/rules.d
-%dir %{_prefix}/lib/systemd
-%dir %{_prefix}/lib/systemd/system
-%dir %{_prefix}/lib/systemd/system-generators
+%dir %{_rootprefix}/lib/systemd
+%dir %{_unitdir}
+%dir %{_rootprefix}/lib/systemd/system-generators
%dir %{_prefix}/lib/systemd/user-generators
-%dir %{_prefix}/lib/systemd/system-preset
-%dir %{_prefix}/lib/systemd/user-preset
-%dir %{_prefix}/lib/systemd/system-shutdown
-%dir %{_prefix}/lib/systemd/system-sleep
+%dir %{_rootprefix}/lib/systemd/system-preset
+%dir %{_rootprefix}/lib/systemd/user-preset
+%dir %{_rootprefix}/lib/systemd/system-shutdown
+%dir %{_rootprefix}/lib/systemd/system-sleep
%dir %{_prefix}/lib/tmpfiles.d
%dir %{_prefix}/lib/sysctl.d
%dir %{_prefix}/lib/modules-load.d
%dir %{_prefix}/lib/firmware
%dir %{_prefix}/lib/firmware/updates
%dir %{_datadir}/systemd
+%dir %{_prefix}/lib/systemd/ntp-units.d
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf
%config(noreplace) %{_sysconfdir}/systemd/logind.conf
%config(noreplace) %{_sysconfdir}/systemd/journald.conf
%config(noreplace) %{_sysconfdir}/udev/udev.conf
-#%{_sysconfdir}/bash_completion.d/systemd-bash-completion.sh
-%config %{_sysconfdir}/rpm/macros.systemd
+#%%{_sysconfdir}/bash_completion.d/systemd-bash-completion.sh
+%{_sysconfdir}/rpm/macros.systemd
%{_sysconfdir}/xdg/systemd
%ghost %config(noreplace) %{_sysconfdir}/hostname
%ghost %config(noreplace) %{_sysconfdir}/vconsole.conf
%ghost %config(noreplace) %{_sysconfdir}/machine-info
%ghost %config(noreplace) %{_sysconfdir}/timezone
%{_bindir}/systemd
-%{_bindir}/systemctl
-%{_bindir}/systemd-notify
-%{_bindir}/systemd-ask-password
-%{_bindir}/systemd-tty-ask-password-agent
-%{_bindir}/systemd-machine-id-setup
-%{_bindir}/loginctl
+%{_rootprefix}/bin/systemctl
+%{_rootprefix}/bin/systemd-notify
+%{_rootprefix}/bin/systemd-ask-password
+%{_rootprefix}/bin/systemd-tty-ask-password-agent
+%{_rootprefix}/bin/systemd-machine-id-setup
+%{_rootprefix}/bin/loginctl
%{_bindir}/systemd-loginctl
-%{_bindir}/journalctl
-%{_bindir}/systemd-tmpfiles
+%{_rootprefix}/bin/journalctl
+%{_rootprefix}/bin/systemd-tmpfiles
%{_bindir}/systemd-nspawn
%{_bindir}/systemd-stdio-bridge
%{_bindir}/systemd-cat
%{_bindir}/systemd-cgtop
%{_bindir}/systemd-delta
%{_bindir}/systemd-detect-virt
-%{_bindir}/systemd-inhibit
-%{_bindir}/udevadm
+%{_rootprefix}/bin/systemd-inhibit
+%{_rootprefix}/bin/udevadm
%{_prefix}/lib/sysctl.d/*.conf
-%{_prefix}/lib/systemd/systemd
-%{_prefix}/lib/systemd/system
-
-%dir %{_prefix}/lib/systemd/system/basic.target.wants
-%dir %{_prefix}/lib/systemd/user
-%{_prefix}/lib/systemd/user/bluetooth.target
-%{_prefix}/lib/systemd/user/exit.target
-%{_prefix}/lib/systemd/user/printer.target
-%{_prefix}/lib/systemd/user/shutdown.target
-%{_prefix}/lib/systemd/user/sockets.target
-%{_prefix}/lib/systemd/user/sound.target
-%{_prefix}/lib/systemd/user/systemd-exit.service
-%{_prefix}/lib/systemd/user/paths.target
-%{_prefix}/lib/systemd/user/smartcard.target
-%{_prefix}/lib/systemd/user/timers.target
-
-%{_prefix}/lib/systemd/systemd-*
+%{_rootprefix}/lib/systemd/systemd
+%{_unitdir}
+
+%dir %{_unitdir}/basic.target.wants
+%dir %{_unitdir_user}
+%dir %{_prefix}/lib/systemd/network
+%{_unitdir_user}/basic.target
+%{_unitdir_user}/bluetooth.target
+%{_unitdir_user}/exit.target
+%{_unitdir_user}/printer.target
+%{_unitdir_user}/shutdown.target
+%{_unitdir_user}/sockets.target
+%{_unitdir_user}/sound.target
+%{_unitdir_user}/systemd-exit.service
+%{_unitdir_user}/paths.target
+%{_unitdir_user}/smartcard.target
+%{_unitdir_user}/timers.target
+%{_unitdir_user}/busnames.target
+%{_prefix}/lib/systemd/network/80-container-host0.network
+%{_prefix}/lib/systemd/network/99-default.link
+
+%{_rootprefix}/lib/systemd/systemd-*
%dir %{_prefix}/lib/systemd/catalog
%{_prefix}/lib/systemd/catalog/systemd.catalog
-%{_prefix}/lib/udev
-%{_prefix}/lib/systemd/system-generators/systemd-getty-generator
-%{_prefix}/lib/systemd/system-generators/systemd-fstab-generator
-%{_prefix}/lib/systemd/system-generators/systemd-system-update-generator
-%{_prefix}/lib/systemd/system-generators/systemd-gpt-auto-generator
+%{_rootprefix}/lib/udev
+%{_rootprefix}/lib/systemd/system-generators/systemd-getty-generator
+%{_rootprefix}/lib/systemd/system-generators/systemd-fstab-generator
+%{_rootprefix}/lib/systemd/system-generators/systemd-system-update-generator
+%{_rootprefix}/lib/systemd/system-generators/systemd-gpt-auto-generator
%{_prefix}/lib/tmpfiles.d/systemd.conf
%{_prefix}/lib/tmpfiles.d/x11.conf
%{_prefix}/lib/tmpfiles.d/tmp.conf
%{_prefix}/lib/tmpfiles.d/legacy.conf
%{_prefix}/lib/tmpfiles.d/pamconsole-tmp.conf
+%{_prefix}/lib/tmpfiles.d/systemd-nologin.conf
%{_sbindir}/init
%{_sbindir}/reboot
%{_sbindir}/halt
%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
%{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service
-%{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
-%{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml
-%{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml
-%{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml
%dir %{_datadir}/polkit-1
%dir %{_datadir}/polkit-1/actions
%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
%files -n libsystemd
%manifest %{name}.manifest
-%{_libdir}/security/pam_systemd.so
-%{_libdir}/libsystemd-daemon.so.*
-%{_libdir}/libsystemd-login.so.*
-%{_libdir}/libsystemd-journal.so.*
-%{_libdir}/libsystemd-id128.so.*
-%{_libdir}/libudev.so.*
+%{_rootlibdir}/security/pam_systemd.so
+%{_rootlibdir}/libsystemd.so.*
+%{_rootlibdir}/libudev.so.*
+%{_rootlibdir}/libsystemd-daemon.so.*
+%{_rootlibdir}/libsystemd-id128.so.*
+%{_rootlibdir}/libsystemd-journal.so.*
+%{_rootlibdir}/libsystemd-login.so.*
%{_libdir}/libnss_myhostname.so.2
%files devel
%manifest %{name}.manifest
+%{_libdir}/libudev.so
+%{_libdir}/libsystemd.so
%{_libdir}/libsystemd-daemon.so
-%{_libdir}/libsystemd-login.so
-%{_libdir}/libsystemd-journal.so
%{_libdir}/libsystemd-id128.so
-%{_libdir}/libudev.so
+%{_libdir}/libsystemd-journal.so
+%{_libdir}/libsystemd-login.so
%dir %{_includedir}/systemd
%{_includedir}/systemd/sd-daemon.h
%{_includedir}/systemd/sd-login.h
%{_includedir}/systemd/sd-journal.h
%{_includedir}/systemd/sd-id128.h
%{_includedir}/systemd/sd-messages.h
-%{_includedir}/systemd/sd-shutdown.h
+%{_includedir}/systemd/_sd-common.h
%{_includedir}/libudev.h
+%{_libdir}/pkgconfig/libudev.pc
+%{_libdir}/pkgconfig/libsystemd.pc
%{_libdir}/pkgconfig/libsystemd-daemon.pc
-%{_libdir}/pkgconfig/libsystemd-login.pc
-%{_libdir}/pkgconfig/libsystemd-journal.pc
%{_libdir}/pkgconfig/libsystemd-id128.pc
-%{_libdir}/pkgconfig/libudev.pc
-
+%{_libdir}/pkgconfig/libsystemd-journal.pc
+%{_libdir}/pkgconfig/libsystemd-login.pc
%files analyze
%manifest %{name}.manifest
%files -n libgudev
%manifest %{name}.manifest
-%{_libdir}/libgudev-1.0.so.*
+%{_rootlibdir}/libgudev-1.0.so.*
%files -n libgudev-devel
%manifest %{name}.manifest
%{_includedir}/gudev-1.0/gudev/*.h
%{_libdir}/pkgconfig/gudev-1.0*
+%docs_package
--- /dev/null
+
+Name: testkit-stub
+Summary: test
+Version: 1.0
+Release: 1
+Group: Development/Debug
+License: GPL v2 only
+URL: http://www.moblin.org/
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+test
+
+
+%prep
+%setup -q -n %{name}-%{version}
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+
+# Call make instruction with smp support
+make debug %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+# << install post
+
+%clean
+rm -rf %{buildroot}
+
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%{_bindir}/testkit-stub
+# << files
+
+
+%changelog
+* Tue Mar 21 2013 Li Min <min.a.li@intel.com> 0.10
+- create for SLP build
%define vala_libversion 0_24
%define vala_priority 24
-
Name: vala
Version: 0.24.0
Release: 0
Summary: Programming language for GNOME
License: LGPL-2.0
-Group: Development/Gnome
+Group: Platform Development/Utilities
Url: http://live.gnome.org/Vala
Source0: http://download.gnome.org/sources/vala/%{baseline}/%{name}-%{version}.tar.xz
+Source1001: %{name}.manifest
+
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: glib2-devel >= 2.18.0
+BuildRequires: xz
Requires(post): update-alternatives
Requires(postun): update-alternatives
-BuildRequires: xz
-
%description
Vala is a new programming language that aims to bring modern
additional runtime requirements and without using a different ABI
compared to applications and libraries written in C.
-
%package -n libvala
Summary: Programming language for GNOME
-Group: System/Libraries
+Group: Platform Development/Utilities
%description -n libvala
Vala is a new programming language that aims to bring modern
additional runtime requirements and without using a different ABI
compared to applications and libraries written in C.
-
%package -n libvala-devel
Summary: Programming language for GNOME
-Group: Development/Gnome
+Group: Platform Development/Utilities
Requires: libvala = %{version}
%description -n libvala-devel
%prep
%setup -q
+cp %{SOURCE1001} .
%build
%configure --with-pic --enable-vapigen
-make %{?jobs:-j%jobs}
+%__make %{?_smp_mflags}
%install
%make_install
%files
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%license COPYING
%ghost %{_bindir}/vala
%ghost %{_bindir}/valac
%files -n libvala
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libvala-%{vala_version}.so.*
%files -n libvala-devel
%doc AUTHORS ChangeLog NEWS README
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/vala-%{vala_version}/
%{_libdir}/libvala-%{vala_version}.so
%{_libdir}/pkgconfig/libvala-%{vala_version}.pc
--- /dev/null
+%bcond_with wayland
+
+# spec file for package
+#
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+Name: wayland-fits-master
+Version: 0.2.2
+Release: 0
+License: GPL-2.0+
+Summary: Wayland Test Suite
+Url: https://github.com/01org/wayland-fits
+Group: Applications/Core Applications
+Source0: https://github.com/01org/wayland-fits/archive/master.zip
+Source101: ADN_animation.gif
+Source1001: bridge_of_the_gods.png
+BuildRequires: boost-devel
+BuildRequires: pkgconfig(pixman-1)
+BuildRequires: pkgconfig(wayland-egl)
+BuildRequires: pkgconfig(weston)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(ecore-wayland)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(evas-wayland-shm)
+BuildRequires: pkgconfig(check)
+BuildRequires: pkgconfig(xkbcommon)
+BuildRequires: unzip
+BuildRequires: pkgconfig(evas-wayland-egl)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%if !%{with wayland}
+ExclusiveArch:
+%endif
+
+
+%description
+Graphical Test Suite for wayland
+
+%prep
+%setup -q
+
+%build
+export CXXFLAGS="-DMEDIA_PATH='\"%{_datadir}/media\"'"
+./autogen.sh
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p -m 755 %{buildroot}%{_datadir}/media
+install -m 755 %{SOURCE101} %{buildroot}%{_datadir}/media
+install -m 755 %{SOURCE1001} %{buildroot}%{_datadir}/media
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%_bindir/wfits
+%_libdir/weston/weston-wfits.so
+%_datadir/media/*
+%doc README
+%license COPYING