--- /dev/null
+#
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22
+#
+# >> macros
+# << macros
+
+Name: gssdp
+Summary: GSSDP implements resource discovery and announcement over SSDP
+Version: 0.14.3
+Release: 1
+Group: System/Libraries
+License: LGPLv2+
+URL: http://www.gupnp.org
+Source0: http://download.gnome.org/sources/%{name}/0.14/%{name}-%{version}.tar.bz2
+Requires: dbus
+Requires: libsoup
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(gconf-2.0)
+BuildRequires: pkgconfig(libsoup-2.4)
+
+
+%description
+GSSDP implements resource discovery and announcement over SSDP and is part
+of gUPnP. GUPnP is an object-oriented open source framework for creating
+UPnP devices and control points, written in C using GObject and libsoup.
+The GUPnP API is intended to be easy to use, efficient and flexible. GSSDP
+implements resource discovery and announcement over SSDP.
+
+
+
+%package devel
+Summary: Development package for gssdp
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development files for gssdp.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+# << install post
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%doc AUTHORS COPYING
+%{_libdir}/*.so.*
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+%doc %{_datadir}/gtk-doc/html/gssdp
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/gssdp-1.0.pc
+%{_includedir}/gssdp-1.0
+# << files devel
+
+
--- /dev/null
+#
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22
+#
+# >> macros
+# << macros
+
+Name: gupnp-av
+Summary: GUPnP-AV is a collection of helpers for building UPnP AV applications
+Version: 0.12.2
+Release: 0
+Group: System/Libraries
+License: LGPLv2+
+URL: http://www.gupnp.org/
+Source0: http://download.gnome.org/sources/%{name}/0.12/%{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(gupnp-1.0)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(libxml-2.0)
+
+
+%description
+GUPnP is an object-oriented open source framework for creating UPnP
+devices and control points, written in C using GObject and libsoup.
+The GUPnP API is intended to be easy to use, efficient and flexible.
+
+GUPnP-AV is a collection of helpers for building AV (audio/video)
+applications using GUPnP.
+
+
+
+%package devel
+Summary: Development package for gupnp-av
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Files for development with gupnp-av.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
+# << install post
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%doc AUTHORS COPYING README
+%{_libdir}/*.so.*
+%{_datadir}/gupnp-av/*.xsd
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+%{_includedir}/gupnp-av-1.0/libgupnp-av
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/gupnp-av-1.0.pc
+# << files devel
+
--- /dev/null
+#
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22
+#
+# >> macros
+# << macros
+
+Name: gupnp-dlna
+Summary: Utility library for easing DLNA-related tasks
+Version: 0.10.2
+Release: 0
+Group: Applications/Multimedia
+License: LGPLv2.1
+URL: http://www.gupnp.org
+Source0: http://download.gnome.org/sources/%{name}/0.10/%{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(gstreamer-1.0)
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
+
+
+%description
+GUPnP is an object-oriented open source framework for creating UPnP
+devices and control points, written in C using GObject and
+libsoup. The GUPnP API is intended to be easy to use, efficient and
+flexible.
+
+GUPnP DLNA is a small utility library that aims to ease the
+DLNA-related tasks such as media profile guessing, transcoding to a
+given profile, etc.
+
+
+%package devel
+Summary: Development files for gupnp-dlna
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Files for development with gupnp-dlna
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
+# << install post
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%{_bindir}/gupnp-dlna-info-2.0
+%{_bindir}/gupnp-dlna-ls-profiles-2.0
+%{_libdir}/libgupnp-dlna-2.0.so.*
+%{_libdir}/libgupnp-dlna-gst-2.0.so.*
+%{_libdir}/gupnp-dlna/libgstreamer.so
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/aac.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/ac3.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/amr.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/avc.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/common.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/dlna-profiles.rng
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/jpeg.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/lpcm.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mp3.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg-ts.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg1.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg4.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/png.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/wma.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg-common.xml
+%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg-ps.xml
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-audio-information.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-container-information.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-gst-utils.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-g-values.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-image-information.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-information.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-profile.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-profile-guesser.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-restriction.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-value-list.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-values.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-video-information.h
+%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/metadata/gupnp-dlna-metadata-extractor.h
+%{_libdir}/pkgconfig/gupnp-dlna-2.0.pc
+%{_libdir}/pkgconfig/gupnp-dlna-metadata-2.0.pc
+%{_libdir}/pkgconfig/gupnp-dlna-gst-2.0.pc
+%{_libdir}/libgupnp-dlna-2.0.so
+%{_libdir}/libgupnp-dlna-gst-2.0.so
+%{_libdir}/gupnp-dlna/libgstreamer.so
+# << files devel
+
--- /dev/null
+#
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22
+#
+# >> macros
+# << macros
+
+Name: gupnp
+Summary: GUPnP is an framework for creating UPnP devices & control points
+Version: 0.20.3
+Release: 1
+Group: System/Libraries
+License: LGPLv2+
+URL: http://www.gupnp.org/
+Source0: http://download.gnome.org/sources/%{name}/0.20/%{name}-%{version}.tar.bz2
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(gmodule-2.0)
+BuildRequires: pkgconfig(gssdp-1.0)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(uuid)
+
+
+%description
+GUPnP is an object-oriented open source framework for creating UPnP
+devices and control points, written in C using GObject and libsoup.
+The GUPnP API is intended to be easy to use, efficient and flexible.
+
+
+
+%package devel
+Summary: Development package for gupnp
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Files for development with gupnp.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
+# << install post
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%doc AUTHORS COPYING README
+%{_libdir}/*.so.*
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+%{_libdir}/pkgconfig/gupnp-1.0.pc
+%{_libdir}/*.so
+%{_includedir}/gupnp-1.0
+%{_bindir}/gupnp-binding-tool
+# << files devel
+
+
--- /dev/null
+#
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22
+#
+# >> macros
+# << macros
+
+Name: GhostCluster
+Summary: Automotive Meter Cluster Application
+Version: 0.2013.6.28
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.gz
+Requires: automotive-message-broker-plugins-websocket
+Requires: wrt-installer
+BuildRequires: zip
+
+%description
+Example guage cluster for tizen ivi
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+
+make widget
+
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+
+%make_install
+
+%post
+if [ -f /opt/usr/apps/.preinstallWidgets/preinstallDone ]; then
+ wrt-installer -i /opt/usr/apps/.preinstallWidgets/GhostCluster.wgt;
+fi
+
+# >> install post
+# << install post
+
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/GhostCluster.wgt
+# >> files
+# << files
+
+
--- /dev/null
+Name: MediaPlayer
+Summary: A HTML media player application
+Version: 0.0.1
+Release: 1
+Group: Applications/System
+License: Apache 2.0
+URL: http://www.tizen.org2
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: zip
+BuildRequires: desktop-file-utils
+Requires: wrt-installer
+
+%description
+A HTML media player for music, video, and images
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+#make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+if [ -f /opt/usr/apps/.preinstallWidgets/preinstallDone ]; then
+ wrt-installer -i /opt/usr/apps/.preinstallWidgets/MediaPlayer.wgt;
+fi
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/MediaPlayer.wgt
--- /dev/null
+%define aalib 0
+
+Name: SDL
+Version: 1.2.15
+Release: 0
+License: LGPL-2.1+
+Summary: Simple DirectMedia Layer Library
+Url: http://www.libsdl.org/
+Group: System/Libraries
+Source: http://www.libsdl.org/release/SDL-%{version}.tar.gz
+Source2: baselibs.conf
+# PATCH-FIX-OPENSUSE SDL-1.2.13-x11-keytounicode.patch
+Patch0: SDL-1.2.13-x11-keytounicode.patch
+BuildRequires: autoconf
+BuildRequires: gcc-c++
+BuildRequires: libpulse-devel
+BuildRequires: libstdc++-devel
+BuildRequires: mesa-devel
+BuildRequires: nasm
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(alsa)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(glu)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+This is the "Simple DirectMedia Layer" library. It provides a generic
+API for access to audio, keyboard, mouse, and display framebuffer
+across multiple platforms.
+
+%package -n libSDL
+Summary: Simple DirectMedia Layer Library
+Group: System/Libraries
+# SDL was used last in 11.1
+Provides: SDL = %{version}
+Obsoletes: SDL < %{version}
+
+%description -n libSDL
+This is the "Simple DirectMedia Layer" library. It provides a generic
+API for access to audio, keyboard, mouse, and display framebuffer
+across multiple platforms.
+
+%package -n libSDL-devel
+Summary: SDL Library Developer Files
+Group: Development/Libraries/X11
+Requires: gcc
+Requires: libSDL = %{version}
+Requires: libstdc++-devel
+Requires: mesa-devel
+Requires: pkgconfig
+Requires: pkgconfig(alsa)
+Requires: pkgconfig(glu)
+Provides: SDL-devel = %{version}
+Obsoletes: SDL-devel < %{version}
+
+%description -n libSDL-devel
+This package contains files needed for development with the SDL
+library.
+
+%prep
+%setup -q
+%patch0
+
+# remove the file to provide sufficient evidence that we are
+# not using this file during the build [bnc#508111]
+rm -f src/joystick/darwin/10.3.9-FIX/IOHIDLib.h
+
+%build
+./autogen.sh
+%configure \
+ --disable-static \
+ --with-pic \
+ --disable-rpath \
+ --disable-alsa-shared \
+%if 0%{?aalib}
+ --enable-video-aalib \
+%endif
+ --disable-video-svga \
+ --disable-video-ps3
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -n libSDL -p /sbin/ldconfig
+
+%postun -n libSDL -p /sbin/ldconfig
+
+%files -n libSDL
+%defattr(-,root,root)
+%doc COPYING
+%{_libdir}/*.so.*
+
+%files -n libSDL-devel
+%defattr(-,root,root)
+%{_bindir}/*
+%{_libdir}/*.so
+%{_includedir}/SDL
+%{_datadir}/aclocal
+%{_mandir}/*/*
+%{_libdir}/pkgconfig/sdl.pc
+
+%changelog
--- /dev/null
+%define lname libacl
+
+Name: acl
+BuildRequires: libattr-devel
+Summary: Commands for Manipulating POSIX Access Control Lists
+License: GPL-2.0+ ; LGPL-2.1+
+Group: Security/Access Control
+Version: 2.2.51
+Release: 0
+Source: %name-%version.src.tar.gz
+Source2: baselibs.conf
+Url: http://download.savannah.gnu.org/releases-noredirect/acl/
+
+%description
+getfacl and setfacl commands for retrieving and setting POSIX access
+control lists.
+
+%package -n %lname
+Summary: A dynamic library for accessing POSIX Access Control Lists
+Group: Security/Access Control
+
+%description -n %lname
+This package contains the libacl.so dynamic library which contains the
+POSIX 1003.1e draft standard 17 functions for manipulating access
+control lists.
+
+%package -n libacl-devel
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Requires: %lname = %version
+Requires: glibc-devel
+# the .so file references libattr.so.x, so require libattr-devel
+Requires: libattr-devel
+
+%description -n libacl-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q -n acl-%version
+
+%build
+export OPTIMIZER="$RPM_OPT_FLAGS -fPIC"
+export DEBUG=-DNDEBUG
+CFLAGS="$RPM_OPT_FLAGS"
+%configure \
+ --prefix=/ \
+ --exec-prefix=/ \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
+ --enable-gettext=no \
+ --disable-static \
+ --with-pic
+%{__make} %{?_smp_mflags}
+
+%install
+DIST_ROOT="$RPM_BUILD_ROOT"
+DIST_INSTALL=`pwd`/install.manifest
+DIST_INSTALL_DEV=`pwd`/install-dev.manifest
+DIST_INSTALL_LIB=`pwd`/install-lib.manifest
+export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
+/usr/bin/make install DIST_MANIFEST="$DIST_INSTALL"
+/usr/bin/make install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
+/usr/bin/make install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
+
+rm -f %{buildroot}/%{_libdir}/*.{a,la}
+
+%post -n %lname -p /sbin/ldconfig
+
+%postun -n %lname -p /sbin/ldconfig
+
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%license doc/COPYING doc/COPYING.LGPL
+%attr(755,root,root) %{_bindir}/chacl
+%attr(755,root,root) %{_bindir}/getfacl
+%attr(755,root,root) %{_bindir}/setfacl
+%dir %attr(755,root,root) /usr/share/doc/packages/acl
+%doc %attr(644,root,root) /usr/share/doc/packages/acl/CHANGES.gz
+%doc %attr(644,root,root) /usr/share/doc/packages/acl/COPYING
+%doc %attr(644,root,root) /usr/share/doc/packages/acl/COPYING.LGPL
+%doc %attr(644,root,root) /usr/share/doc/packages/acl/PORTING
+%doc %attr(644,root,root) /usr/share/doc/packages/acl/README
+
+%files -n libacl-devel
+%defattr(-,root,root)
+%dir %attr(755,root,root) %{_includedir}/acl
+%attr(644,root,root) %{_includedir}/acl/libacl.h
+%attr(644,root,root) %{_includedir}/sys/acl.h
+%attr(755,root,root) %{_libdir}/libacl.so
+
+%files -n %lname
+%defattr(755,root,root,755)
+%{_libdir}/libacl.so.1*
+
--- /dev/null
+Name: acpid
+Version: 2.0.16
+Release: 0
+License: GPL-2.0+
+Summary: Executes Actions at ACPI Events
+Url: http://tedfelix.com/linux/acpid-netlink.html
+Group: System/Daemons
+Source: http://tedfelix.com/linux/%{name}-%{version}.tar.gz
+Source4: thinkpad_acpi.modprobe
+Source5: events.power_button
+Source9: events.thinkpad
+Source6: thinkpad_handler
+Source7: power_button
+Source8: acpid.service
+BuildRequires: systemd
+ExclusiveArch: %ix86 x86_64 ia64
+
+%description
+ACPID is a completely flexible, totally extensible daemon for
+delivering ACPI events. It listens to a file (/proc/acpi/event) and,
+when an event occurs, executes programs to handle the event. The start
+script loads all needed modules.
+
+Configure it in /etc/sysconfig/powermanagement.
+
+%prep
+%setup -q
+
+cp %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} .
+
+%build
+export LDFLAGS="-Wl,-z,relro,-z,now"
+%configure
+make OPT="%{optflags}" %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
+install -Dm 644 thinkpad_acpi.modprobe %{buildroot}%{_sysconfdir}/modprobe.d/50-thinkpad_acpi.conf
+install -Dm 744 thinkpad_handler %{buildroot}%{_prefix}/lib/acpid/thinkpad_handler
+install -Dm 744 power_button %{buildroot}%{_prefix}/lib/acpid/power_button
+install -Dm 644 events.power_button %{buildroot}%{_sysconfdir}/acpi/events/power_button
+install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
+mkdir -p %{buildroot}/%{_unitdir}
+install -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
+
+# keep the logfile
+install -dm 755 %{buildroot}%{_localstatedir}/log
+touch %{buildroot}%{_localstatedir}/log/acpid
+
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%dir %{_sysconfdir}/modprobe.d
+%dir %{_sysconfdir}/acpi
+%dir %{_sysconfdir}/acpi/events
+%{_sysconfdir}/acpi/events/thinkpad
+%{_sysconfdir}/acpi/events/power_button
+%{_prefix}/lib/acpid
+%{_sysconfdir}/modprobe.d/50-thinkpad_acpi.conf
+%_unitdir/%{name}.service
+%{_sbindir}/kacpimon
+%{_sbindir}/acpid
+%{_bindir}/acpi_listen
+%ghost %config(noreplace,missingok) %{_localstatedir}/log/acpid
+
+%changelog
--- /dev/null
+Name: adns
+%define lname libadns
+Version: 1.4
+Release: 0
+License: GPL-2.0+
+Summary: Advanced Easy-to-Use Asynchronous-Capable DNS Utilities
+Url: http://www.chiark.greenend.org.uk/~ian/adns/
+Group: Productivity/Networking/DNS/Utilities
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: autoconf
+
+%description
+adns includes a collection of useful DNS resolver utilities.
+
+%package -n %lname
+Summary: Advanced DNS resolver client library
+Group: System/Libraries
+
+%description -n %lname
+Libadns is an advanced, easy to use, asynchronous-capable DNS resolver
+client library for C (and C++) programs.
+
+%package -n libadns-devel
+Summary: Libraries and header files to develop programs with libadns support
+Group: Development/Languages/C and C++
+Requires: %lname = %{version}
+Requires: glibc-devel
+
+%description -n libadns-devel
+Libadns-devel includes the header file and static library to develop
+programs with libads support.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fiv
+%configure
+make %{?_smp_mflags} all
+
+%install
+%make_install
+
+
+%files
+%defattr(-,root,root)
+%license COPYING GPL-vs-LGPL LICENCE.WAIVERS
+%{_bindir}/adns*
+
+%files -n %lname
+%defattr(-,root,root)
+%{_libdir}/libadns.so.1*
+
+%files -n libadns-devel
+%defattr(-,root,root)
+%{_includedir}/adns.h
+%{_libdir}/libadns.so
+
+%post -n %lname -p /sbin/ldconfig
+
+%postun -n %lname -p /sbin/ldconfig
+
+%changelog
--- /dev/null
+#sbs-git:slp/pkgs/a/ail ail 0.2.22 29ac1f2c98453cad647cca6a92abc7da3dbb047b
+Name: ail
+Summary: Application Information Library
+Version: 0.2.68
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: vconf-keys-devel
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(xdgmime)
+
+%description
+Application Information Library
+
+%package devel
+Summary: Application Information Library Development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Application Information Library (devel)
+
+%prep
+%setup -q
+
+%build
+CFLAGS+=" -fpic"
+%cmake . -DBUILD_PKGTYPE=rpm
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/opt/dbspace/
+mkdir -p %{buildroot}/opt/share/applications/
+
+%post
+vconftool set -t string db/ail/ail_info "0" -f
+vconftool set -t string db/menuscreen/desktop "0" -f
+vconftool set -t string db/menu_widget/language "US" -f
+
+CHDBGID="6010"
+
+update_DAC_for_db_file()
+{
+ if [ ! -f $@ ]; then
+ touch $@
+ fi
+
+ chown :$CHDBGID $@ 2>/dev/null
+ if [ $? -ne 0 ]; then
+ echo "Failed to change the owner of $@"
+ fi
+ chmod 664 $@ 2>/dev/null
+ if [ $? -ne 0 ]; then
+ echo "Failed to change the perms of $@"
+ fi
+}
+ail_initdb
+update_DAC_for_db_file /opt/dbspace/.app_info.db
+update_DAC_for_db_file /opt/dbspace/.app_info.db-journal
+
+%postun
+if [ $1 == 0 ]; then
+rm -f /opt/dbspace/.app_info.db*
+fi
+
+%files
+%manifest ail.manifest
+%{_libdir}/libail.so.0
+%{_libdir}/libail.so.0.1.0
+/opt/dbspace
+/opt/share/applications
+/usr/bin/ail_initdb
+/usr/share/install-info/*
+
+%files devel
+/usr/include/ail.h
+%{_libdir}/libail.so
+%{_libdir}/pkgconfig/ail.pc
--- /dev/null
+Name: alarm-manager
+Summary: Alarm library
+Version: 0.4.70
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Source101: alarm-server.service
+Source102: 60-alarm-manager-rtc.rules
+Source103: alarm-service.conf
+
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/systemctl
+Requires(postun): /sbin/ldconfig
+Requires(postun): /usr/bin/systemctl
+Requires(preun): /usr/bin/systemctl
+
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(appsvc)
+
+%description
+Alarm Server and devel libraries
+
+%package -n alarm-server
+Summary: Alarm server (devel)
+Group: Development/Libraries
+
+%description -n alarm-server
+Alarm Server
+
+
+%package -n libalarm
+Summary: Alarm server libraries
+Group: Development/Libraries
+Requires: alarm-server = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n libalarm
+Alarm server library
+
+
+%package -n libalarm-devel
+Summary: Alarm server libraries(devel)
+Group: Development/Libraries
+Requires: libalarm = %{?epoch:%{epoch}:}%{version}-%{release}
+
+
+%description -n libalarm-devel
+Alarm server library (devel)
+
+%prep
+%setup -q
+
+# HACK_removed_dbus_glib_alarm_manager_object_info.diff
+#%patch0 -p1
+
+%build
+
+export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed"
+
+%autogen --disable-static
+
+dbus-binding-tool --mode=glib-server --prefix=alarm_manager ./alarm_mgr.xml > ./include/alarm-skeleton.h
+dbus-binding-tool --mode=glib-client --prefix=alarm_manager ./alarm_mgr.xml > ./include/alarm-stub.h
+dbus-binding-tool --mode=glib-server --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-skeleton.h
+dbus-binding-tool --mode=glib-client --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-stub.h
+
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}/etc/init.d
+install -m 755 alarm-server_run %{buildroot}/etc/init.d
+
+mkdir -p %{buildroot}/%{_sysconfdir}/rc.d/rc3.d
+mkdir -p %{buildroot}/%{_sysconfdir}/rc.d/rc5.d
+ln -s ../init.d/alarm-server_run %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/S80alarm-server
+ln -s ../init.d/alarm-server_run %{buildroot}/%{_sysconfdir}/rc.d/rc5.d/S80alarm-server
+
+install -d %{buildroot}%{_unitdir}/multi-user.target.wants
+install -m0644 %{SOURCE101} %{buildroot}%{_unitdir}
+ln -sf ../alarm-server.service %{buildroot}%{_unitdir}/multi-user.target.wants/alarm-server.service
+
+mkdir -p %{buildroot}/%{_sysconfdir}/udev/rules.d
+install -m0644 %{SOURCE102} %{buildroot}%{_sysconfdir}/udev/rules.d/
+
+mkdir -p %{buildroot}/%{_sysconfdir}/dbus-1/system.d
+install -m0644 %{SOURCE103} %{buildroot}%{_sysconfdir}/dbus-1/system.d/
+
+%preun -n alarm-server
+if [ $1 == 0 ]; then
+ systemctl stop alarm-server.service
+fi
+
+%post -n alarm-server
+/sbin/ldconfig
+
+vconftool set -t int db/system/timechange 0
+vconftool set -t double db/system/timechange_external 0
+vconftool set -t int memory/system/timechanged 0 -i -g 5000
+
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ systemctl restart alarm-server.service
+fi
+
+%postun -n alarm-server
+/sbin/ldconfig
+systemctl daemon-reload
+if [ "$1" == 1 ]; then
+ systemctl restart net-config.service
+fi
+
+%files -n alarm-server
+%manifest alarm-server.manifest
+%attr(0755,root,root) %{_bindir}/alarm-server
+%attr(0755,root,root) %{_sysconfdir}/init.d/alarm-server_run
+%attr(0755,root,root) %{_sysconfdir}/rc.d/rc3.d/S80alarm-server
+%attr(0755,root,root) %{_sysconfdir}/rc.d/rc5.d/S80alarm-server
+%{_unitdir}/multi-user.target.wants/alarm-server.service
+%{_unitdir}/alarm-server.service
+%{_sysconfdir}/dbus-1/system.d/alarm-service.conf
+%ifarch %{arm}
+ %exclude %{_sysconfdir}/udev/rules.d/60-alarm-manager-rtc.rules
+%else
+ %{_sysconfdir}/udev/rules.d/60-alarm-manager-rtc.rules
+%endif
+
+%files -n libalarm
+%manifest alarm-lib.manifest
+%attr(0644,root,root) %{_libdir}/libalarm.so.0.0.0
+%{_libdir}/libalarm.so.0
+
+%files -n libalarm-devel
+%{_includedir}/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libalarm.so
--- /dev/null
+Name: alsa-lib
+Version: 1.0.25
+Release: 1
+License: LGPL-2.0+
+Summary: The Advanced Linux Sound Architecture (ALSA) library
+Url: http://www.alsa-project.org/
+Group: System/Audio
+Source0: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
+
+%description
+The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
+functionality to the Linux operating system.
+
+This package includes the ALSA runtime libraries to simplify application
+programming and provide higher level functionality as well as support for
+the older OSS API, providing binary compatibility for most OSS programs.
+
+%package -n libasound
+Summary: ALSA Library package for multimedia framework middleware package
+Group: System/Audio
+
+%description -n libasound
+ALSA Library package for multimedia framework middleware package
+
+%package -n libasound-devel
+Summary: ALSA Library package for multimedia framework middleware package
+Group: Development/Libraries
+Requires: libasound
+
+%description -n libasound-devel
+ALSA Library package for multimedia framework middleware package
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static \
+ --with-alsa-devdir=/dev/snd \
+ --disable-alisp \
+ --disable-seq \
+ --disable-rawmidi \
+ --disable-python \
+ --with-gnu-ld \
+ --with-pcm-plugins=rate,linear,plug,dmix,dsnoop,asym,mmap,ioplug
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+rm -f %{buildroot}/%{_bindir}/aserver
+
+%post -n libasound -p /sbin/ldconfig
+
+%postun -n libasound -p /sbin/ldconfig
+
+
+%files -n libasound
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/lib*.so.*
+%{_libdir}/alsa-lib/smixer/*.so
+%{_datadir}/alsa/*
+
+%files -n libasound-devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*
+%{_datadir}/aclocal
+
--- /dev/null
+Name: alsa-plugins
+BuildRequires: pkgconfig(alsa)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: libtool
+BuildRequires: libpulse-devel
+BuildRequires: speex-devel
+Url: http://www.alsa-project.org/
+Summary: Extra Plug-Ins for the ALSA Library
+License: LGPL-2.1+
+Group: System/Libraries
+Version: 1.0.26
+Release: 0
+Source: ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-%{version}.tar.bz2
+Source1: asound-pulse.conf
+Source2: alsa-pulse.conf
+Source3: baselibs.conf
+
+%description
+This package contains the extra plug-ins for the ALSA library.
+
+%package pulse
+Summary: Pulseaudio Plug-In for the ALSA Library
+License: GPL-2.0+ and LGPL-2.1+
+Group: System/Libraries
+Requires: pulseaudio
+
+%description pulse
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+This package contains the polypaudio I/O plug-in for the ALSA library.
+
+%package speex
+Summary: Speex Prerocessor Plug-In for the ALSA Library
+License: LGPL-2.1+
+Group: System/Libraries
+%description speex
+This package contains the Speex preprocessor plugin for the ALSA
+library using libspeexdsp.
+
+
+%prep
+%setup -q
+
+%build
+export AUTOMAKE_JOBS="%{?_smp_mflags}"
+autoreconf -fi
+%configure --with-speex=builtin
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %{buildroot}/etc/
+%__install -m 0644 %_sourcedir/asound-pulse.conf %{buildroot}/etc/
+%__install -m 0644 %_sourcedir/alsa-pulse.conf %{buildroot}/etc/
+
+%post pulse
+if type -p setup-pulseaudio > /dev/null; then
+ setup-pulseaudio --auto
+fi
+exit 0
+
+%postun pulse
+if type -p setup-pulseaudio > /dev/null; then
+ setup-pulseaudio --auto
+fi
+exit 0
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/alsa-lib/libasound_module_ctl_oss.so
+%{_libdir}/alsa-lib/libasound_module_pcm_oss.so
+%{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
+%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
+%{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so
+%{_libdir}/alsa-lib/libasound_module_rate_speexrate*.so
+%{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
+
+%files pulse
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
+%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
+%{_libdir}/alsa-lib/libasound_module_conf_pulse.so
+%config /etc/asound-pulse.conf
+%config /etc/alsa-pulse.conf
+%{_datadir}/alsa/alsa.conf.d
+
+%files speex
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/alsa-lib/libasound_module_pcm_speex.so
+
--- /dev/null
+Name: alsa-scenario
+Summary: ALSA Scenario pkg
+Version: 0.2.1
+Release: 13
+Group: Multimedia/Audio
+License: LGPLv2+
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(alsa)
+
+%description
+ALSA Scenario package
+
+
+%package devel
+Summary: ALSA Scenario pkg (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+ALSA Scenario package (devel)
+
+
+%prep
+%setup -q
+
+
+%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}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest alsa-scenario.manifest
+%{_libdir}/libascenario-0.2.so.*
+
+
+%files devel
+%{_includedir}/alsa/*.h
+%{_libdir}/libascenario.so
+%{_libdir}/pkgconfig/libascenario.pc
+
--- /dev/null
+Name: alsa-utils
+Version: 1.0.26
+Release: 1
+License: GPL-2.0+
+Summary: Advanced Linux Sound Architecture (ALSA) utilities
+Url: http://www.alsa-project.org/
+Group: Applications/Multimedia
+Source0: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
+BuildRequires: libasound-devel
+
+%description
+This package contains command line utilities for the Advanced Linux Sound
+Architecture (ALSA).
+
+%package doc
+Summary: Man pages for alsa-utils
+Group: Documentation
+Requires: %{name} = %{version}
+
+%description doc
+Man pages for alsa-utils
+
+%prep
+%setup -q
+
+
+%build
+
+%configure --disable-static \
+ --disable-nls \
+ --disable-xmlto \
+ --disable-alsamixer \
+ --disable-alsatest
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%{_bindir}/*
+%{_sbindir}/*
+%{_datadir}/alsa/*
+%{_datadir}/sounds/*
+/lib/udev/rules.d/90-alsa-restore.rules
--- /dev/null
+%define __libtoolize :
+
+#
+Summary: A Japanese character input system library.(with dictionary)
+Name: anthy
+Version: 9100h
+Release: 1
+URL: http://www.sourceforge.jp/projects/anthy/
+Source0: %{name}-%{version}.tar.gz
+#
+# URL: http://cannadic.oucrc.org
+# Source1: cannadic-0.93.tar.gz
+License: GPL
+Group: System Environment/Libraries
+BuildRoot: %{_tmppath}/%{name}-root
+
+%description
+
+%prep
+%setup -q
+#tar zxf %{_sourcedir}/cannadic-0.93.tar.gz
+#ln -s ../cannadic-0.93/gcanna.t mkanthydic
+#ln -s ../cannadic-0.93/gcannaf.t mkanthydic
+
+%build
+%configure
+
+make
+
+%install
+rm -rf ${RPM_BUILD_ROOT}
+%makeinstall
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%{_bindir}/*
+%{_sysconfdir}/*
+%{_datadir}/anthy
+#%{_datadir}/emacs/site-lisp/*
+%{_libdir}/pkgconfig/*
+%{_libdir}/libanthy*
+%{_includedir}/*
+#%doc README doc
+
+%changelog
+* Thu Jan 3 2002 Yusuke Tabata <yusuke@kmc.gr.jp>
+- changed my mail address and URL of web page
+
+* Thu Nov 11 2001 Takayoshi Nobuoka <taka@trans-nt.com>
+- add %{_sysconfdir}/* at %files
+
+* Wed Sep 9 2001 Takayoshi Nobuoka <taka@trans-nt.com>
+- use _bindir and so on.
+
+* Sun Aug 19 2001 Tabatee <yusuke@kmc.kyoto-u.ac.jp>
+- Initial build.
--- /dev/null
+Name: app-checker
+Summary: App Checker
+Version: 0.0.16
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+
+
+%description
+libapp-checker
+
+%package devel
+Summary: App Checker
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+libapp-checker (developement files)
+
+%package server
+Summary: App Checker Server
+Group: System/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description server
+libapp-checker server
+
+%package server-devel
+Summary: App Checker Server
+Group: System/Libraries
+Requires: %{name}-server = %{version}-%{release}
+
+%description server-devel
+libapp-checker server (developement files)
+
+
+
+%prep
+%setup -q
+
+
+%build
+
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/lib/ac-plugins
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest app-checker.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libapp-checker.so.0
+%{_libdir}/libapp-checker.so.0.1.0
+/usr/lib/ac-plugins
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libapp-checker.so
+%{_libdir}/pkgconfig/app-checker.pc
+/usr/include/app-checker/app-checker.h
+
+%files server
+%manifest app-checker.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libapp-checker-server.so.0
+%{_libdir}/libapp-checker-server.so.0.1.0
+
+%files server-devel
+%defattr(-,root,root,-)
+%{_libdir}/libapp-checker-server.so
+%{_libdir}/pkgconfig/app-checker-server.pc
+/usr/include/app-checker/app-checker-server.h
+
--- /dev/null
+Name: app-core
+Summary: Application basic
+Version: 1.2
+Release: 47
+Group: Application Framework
+License: Apache License, Version 2.0
+Source0: app-core-%{version}.tar.gz
+Source101: packaging/core-efl.target
+BuildRequires: pkgconfig(sensor)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(rua)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: cmake
+
+
+%description
+SLP common application basic
+
+
+
+%package efl
+Summary: App basic EFL
+Group: Development/Libraries
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description efl
+Application basic EFL
+
+%package efl-devel
+Summary: App basic EFL (devel)
+Group: Development/Libraries
+Requires: %{name}-efl = %{version}-%{release}
+Requires: %{name}-common-devel = %{version}-%{release}
+
+%description efl-devel
+Application basic EFL (devel)
+
+%package common
+Summary: App basics common
+Group: Development/Libraries
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description common
+Application basics common
+
+%package common-devel
+Summary: App basics common (devel)
+Group: Development/Libraries
+Requires: %{name}-common = %{version}-%{release}
+Requires: pkgconfig(sensor)
+Requires: pkgconfig(vconf)
+Requires: pkgconfig(elementary)
+Requires: pkgconfig(aul)
+
+%description common-devel
+Application basics common (devel)
+
+%package template
+Summary: App basics template
+Group: Development/Libraries
+
+%description template
+Application basics template
+
+
+%prep
+%setup -q
+
+%build
+%cmake . -DENABLE_GTK=OFF
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+install -d %{buildroot}%{_prefix}/lib/systemd/user/core-efl.target.wants
+install -m0644 %{SOURCE101} %{buildroot}%{_prefix}/lib/systemd/user/
+
+
+%post efl -p /sbin/ldconfig
+
+%postun efl -p /sbin/ldconfig
+
+%post common -p /sbin/ldconfig
+
+%postun common -p /sbin/ldconfig
+
+
+
+
+
+%files efl
+%manifest app-core.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libappcore-efl.so.*
+
+%files efl-devel
+%defattr(-,root,root,-)
+%{_includedir}/appcore/appcore-efl.h
+%{_libdir}/libappcore-efl.so
+%{_libdir}/pkgconfig/appcore-efl.pc
+
+%files common
+%manifest app-core.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libappcore-common.so.*
+%{_prefix}/lib/systemd/user/core-efl.target
+%{_prefix}/lib/systemd/user/core-efl.target.wants/
+
+%files common-devel
+%defattr(-,root,root,-)
+%{_libdir}/libappcore-common.so
+%{_libdir}/pkgconfig/appcore-common.pc
+%{_includedir}/appcore/appcore-common.h
+%{_includedir}/SLP_Appcore_PG.h
+
--- /dev/null
+Name: capi-appfw-app-manager
+Summary: Application Manager API
+Version: 0.1.0
+Release: 22
+Group: API/C API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(glib-2.0)
+
+%description
+The Application Manager API provides functions to get information about running applications.
+
+%package devel
+Summary: Application Manager API (Development)
+Group: Development/API
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The Application Manager API provides functions to get information about running applications. (DEV)
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%{_libdir}/libcapi-appfw-app-manager.so.*
+%manifest capi-appfw-app-manager.manifest
+
+%files devel
+%{_includedir}/appfw/*.h
+%{_libdir}/libcapi-appfw-app-manager.so
+%{_libdir}/pkgconfig/*.pc
+
+
--- /dev/null
+Name: org.tizen.app-selector
+Summary: Application selector
+Version: 0.1.0
+Release: 88
+Group: TO_BE/FILLED_IN
+License: Flora Software License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: gettext-tools
+BuildRequires: edje-tools
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(xcomposite)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(libsoup-2.4)
+
+
+%description
+SLP application selector
+
+
+%prep
+%setup -q
+
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+
+%files
+%manifest org.tizen.app-selector.manifest
+/usr/bin/app-selector
+/usr/share/edje/app-selector/app-selector.edj
+/usr/share/packages/org.tizen.app-selector.xml
+/usr/share/locale/*/LC_MESSAGES/*.mo
+/opt/etc/smack/accesses.d/org.tizen.app-selector.rule
--- /dev/null
+Name: app-svc
+Summary: Application Service
+Version: 0.1.50
+Release: 1
+Group: Application Framework/Service
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+
+Requires(post): /sbin/ldconfig
+Requires(post): sqlite3
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(libprivilege-control)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(xdgmime)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(iniparser)
+BuildRequires: pkgconfig(pkgmgr-info)
+
+
+%description
+Application Service
+
+%package devel
+Summary: App svc
+Group: Development/Application Framework
+Requires: %{name} = %{version}-%{release}
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post
+/sbin/ldconfig
+
+sqlite3 /opt/dbspace/.appsvc.db < /opt/share/appsvc_db.sql
+rm -rf /opt/share/appsvc_db.sql
+
+chown 0:5000 /opt/dbspace/.appsvc.db
+chown 0:5000 /opt/dbspace/.appsvc.db-journal
+chmod 664 /opt/dbspace/.appsvc.db
+chmod 664 /opt/dbspace/.appsvc.db-journal
+chsmack -a 'app-svc::db' /opt/dbspace/.appsvc.db
+chsmack -a 'app-svc::db' /opt/dbspace/.appsvc.db-journal
+
+%postun -p /sbin/ldconfig
+
+%files
+%license LICENSE
+%manifest app-svc.manifest
+%defattr(-,root,root,-)
+/opt/share/appsvc_db.sql
+/usr/bin/appsvc_test
+%{_libdir}/libappsvc.so.0
+%{_libdir}/libappsvc.so.0.1.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/appsvc.pc
+%{_libdir}/libappsvc.so
+/usr/include/appsvc/appsvc.h
+
+
--- /dev/null
+Name: app2sd
+Summary: Application installation on external memory
+Version: 0.5.13
+Release: 1
+Group: Application Framework/Application Installer
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(libssl)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: cmake
+
+%description
+Tizen application installation on external memory
+
+%package devel
+Summary: Application install on external memory (devel)
+Group: Development/Libraries
+Requires: app2sd = %{version}-%{release}
+
+%description devel
+Tizen application installation on external memory (devel)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest app2sd.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libapp2ext.so.*
+%{_libdir}/libapp2sd.so*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/app2ext_interface.h
+%{_libdir}/pkgconfig/app2sd.pc
+%{_libdir}/libapp2sd.so
+%{_libdir}/libapp2ext.so
+
+
+
--- /dev/null
+#
+
+Name: appcore-agent
+Version: 1.0
+Release: 8
+License: Apache-2.0
+Summary: Agent Application basic
+Group: Application Framework/Service
+Source0: appcore-agent-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: sysman-devel
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(vconf)
+
+%description
+SLP agent application basic
+
+%package devel
+Summary: Applocation Core Agent
+Group: Application Framework/Development
+Requires: %{name} = %{version}
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE
+%manifest appcore-agent.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libappcore-agent.so.1
+%{_libdir}/libappcore-agent.so.1.1
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/appcore-agent.pc
+%{_libdir}/libappcore-agent.so
+%{_includedir}/appcore-agent/appcore-agent.h
+%{_includedir}/appcore-agent/service_app.h
--- /dev/null
+Name: osp-appfw
+Summary: The App Framework library of OSP
+Version: 1.2.1.0
+Release: 1
+Group: Application Framework/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+URL: https://review.tizen.org/git/?p=platform/framework/native/appfw.git;a=summary
+BuildRequires: cmake
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(capi-appfw-package-manager)
+BuildRequires: pkgconfig(capi-content-mime-type)
+BuildRequires: pkgconfig(capi-network-serial)
+BuildRequires: pkgconfig(capi-system-device)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(capi-system-power)
+BuildRequires: pkgconfig(capi-system-runtime-info)
+BuildRequires: pkgconfig(capi-system-system-settings)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(alarm-service)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(chromium)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(dukgenerator)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(libcurl)
+BuildRequires: pkgconfig(libpcre)
+BuildRequires: pkgconfig(libssl)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(libwbxml2)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(message-port)
+BuildRequires: pkgconfig(minizip)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(libprivilege-control)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(uuid)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(haptic)
+BuildRequires: pkgconfig(x11)
+BuildRequires: privacy-manager-client-devel
+BuildRequires: boost-devel
+BuildRequires: gettext-tools
+BuildRequires: pkgconfig(security-server)
+
+# runtime requires
+Requires: capi-appfw-app-manager
+Requires: capi-appfw-application
+Requires: capi-appfw-package-manager
+Requires: capi-content-mime-type
+Requires: capi-network-serial
+Requires: capi-system-runtime-info
+Requires: chromium
+Requires: message-port
+Requires: osp-env-config
+Requires: sqlite
+
+Provides: libosp-appfw.so.1
+
+Requires(post): /sbin/ldconfig
+Requires(post): coreutils
+Requires(postun): /sbin/ldconfig
+
+%description
+The App Framework library of OSP
+
+%package devel
+Summary: The App Framework library of OSP (Development)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: boost-devel
+Requires: pkgconfig(pkgmgr-info)
+Requires: pkgconfig(capi-appfw-app-manager)
+
+%description devel
+The App Framework library of OSP (DEV)
+
+%package internal-devel
+Summary: OSP app framework internel (Internal)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(capi-appfw-app-manager)
+
+%description internal-devel
+The App Framework library of OSP (Internal-DEV)
+
+%package debug
+Summary: The App Framework library of OSP (Development)
+Group: Development/Tools
+Requires: %{name} = %{version}-%{release}
+
+%description debug
+The App Framework library of OSP (DEV)
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%ifarch %{ix86}
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DOBS=1 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=x86
+%else
+CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DOBS=1 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=arm
+%endif
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{name}-%{version}/LICENSE.Flora %{buildroot}/usr/share/license/%{name}
+cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+%make_install
+
+%post
+/sbin/ldconfig
+
+mkdir -p /opt/usr/share/.osp-compat/share/AppControl
+mkdir -p /opt/usr/share/.osp-compat/share2
+mkdir -p /opt/usr/etc
+mkdir -p /opt/usr/media/Images
+mkdir -p /opt/usr/media/Others
+mkdir -p /opt/usr/media/Sounds
+mkdir -p /opt/usr/media/Videos
+mkdir -p /opt/usr/media/Camera
+
+
+mkdir -p /tmp/osp
+
+chmod -R 707 /opt/usr/share/.osp-compat/share/AppControl
+chmod -R 777 /opt/usr/media
+chmod -R 777 /tmp/osp
+
+chown -R 5000:5000 /opt/usr/media
+locale -a > /opt/usr/etc/clocale.list
+chmod 444 /opt/usr/etc/clocale.list
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest osp-appfw.manifest
+/usr/share/license/%{name}
+/etc/*
+/opt/usr/share/.osp-compat/share/*
+/opt/usr/etc/*
+/usr/share/osp/.*
+/usr/share/locale/*
+/usr/etc/*
+%{_libdir}/osp/libosp-appfw.so*
+%{_libdir}/osp-server/libosp-appfw-server.so*
+
+%files devel
+%{_includedir}/osp/*.h
+%{_includedir}/osp/*.hpp
+%{_libdir}/pkgconfig/osp-appfw.pc
+
+%files internal-devel
+%{_includedir}/osp/app/*
+%{_includedir}/osp/base/*
+%{_includedir}/osp/io/*
+%{_includedir}/osp/locales/*
+%{_includedir}/osp/security/*
+%{_includedir}/osp/system/*
+%{_includedir}/osp/text/*
+%{_includedir}/osp/server/*
+%{_libdir}/pkgconfig/osp-appfw-server.pc
+
+%files debug
+%{_libdir}/osp/debug/libosp-appfw.so*
+%{_libdir}/osp-server/debug/libosp-appfw-server.so*
+
--- /dev/null
+Name: capi-appfw-application
+Summary: An Application library in SLP C API
+Version: 0.1.0
+Release: 52
+Group: API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(appcore-common)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(alarm-service)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(sqlite3)
+
+
+
+%description
+An Application library in SLP C API
+
+%package devel
+Summary: An Application library in SLP C API (Development)
+Group: API
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+An Application library in SLP C API (DEV)
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%{_libdir}/libcapi-appfw-application.so.*
+%manifest capi-appfw-application.manifest
+
+%files devel
+%{_includedir}/appfw/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-appfw-application.so
+
+
+
--- /dev/null
+Name: asciidoc
+Summary: Text-Based Document Generation
+Version: 8.6.6
+Release: 1
+License: GPL-2.0+
+Group: Development/Tools/Doc Generators
+Requires: python >= 2.3 python-xml
+Requires: docbook-xsl-stylesheets
+# a2x needs /usr/bin/xsltproc
+Recommends: libxslt
+Url: http://www.methods.co.nz/asciidoc/
+Source0: %{name}-%{version}.tar.gz
+BuildArch: noarch
+
+%description
+AsciiDoc is a text document format for writing short documents,
+articles, books, and UNIX man pages. AsciiDoc files can be translated
+to HTML and DocBook markups using the asciidoc command.
+
+%package examples
+Summary: Examples and Documents for asciidoc
+Group: Development/Tools/Doc Generators
+License: GPL-2.0+
+
+%description examples
+This package contains examples and documetns of asciidoc.
+
+%prep
+%setup -q
+
+%build
+
+%install
+mkdir -p $RPM_BUILD_ROOT/etc/asciidoc/filters
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/asciidoc
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+install -m 0644 *.conf $RPM_BUILD_ROOT/etc/asciidoc
+install -m 0644 filters/*/*.conf $RPM_BUILD_ROOT/etc/asciidoc/filters/
+install -m 0755 filters/*/*.py $RPM_BUILD_ROOT/etc/asciidoc/filters/
+install -m 0755 -D asciidoc.py $RPM_BUILD_ROOT%{_bindir}/asciidoc
+install -m 0755 -D a2x.py $RPM_BUILD_ROOT%{_bindir}/a2x
+install -m 0644 doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
+for i in images stylesheets javascripts docbook-xsl dblatex; do
+ cp -av $i $RPM_BUILD_ROOT%{_datadir}/asciidoc/
+ ln -s ../../%{_datadir}/asciidoc/$i $RPM_BUILD_ROOT/etc/asciidoc
+done
+# install vim files
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/site/{syntax,ftdetect}
+install -m 0644 vim/syntax/* $RPM_BUILD_ROOT%{_datadir}/vim/site/syntax
+install -m 0644 vim/ftdetect/* $RPM_BUILD_ROOT%{_datadir}/vim/site/ftdetect
+
+%files
+%defattr(-,root,root)
+%license COPYRIGHT
+%config /etc/asciidoc
+%{_datadir}/asciidoc
+%{_bindir}/*
+%{_datadir}/vim
+%doc %{_mandir}/man1/*
+
+%changelog
--- /dev/null
+# Copyright (c) 2012 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.
+
+Name: aspell
+Version: 0.60.6.1
+Release: 0
+License: LGPL-2.1+
+Summary: A Free and Open Source Spell Checker
+Url: http://aspell.net/
+Group: System/Libraries
+Source0: ftp://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
+BuildRequires: fdupes
+BuildRequires: gcc-c++
+BuildRequires: gettext-tools
+BuildRequires: libtool
+BuildRequires: ncurses-devel
+
+%description
+GNU Aspell is a spell checker designed to eventually replace Ispell. It
+can be used as a library or as an independent spell checker.
+
+Its main feature is that it does a much better job of coming up with
+possible suggestions than just about any other spell checker available
+for the English language, including Ispell and Microsoft Word. It also
+has many other technical enhancements over Ispell, such as using shared
+memory for dictionaries and intelligently handling personal
+dictionaries when more than one Aspell process is open at once.
+
+%package devel
+Summary: Include Files and Libraries Mandatory for Development with aspell
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libaspell = %{version}
+Requires: libpspell = %{version}
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require aspell.
+
+%package ispell
+Summary: GNU Aspell - Ispell compatibility
+Group: System/Tools
+Requires: %{name} = %{version}
+
+%description ispell
+GNU Aspell is a spell checker designed to eventually replace Ispell. It
+can be used as a library or as an independent spell checker.
+
+This package contains an ispell script for compatibility reasons so that
+programs that expect the "ispell" command will work correctly.
+
+%package spell
+Summary: GNU Aspell - Spell compatibility
+Group: System/Tools
+Requires: %{name} = %{version}
+
+%description spell
+GNU Aspell is a spell checker designed to eventually replace Ispell. It
+can be used as a library or as an independent spell checker.
+
+This package contains a spell script for compatibility reasons so that programs
+that expect the "spell" command will work correctly.
+
+%package -n libaspell
+Summary: GNU Aspell Library
+Group: System/Libraries
+
+%description -n libaspell
+GNU Aspell is a spell checker designed to eventually replace Ispell. It
+can be used as a library or as an independent spell checker.
+
+This package contains the aspell library.
+
+%package -n libpspell
+Summary: GNU Aspell - Pspell Compatibility Library
+Group: System/Libraries
+
+%description -n libpspell
+GNU Aspell is a spell checker designed to eventually replace Ispell. It
+can be used as a library or as an independent spell checker.
+
+This package contains the pspell compatibility library.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fiv
+export CXXFLAGS="%{optflags} `ncursesw6-config --cflags`"
+#this is an ugly kludge , don't look :-)
+export LDFLAGS="`ncursesw6-config --libs`"
+%configure \
+ --enable-curses="-lncursesw" \
+ --disable-rpath
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+# Links for compatibility reasons (ispell and spell)
+ln -s %{_libdir}/aspell-0.60/ispell %{buildroot}%{_bindir}
+ln -s %{_libdir}/aspell-0.60/spell %{buildroot}%{_bindir}
+%fdupes -s %{buildroot}
+
+%find_lang %{name}
+
+
+%docs_package
+
+%post -n libaspell -p /sbin/ldconfig
+
+%postun -n libaspell -p /sbin/ldconfig
+
+%post -n libpspell -p /sbin/ldconfig
+
+%postun -n libpspell -p /sbin/ldconfig
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/aspell
+%{_bindir}/aspell-import
+%{_bindir}/pre*
+%{_bindir}/run-with-aspell
+%{_bindir}/word-list-compress
+
+%files devel
+%defattr(-,root,root,-)
+%doc manual/aspell-dev.html/
+%{_bindir}/pspell-config
+%{_includedir}/pspell/
+%{_includedir}/*.h
+%{_libdir}/libaspell.so
+%{_libdir}/libpspell.so
+%doc %{_infodir}/%{name}-dev.info%{ext_info}
+%doc %{_mandir}/man1/pspell-config.1%{ext_man}
+
+%files ispell
+%defattr(-,root,root,-)
+%{_bindir}/ispell
+
+%files spell
+%defattr(-,root,root,-)
+%{_bindir}/spell
+
+%files -n libaspell
+%defattr(-,root,root,-)
+%{_libdir}/aspell-0.60/
+%{_libdir}/libaspell.so.15*
+
+%files -n libpspell
+%defattr(-,root,root,-)
+%{_libdir}/libpspell.so.15*
--- /dev/null
+%bcond_with introspection
+
+Name: atk
+Version: 2.8.0
+Release: 0
+License: LGPL-2.1+
+Summary: An Accessibility ToolKit
+Url: http://www.gtk.org/
+Group: System/Libraries
+Source: http://download.gnome.org/sources/atk/2.8/%{name}-%{version}.tar.xz
+Source98: baselibs.conf
+BuildRequires: fdupes
+BuildRequires: gcc-c++
+BuildRequires: glib2-devel >= 2.35.2
+%if %{with introspection}
+BuildRequires: gobject-introspection-devel
+%endif
+Requires: libatk
+
+%description
+The ATK library provides a set of accessibility interfaces. By
+supporting the ATK interfaces, an application or toolkit can be used
+with screen readers, magnifiers, and alternate input devices.
+
+%package -n libatk
+Summary: An Accessibility ToolKit
+Group: System/Libraries
+Provides: %{name} = %{version}
+Obsoletes: %{name} < %{version}
+
+%description -n libatk
+The ATK library provides a set of accessibility interfaces. By
+supporting the ATK interfaces, an application or toolkit can be used
+with screen readers, magnifiers, and alternate input devices.
+
+%package -n typelib-Atk
+Summary: An Accessibility ToolKit -- Introspection bindings
+Group: System/Libraries
+
+%description -n typelib-Atk
+The ATK library provides a set of accessibility interfaces. By
+supporting the ATK interfaces, an application or toolkit can be used
+with screen readers, magnifiers, and alternate input devices.
+
+This package provides the GObject Introspection bindings for ATK.
+
+%package devel
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Gnome
+Requires: libatk = %{version}
+%if %{with introspection}
+Requires: typelib-Atk = %{version}
+%endif
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+%fdupes %{buildroot}
+
+%post -n libatk -p /sbin/ldconfig
+
+%postun -n libatk -p /sbin/ldconfig
+
+%files -n libatk
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/lib*.so.*
+
+
+%if %{with introspection}
+%files -n typelib-Atk
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/Atk-1.0.typelib
+%endif
+
+%files devel
+%defattr(-, root, root)
+%{_includedir}/atk-1.0
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
+%if %{with introspection}
+%{_datadir}/gir-1.0/*.gir
+%endif
+
+%docs_package
--- /dev/null
+Name: attr
+%define lname libattr
+Summary: Commands for Manipulating Extended Attributes
+License: GPL-2.0+ ; LGPL-2.1+
+Group: Base/File Systems
+Version: 2.4.46
+Release: 0
+Source: %{name}-%{version}.src.tar.gz
+Source1: xattr.conf
+Source2: baselibs.conf
+Url: http://download.savannah.gnu.org/releases-noredirect/attr/
+BuildRequires: autoconf
+
+%description
+A set of tools for manipulating extended attributes on file system
+objects, in particular getfattr(1) and setfattr(1). An attr(1) command
+is also provided, which is largely compatible with the SGI IRIX tool of
+the same name.
+
+%package -n %lname
+Summary: A dynamic library for filesystem extended attribute support
+Group: Base/File Systems
+
+%description -n %lname
+This package contains the libattr.so dynamic library, which contains
+the extended attribute library functions.
+
+%package -n libattr-devel
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Provides: attr-devel
+Obsoletes: attr-devel
+Requires: %lname = %version
+Requires: glibc-devel
+
+%description -n libattr-devel
+This package contains the libraries and header files needed to develop
+programs which make use of extended attributes. For Linux programs, the
+documented system call API is the recommended interface, but an SGI
+IRIX compatibility interface is also provided.
+
+%package -n libattr-devel-static
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Provides: libattr-devel:%{_libdir}/libattr.a
+Requires: libattr-devel = %version
+
+%description -n libattr-devel-static
+This package contains the static library of libattr which is needed to develop
+statically linked programs which make use of extended attributes.
+
+%prep
+%setup -q
+
+%build
+export OPTIMIZER="$RPM_OPT_FLAGS -fPIC"
+export DEBUG=-DNDEBUG
+autoconf
+CFLAGS="$RPM_OPT_FLAGS" \
+%configure \
+ --prefix=/ \
+ --enable-gettext=no \
+ --exec-prefix=/ \
+ --sbindir=%_sbindir \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
+ --with-pic
+%{__make} %{?_smp_mflags}
+
+%install
+DIST_ROOT="$RPM_BUILD_ROOT"
+DIST_INSTALL=`pwd`/install.manifest
+DIST_INSTALL_DEV=`pwd`/install-dev.manifest
+DIST_INSTALL_LIB=`pwd`/install-lib.manifest
+export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
+/usr/bin/make install DIST_MANIFEST="$DIST_INSTALL"
+/usr/bin/make install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
+/usr/bin/make install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
+rm -f $RPM_BUILD_ROOT%{_mandir}/man2/*xattr.2*
+rm -f $RPM_BUILD_ROOT/%{_libdir}/libattr.la
+install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}
+install -m 644 %_sourcedir/xattr.conf $RPM_BUILD_ROOT/%{_sysconfdir}
+chmod 755 $RPM_BUILD_ROOT/%{_libdir}/libattr.so.1*
+
+%post -n %lname -p /sbin/ldconfig
+
+%postun -n %lname -p /sbin/ldconfig
+
+%docs_package
+
+%files
+%defattr (-,root,root)
+%dir %attr(755,root,root) /usr/share/doc/packages/attr
+%doc %attr(644,root,root) /usr/share/doc/packages/attr/README
+%doc %attr(644,root,root) /usr/share/doc/packages/attr/CHANGES.gz
+%doc %attr(644,root,root) /usr/share/doc/packages/attr/COPYING
+%doc %attr(644,root,root) /usr/share/doc/packages/attr/PORTING
+%attr(755,root,root) %{_bindir}/attr
+%attr(755,root,root) %{_bindir}/getfattr
+%attr(755,root,root) %{_bindir}/setfattr
+
+%files -n libattr-devel
+%defattr(-,root,root)
+%dir %attr(755,root,root) %{_includedir}/attr
+%attr(644,root,root) %{_includedir}/attr/attributes.h
+%attr(644,root,root) %{_includedir}/attr/error_context.h
+%attr(644,root,root) %{_includedir}/attr/libattr.h
+%attr(644,root,root) %{_includedir}/attr/xattr.h
+%attr(755,root,root) %{_libdir}/libattr.so
+
+%files -n libattr-devel-static
+%defattr(-,root,root)
+%{_libdir}/libattr.a
+
+%files -n %lname
+%defattr (-,root,root)
+%{_libdir}/libattr.so.1*
+%config %{_sysconfdir}/xattr.conf
+
+%changelog
--- /dev/null
+Name: capi-media-audio-io
+Summary: An Audio Input & Audio Output library in Tizen Native API
+Version: 0.2.0
+Release: 0
+Group: Multimedia/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(capi-media-sound-manager)
+BuildRequires: pkgconfig(capi-base-common)
+
+%description
+An Audio Input & Audio Output library in Tizen Native API
+
+%package devel
+Summary: An Audio Input & Audio Output library in Tizen Native API (Development)
+Group: Multimedia/Development
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+An Audio Input & Audio Output library in Tizen Native API (DEV)
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2
+%{_libdir}/libcapi-media-audio-io.so.*
+%manifest capi-media-audio-io.manifest
+
+%files devel
+%{_includedir}/media/audio_io.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-media-audio-io.so
+
+
--- /dev/null
+Name: audio-session-manager
+Summary: Audio Session Manager
+Version: 0.2.6
+Release: 0
+Group: Multimedia/Service
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+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)
+
+
+%description
+Audio Session Manager.
+
+
+%package devel
+Summary: Audio Session Manager package (devel)
+Group: Multimedia/Development
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+%package sdk-devel
+Summary: Audio Session Manager development package for sdk release
+Group: Multimedia/Development
+Requires: %{name}-devel = %{version}-%{release}
+
+%description sdk-devel
+%devel_desc
+
+SDK Release.
+
+
+
+%prep
+%setup -q
+
+
+%build
+
+%autogen --disable-static --noconfigure
+CFLAGS="%{optflags} -fvisibility=hidden -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"" ; export CFLAGS
+%configure --disable-static --enable-security
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post
+/sbin/ldconfig
+
+vconftool set -t int memory/Sound/SoundStatus "0" -g 29 -f -i
+
+%postun -p /sbin/ldconfig
+
+%files
+%license LICENSE
+%manifest audio-session-manager.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libaudio-session-mgr.so.*
+%{_bindir}/asm_testsuite
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/mmf/audio-session-manager-types.h
+%{_includedir}/mmf/audio-session-manager.h
+
+
+%files sdk-devel
+%defattr(-,root,root,-)
+%{_includedir}/mmf/audio-session-manager-types.h
+%{_includedir}/mmf/audio-session-manager.h
+%{_libdir}/libaudio-session-mgr.so
+%{_libdir}/pkgconfig/audio-session-mgr.pc
+
+
--- /dev/null
+Name: augeas
+Version: 0.10.0
+Release: 0
+Summary: A library for changing configuration files
+License: GPL-3.0+ ; LGPL-2.1+
+Group: System/Libraries
+Url: http://augeas.net/
+Source0: http://augeas.net/download/augeas-%{version}.tar.gz
+Source1: baselibs.conf
+BuildRequires: glib2-devel
+BuildRequires: libxml2-devel
+BuildRequires: readline-devel
+
+%description
+A library for programmatically editing configuration files. Augeas
+parses configuration files into a tree structure, which it exposes
+through its public API. Changes made through the API are written back
+to the initially read files.
+
+The transformation works very hard to preserve comments and formatting
+details. It is controlled by ``lens'' definitions that describe the
+file format and the transformation into a tree.
+
+%define __shrlibname lib%{name}
+
+%package devel
+Summary: A library for changing configuration files
+Group: Development/Libraries/C and C++
+Requires: %{__shrlibname} = %{version}
+
+%description devel
+A library for programmatically editing configuration files. Augeas
+parses configuration files into a tree structure, which it exposes
+through its public API. Changes made through the API are written back
+to the initially read files.
+
+The transformation works very hard to preserve comments and formatting
+details. It is controlled by ``lens'' definitions that describe the
+file format and the transformation into a tree.
+
+%package -n %{__shrlibname}
+Summary: A library for changing configuration files
+Group: Development/Libraries/C and C++
+Recommends: %{name}-lenses = %{version}
+
+%description -n %{__shrlibname}
+A library for programmatically editing configuration files. Augeas
+parses configuration files into a tree structure, which it exposes
+through its public API. Changes made through the API are written back
+to the initially read files.
+
+The transformation works very hard to preserve comments and formatting
+details. It is controlled by ``lens'' definitions that describe the
+file format and the transformation into a tree.
+
+%package lenses
+Summary: Official set of lenses for use by %{__shrlibname}
+Group: Development/Libraries/Other
+Requires: %{__shrlibname} = %{version}
+
+%description lenses
+Augeas parses configuration files described in lenses into a tree
+structure, which it exposes through its public API. Lenses are the
+building blocks of the file <-> tree transformation. The transformation
+is controlled by ``lens'' definitions that describe the file format and
+mapping of its contents into a tree. This package includes the official
+set of lenses.
+
+%package lense-tests
+Summary: Set of tests for official Augeas lenses
+Group: Development/Libraries/Other
+Requires: %{name}-lenses = %{version}
+
+%description lense-tests
+Set of tests for official Augeas lenses. These can be used when
+modifying the official lenses, or when creating new ones.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="-Wno-error $RPM_OPT_FLAGS"
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+# move vim files to the right location
+mv $RPM_BUILD_ROOT/%{_datadir}/vim/vimfiles $RPM_BUILD_ROOT/%{_datadir}/vim/site
+
+%post -n %{__shrlibname} -p /sbin/ldconfig
+
+%postun -n %{__shrlibname} -p /sbin/ldconfig
+
+
+%docs_package
+%files
+%defattr(-,root,root,-)
+%{_bindir}/augtool
+%{_bindir}/augparse
+%{_bindir}/fadot
+%license COPYING
+
+%files -n %{__shrlibname}
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/augeas.pc
+# vim support files
+%dir %{_datadir}/vim
+%dir %{_datadir}/vim/site
+%dir %{_datadir}/vim/site/ftdetect
+%{_datadir}/vim/site/ftdetect/augeas.vim
+%dir %{_datadir}/vim/site/syntax
+%{_datadir}/vim/site/syntax/augeas.vim
+
+%files lenses
+%defattr(-,root,root,-)
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/lenses
+%dir %{_datadir}/%{name}/lenses/dist
+%{_datadir}/%{name}/lenses/dist/*.aug
+
+%files lense-tests
+%defattr(-,root,root,-)
+%dir %{_datadir}/%{name}/lenses/dist/tests
+%{_datadir}/%{name}/lenses/dist/tests/*.aug
+
+%changelog
--- /dev/null
+%bcond_without privacy-manager-client
+
+Name: aul
+Summary: App utility library
+Version: 0.0.266
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Source101: launchpad-preload@.service
+Source102: ac.service
+
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/systemctl
+Requires(postun): /sbin/ldconfig
+Requires(postun): /usr/bin/systemctl
+Requires(preun): /usr/bin/systemctl
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(ail)
+BuildRequires: xdgmime-devel, pkgconfig(xdgmime)
+BuildRequires: pkgconfig(libprivilege-control)
+BuildRequires: pkgconfig(app-checker)
+BuildRequires: pkgconfig(app-checker-server)
+BuildRequires: pkgconfig(rua)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(libsmack)
+BuildRequires: pkgconfig(app2sd)
+%if %{with privacy-manager-client}
+BuildRequires: pkgconfig(privacy-manager-client)
+%endif
+
+%description
+Application utility library
+
+%package devel
+Summary: App utility library (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Application utility library (devel)
+
+
+%prep
+%setup -q
+
+%build
+%if %{with privacy-manger-client}
+%cmake . -DENABLE_PRIVACY_MANAGER=On
+%else
+%cmake . -DENABLE_PRIVACY_MANAGER=Off
+%endif
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}/etc/init.d
+install -m 755 launchpad_run %{buildroot}/etc/init.d
+
+mkdir -p %{buildroot}/etc/rc.d/rc3.d
+mkdir -p %{buildroot}/etc/rc.d/rc4.d
+ln -sf ../../init.d/launchpad_run %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/S34launchpad_run
+ln -sf ../../init.d/launchpad_run %{buildroot}/%{_sysconfdir}/rc.d/rc4.d/S80launchpad_run
+
+mkdir -p %{buildroot}/opt/dbspace
+sqlite3 %{buildroot}/opt/dbspace/.mida.db < %{buildroot}/usr/share/aul/mida_db.sql
+rm -rf %{buildroot}/usr/share/aul/mida_db.sql
+
+mkdir -p %{buildroot}/%{_unitdir}/graphical.target.wants
+install -m 0644 %SOURCE101 %{buildroot}/%{_unitdir}/launchpad-preload@.service
+install -m 0644 %SOURCE102 %{buildroot}/%{_unitdir}/ac.service
+ln -s ../launchpad-preload@.service %{buildroot}/%{_unitdir}/graphical.target.wants/launchpad-preload@app.service
+ln -s ../ac.service %{buildroot}/%{_unitdir}/graphical.target.wants/ac.service
+
+
+%preun
+if [ $1 == 0 ]; then
+ systemctl stop launchpad-preload@app.service
+ systemctl stop ac.service
+fi
+
+%post
+/sbin/ldconfig
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ systemctl restart launchpad-preload@app.service
+ systemctl restart ac.service
+fi
+
+%postun -p /sbin/ldconfig
+systemctl daemon-reload
+
+%files
+%manifest aul.manifest
+%attr(0644,root,root) %{_libdir}/libaul.so.0
+%attr(0644,root,root) %{_libdir}/libaul.so.0.1.0
+%{_sysconfdir}/init.d/launchpad_run
+%attr(0755,root,root) %{_bindir}/aul_service.sh
+%attr(0755,root,root) %{_bindir}/aul_service_test.sh
+%attr(0755,root,root) %{_sysconfdir}/rc.d/rc3.d/S34launchpad_run
+%attr(0755,root,root) %{_sysconfdir}/rc.d/rc4.d/S80launchpad_run
+%config(noreplace) %attr(0644,root,app) /opt/dbspace/.mida.db
+%config(noreplace) %attr(0644,root,app) /opt/dbspace/.mida.db-journal
+%attr(0755,root,root) %{_bindir}/aul_mime.sh
+%{_bindir}/aul_test
+%{_bindir}/launch_app
+/usr/share/aul/miregex/*
+/usr/share/aul/service/*
+/usr/share/aul/preload_list.txt
+/usr/share/aul/preexec_list.txt
+%{_bindir}/launchpad_preloading_preinitializing_daemon
+%{_unitdir}/graphical.target.wants/launchpad-preload@app.service
+%{_unitdir}/graphical.target.wants/ac.service
+%{_unitdir}/launchpad-preload@.service
+%{_unitdir}/ac.service
+/usr/bin/amd
+/usr/bin/daemon-manager-release-agent
+/usr/bin/daemon-manager-launch-agent
+
+%files devel
+/usr/include/aul/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Name: autoconf
+BuildRequires: xz
+BuildRequires: m4 >= 1.4.6
+Url: http://www.gnu.org/software/autoconf
+Requires: m4 >= 1.4.6
+Requires: perl >= 5.6
+Version: 2.69
+Release: 0
+Summary: A GNU Tool for Automatically Configuring Source Code
+License: GPL-3.0+
+Group: Development/Tools/Building
+Source: autoconf-%{version}.tar.xz
+BuildArch: noarch
+
+%description
+GNU Autoconf is a tool for configuring source code and makefiles. Using
+autoconf, programmers can create portable and configurable packages,
+because the person building the package is allowed to specify various
+configuration options.
+
+You should install autoconf if you are developing software and would
+like to create shell scripts to configure your source code packages.
+
+Note that the autoconf package is not required for the end user who may
+be configuring software with an autoconf-generated script; autoconf is
+only required for the generation of the scripts, not their use.
+
+%prep
+%setup -q -n autoconf-%{version}
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%check
+trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT
+make check
+
+%install
+%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
+rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
+# info's dir file is not auto ignored on some systems
+rm -rf %{buildroot}%{_infodir}/dir
+
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
+
+%postun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_prefix}/bin/*
+%{_prefix}/share/autoconf
+%doc %{_infodir}/*.gz
+%doc %{_mandir}/man1/*.gz
+
+%changelog
--- /dev/null
+Name: autoconf213
+License: GPL v2 or later
+Group: Development/Tools/Building
+Url: http://www.gnu.org/software/autoconf
+AutoReqProv: on
+Requires: gawk, m4 >= 1.1, mktemp, perl
+Version: 2.13
+Release: 1
+Summary: A GNU Tool for Automatically Configuring Source Code
+BuildArch: noarch
+Source: autoconf-%{version}.tar.bz2
+BuildRequires: texinfo
+BuildRequires: makeinfo
+
+%description
+GNU Autoconf is a tool for configuring source code and makefiles. Using
+autoconf, programmers can create portable and configurable packages,
+because the person building the package is allowed to specify various
+configuration options.
+
+You should install autoconf if you are developing software and would
+like to create shell scripts to configure your source code packages.
+
+Note that the autoconf package is not required for the end user who may
+be configuring software with an autoconf-generated script; autoconf is
+only required for the generation of the scripts, not their use.
+
+
+
+Authors:
+--------
+ Ben Elliston <bje@cygnus.com>
+ David J MacKenzie <djm@catapult.va.pubnix.com>
+
+%prep
+%setup -n autoconf-%{version} -q
+
+
+mv autoconf.texi autoconf213.texi
+rm -f autoconf.info
+
+%build
+./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir} \
+ --program-suffix=-2.13
+make
+
+%install
+%make_install
+# We don't want to include the standards.info stuff in the package,
+# because it comes from binutils...
+rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards*
+
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/autoconf2.13.info.gz
+
+%postun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf2.13.info.gz
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS COPYING NEWS README TODO
+%{_prefix}/bin/*
+%{_prefix}/share/autoconf-2.13
+%doc %{_infodir}/*.gz
--- /dev/null
+Name: automake
+BuildRequires: autoconf >= 2.69
+BuildRequires: bison
+BuildRequires: gcc-c++
+BuildRequires: xz
+Requires: autoconf >= 2.69
+Version: 1.12.1
+Release: 0
+Summary: A Program for Automatically Generating GNU-Style Makefile.in Files
+License: GPL-2.0+
+Group: Development/Tools/Building
+Url: http://www.gnu.org/software/automake
+Source: automake-%{version}.tar.xz
+Source1: automake-rpmlintrc
+BuildArch: noarch
+
+%description
+Automake is a tool for automatically generating "Makefile.in" files
+from "Makefile.am" files. "Makefile.am" is a series of "make" macro
+definitions (with rules occasionally thrown in). The generated
+"Makefile.in" files are compatible with the GNU Makefile standards.
+
+%prep
+%setup -q -n automake-%{version}
+
+%build
+sh bootstrap.sh
+%configure --docdir=%{_docdir}/%{name}
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=%{buildroot}
+mkdir -p %{buildroot}/etc %{buildroot}/usr/share/aclocal
+echo /usr/local/share/aclocal >%{buildroot}/etc/aclocal_dirlist
+ln -s ../../../etc/aclocal_dirlist %{buildroot}/usr/share/aclocal/dirlist
+mkdir -p %{buildroot}%{_mandir}/man1
+install -m644 COPYING %{buildroot}%{_docdir}/%{name}
+# info's dir file is not auto ignored on some systems
+rm -rf %{buildroot}%{_infodir}/dir
+
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/automake.info.gz
+
+%postun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/automake.info.gz
+
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%doc %{_docdir}/%{name}
+%{_bindir}/*
+%doc %{_infodir}/*.gz
+%doc %{_mandir}/man1/*
+%{_datadir}/aclocal*
+%{_datadir}/automake-*
+%config /etc/aclocal_dirlist
+
+%changelog
--- /dev/null
+Name: automotive-message-broker
+Summary: Automotive Message Broker is a vehicle network abstraction system.
+Version: 0.9.8
+Release: 1
+Group: System/Base
+License: LGPL-2.1
+URL: https://github.com/otcshare/automotive-message-broker
+Source0: %{name}-%{version}.tar.bz2
+Source100: ambd
+Requires: automotive-message-broker-plugins
+Requires: automotive-message-broker-plugins-websocket
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Requires: libjson
+Requires: libuuid
+BuildRequires: cmake
+BuildRequires: boost-devel
+BuildRequires: libjson-devel
+BuildRequires: libtool-ltdl-devel
+BuildRequires: libuuid-devel
+BuildRequires: libwebsockets-devel
+BuildRequires: libuuid-devel
+BuildRequires: sqlite-devel
+BuildRequires: glib2-devel
+BuildRequires: opencv-devel
+BuildRequires: murphy
+BuildRequires: murphy-glib-devel
+BuildRequires: murphy-glib
+BuildRequires: dbus-devel
+
+%description
+Automotive Message Broker is a vehicle network abstraction system.
+It brokers information from the vehicle to applications.
+
+%package devel
+Summary: automotive-message-broker development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development files for the automotive-message-broker
+
+%package doc
+Summary: Documentation for the automotive-message-broker API
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+Document files that describe the D-Bus API exposed by automotive-message-broker
+
+%package plugins
+Summary: Various plugins for automotive-message-broker
+Group: System/Base
+Requires: %{name} = %{version}-%{release}
+
+%description plugins
+Collection of plugins for automotive-message-broker. Contains example, demo and dbus plugins.
+
+%package plugins-obd2
+Summary: OBD-II plugin
+Group: System/Base
+Requires: %{name} = %{version}-%{release}
+
+%description plugins-obd2
+OBD-II plugin that uses ELM 327-compatible scantools to access vehicle data
+
+%package plugins-websocket
+Summary: websocket source and sink plugins
+Group: System/Base
+Requires: %{name} = %{version}-%{release}
+Requires: libwebsockets
+
+%description plugins-websocket
+websocket source and sink plugins
+
+%package plugins-wheel
+Summary: source plugin for using the Logitech G27 racing wheel
+Group: System/Base
+Requires: %{name} = %{version}-%{release}
+Requires: libwebsockets
+
+%description plugins-wheel
+source plugin for using the Logitech G27 racing wheel
+
+%package plugins-database
+Summary: Database logging plugin for automotive-message-broker
+Group: System/Base
+Requires: %{name} = %{version}-%{release}
+Requires: sqlite
+
+%description plugins-database
+Database logging plugin for automotive-message-broker
+
+%package plugins-opencvlux
+Summary: Plugin for simulating ExteriorBrightness using a common webcam
+Group: System/Base
+Requires: %{name} = %{version}-%{release}
+Requires: opencv
+
+%description plugins-opencvlux
+Plugin for simulating ExteriorBrightness using a common webcam
+
+%package plugins-murphy
+Summary: Plugin for integration with the murphy policy system
+Group: System Environment/Daemons
+Requires: %{name} = %{version}-%{release}
+Requires: murphy
+
+%description plugins-murphy
+Plugin for integration with the murphy policy system
+
+#%package plugins-gpsd
+#Summary: Plugin for integration with the gpsd policy system
+#Group: System Environment/Daemons
+#Requires: %{name} = %{version}-%{release}
+#Requires: gpsd
+
+#%description plugins-gpsd
+#Plugin for integration with the gpsd gps daemon
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%cmake -Ddatabase_plugin=ON -Dopencvlux_plugin=ON -Dmurphy_plugin=ON -Dwebsocket_plugin=ON -Dobd2_plugin=ON -Dtest_plugin=OFF
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/network.target.wants
+ln -s ../ambd.service %{buildroot}%{_prefix}/lib/systemd/system/network.target.wants/ambd.service
+
+%install_service multi-user.target.wants ambd.service
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%post plugins -p /sbin/ldconfig
+%postun plugins -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%config %{_sysconfdir}/ambd/config
+%{_bindir}/*
+%{_libdir}/libamb.so*
+%{_prefix}/lib/systemd/system/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libamb.so*
+%{_includedir}/amb/*.h
+%{_includedir}/amb/*.hpp
+%{_libdir}/pkgconfig/*.pc
+
+%files plugins
+%defattr(-,root,root,-)
+%{_libdir}/%{name}/examplesourceplugin.so
+%{_libdir}/%{name}/examplesinkplugin.so
+%{_libdir}/%{name}/dbussinkplugin.so
+%{_libdir}/%{name}/demosinkplugin.so
+/etc/dbus-1/system.d/amb.conf
+
+%files plugins-wheel
+%defattr(-,root,root,-)
+%{_libdir}/%{name}/wheelsourceplugin.so
+
+%files plugins-websocket
+%defattr(-,root,root,-)
+%{_libdir}/%{name}/websocketsourceplugin.so
+%{_libdir}/%{name}/websocketsinkplugin.so
+
+%files plugins-obd2
+%defattr(-,root,root,-)
+%{_libdir}/%{name}/obd2sourceplugin.so
+
+%files plugins-database
+%defattr(-,root,root,-)
+%{_libdir}/%{name}/databasesinkplugin.so
+
+%files plugins-opencvlux
+%defattr(-,root,root,-)
+%{_libdir}/%{name}/opencvluxplugin.so
+
+%files plugins-murphy
+%defattr(-,root,root,-)
+%{_libdir}/%{name}/murphysourceplugin.so
+
+#%files plugins-gpsd
+#%defattr(-,root,root,-)
+#%{_libdir}/%{name}/gpsdplugin.so
+
+%files doc
+%defattr(-,root,root,-)
+%doc %{_docdir}/%{name}/*.txt
--- /dev/null
+#%{?!WITH_MONO: %define WITH_MONO 0}
+#%{?!WITH_COMPAT_DNSSD: %define WITH_COMPAT_DNSSD 0}
+#%{?!WITH_COMPAT_HOWL: %define WITH_COMPAT_HOWL 0}
+#%ifarch sparc64 s390 %{arm}
+#%define WITH_MONO 0
+#%endif
+%define _unpackaged_files_terminate_build 0
+Name: avahi
+Version: 0.6.30
+Release: 22
+Summary: Local network service discovery
+Group: System Environment/Base
+License: LGPL-2.0
+Requires: dbus
+Requires: expat
+#Requires: libdaemon
+Requires(post): glibc
+#Requires: systemd-units
+#Requires(post): initscripts, chkconfig, ldconfig
+#Requires(pre): shadow-utils
+Requires: %{name}-libs = %{version}-%{release}
+BuildRequires: automake libtool
+BuildRequires: dbus-devel >= 0.90
+BuildRequires: dbus-glib-devel >= 0.70
+#BuildRequires: dbus-python
+#BuildRequires: libxml2-python
+#BuildRequires: gtk2-devel
+#BuildRequires: gtk3-devel >= 2.99.0
+#BuildRequires: gobject-introspection-devel
+#BuildRequires: qt3-devel
+#BuildRequires: qt4-devel
+#BuildRequires: libglade2-devel
+BuildRequires: libdaemon-devel
+#BuildRequires: glib2-devel
+BuildRequires: libcap-devel
+BuildRequires: expat-devel
+#BuildRequires: python
+#BuildRequires: gdbm-devel
+#BuildRequires: pygtk2
+BuildRequires: intltool
+BuildRequires: perl-XML-Parser
+#%if %{WITH_MONO}
+#BuildRequires: mono-devel >= 1.1.13
+#BuildRequires: monodoc-devel
+#%endif
+Obsoletes: howl
+#Source0: http://avahi.org/download/%{name}-%{version}.tar.gz
+Source0: %{name}-%{version}.tar.gz
+#Patch1: 01_avahi-daemon.conf.patch
+
+%description
+Avahi is a system which facilitates service discovery on
+a local network -- this means that you can plug your laptop or
+computer into a network and instantly be able to view other people who
+you can chat with, find printers to print to or find files being
+shared. This kind of technology is already found in MacOS X (branded
+'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very
+convenient.
+
+%package libs
+Summary: Libraries for avahi run-time use
+Group: System Environment/Libraries
+Requires: poppler-tools
+
+%description libs
+The avahi-libs package contains the libraries needed
+to run programs that use avahi.
+
+%package devel
+Summary: Libraries and header files for avahi development
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+The avahi-devel package contains the header files and libraries
+necessary for developing programs using avahi.
+
+%package -n avahi-data
+Summary: Libraries for avahi run-time use
+Group: System Environment/Libraries
+Requires: avahi
+
+%description -n avahi-data
+The avahi-libs package contains the libraries needed
+to run programs that use avahi.
+
+%prep
+%setup -q
+
+#%patch1 -p1
+
+%build
+%configure --with-distro=fedora --with-avahi-user=app --with-avahi-group=app --with-avahi-priv-access-group=app \
+ --disable-compat-libdns_sd \
+ --disable-mono \
+ --disable-monodoc \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-gtk \
+ --disable-gtk3\
+ --disable-python \
+ --disable-pygtk \
+ --disable-python-dbus \
+ --disable-doxygen-doc\
+ --disable-doxygen-dot\
+ --disable-doxygen-xml\
+ --disable-doxygen-html\
+ --disable-doxygen-manpages\
+ --disable-doxygen-xmltoman\
+ --disable-glib \
+ --disable-gobject \
+ --disable-gdbm \
+ --sysconfdir=/usr/etc \
+ --localstatedir=/opt/var \
+ --without-systemdsystemunitdir
+
+make %{?_smp_mflags}
+
+%install
+
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}/usr/share/license/avahi
+cp %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}/usr/share/license/avahi-libs
+cp %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}/usr/share/license/avahi-data
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+
+# remove example
+rm -f $RPM_BUILD_ROOT/usr%{_sysconfdir}/avahi/services/sftp-ssh.service
+
+# create /var/run/avahi-daemon to ensure correct selinux policy for it:
+mkdir -p $RPM_BUILD_ROOT/opt%{_localstatedir}/run/avahi-daemon
+
+
+#mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/avahi-autoipd
+
+# remove the documentation directory - let % doc handle it:
+#rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
+
+# Make /etc/avahi/etc/localtime owned by avahi:
+mkdir -p $RPM_BUILD_ROOT/usr/etc/avahi/etc
+touch $RPM_BUILD_ROOT/usr/etc/avahi/etc/localtime
+
+# fix bug 197414 - add missing symlinks for avahi-compat-howl and avahi-compat-dns-sd
+#%if %{WITH_COMPAT_HOWL}
+#ln -s avahi-compat-howl.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/howl.pc
+#%endif
+#%if %{WITH_COMPAT_DNSSD}
+#ln -s avahi-compat-libdns_sd.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/libdns_sd.pc
+#ln -s avahi-compat-libdns_sd/dns_sd.h $RPM_BUILD_ROOT/%{_includedir}/
+#%endif
+#
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+#%pre
+#getent group avahi >/dev/null 2>&1 || groupadd \
+# -r \
+# -g 70 \
+# avahi
+#getent passwd avahi >/dev/null 2>&1 || useradd \
+# -r -l \
+# -u 70 \
+# -g avahi \
+# -d /opt%{_localstatedir}/run/avahi-daemon \
+# -s /sbin/nologin \
+# -c "Avahi mDNS/DNS-SD Stack" \
+# avahi
+#:;
+
+%post
+mkdir -p /opt/var/run/avahi-daemon
+if [ -f /usr/lib/rpm-plugins/msm.so ]
+then
+ chsmack -a _ /opt/var/run
+ chsmack -a mobileprint /opt/var/run/avahi-daemon
+fi
+
+#Evne eglibc is included in Requires(post),
+#Not sure whether it's ok or not during making OBS image.
+#That's why if statement is commented out to gurantee chown operation
+#if [ ! -z "`getent group app`" ]; then
+ chown -R 5000:5000 /opt/var/run/avahi-daemon || true
+#fi
+
+
+#/sbin/ldconfig
+#dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
+#/sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 || :
+#if [ "$1" -eq 1 ]; then
+# /bin/systemctl enable avahi-daemon.service >/dev/null 2>&1 || :
+# if [ -s /opt/etc/localtime ]; then
+# cp -cfp /opt/etc/localtime /opt/etc/avahi/etc/localtime || :
+# fi
+#fi
+
+#%triggerun -- avahi < 0.6.28-1
+#if /sbin/chkconfig --level 5 avahi-daemon ; then
+# /bin/systemctl --no-reload enable avahi-daemon.service >/dev/null 2>&1 || :
+#fi
+
+#%preun
+#if [ "$1" -eq 0 ]; then
+# /bin/systemctl --no-reload disable avahi-daemon.service >/dev/null 2>&1 || :
+# /bin/systemctl stop avahi-daemon.service >/dev/null 2>&1 || :
+# /sbin/chkconfig --del avahi-daemon >/dev/null 2>&1 || :
+#fi
+
+%postun
+#/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+#/sbin/ldconfig
+
+#%pre autoipd
+#getent group avahi-autoipd >/dev/null 2>&1 || groupadd \
+# -r \
+# -g 170 \
+# avahi-autoipd
+#getent passwd avahi-autoipd >/dev/null 2>&1 || useradd \
+# -r -l \
+# -u 170 \
+# -g avahi-autoipd \
+# -d %{_localstatedir}/lib/avahi-autoipd \
+# -s /sbin/nologin \
+# -c "Avahi IPv4LL Stack" \
+# avahi-autoipd
+#:;
+
+#%post dnsconfd
+#/sbin/chkconfig --add avahi-dnsconfd >/dev/null 2>&1 || :
+#if [ "$1" -eq 1 ]; then
+# /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+#fi
+
+#%triggerun dnsconfd -- avahi-dnsconfd < 0.6.28-1
+#if /sbin/chkconfig --level 5 avahi-dnsconfd ; then
+# /bin/systemctl --no-reload enable avahi-dnsconfd.service >/dev/null 2>&1 || :
+#fi
+
+#%preun dnsconfd
+#if [ "$1" -eq 0 ]; then
+# /bin/systemctl --no-reload disable avahi-dnsconfd.service >/dev/null 2>&1 || :
+# /bin/systemctl stop avahi-dnsconfd.service >/dev/null 2>&1 || :
+# /sbin/chkconfig --del avahi-dnsconfd >/dev/null 2>&1 || :
+#fi
+
+#%postun dnsconfd
+#/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+
+#%post glib -p /sbin/ldconfig
+#%postun glib -p /sbin/ldconfig
+
+#%post compat-howl -p /sbin/ldconfig
+#%postun compat-howl -p /sbin/ldconfig
+
+#%post compat-libdns_sd -p /sbin/ldconfig
+#%postun compat-libdns_sd -p /sbin/ldconfig
+
+%post libs
+/sbin/ldconfig
+%postun libs
+/sbin/ldconfig
+
+#%post qt3 -p /sbin/ldconfig
+#%postun qt3 -p /sbin/ldconfig
+
+#%post qt4 -p /sbin/ldconfig
+#%postun qt4 -p /sbin/ldconfig
+
+#%post ui -p /sbin/ldconfig
+#%postun ui -p /sbin/ldconfig
+
+#%post ui-gtk3 -p /sbin/ldconfig
+#%postun ui-gtk3 -p /sbin/ldconfig
+
+#%post gobject -p /sbin/ldconfig
+#%postun gobject -p /sbin/ldconfig
+
+%files
+%manifest avahi.manifest
+%defattr(0644,root,root,0755)
+/usr/share/license/%{name}
+%ghost %attr(0755,avahi,avahi) %dir /opt%{_localstatedir}/run/avahi-daemon
+%attr(0755,root,root) %{_sbindir}/avahi-daemon
+#%{_datadir}/dbus-1/interfaces/*.xml
+#%{_mandir}/man5/*
+#%{_mandir}/man8/avahi-daemon.*
+#%{_libdir}/systemd/system/avahi-daemon.service
+#%{_libdir}/systemd/system/avahi-daemon.socket
+#%{_datadir}/dbus-1/system-services/org.freedesktop.Avahi.service
+
+#%files autoipd
+#%defattr(0644,root,root,0755)
+#%attr(0755,root,root) %{_sbindir}/avahi-autoipd
+#%attr(0755,root,root) %config(noreplace) %{_sysconfdir}/avahi/avahi-autoipd.action
+#%{_mandir}/man8/avahi-autoipd.*
+
+#%files dnsconfd
+#%defattr(0644,root,root,0755)
+#%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/avahi-dnsconfd
+#%attr(0755,root,root) %config(noreplace) %{_sysconfdir}/avahi/avahi-dnsconfd.action
+#%attr(0755,root,root) %{_sbindir}/avahi-dnsconfd
+#%{_mandir}/man8/avahi-dnsconfd.*
+#/lib/systemd/system/avahi-dnsconfd.service
+
+#%files tools
+#%defattr(0644, root, root, 0755)
+#%attr(0755,root,root) %{_bindir}/*
+#%{_mandir}/man1/*
+#%exclude %{_bindir}/b*
+#%exclude %{_bindir}/avahi-discover*
+#%exclude %{_bindir}/avahi-bookmarks
+#%exclude %{_mandir}/man1/b*
+#%exclude %{_mandir}/man1/avahi-discover*
+#%exclude %{_mandir}/man1/avahi-bookmarks*
+
+#%files ui-tools
+#%defattr(0644, root, root, 0755)
+#%attr(0755,root,root) %{_bindir}/b*
+#%attr(0755,root,root) %{_bindir}/avahi-discover
+## avahi-bookmarks is not really a UI tool, but I won't create a seperate package for it...
+#%attr(0755,root,root) %{_bindir}/avahi-bookmarks
+#%{_mandir}/man1/b*
+#%{_mandir}/man1/avahi-discover*
+#%{_mandir}/man1/avahi-bookmarks*
+#%{_datadir}/applications/b*.desktop
+#%{_datadir}/applications/avahi-discover.desktop
+## These are .py files only, so they don't go in lib64
+##%{_prefix}/lib/python?.?/site-packages/*
+#%{_datadir}/avahi/interfaces/
+
+%files devel
+%defattr(0644, root, root, 0755)
+%attr(755,root,root) %{_libdir}/libavahi-common.so
+%attr(755,root,root) %{_libdir}/libavahi-core.so
+%attr(755,root,root) %{_libdir}/libavahi-client.so
+%{_includedir}/avahi-client
+%{_includedir}/avahi-common
+%{_includedir}/avahi-core
+%{_libdir}/pkgconfig/avahi-core.pc
+%{_libdir}/pkgconfig/avahi-client.pc
+%attr(755,root,root) /usr/bin/avahi-browse
+%attr(755,root,root) /usr/bin/avahi-browse-domains
+%attr(755,root,root) /usr/bin/avahi-publish
+%attr(755,root,root) /usr/bin/avahi-publish-address
+%attr(755,root,root) /usr/bin/avahi-publish-service
+%attr(755,root,root) /usr/bin/avahi-resolve
+%attr(755,root,root) /usr/bin/avahi-resolve-address
+%attr(755,root,root) /usr/bin/avahi-resolve-host-name
+%attr(755,root,root) /usr/bin/avahi-set-host-name
+%attr(755,root,root) /usr/sbin/avahi-autoipd
+
+%files libs
+%manifest avahi-libs.manifest
+%defattr(0644, root, root, 0755)
+/usr/share/license/avahi-libs
+%{_libdir}/avahi
+%exclude %{_libdir}/avahi/service-types.db
+%attr(0755,root,root) %{_libdir}/libavahi-common.so.*
+%attr(0755,root,root) %{_libdir}/libavahi-client.so.*
+%attr(0755,root,root) %{_libdir}/libavahi-core.so.*
+
+%files -n avahi-data
+%manifest avahi-data.manifest
+%defattr(0644,root,root,0755)
+/usr/share/license/avahi-data
+#%doc docs/* avahi-daemon/example.service avahi-daemon/sftp-ssh.service
+#%attr(0755,root,root) /usr%{_sysconfdir}/rc.d/init.d/avahi-daemon
+%exclude %dir %{_datadir}/avahi
+%exclude %{_datadir}/avahi/*.dtd
+%exclude %{_datadir}/avahi/service-types
+%dir /usr/%{_sysconfdir}/avahi
+%dir /usr%{_sysconfdir}/avahi/etc
+%ghost /usr%{_sysconfdir}/avahi/etc/localtime
+#%config(noreplace) /usr%{_sysconfdir}/avahi/hosts
+#%dir /usr%{_sysconfdir}/avahi/services
+/usr%{_sysconfdir}/avahi/avahi-daemon.conf
+#%config(noreplace) /usr%{_sysconfdir}/avahi/services/ssh.service
+#%config(noreplace) /usr%{_sysconfdir}/dbus-1/system.d/avahi-dbus.conf
+
+#%files glib
+#%defattr(0755, root, root, 0755)
+#%{_libdir}/libavahi-glib.so.*
+
+#%files glib-devel
+#%defattr(0644, root, root, 0755)
+#%attr(755,root,root) %{_libdir}/libavahi-glib.so
+#%{_includedir}/avahi-glib
+#%{_libdir}/pkgconfig/avahi-glib.pc
+
+#%files gobject
+#%defattr(0644, root, root, 0755)
+#%attr(755,root,root) %{_libdir}/libavahi-gobject.so.*
+##%{_libdir}/girepository-1.0/Avahi-0.6.typelib
+##%{_libdir}/girepository-1.0/AvahiCore-0.6.typelib
+
+#%files gobject-devel
+#%defattr(0644, root, root, 0755)
+#%attr(755,root,root) %{_libdir}/libavahi-gobject.so
+#%{_includedir}/avahi-gobject
+#%{_libdir}/pkgconfig/avahi-gobject.pc
+##%{_datadir}/gir-1.0/Avahi-0.6.gir
+##%{_datadir}/gir-1.0/AvahiCore-0.6.gir
+
+#%files ui
+#%defattr(0755, root, root, 0755)
+#%{_libdir}/libavahi-ui.so.*
+
+#%files ui-gtk3
+#%defattr(0755, root, root, 0755)
+#%{_libdir}/libavahi-ui-gtk3.so.*
+
+#%files ui-devel
+#%defattr(0644, root, root, 0755)
+#%attr(755,root,root) %{_libdir}/libavahi-ui.so
+#%attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so
+#%{_includedir}/avahi-ui
+#%{_libdir}/pkgconfig/avahi-ui.pc
+#%{_libdir}/pkgconfig/avahi-ui-gtk3.pc
+
+#%files qt3
+#%defattr(0644, root, root, 0755)
+#%attr(755,root,root) %{_libdir}/libavahi-qt3.so.*
+
+#%files qt3-devel
+#%defattr(0644, root, root, 0755)
+#%attr(755,root,root) %{_libdir}/libavahi-qt3.so
+#%{_includedir}/avahi-qt3/
+#%{_libdir}/pkgconfig/avahi-qt3.pc
+
+#%files qt4
+#%defattr(0644, root, root, 0755)
+#%attr(755,root,root) %{_libdir}/libavahi-qt4.so.*
+
+#%files qt4-devel
+#%defattr(0644, root, root, 0755)
+#%attr(755,root,root) %{_libdir}/libavahi-qt4.so
+#%{_includedir}/avahi-qt4/
+#%{_libdir}/pkgconfig/avahi-qt4.pc
+
+#%if %{WITH_MONO}
+#%files sharp
+#%defattr(0644, root, root, 0755)
+#%{_libdir}/mono/avahi-sharp
+#%{_libdir}/mono/gac/avahi-sharp
+#%{_libdir}/pkgconfig/avahi-sharp.pc
+
+#%files ui-sharp
+#%defattr(0644, root, root, 0755)
+#%{_libdir}/mono/avahi-ui-sharp
+#%{_libdir}/mono/gac/avahi-ui-sharp
+
+#%files ui-sharp-devel
+#%defattr(-,root,root,-)
+#%{_libdir}/pkgconfig/avahi-ui-sharp.pc
+#%endif
+
+#%if %{WITH_COMPAT_HOWL}
+#%files compat-howl
+#%defattr(0755, root, root, 0755)
+#%{_libdir}/libhowl.so.*
+
+#%files compat-howl-devel
+#%defattr(0644, root, root, 0755)
+#%attr(755,root,root) %{_libdir}/libhowl.so
+#%{_includedir}/avahi-compat-howl
+#%{_libdir}/pkgconfig/avahi-compat-howl.pc
+#%{_libdir}/pkgconfig/howl.pc
+#%endif
+
+#%if %{WITH_COMPAT_DNSSD}
+#%files compat-libdns_sd
+#%defattr(0755, root, root, 0755)
+#%{_libdir}/libdns_sd.so.*
+
+#%files compat-libdns_sd-devel
+#%defattr(0644, root, root, 0755)
+#%attr(755,root,root) %{_libdir}/libdns_sd.so
+#%{_includedir}/avahi-compat-libdns_sd
+#%{_includedir}/dns_sd.h
+#%{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
+#%{_libdir}/pkgconfig/libdns_sd.pc
+#%endif
+
+%changelog
--- /dev/null
+Name: avsystem
+Summary: Audio Video System
+Version: 0.5.5
+Release: 0
+Group: System/Libraries
+License: Apache-2.0
+Source0: avsystem-%{version}.tar.gz
+Source101: packaging/avsystem.service
+
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/systemctl
+Requires(postun): /sbin/ldconfig
+Requires(postun): /usr/bin/systemctl
+Requires(preun): /usr/bin/systemctl
+
+BuildRequires: pkgconfig(alsa)
+BuildRequires: pkgconfig(iniparser)
+BuildRequires: pkgconfig(mm-ta)
+BuildRequires: pkgconfig(mm-log)
+BuildRequires: pkgconfig(libexif)
+BuildRequires: pkgconfig(libpulse)
+BuildRequires: pkgconfig(libascenario)
+
+
+%description
+Audio Video System
+
+
+%package devel
+Summary: Audio Video System Development headers and libraries
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Audio Video System Development headers and libraries.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+%autogen
+%configure \
+%if 0%{?simulator}
+ --enable-audiotest --enable-sdk
+%else
+ --enable-audiotest
+%endif
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -m 755 -p %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/
+ln -s ../init.d/snd_init %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/S15snd_init
+mkdir -m 755 -p %{buildroot}/%{_sysconfdir}/rc.d/rc4.d/
+ln -s ../init.d/snd_init %{buildroot}/%{_sysconfdir}/rc.d/rc4.d/S15snd_init
+
+mkdir -m 755 -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants
+install -m 0644 %SOURCE101 %{buildroot}/usr/lib/systemd/system/avsystem.service
+ln -s ../avsystem.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/avsystem.service
+
+%preun
+if [ $1 == 0 ]; then
+ systemctl stop avsystem.service
+fi
+
+%post
+/sbin/ldconfig
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ systemctl restart avsystem.service
+fi
+
+%postun
+/sbin/ldconfig
+systemctl daemon-reload
+
+%files
+%manifest avsystem.manifest
+%defattr(-,root,root,-)
+%{_sysconfdir}/rc.d/init.d/snd_init
+%{_sysconfdir}/rc.d/rc3.d/S15snd_init
+%{_sysconfdir}/rc.d/rc4.d/S15snd_init
+%{_bindir}/*
+%{_libdir}/lib*.so.*
+/usr/lib/systemd/system/avsystem.service
+/usr/lib/systemd/system/multi-user.target.wants/avsystem.service
+
+%files devel
+%manifest avsystem.manifest
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so
+%{_includedir}/avsystem/*.h
--- /dev/null
+Name: badge
+Summary: badge library
+Version: 0.0.5
+Release: 1
+Group: Application Framework/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(com-core)
+BuildRequires: cmake
+BuildRequires: sqlite3
+Requires: libbadge
+
+%description
+Badge library.
+
+%package -n libbadge
+Summary: Badge Library
+Requires: %{name} = %{version}-%{release}
+
+%description -n libbadge
+Badge library.
+
+
+%package devel
+Summary: Badge library (devel)
+Group: Application Framework/Development
+Requires: libbadge = %{version}-%{release}
+
+%description devel
+Badge library (devel).
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+mkdir -p %{buildroot}/opt/dbspace
+sqlite3 %{buildroot}/opt/dbspace/.%{name}.db < %{name}.sql
+
+%post -p /sbin/ldconfig -n libbadge
+
+%postun -p /sbin/ldconfig -n libbadge
+
+%files -n libbadge
+%license LICENSE.APLv2.0
+%manifest badge.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libbadge.so.*
+
+%files
+%verify(not md5 size mtime) %config(noreplace) %attr(660,root,app) /opt/dbspace/.%{name}.db-journal
+%verify(not md5 size mtime) %config(noreplace) %attr(660,root,app) /opt/dbspace/.%{name}.db
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/*.h
+%{_libdir}/libbadge.so
+%{_libdir}/pkgconfig/%{name}.pc
+
--- /dev/null
+Name: bash
+Version: 4.2
+Release: 1
+License: GPL-3.0+
+Summary: The GNU Bourne Again shell
+Url: http://www.gnu.org/software/bash
+Group: Base/Tools
+Source0: ftp://ftp.gnu.org/gnu/bash/%{name}-%{version}.tar.gz
+Source1: dot.bashrc
+Source2: dot.profile
+BuildRequires: autoconf
+BuildRequires: bison
+Provides: /bin/bash
+Provides: /bin/sh
+
+%description
+The GNU Bourne Again shell (Bash) is a shell or command language
+interpreter that is compatible with the Bourne shell (sh). Bash
+incorporates useful features from the Korn shell (ksh) and the C shell
+(csh). Most sh scripts can be run by bash without modification.
+
+
+%prep
+%setup -q
+
+%build
+%configure --enable-largefile \
+ --without-bash-malloc \
+ --disable-nls \
+ --enable-alias \
+ --enable-readline \
+ --enable-history
+
+# Recycles pids is neccessary. When bash's last fork's pid was X
+# and new fork's pid is also X, bash has to wait for this same pid.
+# Without Recycles pids bash will not wait.
+make "CPPFLAGS=-D_GNU_SOURCE -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"' -DRECYCLES_PIDS `getconf LFS_CFLAGS`"
+%check
+make check
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/etc/bash_completion.d
+
+#mkdir -p %{buildroot}/%{_bindir}
+#mv %{buildroot}/bin/* %{buildroot}/%{_bindir}/
+
+# make manpages for bash builtins as per suggestion in DOC/README
+pushd doc
+sed -e '
+/^\.SH NAME/, /\\- bash built-in commands, see \\fBbash\\fR(1)$/{
+/^\.SH NAME/d
+s/^bash, //
+s/\\- bash built-in commands, see \\fBbash\\fR(1)$//
+s/,//g
+b
+}
+d
+' builtins.1 > man.pages
+for i in echo pwd test kill; do
+ perl -pi -e "s,$i,,g" man.pages
+ perl -pi -e "s, , ,g" man.pages
+done
+
+install -c -m 644 builtins.1 %{buildroot}%{_mandir}/man1/builtins.1
+
+for i in `cat man.pages` ; do
+ echo .so man1/builtins.1 > %{buildroot}%{_mandir}/man1/$i.1
+ chmod 0644 %{buildroot}%{_mandir}/man1/$i.1
+done
+popd
+
+# Link bash man page to sh so that man sh works.
+ln -s bash.1 %{buildroot}%{_mandir}/man1/sh.1
+
+# Not for printf, true and false (conflict with coreutils)
+rm -f %{buildroot}/%{_mandir}/man1/printf.1
+rm -f %{buildroot}/%{_mandir}/man1/true.1
+rm -f %{buildroot}/%{_mandir}/man1/false.1
+
+pushd %{buildroot}
+ln -sf bash ./usr/bin/sh
+rm -f .%{_infodir}/dir
+popd
+mkdir -p %{buildroot}%{_sysconfdir}/skel
+install -c -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/skel/.bashrc
+install -c -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/skel/.bash_profile
+LONG_BIT=$(getconf LONG_BIT)
+mv %{buildroot}%{_bindir}/bashbug \
+ %{buildroot}%{_bindir}/bashbug-"${LONG_BIT}"
+
+# Fix missing sh-bangs in example scripts (bug #225609).
+for script in \
+ examples/scripts/krand.bash \
+ examples/scripts/bcsh.sh \
+ examples/scripts/precedence \
+ examples/scripts/shprompt
+do
+ cp "$script" "$script"-orig
+ echo '#!/bin/bash' > "$script"
+ cat "$script"-orig >> "$script"
+ rm -f "$script"-orig
+done
+
+rm -rf %{buildroot}%{_bindir}/bashbug-*
+chmod a-x doc/*.sh
+
+%docs_package
+
+%post -p <lua>
+bashfound = false;
+shfound = false;
+
+f = io.open("/etc/shells", "r");
+if f == nil
+then
+ f = io.open("/etc/shells", "w");
+else
+ repeat
+ t = f:read();
+ if t == "/bin/bash"
+ then
+ bashfound = true;
+ end
+ if t == "/bin/sh"
+ then
+ shfound = true;
+ end
+ until t == nil;
+end
+f:close()
+
+f = io.open("/etc/shells", "a");
+if not bashfound
+then
+ f:write("/bin/bash\n")
+end
+if not shfound
+then
+ f:write("/bin/sh\n")
+end
+f:close()
+
+%postun
+if [ "$1" = 0 ]; then
+ /bin/grep -v '^/bin/bash$' < /etc/shells | \
+ /bin/grep -v '^/bin/sh$' > /etc/shells.new
+ /bin/mv /etc/shells.new /etc/shells
+fi
+
+
+
+%files
+%license COPYING
+%{_bindir}/sh
+%{_bindir}/bash
+%{_sysconfdir}/skel
+%dir %{_sysconfdir}/bash_completion.d
+
--- /dev/null
+Name: bc
+BuildRequires: automake bison ed flex readline-devel
+Url: ftp://ftp.gnu.org/pub/gnu/bc
+License: GPL-2.0+
+Group: Productivity/Scientific/Math
+Version: 1.06
+Release: 0
+Summary: GNU Command Line Calculator
+Source: %{name}-%{version}.tar.bz2
+
+%description
+bc is an interpreter that supports numbers of arbitrary precision and
+the interactive execution of statements. The syntax has some
+similarities to the C programming language. A standard math library is
+available through command line options. When used, the math library is
+read in before any other input files. bc then reads in all other files
+from the command line, evaluating their contents. Then bc reads from
+standard input (usually the keyboard).
+
+The dc program is also included. dc is a calculator that supports
+reverse-polish notation and allows unlimited precision arithmetic.
+Macros can also be defined. Normally, dc reads from standard input but
+can also read in files specified on the command line. A calculator with
+reverse-polish notation saves numbers to a stack. Arguments to
+mathematical operations (operands) are "pushed" onto the stack until
+the next operator is read in, which "pops" its arguments off the stack
+and "pushes" its results back onto the stack.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fi
+./configure CFLAGS="$RPM_OPT_FLAGS" \
+ --with-readline \
+ --prefix=/usr \
+ --infodir=%{_infodir} \
+ --mandir=%{_mandir} \
+ --build=%{_target_cpu}-suse-linux
+rm bc/libmath.h
+make
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+/usr/bin/bc
+/usr/bin/dc
+%{_infodir}/*.info*
+%{_mandir}/man1/*
+
+%changelog
--- /dev/null
+Name: bdftopcf
+Version: 1.0.3
+Release: 0
+License: MIT
+Summary: Font compiler for the X server and font server
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(xfont)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+
+%description
+bdftopcf is a font compiler for the X server and font server. Fonts
+in Portable Compiled Format can be read by any architecture, although
+the file is structured to allow one particular architecture to read
+them directly without reformatting. This allows fast reading on the
+appropriate machine, but the files are still portable (but read more
+slowly) on other machines.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/bdftopcf
+%{_mandir}/man1/bdftopcf.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: bigreqsproto
+Summary: X.Org X11 Protocol bigreqsproto
+Version: 1.1.2
+Release: 1
+Group: Development/System
+License: MIT
+URL: http://www.x.org
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*
+%{_datadir}/pkgconfig/*
+
--- /dev/null
+Name: binutils
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: gcc-c++
+# for the testsuite
+BuildRequires: glibc-devel-static
+# for some gold tests
+BuildRequires: bc
+BuildRequires: makeinfo
+BuildRequires: zlib-devel-static
+Requires(pre): update-alternatives
+Version: 2.23.1
+Release: 0
+#
+# RUN_TESTS
+%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
+# check the vanilla binutils, with no patches applied
+# TEST_VANILLA
+%define test_vanilla %(test ! -f %_sourcedir/TEST_VANILLA ; echo $?)
+#
+# handle test suite failures
+#
+%ifarch alpha %arm hppa mips sh4 %sparc
+%define make_check_handling true
+%else
+# XXX check again
+# XXX disabled because gold is seriously broken for now
+%define make_check_handling true
+%endif
+# let make check fail anyway if RUN_TESTS was requested
+%if %{run_tests}
+%define make_check_handling false
+%endif
+# handle all binary object formats supported by SuSE (and a few more)
+%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
+%define build_multitarget 1
+%else
+%define build_multitarget 0
+%endif
+%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
+#
+#
+#
+Url: http://www.gnu.org/software/binutils/
+%define binutils_version %(echo %version | sed 's/\\.[0-9]\\{8\\}$//')
+Summary: GNU Binutils
+License: GFDL-1.3 and GPL-3.0+
+Group: Development/Tools/Building
+Source: binutils-%{binutils_version}.tar.bz2
+Source1: pre_checkin.sh
+Source3: baselibs.conf
+
+%description
+C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
+size, strings, and strip. These utilities are needed whenever you want
+to compile a program or kernel.
+
+
+%package gold
+Summary: The gold linker
+License: GPL-3.0+
+Group: Development/Tools/Building
+Requires: binutils = %{version}-%{release}
+%if 0%{!?cross:1}
+%define gold_archs %ix86 %arm x86_64 ppc ppc64 %sparc
+%endif
+
+%description gold
+gold is an ELF linker. It is intended to have complete support for ELF
+and to run as fast as possible on modern systems. For normal use it is
+a drop-in replacement for the older GNU linker.
+
+
+%package devel
+Summary: GNU binutils (BFD development files)
+License: GPL-3.0+
+Group: Development/Libraries/C and C++
+Requires: binutils = %{version}-%{release}
+Requires: zlib-devel
+Provides: binutils:/usr/include/bfd.h
+
+%description devel
+This package includes header files and static libraries necessary to
+build programs which use the GNU BFD library, which is part of
+binutils.
+
+
+%ifarch %arm
+%define HOST %{_target_cpu}-tizen-linux-gnueabi
+%else
+%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-tizen-linux
+%endif
+%define DIST %(echo '%distribution' | sed 's/ (.*)//')
+
+%prep
+echo "make check will return with %{make_check_handling} in case of testsuite failures."
+%setup -q -n binutils-%{binutils_version}
+
+sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
+%build
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS |sed -e 's/atom/i686/g'`
+%if 0%{!?cross:1}
+# Building native binutils
+echo "Building native binutils."
+%if %build_multitarget
+EXTRA_TARGETS="%(printf ,%%s-tizen-linux %target_list)"
+EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf,x86_64-pep"
+%else
+EXTRA_TARGETS=
+%ifarch sparc
+EXTRA_TARGETS="$EXTRA_TARGETS,sparc64-tizen-linux"
+%endif
+%ifarch ppc
+EXTRA_TARGETS="$EXTRA_TARGETS,powerpc64-tizen-linux"
+%endif
+%ifarch s390
+EXTRA_TARGETS="$EXTRA_TARGETS,s390x-tizen-linux"
+%endif
+%ifarch s390x
+EXTRA_TARGETS="$EXTRA_TARGETS,s390-tizen-linux"
+%endif
+%ifarch %ix86
+EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-tizen-linux"
+%endif
+%ifarch ppc ppc64
+EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
+%endif
+%ifarch %arm
+EXTRA_TARGETS="$EXTRA_TARGETS,arm-tizen-linux-gnueabi"
+%endif
+%endif
+%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
+ --prefix=%{_prefix} --libdir=%{_libdir} \\\
+ --infodir=%{_infodir} --mandir=%{_mandir} \\\
+ --with-bugurl=http://bugs.opensuse.org/ \\\
+ --with-pkgversion="GNU Binutils; %{DIST}" \\\
+ --disable-nls \\\
+ --with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --with-pic --build=%{HOST}
+mkdir build-dir
+cd build-dir
+../configure %common_flags \
+ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
+ --enable-plugins \
+%ifarch %gold_archs
+ --enable-gold \
+%endif
+ --enable-shared
+make %{?_smp_mflags} all-bfd TARGET-bfd=headers
+# force reconfiguring (???)
+rm bfd/Makefile
+make %{?_smp_mflags}
+
+%else
+# building cross-TARGET-binutils
+echo "Building cross binutils."
+mkdir build-dir
+cd build-dir
+EXTRA_TARGETS=
+%if "%{TARGET}" == "sparc"
+EXTRA_TARGETS="$EXTRA_TARGETS,sparc64-tizen-linux"
+%endif
+%if "%{TARGET}" == "powerpc"
+EXTRA_TARGETS="$EXTRA_TARGETS,powerpc64-tizen-linux"
+%endif
+%if "%{TARGET}" == "s390"
+EXTRA_TARGETS="$EXTRA_TARGETS,s390x-tizen-linux"
+%endif
+%if "%{TARGET}" == "s390x"
+EXTRA_TARGETS="$EXTRA_TARGETS,s390-tizen-linux"
+%endif
+%if "%{TARGET}" == "i586"
+EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-tizen-linux"
+%endif
+%if "%{TARGET}" == "hppa"
+EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-tizen-linux"
+%endif
+%if "%{TARGET}" == "arm"
+EXTRA_TARGETS="$EXTRA_TARGETS,arm-tizen-linux-gnueabi"
+%endif
+%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
+TARGET_OS=%{TARGET}
+%else
+%if "%{TARGET}" == "arm"
+TARGET_OS=%{TARGET}-tizen-linux-gnueabi
+%else
+TARGET_OS=%{TARGET}-tizen-linux
+%endif
+%endif
+../configure CFLAGS="${RPM_OPT_FLAGS}" \
+ --prefix=%{_prefix} \
+ --with-bugurl=http://bugs.opensuse.org/ \
+ --with-pkgversion="GNU Binutils; %{DIST}" \
+ --disable-nls \
+ --build=%{HOST} --target=$TARGET_OS \
+%if "%{TARGET}" == "spu"
+ --with-sysroot=/usr/spu \
+%else
+ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
+%endif
+ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
+make %{?_smp_mflags} all-bfd TARGET-bfd=headers
+# force reconfiguring
+rm bfd/Makefile
+make %{?_smp_mflags}
+%if "%{TARGET}" == "avr"
+# build an extra nesC version because nesC requires $'s in identifiers
+cp -a gas gas-nesc
+echo '#include "tc-%{TARGET}-nesc.h"' > gas-nesc/targ-cpu.h
+make -C gas-nesc clean
+make -C gas-nesc %{?_smp_mflags}
+%endif
+%endif
+
+%check
+unset LD_AS_NEEDED
+cd build-dir
+%if 0%{?cross:1}
+make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
+%else
+make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
+%endif
+
+%install
+cd build-dir
+%if 0%{!?cross:1}
+# installing native binutils
+%ifarch %gold_archs
+make DESTDIR=$RPM_BUILD_ROOT install-gold
+ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold
+%endif
+make DESTDIR=$RPM_BUILD_ROOT install-info install
+make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
+make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
+
+if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then
+ mv "%buildroot/%_bindir"/{ld,ld.bfd};
+else
+ rm -f "%buildroot/%_bindir/ld";
+fi
+mkdir -p "%buildroot/%_sysconfdir/alternatives";
+ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
+ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
+rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
+ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
+
+mv $RPM_BUILD_ROOT%{_prefix}/%{HOST}/lib/ldscripts $RPM_BUILD_ROOT%{_libdir}
+ln -sf ../../%{_lib}/ldscripts $RPM_BUILD_ROOT%{_prefix}/%{HOST}/lib/ldscripts
+
+# Install header files
+make -C libiberty install_to_libdir target_header_dir=/usr/include DESTDIR=$RPM_BUILD_ROOT
+# We want the PIC libiberty.a
+install -m 644 libiberty/pic/libiberty.a $RPM_BUILD_ROOT%{_libdir}
+#
+chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
+chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
+# No shared linking outside binutils
+rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
+rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
+# Remove unwanted files to shut up rpm
+rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
+rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
+cd ..
+#%find_lang binutils
+#%find_lang bfd binutils.lang
+#%find_lang gas binutils.lang
+#%find_lang ld binutils.lang
+#%find_lang opcodes binutils.lang
+#%find_lang gprof binutils.lang
+%ifarch %gold_archs
+#%find_lang gold binutils-gold.lang
+%endif
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
+install -m 644 binutils/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-binutils
+install -m 644 gas/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-gas
+install -m 644 ld/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-ld
+%else
+# installing cross-TARGET-binutils and TARGET-binutils
+make DESTDIR=$RPM_BUILD_ROOT install
+# Replace hard links by symlinks, so that rpmlint doesn't complain
+T=$(basename %buildroot/usr/%{TARGET}*)
+for f in %buildroot/usr/$T/bin/* ; do
+ ln -sf /usr/bin/$T-$(basename $f) $f
+done
+%if "%{TARGET}" == "avr"
+install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
+ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
+%endif
+rm -rf $RPM_BUILD_ROOT%{_mandir}
+rm -rf $RPM_BUILD_ROOT%{_infodir}
+rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
+rm -rf $RPM_BUILD_ROOT%{_prefix}/include
+rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
+> ../binutils.lang
+%endif
+cd $RPM_BUILD_DIR/binutils-%version
+
+
+%if 0%{!?cross:1}
+%docs_package
+%post
+"%_sbindir/update-alternatives" --install \
+ "%_bindir/ld" ld "%_bindir/ld.bfd" 1
+
+%post gold
+"%_sbindir/update-alternatives" --install \
+ "%_bindir/ld" ld "%_bindir/ld.gold" 2
+
+
+%preun
+if [ "$1" = 0 ]; then
+ "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.bfd";
+fi;
+
+%preun gold
+if [ "$1" = 0 ]; then
+ "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
+fi;
+
+%endif
+
+%files
+%defattr(-,root,root)
+%if 0%{!?cross:1}
+%{_docdir}/%{name}
+%{_prefix}/%{HOST}/bin/*
+%{_prefix}/%{HOST}/lib/ldscripts
+%ghost %_sysconfdir/alternatives/ld
+%{_libdir}/ldscripts
+%{_bindir}/*
+%ifarch %gold_archs
+%exclude %{_bindir}/gold
+%exclude %{_bindir}/ld.gold
+%endif
+%doc %{_infodir}/*.gz
+%{_libdir}/lib*-%{version}*.so
+%else
+%{_prefix}/%{TARGET}*
+%{_prefix}/bin/*
+%endif
+
+%ifarch %gold_archs
+%files gold
+%defattr(-,root,root)
+%{_bindir}/gold
+%{_bindir}/ld.gold
+%endif
+
+%if 0%{!?cross:1}
+%files devel
+%defattr(-,root,root)
+%{_prefix}/include/*.h
+%{_libdir}/lib*.*a
+%endif
+
+%changelog
--- /dev/null
+%define keepstatic 1
+Name: bison
+BuildRequires: gcc-c++
+Version: 2.6.2
+Release: 0
+Summary: The GNU Parser Generator
+License: GPL-3.0+
+Group: Development/Languages/C and C++
+Url: http://www.gnu.org/software/bison/bison.html
+Source: bison-%{version}.tar.xz
+Source2: baselibs.conf
+Requires: m4
+
+%description
+Bison is a parser generator similar to yacc(1).
+
+%prep
+%setup -q
+
+%build
+%configure --disable-nls
+make %{?_smp_mflags}
+
+%check
+make %{?_smp_mflags} check
+
+%install
+%make_install
+
+%files
+%dir %{_datadir}/aclocal
+%{_bindir}/bison
+%{_bindir}/yacc
+%{_libdir}/liby.a
+%{_datadir}/bison
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/bison-i18n.m4
+%doc %{_infodir}/bison.info*.gz
+%doc %{_mandir}/man1/bison.1.gz
+%doc %{_mandir}/man1/yacc.1.gz
+
--- /dev/null
+Name: bluetooth-agent
+Summary: Bluetooth agent packages that support various external profiles
+Version: 0.0.9
+Release: 2
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(msg-service)
+BuildRequires: pkgconfig(email-service)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: cmake
+
+%description
+Bluetooth agent packages that support various external profiles
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=/usr
+
+make VERBOSE=1
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%manifest bluetooth-agent.manifest
+%defattr(-, root, root)
+%{_bindir}/bluetooth-map-agent
+%{_bindir}/bluetooth-pb-agent
+%{_bindir}/bluetooth-hfp-agent
+%{_datadir}/dbus-1/services/org.bluez.pb_agent.service
+%{_datadir}/dbus-1/services/org.bluez.map_agent.service
+%{_datadir}/dbus-1/services/org.bluez.hfp_agent.service
--- /dev/null
+Name: bluetooth-frwk
+Summary: Bluetooth framework for BlueZ and Obexd
+Version: 0.2.57
+Release: 1
+Group: Connectivity/Bluetooth
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+URL: https://review.tizen.org/git/?p=platform/core/connectivity/bluetooth-frwk.git;a=summary
+Requires: sys-assert
+Requires: dbus
+Requires: syspopup
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(capi-network-tethering)
+BuildRequires: pkgconfig(libprivilege-control)
+BuildRequires: pkgconfig(status)
+BuildRequires: pkgconfig(alarm-service)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: cmake
+
+Requires(post): vconf
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+Bluetooth framework for BlueZ and Obexd. This package is Bluetooth framework based on BlueZ and Obexd stack.
+ This package contains API set for BT GAP, BT SDP, and BT RFCOMM.
+
+
+%package devel
+Summary: Bluetooth framework for BlueZ and Obexd
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package is development files for Bluetooth framework based on BlueZ and Obexd stack.
+This package contains API set for BT GAP, BT SDP, and BT RFCOMM.
+
+%package service
+Summary: Bluetooth Service daemon
+Group: Connectivity/Bluetooth
+Requires: %{name} = %{version}-%{release}
+
+%description service
+This package is Bluetooth Service daemon to manage BT services.
+
+%package core
+Summary: Bluetooth Core daemon
+Group: Connectivity/Bluetooth
+Requires: %{name} = %{version}-%{release}
+
+%description core
+This package is Bluetooth core daemon to manage activation / deactivation.
+
+%prep
+%setup -q
+
+
+%build
+
+%ifarch x86_64
+export CFLAGS+=" -Wall -g -fvisibility=hidden -fPIC"
+export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs"
+%else
+export CFLAGS+=" -fpie"
+export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie"
+%endif
+%cmake .
+
+make
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/
+ln -s %{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S80bluetooth-frwk-service
+ln -s %{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S80bluetooth-frwk-service
+
+mkdir -p %{buildroot}%{_unitdir_user}
+mkdir -p %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants
+install -m 0644 bt-service/bluetooth-frwk-service.service %{buildroot}%{_unitdir_user}
+ln -s ../bluetooth-frwk-service.service %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants/bluetooth-frwk-service.service
+
+
+%post
+/sbin/ldconfig
+vconftool set -tf int db/bluetooth/status "0" -g 6520
+vconftool set -tf int file/private/bt-service/flight_mode_deactivated "0" -g 6520 -i
+vconftool set -tf string memory/bluetooth/sco_headset_name "" -g 6520 -i
+vconftool set -tf int memory/bluetooth/device "0" -g 6520 -i
+vconftool set -tf int memory/bluetooth/btsco "0" -g 6520 -i
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%{_libdir}/libbluetooth-api.so.*
+
+%files devel
+%defattr(-, root, root)
+%{_includedir}/bt-service/bluetooth-api.h
+%{_includedir}/bt-service/bluetooth-hid-api.h
+%{_includedir}/bt-service/bluetooth-audio-api.h
+%{_includedir}/bt-service/bluetooth-telephony-api.h
+%{_includedir}/bt-service/bluetooth-media-control.h
+%{_libdir}/pkgconfig/bluetooth-api.pc
+%{_libdir}/libbluetooth-api.so
+
+%files service
+%manifest bluetooth-frwk.manifest
+%defattr(-, root, root)
+%{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service
+%{_sysconfdir}/rc.d/rc3.d/S80bluetooth-frwk-service
+%{_sysconfdir}/rc.d/rc5.d/S80bluetooth-frwk-service
+%{_datadir}/dbus-1/services/org.projectx.bt.service
+%{_bindir}/bt-service
+%{_unitdir_user}/tizen-middleware.target.wants/bluetooth-frwk-service.service
+%{_unitdir_user}/bluetooth-frwk-service.service
+%attr(0666,-,-) /opt/var/lib/bluetooth/auto-pair-blacklist
+
+%files core
+%defattr(-, root, root)
+%{_datadir}/dbus-1/services/org.projectx.bt_core.service
+%{_bindir}/bt-core
--- /dev/null
+%define _optdir /opt
+
+Name: bluetooth-share
+Summary: Bluetooth file share Agent
+Version: 0.0.47
+Release: 2
+Group: Connectivity/Bluetooth
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): vconf
+Requires(post): coreutils
+Requires(post): sqlite
+Requires(post): smack
+BuildRequires: cmake
+BuildRequires: gettext-tools
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(bluetooth-api)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(calendar-service2)
+BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(libprivilege-control)
+BuildRequires: pkgconfig(capi-content-media-content)
+
+%description
+Bluetooth File Share Agent
+
+%package -n libbluetooth-share
+Summary: Bluetooth share library
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description -n libbluetooth-share
+Bluetooth share library
+
+%package -n libbluetooth-share-devel
+Summary: Development package for libbluetooth-share
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description -n libbluetooth-share-devel
+Development package for libbluetooth-share
+
+%prep
+%setup -q
+
+%build
+export CFLAGS+=" -fpie -fvisibility=hidden"
+export LDFLAGS+=" -Wl,--rpath=/usr/%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie"
+
+%cmake .
+make
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_optdir}/share/bt-ftp
+
+%post
+# For the FTP server folder
+if [ ! -e /opt/share/bt-ftp ]
+then
+ mkdir -p /opt/share/bt-ftp
+fi
+
+if [ ! -e /opt/share/bt-ftp/Media ]
+then
+ ln -s /opt/usr/media /opt/share/bt-ftp/Media
+fi
+
+if [ ! -e /opt/share/bt-ftp/SD_External ]
+then
+ ln -s /opt/storage/sdcard /opt/share/bt-ftp/SD_External
+fi
+
+if [ ! -f /opt/usr/dbspace/.bluetooth_trasnfer.db ]
+then
+ sqlite3 /opt/usr/dbspace/.bluetooth_trasnfer.db 'PRAGMA journal_mode = PERSIST;
+ create table if not exists inbound (
+ id INTEGER PRIMARY KEY autoincrement,
+ sid INTEGER,
+ tr_status INTEGER,
+ file_path TEXT,
+ dev_name TEXT,
+ timestamp INTEGER default 0,
+ addr TEXT,
+ type TEXT,
+ content TEXT
+ );
+ create table if not exists outbound (
+ id INTEGER PRIMARY KEY autoincrement,
+ sid INTEGER,
+ tr_status INTEGER,
+ file_path TEXT,
+ dev_name TEXT,
+ timestamp INTEGER default 0,
+ addr TEXT,
+ type TEXT,
+ content TEXT
+ );
+ '
+fi
+
+chown :5000 /opt/usr/dbspace/.bluetooth_trasnfer.db
+chown :5000 /opt/usr/dbspace/.bluetooth_trasnfer.db-journal
+chmod 660 /opt/usr/dbspace/.bluetooth_trasnfer.db
+chmod 660 /opt/usr/dbspace/.bluetooth_trasnfer.db-journal
+
+if [ -f /usr/lib/rpm-plugins/msm.so ]
+then
+chsmack -a 'bt_share::db' /opt/usr/dbspace/.bluetooth_trasnfer.db
+chsmack -a 'bt_share::db' /opt/usr/dbspace/.bluetooth_trasnfer.db-journal
+fi
+
+%post -n libbluetooth-share-devel -p /sbin/ldconfig
+
+%post -n libbluetooth-share -p /sbin/ldconfig
+
+%postun -n libbluetooth-share-devel -p /sbin/ldconfig
+
+%postun -n libbluetooth-share -p /sbin/ldconfig
+
+%files
+%manifest bluetooth-share.manifest
+/opt/etc/smack/accesses.d/bluetooth-share.rule
+%defattr(-,root,root,-)
+%{_bindir}/bluetooth-share
+%{_datadir}/dbus-1/services/org.bluetooth.share.service
+%{_optdir}/share/bt-ftp
+
+%files -n libbluetooth-share
+%defattr(-, root, root)
+%{_libdir}/libbluetooth-share-api.so.0.*
+
+%files -n libbluetooth-share-devel
+%defattr(-, root, root)
+/usr/include/bluetooth-share-api/bluetooth-share-api.h
+%{_libdir}/libbluetooth-share-api.so
+%{_libdir}/pkgconfig/bluetooth-share-api.pc
--- /dev/null
+Name: capi-network-bluetooth
+Summary: Network Bluetooth Framework
+Version: 0.1.39
+Release: 1
+Group: Connectivity/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(bluetooth-api)
+BuildRequires: pkgconfig(capi-base-common)
+
+BuildRequires: cmake
+
+
+%description
+Network Bluetooth Framework
+
+%package devel
+Summary: Network Bluetooth Framework (DEV)
+Group: Development/Connectivit
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Network Bluetooth Framework.
+
+%devel_desc
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license LICENSE.APLv2 LICENSE
+%manifest bluetooth.manifest
+%{_libdir}/libcapi-network-bluetooth.so.*
+
+%files devel
+%{_includedir}/network/bluetooth.h
+%{_libdir}/pkgconfig/capi-network-bluetooth.pc
+%{_libdir}/libcapi-network-bluetooth.so
+
--- /dev/null
+%bcond_with ofono
+
+%define with_libcapng --enable-capng
+
+Name: bluez
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: flex
+BuildRequires: libcap-ng-devel
+BuildRequires: systemd
+%{?systemd_requires}
+BuildRequires: pkgconfig(alsa)
+BuildRequires: automake
+BuildRequires: check-devel
+BuildRequires: glib2-devel >= 2.16
+BuildRequires: libsndfile-devel
+BuildRequires: libtool
+BuildRequires: libudev-devel
+BuildRequires: libusb-devel
+BuildRequires: pkg-config
+BuildRequires: readline-devel
+BuildRequires: udev
+BuildRequires: pkgconfig(libnl-1)
+Url: http://www.bluez.org
+Version: 4.101
+Release: 0
+Summary: Bluetooth Stack for Linux
+License: GPL-2.0+
+Group: Connectivity/Bluetooth
+Source: bluez-%{version}.tar.gz
+Source2: bluez-coldplug.init
+Source3: bluetooth.sysconfig
+Source4: bluetooth.sh
+Source5: baselibs.conf
+Source7: bluetooth.modprobe
+Source8: audio.conf
+
+%define cups_lib_dir %{_prefix}/lib/cups
+
+%description
+The Bluetooth stack for Linux.
+
+%package devel
+Summary: Files needed for BlueZ development
+License: GPL-2.0+
+Group: Development/Libraries
+Requires: libbluetooth = %{version}
+
+%description devel
+Files needed to develop applications for the BlueZ Bluetooth protocol
+stack.
+
+%package -n libbluetooth
+Summary: Bluetooth Libraries
+License: GPL-2.0+
+Group: Connectivity/Bluetooth
+
+%description -n libbluetooth
+Bluetooth protocol stack libraries.
+
+%package cups
+Summary: CUPS Driver for Bluetooth Printers
+License: GPL-2.0+
+Group: Connectivity/Bluetooth
+Requires: libbluetooth = %{version}
+
+%description cups
+Contains the files required by CUPS for printing to Bluetooth-connected
+printers.
+
+
+%package test
+Summary: Tools for testing of various Bluetooth-functions
+License: GPL-2.0+ ; MIT
+Group: Development/Tools
+Requires: dbus-python
+Requires: libbluetooth = %{version}
+Requires: python-gobject
+
+%description test
+Contains a few tools for testing various bluetooth functions. The
+BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
+
+
+%package sbc
+Summary: Bluetooth Low-Complexity, Sub-Band Codec Utilities
+License: GPL-2.0+
+Group: Connectivity/Bluetooth
+Requires: libbluetooth = %{version}
+Requires: libsbc = %{version}
+
+%description sbc
+The package contains utilities for using the SBC codec.
+
+The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
+
+
+
+%package -n libsbc
+Summary: Bluetooth Low-Complexity, Sub-Band Codec Library
+License: GPL-2.0+
+Group: Connectivity/Bluetooth
+Requires: libbluetooth = %{version}
+
+%description -n libsbc
+The package contains libraries for using the SBC codec.
+
+The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
+
+%package alsa
+Summary: Bluetooth Sound Support
+License: GPL-2.0+
+Group: Connectivity/Bluetooth
+Requires: libbluetooth = %{version}
+Provides: bluez-audio:%_libdir/alsa-lib/libasound_module_pcm_bluetooth.so
+
+%description alsa
+The package contains libraries for using bluetooth audio services.
+
+The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
+
+
+%package compat
+Summary: Bluetooth Stack for Linux
+License: GPL-2.0+
+Group: Connectivity/Bluetooth
+Requires: libbluetooth = %{version}
+
+%description compat
+The Bluetooth stack for Linux. This package contains older and partly
+deprecated binaries that might still be needed for compatibility.
+
+
+%prep
+%setup -q
+
+%build
+autoreconf -fiv
+%configure --with-pic \
+ --libexecdir=/lib \
+ --enable-gstreamer \
+ --enable-alsa \
+ --enable-usb \
+ --enable-tools \
+ --enable-bccmd \
+ --enable-hid2hci \
+ --enable-dfutool \
+ --enable-cups \
+ --enable-test \
+ --enable-pand \
+ --enable-dund \
+ --enable-proximity \
+ --enable-wiimote \
+ --enable-thermometer \
+ --enable-datafiles \
+ --enable-pcmcia \
+ --enable-health \
+ --enable-dbusoob \
+%if %{with ofono}
+ --with-telephony=ofono \
+%endif
+ --with-systemdunitdir=%{_unitdir} \
+ %{?with_libcapng}
+make %{?_smp_mflags} all V=1
+
+%check
+make check
+
+%install
+%make_install
+
+# bluez-test
+cd test
+install --mode=0755 \
+ simple-agent \
+ simple-service \
+ list-devices \
+ test-audio \
+ test-adapter \
+ test-device \
+ test-discovery \
+ test-input \
+ test-manager \
+ test-network \
+ test-serial \
+ test-service \
+ test-telephony \
+ $RPM_BUILD_ROOT/%{_bindir}/
+cd ..
+rm -rvf $RPM_BUILD_ROOT/%{_libdir}/gstreamer-*
+install --mode=0755 -D %{S:4} $RPM_BUILD_ROOT/usr/lib/udev/bluetooth.sh
+install --mode=0644 -D %{S:7} $RPM_BUILD_ROOT/%{_sysconfdir}/modprobe.d/50-bluetooth.conf
+install --mode=0644 -D %{S:8} $RPM_BUILD_ROOT/%{_sysconfdir}/bluetooth/audio.conf
+if ! test -e %{buildroot}%{cups_lib_dir}/backend/bluetooth
+then if test -e %{buildroot}%{_libdir}/cups/backend/bluetooth
+ then mkdir -p %{buildroot}%{cups_lib_dir}/backend
+ mv %{buildroot}%{_libdir}/cups/backend/bluetooth %{buildroot}%{cups_lib_dir}/backend/bluetooth
+ fi
+fi
+# no idea why this is suddenly necessary...
+install --mode 0755 -d $RPM_BUILD_ROOT/var/lib/bluetooth
+
+
+
+
+
+%post -n libsbc -p /sbin/ldconfig
+
+%postun -n libsbc -p /sbin/ldconfig
+
+%post -n libbluetooth -p /sbin/ldconfig
+
+%postun -n libbluetooth -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%{_bindir}/hcitool
+%{_bindir}/l2ping
+%{_bindir}/rfcomm
+%{_bindir}/sdptool
+%{_bindir}/ciptool
+#%{_bindir}/dfutool
+%{_bindir}/gatttool
+%{_sbindir}/hciattach
+%{_sbindir}/hciconfig
+%{_sbindir}/bluetoothd
+#%{_sbindir}/hid2hci
+%{_sbindir}/bccmd
+%dir /usr/lib/udev
+/usr/lib/udev/*
+/usr/lib/udev/bluetooth_serial
+/usr/lib/udev/rules.d/97-bluetooth-serial.rules
+/usr/share/dbus-1/system-services/org.bluez.service
+%dir %{_sysconfdir}/bluetooth
+%config(noreplace) %{_sysconfdir}/bluetooth/main.conf
+%config(noreplace) %{_sysconfdir}/bluetooth/rfcomm.conf
+%config(noreplace) %{_sysconfdir}/bluetooth/audio.conf
+%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
+%dir /var/lib/bluetooth
+%dir %{_sysconfdir}/modprobe.d
+%config(noreplace) %{_sysconfdir}/modprobe.d/50-bluetooth.conf
+%{_unitdir}/bluetooth.service
+
+%files devel
+%defattr(-, root, root)
+/usr/include/bluetooth
+%{_libdir}/libbluetooth.so
+%{_libdir}/pkgconfig/bluez.pc
+
+%files -n libbluetooth
+%defattr(-, root, root)
+%{_libdir}/libbluetooth.so.*
+%license COPYING
+
+%files cups
+%defattr(-,root,root)
+%dir %{cups_lib_dir}
+%dir %{cups_lib_dir}/backend
+%{cups_lib_dir}/backend/bluetooth
+
+%files test
+%defattr(-,root,root)
+%{_sbindir}/hciemu
+%{_bindir}/l2test
+%{_bindir}/rctest
+%{_bindir}/list-devices
+%{_bindir}/simple-agent
+%{_bindir}/simple-service
+%{_bindir}/test-adapter
+%{_bindir}/test-audio
+%{_bindir}/test-device
+%{_bindir}/test-discovery
+%{_bindir}/test-input
+%{_bindir}/test-manager
+%{_bindir}/test-network
+%{_bindir}/test-serial
+%{_bindir}/test-service
+%{_bindir}/test-telephony
+
+%files alsa
+%defattr(-,root,root)
+%dir /usr/share/alsa
+%config /usr/share/alsa/bluetooth.conf
+%{_libdir}/alsa-lib/*.so
+
+
+%files compat
+%defattr(-,root,root)
+%{_bindir}/dund
+%{_bindir}/pand
+
+%docs_package
+
+%changelog
--- /dev/null
+Name: boost-jam
+Version: 201104
+Release: 0
+Summary: An Enhanced Make Replacement
+License: BSD-3-Clause
+Group: Development/Tools/Building
+Source: %{name}-%{version}.tar.xz
+# From http://boost.cvs.sourceforge.net/boost/boost/tools/jam/test/:
+Source2: test.tar.gz
+Url: http://www.boost.org/
+BuildRequires: xz
+
+%description
+Boost Jam is a build tool based on FTJam, which in turn is based on
+Perforce Jam. It contains significant improvements made to facilitate
+its use in the Boost Build System, but should be backward compatible
+with Perforce Jam.
+
+%prep
+%setup -q
+find . -type f|xargs chmod -R u+w
+
+%build
+export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"
+export CFLAGS="$RPM_OPT_FLAGS"
+LOCATE_TARGET=bin ./build.sh gcc --symbols
+# Trivial test: -- Documented used of bjam -v: Print the version of jam and exit:
+bin/bjam -v
+ln -s bin bin.linux
+cd ..
+tar xvf %{SOURCE2}
+ln -s %{name}-%{version} src
+cd test
+sh test.sh || if [ $? -gt 5 ]; then sh test.sh;fi
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+install -m 755 bin/bjam %{buildroot}%{_bindir}/bjam-%{version}
+ln -sf bjam-%{version} %{buildroot}%{_bindir}/bjam
+ln -sf bjam-%{version} %{buildroot}%{_bindir}/jam
+
+%files
+%defattr(-,root,root)
+%attr(755,root,root) %{_bindir}/*
+
+%changelog
--- /dev/null
+%define ver 1.49.0
+%define file_version 1_49_0
+%define short_version 1_49
+
+#Define to 0 to not generate the pdf documentation
+%define build_pdf 0
+%define package_pdf 0
+
+
+%define disable_long_double 0
+
+%define boost_libs1 libboost_date_time libboost_filesystem libboost_graph
+%define boost_libs2 libboost_iostreams libboost_math libboost_test
+%define boost_libs3 libboost_program_options libboost_python libboost_serialization
+%define boost_libs4 libboost_signals libboost_system libboost_thread
+%define boost_libs5 libboost_wave libboost_regex libboost_regex
+%define boost_libs6 libboost_random libboost_chrono libboost_locale
+%define boost_libs7 libboost_timer
+
+%define all_libs %boost_libs0 %boost_libs2 %boost_libs3 %boost_libs4 %boost_libs5 %boost_libs6 %boost_libs7
+
+
+%define debug_package_requires %{all_libs}
+
+Name: boost
+BuildRequires: boost-jam
+BuildRequires: dos2unix
+BuildRequires: chrpath
+BuildRequires: gcc-c++
+BuildRequires: bzip2-devel
+BuildRequires: zlib-devel
+BuildRequires: expat-devel
+BuildRequires: libicu-devel
+BuildRequires: python-devel
+BuildRequires: xz
+BuildRequires: fdupes
+Url: http://www.boost.org
+Summary: Boost C++ Libraries
+License: BSD-3-Clause
+Group: Development/Libraries/C and C++
+Version: 1.49.0
+Release: 0
+Source0: %{name}_%{file_version}.tar.bz2
+Source1: boost-rpmlintrc
+Source4: existing_extra_docs
+
+%define _docdir %{_datadir}/doc/packages/boost
+
+%description
+Boost provides free peer-reviewed portable C++ source libraries. The
+emphasis is on libraries that work well with the C++ Standard Library.
+One goal is to establish "existing practice" and provide reference
+implementations so that the Boost libraries are suitable for eventual
+standardization. Some of the libraries have already been proposed for
+inclusion in the C++ Standards Committee's upcoming C++ Standard
+Library Technical Report.
+
+Although Boost was begun by members of the C++ Standards Committee
+Library Working Group, membership has expanded to include nearly two
+thousand members of the C++ community at large.
+
+This package is mainly needed for updating from a prior version, the
+dynamic libraries are found in their respective package. For development
+using Boost, you also need the boost-devel package. For documentation,
+see the boost-doc package.
+
+
+
+%package devel
+Summary: Development package for Boost C++
+Group: Development/Libraries/C and C++
+Requires: libboost_date_time libboost_filesystem libboost_graph
+Requires: libboost_iostreams libboost_math libboost_test
+Requires: libboost_program_options libboost_python libboost_serialization
+Requires: libboost_signals libboost_system libboost_thread
+Requires: libboost_wave libboost_regex libboost_regex
+Requires: libboost_random libboost_chrono libboost_locale
+Requires: libboost_timer
+Requires: libstdc++-devel
+
+%description devel
+This package contains all that is needed to develop/compile
+applications that use the Boost C++ libraries. For documentation see
+the documentation packages (html, man or pdf).
+
+
+
+%package -n boost-license
+Summary: Boost License
+Group: Development/Libraries/C and C++
+BuildArch: noarch
+
+%description -n boost-license
+This package contains the license boost is provided under.
+
+
+%package -n libboost_date_time
+Summary: Boost::Date.Time Runtime libraries
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-datetime
+
+%description -n libboost_date_time
+This package contains the Boost Date.Time runtime libraries.
+
+
+%package -n libboost_filesystem
+Summary: Boost::Filesystem Runtime Libraries
+Group: System/Localization
+Requires: boost-license
+Provides: boost-filesystem
+
+%description -n libboost_filesystem
+This package contains the Boost::Filesystem libraries.
+
+
+%package -n libboost_graph
+Summary: Boost::Graph Runtime Libraries
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-graph
+
+%description -n libboost_graph
+This package contains the Boost::Graph Runtime libraries.
+
+
+%package -n libboost_iostreams
+Summary: Boost::IOStreams Runtime Libraries
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-iostreams
+
+%description -n libboost_iostreams
+This package contains the Boost::IOStreams Runtime libraries.
+
+
+%package -n libboost_math
+Summary: Boost::Math Runtime Libraries
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-math
+
+%description -n libboost_math
+This package contains the Boost::Math Runtime libraries.
+
+
+
+%package -n libboost_test
+Summary: Boost::Test Runtime Libraries
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-test
+
+%description -n libboost_test
+This package contains the Boost::Test runtime libraries.
+
+
+%package -n libboost_program_options
+Summary: Boost::ProgramOptions Runtime libraries
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-program-options
+
+%description -n libboost_program_options
+This package contains the Boost::ProgramOptions Runtime libraries.
+
+
+%package -n libboost_python
+Summary: Boost::Python Runtime Libraries
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-python
+
+%description -n libboost_python
+This package contains the Boost::Python Runtime libraries.
+
+
+%package -n libboost_serialization
+Summary: Boost::Serialization Runtime Libraries
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-serialization
+
+%description -n libboost_serialization
+This package contains the Boost::Serialization Runtime libraries.
+
+
+%package -n libboost_signals
+Summary: Boost::Signals Runtime Libraries
+Group: System/Libraries
+Requires: boost-license
+
+%description -n libboost_signals
+This package contains the Boost::Signals Runtime libraries.
+
+
+%package -n libboost_system
+Summary: Boost::System Runtime Libraries
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-system
+
+%description -n libboost_system
+This package contains the Boost::System runtime libraries.
+
+
+%package -n libboost_thread
+Summary: Boost::Thread Runtime Libraries
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-thread
+
+%description -n libboost_thread
+This package contains the Boost::Thread runtime libraries.
+
+
+%package -n libboost_wave
+Summary: Boost::Wave Runtime Libraries
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-wave
+
+%description -n libboost_wave
+This package contains the Boost::Wave runtime libraries.
+
+
+%package -n libboost_regex
+Summary: The Boost::Regex runtime library
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-regex
+
+%description -n libboost_regex
+This package contains the Boost::Regex runtime library.
+
+%package -n libboost_random
+Summary: The Boost::Random runtime library
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-random
+
+%description -n libboost_random
+This package contains the Boost::Random runtime library.
+
+%package -n libboost_chrono
+Summary: The Boost::Chrono runtime library
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-chrono
+
+%description -n libboost_chrono
+This package contains the Boost::Chrono runtime library.
+
+%package -n libboost_locale
+Summary: The Boost::Locale runtime library
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-locale
+
+%description -n libboost_locale
+This package contains the Boost::Locale runtime library.
+
+%package -n libboost_timer
+Summary: The Boost::Timer runtime library
+Group: System/Libraries
+Requires: boost-license
+Provides: boost-timer
+
+%description -n libboost_timer
+This package contains the Boost::Timer runtime library.
+
+
+%prep
+%setup -q -n %{name}_%{file_version}
+#everything in the tarball has the executable flag set ...
+find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} +
+
+#stupid build machinery copies .orig files
+find . -name \*.orig -exec rm {} +
+
+%build
+find . -type f -exec chmod u+w {} +
+
+# Now build it
+J_P=%{jobs}
+J_G=$(getconf _NPROCESSORS_ONLN)
+[ $J_G -gt 64 ] && J_G=64
+
+if test -z "$JOBS"; then
+ JOBS=$J_G
+else
+ test 1 -gt "$JOBS" && JOBS=1
+fi
+if test "$JOBS" == "0"; then
+ JOBS=1
+fi
+
+# In case you want more parallel jobs then autobuild grants you
+#if [ $J_P -gt $J_I ]; then
+# JOBS=$J_G
+#fi
+%if %{disable_long_double}
+export LONG_DOUBLE_FLAGS="--disable-long-double"
+%endif
+BJAM_CONFIG="-d2 -j$JOBS -sICU_PATH=%{_prefix}"
+PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
+PYTHON_FLAGS="--with-python-root=/usr --with-python-version=$PYTHON_VERSION"
+REGEX_FLAGS="--with-icu"
+export EXPAT_INCLUDE=/usr/include EXPAT_LIBPATH=%{_libdir} REGEX_FLAGS="--with-icu"
+export PYTHON_FLAGS
+
+cat << EOF >user-config.jam
+# Boost.Build Configuration
+
+# Compiler configuration
+using gcc ;
+
+# Python configuration
+using python : ${PYTHON_VERSION} : %{_prefix} ;
+EOF
+
+
+
+sh ./bootstrap.sh
+./b2
+
+
+%install
+# Now build it
+J_P=%{jobs}
+J_G=$(getconf _NPROCESSORS_ONLN)
+[ $J_G -gt 64 ] && J_G=64
+
+if test -z "$JOBS"; then
+ JOBS=$J_G
+else
+ test 1 -gt "$JOBS" && JOBS=1
+fi
+if test "$JOBS" == "0"; then
+ JOBS=1
+fi
+
+# In case you want more parallel jobs then autobuild grants you
+if [ $J_P -gt $J_G ]; then
+ JOBS=$J_G
+fi
+
+BJAM_CONFIG="-d2 -j$JOBS -sICU_PATH=%{_prefix}"
+PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
+PYTHON_FLAGS="--with-python-root=/usr --with-python-version=$PYTHON_VERSION"
+REGEX_FLAGS="--with-icu"
+export EXPAT_INCLUDE=/usr/include EXPAT_LIBPATH=%{_libdir} REGEX_FLAGS="--with-icu"
+export PYTHON_FLAGS
+
+# Set PATH, MANPATH and LD_LIBRARY_PATH
+
+%{_bindir}/bjam ${BJAM_CONFIG} ${LONG_DOUBLE_FLAGS} --user-config=user-config.jam \
+ --prefix=%{buildroot}%{_prefix} \
+ --exec-prefix=$%{buildroot}%{_prefix} \
+ --libdir=%{buildroot}%{_libdir} \
+ --includedir=%{buildroot}%{_includedir} \
+ install || echo "Not all Boost libraries built properly."
+
+mkdir -p %{buildroot}%{_docdir}
+
+pushd %{buildroot}%{_libdir}
+blibs=$(find . -name \*.so.%{version})
+echo $blibs | xargs chrpath -d
+
+for lib in ${blibs}; do
+ BASE=$(basename ${lib} .so.%{version})
+ SONAME_MT="$BASE-mt.so"
+ ln -sf ${lib} $SONAME_MT
+done
+popd
+
+#install the man pages
+rm -rf doc/man/man3/boost::units::operator
+
+for sec in 3 7 9; do
+ install -d %buildroot/%{_mandir}/man${sec}
+done
+
+#install doc files
+dos2unix libs/ptr_container/doc/tutorial_example.html \
+ libs/parameter/doc/html/reference.html \
+ libs/parameter/doc/html/index.html \
+ libs/iostreams/doc/tree/tree.js \
+ libs/graph/doc/lengauer_tarjan_dominator.htm \
+ libs/test/test/test_files/errors_handling_test.pattern \
+ libs/test/test/test_files/result_report_test.pattern
+find . -name \*.htm\* -o -name \*.gif -o -name \*.css -o -name \*.jpg -o -name \*.png -o -name \*.ico | \
+ tar --files-from=%{S:4} -cf - --files-from=- | tar -C %{buildroot}%{_docdir} -xf -
+rm -rf %{buildroot}%{_docdir}/boost
+ln -s /usr/include/boost %{buildroot}%{_docdir}
+ln -s ../LICENSE_1_0.txt %{buildroot}%{_docdir}/libs
+#Copy the news file.
+#cp %%{S:5} %%{buildroot}%%{_docdir}
+#only for documentation, doesn't need to be executable
+find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
+rm -f %{buildroot}%{_libdir}/*.a
+#symlink dupes
+%fdupes %buildroot
+
+%remove_docs
+
+
+%post -n libboost_date_time -p /sbin/ldconfig
+%post -n libboost_filesystem -p /sbin/ldconfig
+%post -n libboost_iostreams -p /sbin/ldconfig
+%post -n libboost_test -p /sbin/ldconfig
+%post -n libboost_program_options -p /sbin/ldconfig
+%post -n libboost_python -p /sbin/ldconfig
+%post -n libboost_regex -p /sbin/ldconfig
+%post -n libboost_serialization -p /sbin/ldconfig
+%post -n libboost_signals -p /sbin/ldconfig
+%post -n libboost_thread -p /sbin/ldconfig
+%post -n libboost_math -p /sbin/ldconfig
+
+
+%post -n libboost_graph -p /sbin/ldconfig
+%post -n libboost_system -p /sbin/ldconfig
+%post -n libboost_wave -p /sbin/ldconfig
+%post -n libboost_random -p /sbin/ldconfig
+%post -n libboost_chrono -p /sbin/ldconfig
+%post -n libboost_locale -p /sbin/ldconfig
+%post -n libboost_timer -p /sbin/ldconfig
+
+%postun -n libboost_date_time -p /sbin/ldconfig
+%postun -n libboost_filesystem -p /sbin/ldconfig
+%postun -n libboost_iostreams -p /sbin/ldconfig
+%postun -n libboost_test -p /sbin/ldconfig
+%postun -n libboost_program_options -p /sbin/ldconfig
+%postun -n libboost_python -p /sbin/ldconfig
+%postun -n libboost_regex -p /sbin/ldconfig
+%postun -n libboost_serialization -p /sbin/ldconfig
+%postun -n libboost_signals -p /sbin/ldconfig
+%postun -n libboost_thread -p /sbin/ldconfig
+%postun -n libboost_math -p /sbin/ldconfig
+
+
+%postun -n libboost_graph -p /sbin/ldconfig
+%postun -n libboost_system -p /sbin/ldconfig
+%postun -n libboost_wave -p /sbin/ldconfig
+%postun -n libboost_random -p /sbin/ldconfig
+%postun -n libboost_chrono -p /sbin/ldconfig
+%postun -n libboost_locale -p /sbin/ldconfig
+%postun -n libboost_timer -p /sbin/ldconfig
+
+%files -n boost-license
+%defattr(-, root, root, -)
+##%doc %{_docdir}/LICENSE_1_0.txt
+
+%files -n libboost_date_time
+%defattr(-, root, root, -)
+%{_libdir}/libboost_date_time*.so.*
+
+%files -n libboost_filesystem
+%defattr(-, root, root, -)
+%{_libdir}/libboost_filesystem*.so.*
+
+%files -n libboost_graph
+%defattr(-, root, root, -)
+%{_libdir}/libboost_graph*.so.*
+
+%files -n libboost_iostreams
+%defattr(-, root, root, -)
+%{_libdir}/libboost_iostreams*.so.*
+
+%files -n libboost_math
+%defattr(-, root, root, -)
+%{_libdir}/libboost_math_*.so.*
+
+
+%files -n libboost_test
+%defattr(-, root, root, -)
+%{_libdir}/libboost_prg_exec_monitor*.so.*
+%{_libdir}/libboost_unit_test_framework*.so.*
+
+%files -n libboost_program_options
+%defattr(-, root, root, -)
+%{_libdir}/libboost_program_options*.so.*
+
+%files -n libboost_python
+%defattr(-, root, root, -)
+%{_libdir}/libboost_python*.so.*
+
+%files -n libboost_serialization
+%defattr(-, root, root, -)
+%{_libdir}/libboost_*serialization*.so.*
+
+%files -n libboost_signals
+%defattr(-, root, root, -)
+%{_libdir}/libboost_signals*.so.*
+
+%files -n libboost_system
+%defattr(-, root, root, -)
+%{_libdir}/libboost_system*.so.*
+
+%files -n libboost_thread
+%defattr(-, root, root, -)
+%{_libdir}/libboost_thread*.so.*
+
+%files -n libboost_wave
+%defattr(-, root, root, -)
+%{_libdir}/libboost_wave*.so.*
+
+%files -n libboost_regex
+%defattr(-, root, root, -)
+%{_libdir}/libboost_regex*.so.*
+
+%files -n libboost_random
+%defattr(-, root, root, -)
+%{_libdir}/libboost_random*.so.*
+
+%files -n libboost_chrono
+%defattr(-, root, root, -)
+%{_libdir}/libboost_chrono*.so.*
+
+%files -n libboost_locale
+%defattr(-, root, root, -)
+%{_libdir}/libboost_locale*.so.*
+
+%files -n libboost_timer
+%defattr(-, root, root, -)
+%{_libdir}/libboost_timer*.so.*
+
+%files devel
+%defattr(-, root, root, -)
+%{_includedir}/boost
+%{_libdir}/*.so
+
+
+%changelog
--- /dev/null
+Name: boot-animation
+Version: 0.4.2
+Release: 1
+Summary: Boot animation
+Source: %{name}-%{version}.tar.gz
+Source101: boot-animation.service
+Source1001: packaging/boot-animation.manifest
+License: Flora Software License
+Group: Samsung/Application
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildRequires: cmake
+BuildRequires: edje, edje-bin, embryo, embryo-bin
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(libexif)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(avsystem)
+BuildRequires: pkgconfig(audio-session-mgr)
+
+
+Requires(post): /usr/bin/vconftool
+Requires(post): /usr/bin/systemctl
+
+%description
+Shows an animation and plays a sound when the device is booted or shutdown.
+
+%prep
+%setup -q
+#%patch0 -p1
+
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+%build
+cp %{SOURCE1001} .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
+install -m 0644 %SOURCE101 %{buildroot}%{_libdir}/systemd/user/
+ln -sf ../boot-animation.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
+
+mkdir -p %{buildroot}/usr/share/license
+cp -f LICENSE.Flora %{buildroot}/usr/share/license/%{name}
+
+%clean
+make clean
+
+%docs_package
+
+
+%post
+ln -s /etc/init.d/boot-ani /etc/rc.d/rc3.d/S41boot-ani
+/usr/bin/systemctl daemon-reload
+vconftool -i set -t string memory/boot-animation/restart start:start
+vconftool -i set -t int memory/boot-animation/finished 0
+
+%files
+%manifest boot-animation.manifest
+/etc/init.d/boot-ani
+/usr/share/edje/poweroff.edj
+/usr/share/edje/poweron.edj
+/usr/bin/boot-animation
+%{_libdir}/systemd/user/boot-animation.service
+%{_libdir}/systemd/user/core-efl.target.wants/boot-animation.service
+/usr/share/license/%{name}
--- /dev/null
+Name: bootchart
+Version: 1.20
+Release: 1
+License: GPL-2.0
+Summary: Boot time graph generator
+Url: http://meego.gitorious.org/
+Group: Development/Tools
+Source0: bootchart-%{version}.tar.gz
+
+%description
+Monitors where the system spends its time at start, creating a graph
+of all processes, disk utilization, and wait time.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+/usr//sbin/bootchartd
+%{_datadir}/doc/bootchart/bootchartd.conf.example
+
+%changelog
--- /dev/null
+%define _optdir /opt
+%define _usrdir /usr
+%define _appdir %{_optdir}/apps
+
+Name: org.tizen.bt-syspopup
+Summary: bluetooth system-popup application (bluetooth system popup)
+Version: 0.2.56
+Release: 1
+Group: main
+License: Flora Software License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(ethumb)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(efreet)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(sensor)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(syspopup)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(devman_haptic)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(bluetooth-api)
+BuildRequires: pkgconfig(feedback)
+BuildRequires: sysman-internal-devel
+BuildRequires: edje-tools
+
+BuildRequires: cmake
+BuildRequires: gettext-devel
+
+%description
+bluetooth system-popup application (bluetooth system popup).
+
+%prep
+%setup -q
+
+
+%build
+export CFLAGS+=" -fpie -fvisibility=hidden"
+export LDFLAGS+=" -Wl,--rpath=/usr/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie"
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{_appdir}/org.tizen.bt-syspopup
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%files
+%manifest org.tizen.bt-syspopup.manifest
+/opt/etc/smack/accesses.d/org.tizen.bt-syspopup.rule
+%defattr(-,root,root,-)
+%{_usrdir}/share/packages/org.tizen.bt-syspopup.xml
+%{_appdir}/org.tizen.bt-syspopup/bin/bt-syspopup
+%{_appdir}/org.tizen.bt-syspopup/res/edje/*.edj
+%{_optdir}/share/icons/default/small/org.tizen.bt-syspopup.png
--- /dev/null
+Name: btrfs-progs
+Version: 0.20.rc1
+Release: 0
+Summary: Utilities for the Btrfs filesystem
+Group: Base/File Systems
+License: GPL-2.0
+Url: http://btrfs.wiki.kernel.org/index.php/Main_Page
+Source: %{name}-%{version}.tar.xz
+BuildRequires: libacl-devel
+BuildRequires: lzo-devel
+BuildRequires: pkgconfig(ext2fs)
+BuildRequires: pkgconfig(uuid)
+BuildRequires: pkgconfig(zlib)
+# for /bin/true
+Requires: coreutils
+
+%description
+Utilities needed to create and maintain btrfs file systems under Linux.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{_sbindir} mandir=%{_mandir}
+ln -s %{_sbindir}/btrfsck %{buildroot}%{_sbindir}/fsck.btrfs
+
+
+%docs_package
+
+%files
+%license COPYING
+%{_sbindir}/btrfs
+%{_sbindir}/btrfs-convert
+%{_sbindir}/btrfs-debug-tree
+%{_sbindir}/btrfs-find-root
+%{_sbindir}/btrfs-image
+%{_sbindir}/btrfs-map-logical
+%{_sbindir}/btrfs-restore
+%{_sbindir}/btrfs-show
+%{_sbindir}/btrfs-vol
+%{_sbindir}/btrfs-zero-log
+%{_sbindir}/btrfsck
+%{_sbindir}/btrfsctl
+%{_sbindir}/btrfstune
+%{_sbindir}/fsck.btrfs
+%{_sbindir}/mkfs.btrfs
--- /dev/null
+#
+# spec file for package build-compare
+#
+# Copyright (c) 2012 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: build-compare
+Summary: Build Result Compare Script
+License: GPL-2.0+
+Group: Development/Tools/Building
+Version: 2012.01.26
+Release: 0
+Source1: COPYING
+Source2: same-build-result.sh
+Source3: rpm-check.sh
+Source4: functions.sh
+Source5: srpm-check.sh
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+
+%description
+This package contains scripts to find out if the build result differs
+to a former build.
+
+
+%prep
+mkdir $RPM_BUILD_DIR/%name-%version
+%setup -T 0 -D
+
+%build
+
+%install
+mkdir -p $RPM_BUILD_ROOT/usr/lib/build/ $RPM_BUILD_ROOT/%_defaultdocdir/%name
+install -m 0755 %SOURCE2 %SOURCE3 %SOURCE4 %SOURCE5 $RPM_BUILD_ROOT/usr/lib/build/
+install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/%_defaultdocdir/%name/
+
+%files
+%defattr(-,root,root)
+%doc %_defaultdocdir/%name
+/usr/lib/build
+
+%changelog
--- /dev/null
+Name: build
+Summary: A Script to Build SUSE Linux RPMs
+License: GPL-2.0+ and GPL-2.0
+Group: Development/Tools/Building
+Version: 20120927
+Release: 0
+#!BuildIgnore: build-mkbaselibs
+Source: obs-build-%{version}.tar.gz
+BuildArch: noarch
+# Manual requires to avoid hard require to bash-static
+AutoReqProv: off
+# Keep the following dependencies in sync with obs-worker package
+Requires: bash
+Requires: binutils
+Requires: perl
+Requires: tar
+Recommends: perl(Date::Language)
+Recommends: perl(Date::Parse)
+Recommends: perl(LWP::UserAgent)
+Recommends: perl(Pod::Usage)
+Recommends: perl(Time::Zone)
+Recommends: perl(URI)
+Recommends: perl(XML::Parser)
+Recommends: bsdtar
+Recommends: qemu-linux-user
+
+Requires: build-mkbaselibs
+Recommends: build-mkdrpms
+
+%description
+This package provides a script for building RPMs for SUSE Linux in a
+chroot environment.
+
+
+%package mkbaselibs
+Summary: Tools to generate base lib packages
+Group: Development/Tools/Building
+# NOTE: this package must not have dependencies which may break boot strapping (eg. perl modules)
+
+%description mkbaselibs
+This package contains the parts which may be installed in the inner build system
+for generating base lib packages.
+
+%package mkdrpms
+Summary: Tools to generate delta rpms
+Group: Development/Tools/Building
+Requires: deltarpm
+# XXX: we wanted to avoid that but mkdrpms needs Build::Rpm::rpmq
+Requires: build
+
+%description mkdrpms
+This package contains the parts which may be installed in the inner build system
+for generating delta rpm packages.
+
+
+%prep
+%setup -q -n obs-build-%version
+
+%build
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%files
+%defattr(-,root,root)
+%doc README
+/usr/bin/build
+/usr/bin/buildvc
+/usr/bin/unrpm
+/usr/lib/build
+%{_mandir}/man1/build.1*
+
+
+%files mkbaselibs
+%defattr(-,root,root)
+%dir /usr/lib/build
+/usr/lib/build/mkbaselibs
+/usr/lib/build/baselibs*
+
+%files mkdrpms
+%defattr(-,root,root)
+%dir /usr/lib/build
+/usr/lib/build/mkdrpms
+
+%changelog
--- /dev/null
+Name: bundle
+Summary: String key-val dictionary ADT
+Version: 0.1.31
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: bundle-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+%description
+Simple string key-val dictionary ADT
+
+%package devel
+Summary: String key-val dictionary ADT (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Simple string key-val dictionary ADT (devel)
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest bundle.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libbundle.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/bundle.h
+%{_includedir}/SLP_bundle_PG.h
+%{_libdir}/pkgconfig/bundle.pc
+%{_libdir}/libbundle.so
+
--- /dev/null
+Name: busybox
+Version: 1.20.2
+Release: 0
+License: GPL-2.0+
+Summary: The Swiss Army Knife of Embedded Linux
+Url: http://www.busybox.net/
+Group: System/Base
+Source: http://busybox.net/downloads/%{name}-%{version}.tar.bz2
+Source2: busybox.tizen.config
+
+%description
+BusyBox combines tiny versions of many common UNIX utilities into a
+small single executable. It provides minimalist replacements for most
+of the utilities usually found in fileutils, shellutils, findutils,
+textutils, grep, gzip, tar, and more. BusyBox provides a fairly
+complete POSIX environment for any small or embedded system. The
+utilities in BusyBox generally have fewer options than their
+full-featured GNU cousins. The options that are included provide the
+expected functionality and behave very much like their GNU
+counterparts.
+
+%prep
+%setup -q
+cp -a %{SOURCE2} .config
+
+%build
+export VERBOSE=-v
+export BUILD_VERBOSE=2
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+export CC="gcc"
+export HOSTCC=gcc
+make -e oldconfig
+make -e %{?_smp_mflags}
+make -e doc busybox.links %{?_smp_mflags}
+
+%install
+install -d %{buildroot}%{_prefix}/bin
+install -d %{buildroot}%{_datadir}/busybox
+install busybox.links %{buildroot}%{_datadir}/busybox
+install applets/install.sh %{buildroot}%{_bindir}/busybox.install
+install busybox %{buildroot}%{_prefix}/bin
+
+%files
+%defattr(-,root,root)
+%license LICENSE
+%{_bindir}/busybox
+%{_bindir}/busybox.install
+%dir %{_datadir}/busybox
+%config %{_datadir}/busybox/busybox.links
+
+%changelog
--- /dev/null
+Name: byacc
+Version: 20100216
+Release: 1
+Summary: LALR(1) parser generator
+Group: Development/Languages/C and C++
+License: SUSE-Public-Domain
+Url: http://invisible-island.net/byacc/byacc.html
+Source: http://invisible-island.net/datafiles/release/byacc.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+Berkeley Yacc is a LALR(1) parser generator. It has been made as compatible as
+possible with AT&T Yacc and it accepts any input specification that conforms to
+the AT&T Yacc documentation. In contrast to bison, it is written to avoid
+dependencies upon a particular compiler.
+
+%prep
+%setup
+
+%build
+# without --with-warnings several functions will not be marked with gcc's
+# noreturn attribute and produce warnings when $RPM_OPT_FLAGS contains -Wall
+%configure --with-warnings
+make %{?_smp_mflags}
+
+%install
+%make_install
+mv %{buildroot}%{_bindir}/yacc %{buildroot}%{_bindir}/byacc
+
+%remove_docs
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/byacc
+
+%changelog
--- /dev/null
+Name: bzip2
+Version: 1.0.6
+Release: 0
+Provides: bzip
+Obsoletes: bzip
+BuildRequires: libtool
+BuildRequires: pkg-config
+Url: http://www.bzip.org/
+Summary: A Program for Compressing Files
+License: BSD-3-Clause
+Group: Base/Tools
+Source: bzip2-%{version}.tar.gz
+Source1: bznew.gz
+Source2: bznew.1.gz
+Source3: baselibs.conf
+Source100: rpmlintrc
+
+%description
+The bzip2 program is a very powerful program for compressing files.
+
+
+%package -n libbz2
+Summary: The bzip2 runtime library
+Group: System/Libraries
+Provides: bzip2-libs
+
+%description -n libbz2
+The bzip2 runtime library
+
+%package devel
+Summary: The bzip2 runtime library development files
+Group: Development/Libraries
+Requires: libbz2 = %{version} glibc-devel
+
+%description devel
+The bzip2 runtime library development files.
+
+%prep
+%setup -q
+
+%build
+profile_bzip2()
+{
+ tmpfile=$(mktemp)
+ trap "rm -f $tmpfile $tmpfile.bz2" EXIT
+ tar -cjf $tmpfile.bz2 /usr/src || true
+ # time ./bzip2 $tmpfile
+ time ./bzip2 -d < $tmpfile.bz2 > /dev/null
+}
+autoreconf -fiv
+%if %{do_profiling}
+export CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_generate}"
+%endif
+%configure --with-pic --disable-static
+%if %{do_profiling}
+make %{?_smp_mflags}
+profile_bzip2
+mkdir .libs.save
+mv .libs/*.gcda .libs.save/
+make clean
+mv .libs.save .libs
+export CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_feedback}"
+%configure --with-pic --disable-static
+%endif
+make %{?_smp_mflags}
+
+%install
+%make_install
+gzip -dc %{SOURCE1} > bznew
+install -D -m 755 bznew $RPM_BUILD_ROOT%{_bindir}/bznew
+install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1
+
+%post -n libbz2 -p /sbin/ldconfig
+
+%postun -n libbz2 -p /sbin/ldconfig
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%{_bindir}/*
+
+%files -n libbz2
+%defattr(-,root,root)
+%license LICENSE
+%{_libdir}/libbz2.so.1
+%{_libdir}/libbz2.so.1.*
+
+%files devel
+%{_includedir}/bzlib.h
+%{_libdir}/libbz2.so
+%{_libdir}/pkgconfig/bzip2.pc
+
+%changelog
--- /dev/null
+
+Name: c-ares
+Version: 1.7.5
+Release: 1
+License: MIT
+Summary: Library for asynchronous name resolves
+Group: Development/Libraries/C and C++
+Source: http://daniel.haxx.se/projects/c-ares/%{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: pkg-config
+BuildRequires: libtool
+Url: http://daniel.haxx.se/projects/c-ares
+
+%description
+c-ares is a C library that performs DNS requests and name resolves
+asynchronously. c-ares is a fork of the library named 'ares', written
+by Greg Hudson at MIT.
+
+%package -n libcares
+Summary: Library for asynchronous name resolves
+Group: Development/Libraries/C and C++
+
+%description -n libcares
+c-ares is a C library that performs DNS requests and name resolves
+asynchronously. c-ares is a fork of the library named 'ares', written
+by Greg Hudson at MIT.
+
+%package -n libcares-devel
+Summary: Library for asynchronous name resolves
+Group: Development/Libraries/C and C++
+Requires: libcares = %{version}
+Requires: glibc-devel
+
+%description -n libcares-devel
+c-ares is a C library that performs DNS requests and name resolves
+asynchronously. c-ares is a fork of the library named 'ares', written
+by Greg Hudson at MIT.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+autoreconf -fiv
+%configure --enable-symbol-hiding --enable-nonblocking --enable-shared --disable-static --with-pic
+sed -i -e 's@-g0@-g@g' Makefile
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig -n libcares
+
+%postun -p /sbin/ldconfig -n libcares
+
+%files -n libcares
+%defattr(-,root,root)
+%{_libdir}/libcares.so.2*
+
+%files -n libcares-devel
+%defattr(-,root,root)
+%{_libdir}/libcares.so
+%{_includedir}/*.h
+%{_mandir}/man3/ares_*
+%{_libdir}/pkgconfig/libcares.pc
+
+%changelog
--- /dev/null
+#
+# spec file for package ca-certificates-mozilla
+#
+# Copyright (c) 2013 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.
+
+
+
+%bcond_with trustedcerts
+
+BuildRequires: openssl
+
+Name: ca-certificates-mozilla
+%define sslusrdir %{_datadir}/ca-certificates
+Version: 1.85
+Release: 0
+Summary: CA certificates for OpenSSL
+License: MPL-2.0
+Group: Productivity/Networking/Security
+Url: http://www.mozilla.org
+# IMPORTANT: procedure to update certificates:
+# - Check the CVS log of the cert file:
+# http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/security/nss/lib/ckfw/builtins/certdata.txt&rev=HEAD
+# Alternatively hg:
+# http://hg.mozilla.org/releases/mozilla-release/file/tip/security/nss/lib/ckfw/builtins/certdata.txt
+# - download the new certdata.txt
+# wget -O certdata.txt "http://mxr.mozilla.org/mozilla/source//security/nss/lib/ckfw/builtins/certdata.txt?raw=1"
+# - run compareoldnew to show fingerprints of new and changed certificates
+# - check the bugs referenced in cvs log and compare the checksum
+# to output of compareoldnew
+# - Watch out that blacklisted or untrusted certificates are not
+# accidentally included!
+Source: certdata.txt
+Source1: extractcerts.pl
+Source2: %{name}.COPYING
+Source3: compareoldnew
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+# for update-ca-certificates
+Requires(post): ca-certificates
+Requires(postun): ca-certificates
+#
+Provides: openssl-certs = 0.9.9
+Obsoletes: openssl-certs < 0.9.9
+
+%description
+This package contains some CA root certificates for OpenSSL extracted
+from MozillaFirefox
+
+
+
+%prep
+%setup -qcT
+/bin/cp %{SOURCE0} .
+install -m 644 %{S:1} COPYING
+
+%build
+perl %{SOURCE1} --trustbits < certdata.txt
+
+%install
+mkdir -p %{buildroot}/%{sslusrdir}/mozilla
+set +x
+for i in *.pem; do
+ args=()
+ trust=`sed -n '/^# openssl-trust=/{s/^.*=//;p;q;}' "$i"`
+ alias=`sed -n '/^# alias=/{s/^.*=//;p;q;}' "$i"`
+%if %{with trustedcerts}
+ args+=('-trustout')
+ for t in $trust; do
+ args+=("-addtrust" "$t")
+ done
+ [ -z "$alias" ] || args+=('-setalias' "$alias")
+%else
+ case "$trust" in
+ *serverAuth*) ;;
+ *) echo "skipping $i, not trusted for serverAuth"; continue ;;
+ esac
+%endif
+ echo "$i"
+ {
+ grep '^#' "$i"
+ openssl x509 -in "$i" "${args[@]}"
+ } > "%{buildroot}/%{sslusrdir}/mozilla/$i"
+done
+set -x
+
+%post
+update-ca-certificates || true
+
+%postun
+update-ca-certificates || true
+
+%files
+%defattr(-, root, root)
+%doc COPYING
+%{sslusrdir}/mozilla
+
+%changelog
--- /dev/null
+BuildRequires: openssl
+Name: ca-certificates
+%define ssletcdir %{_sysconfdir}/ssl
+%define etccadir %{ssletcdir}/certs
+%define cabundle /var/lib/ca-certificates/ca-bundle.pem
+%define usrcadir %{_datadir}/ca-certificates
+License: GPL-2.0+
+Group: Productivity/Networking/Security
+Version: 1
+Release: 0
+Summary: Utilities for system wide CA certificate installation
+Source0: update-ca-certificates
+Source1: update-ca-certificates.8
+Source2: GPL-2.0.txt
+Source3: certbundle.run
+Url: http://gitorious.org/opensuse/ca-certificates
+Requires: openssl
+Requires(post): /usr/bin/rm
+Requires(post): openssl-misc
+Recommends: ca-certificates-mozilla
+BuildArch: noarch
+
+
+%description
+Utilities for system wide CA certificate installation
+
+%prep
+%setup -qcT
+install -m 755 %{SOURCE0} .
+install -m 644 %{SOURCE1} .
+install -m 644 %{SOURCE2} COPYING
+
+%build
+
+%install
+mkdir -p %{buildroot}/%{etccadir}
+mkdir -p %{buildroot}/%{usrcadir}
+mkdir -p %{buildroot}/%{_sbindir}
+mkdir -p %{buildroot}/%{_mandir}/man8
+mkdir -p %{buildroot}/etc/ca-certificates/update.d
+mkdir -p %{buildroot}%{_prefix}/lib/ca-certificates/update.d
+install -D -m 644 /dev/null %{buildroot}/%{cabundle}
+install -m 644 /dev/null %{buildroot}/etc/ca-certificates.conf
+install -m 755 %{SOURCE3} %{buildroot}%{_prefix}/lib/ca-certificates/update.d
+ln -s %{cabundle} %{buildroot}%{ssletcdir}/ca-bundle.pem
+
+install -m 755 update-ca-certificates %{buildroot}/%{_sbindir}
+install -m 644 update-ca-certificates.8 %{buildroot}/%{_mandir}/man8
+install -m 644 /dev/null %{buildroot}/var/lib/ca-certificates/ca-bundle.pem
+
+%post
+# this is just needed for those updating Factory,
+# can be removed before 11.3
+if [ "$1" -ge 1 ]; then
+ rm -f /etc/ca-certificates/update.d/certbundle.run
+fi
+# force rebuilding all certificate stores.
+# This also makes sure we update the hash links in /etc/ssl/certs
+# as openssl changed the hash format between 0.9.8 and 1.0
+update-ca-certificates -f || true
+
+
+%files
+%defattr(-, root, root)
+%dir %{usrcadir}
+%dir %{etccadir}
+%license COPYING
+%ghost %config(noreplace) /etc/ca-certificates.conf
+%{ssletcdir}/ca-bundle.pem
+%ghost %{cabundle}
+%dir /etc/ca-certificates
+%dir /etc/ca-certificates/update.d
+%dir %{_prefix}/lib/ca-certificates
+%dir %{_prefix}/lib/ca-certificates/update.d
+%dir /var/lib/ca-certificates
+%{_prefix}/lib/ca-certificates/update.d/certbundle.run
+%{_sbindir}/update-ca-certificates
+%{_mandir}/man8/update-ca-certificates.8*
+%ghost /var/lib/ca-certificates/ca-bundle.pem
+
+
+%changelog
--- /dev/null
+%bcond_without cairo_xcb_backend
+%bcond_without cairo_gl_backend
+%bcond_with wayland
+
+
+Name: cairo
+Version: 1.12.14
+Release: 0
+License: LGPL-2.1+ or MPL-1.1
+Summary: Vector Graphics Library with Cross-Device Output Support
+Url: http://cairographics.org/
+Group: Graphics/Libraries
+Source: http://cairographics.org/releases/%{name}-%{version}.tar.xz
+Source99: baselibs.conf
+BuildRequires: libtool
+BuildRequires: pkg-config
+BuildRequires: xz
+BuildRequires: pkgconfig(fontconfig)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(libpng)
+BuildRequires: pkgconfig(pixman-1)
+BuildRequires: pkgconfig(x11)
+BuildRequires: which
+%if %{with cairo_xcb_backend}
+BuildRequires: pkgconfig(xcb)
+BuildRequires: pkgconfig(xcb-shm)
+%endif
+%if %{with cairo_gl_backend}
+BuildRequires: mesa-devel
+%if %{with wayland}
+BuildRequires: pkgconfig(wayland-egl)
+%endif
+%endif
+BuildRequires: pkgconfig(xrender)
+
+%description
+Cairo is a vector graphics library with cross-device output support.
+Currently supported output targets include the X Window System,
+in-memory image buffers, and PostScript. Cairo is designed to produce
+identical output on all output media while taking advantage of display
+hardware acceleration when available.
+
+%package -n libcairo
+License: LGPL-2.1+ or MPL-1.1
+Summary: Vector Graphics Library with Cross-Device Output Support
+Group: Graphics/Libraries
+Provides: cairo = %{version}
+Obsoletes: cairo < %{version}
+
+%description -n libcairo
+Cairo is a vector graphics library with cross-device output support.
+Currently supported output targets include the X Window System,
+in-memory image buffers, and PostScript. Cairo is designed to produce
+identical output on all output media while taking advantage of display
+hardware acceleration when available.
+
+%package -n libcairo-gobject
+License: LGPL-2.1+ or MPL-1.1
+Summary: Vector Graphics Library with Cross-Device Output Support
+Group: Graphics/Libraries
+
+%description -n libcairo-gobject
+Cairo is a vector graphics library with cross-device output support.
+Currently supported output targets include the X Window System,
+in-memory image buffers, and PostScript. Cairo is designed to produce
+identical output on all output media while taking advantage of display
+hardware acceleration when available.
+
+This library contains GType declarations for Cairo types. It is also
+meant to support gobject-introspection binding creation.
+
+%package -n libcairo-script-interpreter
+License: LGPL-2.1+ or MPL-1.1
+Summary: Vector Graphics Library with Cross-Device Output Support
+Group: Graphics/Libraries
+
+%description -n libcairo-script-interpreter
+Cairo is a vector graphics library with cross-device output support.
+Currently supported output targets include the X Window System,
+in-memory image buffers, and PostScript. Cairo is designed to produce
+identical output on all output media while taking advantage of display
+hardware acceleration when available.
+
+%package tools
+License: GPL-3.0+
+Summary: Vector Graphics Library with Cross-Device Output Support -- Utilities
+Group: Development/Libraries
+# We need an explicit requires since nothing links to the cairo library
+Requires: libcairo = %{version}
+
+%description tools
+Cairo is a vector graphics library with cross-device output support.
+Currently supported output targets include the X Window System,
+in-memory image buffers, and PostScript. Cairo is designed to produce
+identical output on all output media while taking advantage of display
+hardware acceleration when available.
+
+This package contains various cairo utilities.
+
+%package devel
+License: LGPL-2.1+ or MPL-1.1
+Summary: Development environment for cairo
+Group: Development/Libraries
+Requires: libcairo = %{version}
+Requires: libcairo-gobject = %{version}
+Requires: libcairo-script-interpreter = %{version}
+
+%description devel
+This package contains all files necessary to build binaries using
+cairo.
+
+%prep
+%setup -q
+
+%build
+# Disable Atom optimizations in order to make binaries executable in buildroot
+export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed s'/atom/i686/g'`
+export CFLAGS=`echo $CFLAGS | sed s'/atom/i686/g'`
+export CXXFLAGS=`echo $CXXFLAGS | sed s'/atom/i686/g'`
+
+# Needed by patch0
+NOCONFIGURE=1 ./autogen.sh
+%configure \
+ --with-pic \
+ --enable-fc \
+ --enable-ft \
+%if %{with cairo_gl_backend}
+ --enable-gl \
+ --enable-egl \
+%ifnarch %ix86 x86_64
+ --enable-glesv2=yes \
+%endif
+%endif
+ --enable-ps \
+ --enable-pdf \
+ --enable-script \
+ --enable-svg \
+ --enable-tee \
+%if %{with cairo_xcb_backend}
+ --enable-xcb \
+%endif
+ --enable-xlib \
+ --disable-gtk-doc \
+ --disable-static
+make %{?_smp_mflags} V=1
+
+%install
+%make_install
+
+%post -n libcairo -p /sbin/ldconfig
+
+%postun -n libcairo -p /sbin/ldconfig
+
+%post -n libcairo-gobject -p /sbin/ldconfig
+
+%postun -n libcairo-gobject -p /sbin/ldconfig
+
+%post -n libcairo-script-interpreter -p /sbin/ldconfig
+
+%postun -n libcairo-script-interpreter -p /sbin/ldconfig
+
+%files -n libcairo
+%defattr(-, root, root)
+%license COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1
+%{_libdir}/libcairo.so.*
+
+%files -n libcairo-gobject
+%defattr(-, root, root)
+%{_libdir}/libcairo-gobject.so.2*
+
+%files -n libcairo-script-interpreter
+%defattr(-, root, root)
+%license util/cairo-script/COPYING
+%{_libdir}/libcairo-script-interpreter.so.*
+
+%files tools
+%defattr(-, root, root)
+%license util/cairo-trace/COPYING util/cairo-trace/COPYING-GPL-3
+%{_bindir}/cairo-sphinx
+%{_bindir}/cairo-trace
+%dir %{_libdir}/cairo
+%{_libdir}/cairo/cairo-fdr.so
+%{_libdir}/cairo/cairo-sphinx.so
+%{_libdir}/cairo/libcairo-trace.so
+
+%files devel
+%defattr(-, root, root)
+%doc PORTING_GUIDE
+%{_includedir}/cairo/
+%doc %{_datadir}/gtk-doc/html/cairo
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+#sbs-git:slp/apps/c/calculator calculator 0.1.3 3ce35911eff2a8f151a092f346ab7239d7d0658e
+%define PREFIX /usr/apps/org.tizen.calculator
+Name: org.tizen.calculator
+Version: 0.1.31
+Release: 1
+Summary: SLP Calculator application
+URL: http://slp-source.sec.samsung.net
+Source: %{name}-%{version}.tar.gz
+License: TIZEN
+Group: tizen/Application
+BuildRequires: cmake
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(embryo)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(appcore-common)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(feedback)
+BuildRequires: gettext-tools
+BuildRequires: edje-bin, embryo-bin
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(vconf)
+Requires: isf
+%description
+SLP Calculator application
+
+%prep
+%setup -q
+
+%build
+
+LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%manifest org.tizen.calculator.manifest
+/opt/etc/smack/accesses.d/org.tizen.calculator.rule
+%defattr(-,root,root,-)
+%attr(-,inhouse,inhouse)
+/usr/apps/org.tizen.calculator/bin/calculator
+/usr/apps/org.tizen.calculator/res/edje/calculator.edj
+/usr/apps/org.tizen.calculator/res/edje/calculator_theme.edj
+/usr/share/icons/default/small/org.tizen.calculator.png
+/usr/apps/org.tizen.calculator/res/icons/org.tizen.calculator.png
+/usr/apps/org.tizen.calculator/res/locale/*
+/usr/share/packages/org.tizen.calculator.xml
+/usr/share/process-info/calculator.ini
+
--- /dev/null
+Name: calendar-service
+Summary: DB library for calendar
+Version: 0.1.15
+Release: 1
+Group: System/Libraries
+License: Apache 2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: calendar.service
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/sqlite3, /bin/chown
+Requires(postun): /sbin/ldconfig
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(alarm-service)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(pims-ipc)
+BuildRequires: pkgconfig(bundle)
+
+%description
+DB library for calendar
+
+%package devel
+Summary: DB library for calendar
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(alarm-service)
+
+%description devel
+DB library for calendar (developement files)
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/etc/rc.d/rc3.d/
+mkdir -p %{buildroot}/etc/rc.d/rc5.d/
+ln -s ../init.d/calendar-serviced.sh %{buildroot}/etc/rc.d/rc3.d/S85calendar-serviced
+ln -s ../init.d/calendar-serviced.sh %{buildroot}/etc/rc.d/rc5.d/S85calendar-serviced
+
+mkdir -p %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants
+install %{SOURCE1} %{buildroot}%{_unitdir_user}/
+ln -s ../calendar.service %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants/
+
+mkdir -p %{buildroot}/opt/usr/dbspace/.calendar-svc.db
+mkdir -p %{buildroot}/opt/usr/dbspace/.calendar-svc.db-journal
+
+%post
+/sbin/ldconfig
+
+chown :6003 /opt/usr/data/calendar-svc
+
+mkdir -p /opt/usr/dbspace
+
+chown :6003 /opt/usr/dbspace/.calendar-svc.db
+chown :6003 /opt/usr/dbspace/.calendar-svc.db-journal
+chown :6003 /opt/usr/data/calendar-svc/.CALENDAR_SVC_*
+
+chmod 660 /opt/usr/dbspace/.calendar-svc.db
+chmod 660 /opt/usr/dbspace/.calendar-svc.db-journal
+chmod 660 /opt/usr/data/calendar-svc/.CALENDAR_SVC_*
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest calendar-service.manifest
+%defattr(-,root,root,-)
+#%{_libdir}/libcalendar-service-native.so.*
+%{_bindir}/calendar-serviced*
+%{_libdir}/libcalendar-service2.so.*
+%attr(0755,root,root) /etc/rc.d/init.d/calendar-serviced.sh
+/etc/rc.d/rc3.d/S85calendar-serviced
+/etc/rc.d/rc5.d/S85calendar-serviced
+%dir %attr(0775,root,root) /opt/usr/data/calendar-svc/
+/opt/usr/data/calendar-svc/.CALENDAR_SVC_CALENDAR_CHANGED
+/opt/usr/data/calendar-svc/.CALENDAR_SVC_EVENT_CHANGED
+/opt/usr/data/calendar-svc/.CALENDAR_SVC_TODO_CHANGED
+/usr/share/calendar-svc/dft-calendar
+%config(noreplace) /opt/usr/dbspace/.calendar-svc.db*
+%{_unitdir_user}/calendar.service
+%{_unitdir_user}/tizen-middleware.target.wants/calendar.service
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/calendar-service/*.h
+%{_includedir}/calendar-service2/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/calendar.pc
+#%{_libdir}/pkgconfig/calendar-service-native.pc
+%{_libdir}/pkgconfig/calendar-service2.pc
+/opt/usr/data/calendar-svc/calendar-svc-initdb
--- /dev/null
+Name: org.tizen.calendar
+
+Summary: Calendar application
+Version: 0.6.22
+Release: 1
+License: Flora License, Version 1
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(calendar-service2)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(accounts-svc)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(location)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-location-geocoder)
+BuildRequires: cmake
+BuildRequires: edje-bin
+BuildRequires: embryo-bin
+BuildRequires: gettext-devel
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(capi-content-media-content)
+BuildRequires: pkgconfig(status)
+
+Requires : email-service contacts-service2
+Requires : ug-bluetooth-efl
+
+%description
+Beat UI Calendar application.
+
+%description -n org.tizen.calendar
+Calendar application (EFL).
+
+%package -n org.tizen.calendar-viewer
+Summary: Calendar viewer (EFL)
+Requires: org.tizen.calendar = %{version}-%{release}
+
+%description -n org.tizen.calendar-viewer
+Calendar viewer (EFL).
+
+%package -n libug-calendar-efl
+Summary: Calendar UI gadget (EFL)
+Requires: org.tizen.calendar = %{version}-%{release}
+
+%description -n libug-calendar-efl
+Calendar UI gadget (EFL).
+
+%prep
+%setup -q
+
+%build
+%define PREFIX "/usr/apps/org.tizen.calendar"
+%define RESDIR "/usr/apps/org.tizen.calendar/res"
+%define DATADIR "/usr/apps/org.tizen.calendar/data"
+
+export LANG="en_US.utf8"
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
+make %{?jobs:-j%jobs}
+
+%install
+mkdir -p %{buildroot}/usr/share/license
+rm -rf %{buildroot}
+%make_install
+
+%post -n libug-calendar-efl
+mkdir -p /usr/ug/bin/
+ln -sf /usr/bin/ug-client /usr/ug/bin/calendar-efl
+ln -sf /usr/bin/ug-client /usr/ug/bin/calendar-detail-efl
+
+# Automatically added by dh_makeshlibs
+if [ "$1" = "configure" ]; then
+ ldconfig
+fi
+# End automatically added section
+
+# 5000 is inhouse user id
+# do not use relative path
+
+vconftool set -t int db/private/org.tizen.calendar/focusview 0 -u 5000
+vconftool set -t int db/private/org.tizen.calendar/send 0 -u 5000
+vconftool set -t int db/private/org.tizen.calendar/timezone_on_off 0 -u 5000
+vconftool set -t string db/private/org.tizen.calendar/timezone_path "Asia/Seoul" -u 5000
+vconftool set -t string db/private/org.tizen.calendar/timezone_city "IDS_WCL_BODY_CITYNAME_SEOUL" -u 5000
+vconftool set -t string db/private/org.tizen.calendar/timezone_offset "+9" -u 5000
+vconftool set -t double db/private/org.tizen.calendar/longitude 127.05286 -u 5000
+vconftool set -t double db/private/org.tizen.calendar/latitude 37.25768 -u 5000
+vconftool set -t int db/private/org.tizen.calendar/complete_todo_on_off 1 -u 5000
+vconftool set -t int db/private/org.tizen.calendar/first_day_of_week 1 -u 5000
+vconftool set -t int db/private/org.tizen.calendar/display_week_number 0 -u 5000
+vconftool set -t int db/private/org.tizen.calendar/create_event_mode 1 -u 5000
+
+mkdir -p /usr/data/ug-calendar
+chgrp 6003 /usr/data/ug-calendar
+chmod 770 /usr/data/ug-calendar
+
+%postun
+
+%files -n org.tizen.calendar
+%manifest org.tizen.calendar.manifest
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.calendar/bin/calendar
+/usr/apps/org.tizen.calendar/data/
+/usr/apps/org.tizen.calendar/res/locale/*
+/usr/apps/org.tizen.calendar/res/edje/*.edj
+/usr/share/packages/org.tizen.calendar.xml
+/usr/share/icons/default/small/org.tizen.calendar.png
+/usr/share/license/%{name}
+/etc/smack/accesses.d/%{name}.rule
+
+%files -n org.tizen.calendar-viewer
+%manifest viewer/org.tizen.calendar-viewer.manifest
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.calendar-viewer/bin/calendar-viewer
+/usr/share/packages/org.tizen.calendar-viewer.xml
+/usr/share/license/org.tizen.calendar-viewer
+
+%files -n libug-calendar-efl
+%defattr(-,root,root,-)
+/usr/ug/lib/*.so
+/usr/share/packages/libug-calendar-efl.xml
+/usr/share/license/libug-calendar-efl
--- /dev/null
+Name: capi-telephony-call
+Summary: Telephony Call Framework
+Version: 0.1.0
+Release: 1
+Group: API/C API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(capi-base-common)
+%description
+Telephony Call Framework.
+
+
+%package devel
+Summary: Telephony Call Framework (Development)
+Group: API/C API
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Telephony Call Framework.
+
+
+
+%prep
+%setup -q
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%{_libdir}/libcapi-telephony-call.so.*
+
+%files devel
+%{_includedir}/telephony/call.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-telephony-call.so
+
+
--- /dev/null
+Name: capi-media-camera
+Summary: A Camera library in Tizen C API
+Version: 0.1.3
+Release: 1
+Group: libdevel
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(mm-camcorder)
+BuildRequires: pkgconfig(capi-base-common)
+
+%description
+
+
+%package devel
+Summary: A Camera library in Tizen C API (Development)
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest capi-media-camera.manifest
+%{_libdir}/libcapi-media-camera.so.*
+%{_datadir}/license/%{name}
+
+
+%files devel
+%{_includedir}/media/camera.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-media-camera.so
+
+
--- /dev/null
+%define _fontsdir %{_usr}/share/fonts
+%define _ttfontsdir %{_fontsdir}/truetype
+%define _miscfontsdir %{_fontsdir}/misc
+%define _fontsconfdir %{_sysconfdir}/fonts
+%define _fontsconfddir %{_fontsconfdir}/conf.d
+%define _fontsconfavaildir %{_datadir}/%{name}/conf.avail
+
+%define cantarell_dir %{_fontsdir}/cantarell
+
+Name: cantarell-fonts
+Version: 0.0.12
+Release: 0
+Summary: Contemporary Humanist Sans Serif Font
+License: OFL-1.1
+Group: System/X11/Fonts
+Url: http://live.gnome.org/CantarellFonts
+Source: http://download.gnome.org/sources/cantarell-fonts/0.0/%{name}-%{version}.tar.xz
+BuildRequires: dos2unix
+BuildRequires: fontconfig
+BuildRequires: pkg-config
+BuildRequires: xz
+Requires(pre): %{_bindir}/fc-cache
+BuildArch: noarch
+
+%description
+The Cantarell font family is a contemporary Humanist sans serif designed
+for on-screen reading.
+
+%prep
+%setup -q
+
+%build
+%configure
+dos2unix COPYING
+
+%install
+make install DESTDIR=%{?buildroot} configdir=%{_fontsconfavaildir}
+mkdir -p %{buildroot}%{_fontsconfddir}
+ln -s ../../..%{_fontsconfavaildir}/31-cantarell.conf %{buildroot}%{_fontsconfddir}
+
+%post
+%{_bindir}/fc-cache %{cantarell_dir} || :
+
+%postun
+%{_bindir}/fc-cache %{cantarell_dir} || :
+
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%dir %{_datadir}/%{name}
+%dir %{_fontsconfavaildir}
+%{_fontsconfavaildir}/31-cantarell.conf
+%config %{_fontsconfddir}/31-cantarell.conf
+%dir %{cantarell_dir}
+%{cantarell_dir}/Cantarell-Bold.otf
+%{cantarell_dir}/Cantarell-Regular.otf
+
+%changelog
--- /dev/null
+#
+# spec file for package ccache
+#
+# Copyright (c) 2011 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/
+#
+
+# norootforbuild
+
+
+Name: ccache
+Version: 3.1.6
+Release: 1
+Summary: A Fast C/C++ Compiler Cache
+
+License: GPLv3+
+Url: http://ccache.samba.org/
+Group: Development/Languages/C and C++
+Source0: http://samba.org/ftp/ccache/%{name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+BuildRequires: zlib-devel
+Provides: distcc:/usr/bin/ccache
+
+%description
+ccache is a compiler cache. It speeds up recompilation by caching the result of
+previous compilations and detecting when the same compilation is being done
+again. Supported languages are C, C++, Objective-C and Objective-C++.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS.* GPL-3.0.txt INSTALL.* LICENSE.* MANUAL.* NEWS.* README.*
+%doc %{_mandir}/man1/ccache.1%{ext_man}
+%{_bindir}/ccache
+
+%changelog
--- /dev/null
+Name: cdrkit
+Version: 1.1.11
+Release: 0
+Summary: Tool for Writing CDRs
+License: GPL-2.0
+Url: http://cdrkit.org/
+Group: Multimedia/Media Service
+Source0: http://cdrkit.org/releases/cdrkit-%{version}.tar.gz
+Source1: scan_scsi.linux
+Source2: cdinfo.c
+BuildRequires: cmake
+BuildRequires: fdupes
+BuildRequires: file-devel
+BuildRequires: gcc-c++
+BuildRequires: libcap-devel
+BuildRequires: perl
+BuildRequires: pkgconfig(bzip2)
+BuildRequires: pkgconfig(zlib)
+Provides: wodim = %{version}
+Provides: cdrecord = %{version}
+Requires: cdrkit-cdrtools-compat
+
+%description
+wodim is used to record data or audio CDs on a CD-Recorder or to write
+DVD media on a DVD-Recorder.
+
+%package -n genisoimage
+Summary: A Program for Creating CDs in Linux
+Group: Multimedia/Media Service
+Recommends: zisofs-tools
+Provides: mkisofs = %{version}
+
+%description -n genisoimage
+Genisoimage is a pre-mastering program that generates an iso9660
+filesystem. It takes a snapshot of a given directory tree, and
+generates a binary image which corresponds to an iso9660 filesystem
+that can be written to a block device.
+
+%package -n icedax
+Summary: A CD-Audio Grabbing tool
+Group: Multimedia/Media Service
+Recommends: vorbis-tools
+Provides: cdda2wav = %{version}
+
+%description -n icedax
+The common CD-audio grabbing tool for Linux. The sources are now
+contained in the wodim source archive.
+
+%package -n cdrkit-cdrtools-compat
+Summary: Tool for Writing CDRs - cdrtools Compatibility Package
+Group: Multimedia/Media Service
+Requires: genisoimage = %{version}-%{release}
+Requires: icedax = %{version}-%{release}
+Requires: wodim = %{version}-%{release}
+
+%description -n 'cdrkit-cdrtools-compat'
+This package contains these compatibility symlinks:
+cdrecord -> wodim
+mkisofs -> genisoimage
+cdda2wav -> icedax
+Install this package if you can't use the cdrkit programs directly.
+
+
+%prep
+%setup -q -n cdrkit-%{version}
+# Fix perl path
+find . -type f -print0 | xargs -0 perl -pi -e 's#/usr/local/bin/perl#/usr/bin/perl#g'
+# Fix permissions (no executables in doc files)
+chmod 644 doc/icedax/tracknames.pl misc/burnstuff misc/rc.pp
+# Rename in order to not conflict with doc/genisoimage/README when added in genisoimage rpm doc files
+mv genisoimage/diag/README genisoimage/diag/README.diag
+
+
+%build
+export CFLAGS="%{optflags} -fno-strict-aliasing -DPIC -fPIC"
+export CXXFLAGS="$CFLAGS"
+mkdir build
+cd build
+%cmake ../
+make VERBOSE=1 MANDIR=share/man %{?_smp_mflags}
+gcc %{optflags} %{S:2} -o cdinfo
+cd ..
+
+
+%install
+cd build
+%make_install
+cd ..
+
+# Fix perl version requirement
+perl -pi -e 's#^require v5.8.1;##g' %{buildroot}%{_bindir}/dirsplit
+
+# Install additional programs
+install -pm 0755 build/cdinfo \
+ icedax/cdda2mp3.new \
+ icedax/inf2cdtext.pl \
+ %{S:1} \
+ %{buildroot}%{_bindir}
+
+install -pm 0755 3rd-party/geteltorito/geteltorito.pl %{buildroot}%{_bindir}/geteltorito
+
+ln -sf wodim %{buildroot}%{_bindir}/cdrecord
+ln -sf wodim %{buildroot}%{_bindir}/dvdrecord
+ln -sf readom %{buildroot}%{_bindir}/readcd
+ln -sf icedax %{buildroot}%{_bindir}/cdda2wav
+ln -sf genisoimage %{buildroot}%{_bindir}/mkhybrid
+ln -sf genisoimage %{buildroot}%{_bindir}/mkisofs
+ln -sf wodim.1%{ext_man} %{buildroot}%{_mandir}/man1/cdrecord.1%{ext_man}
+ln -sf readom.1%{ext_man} %{buildroot}%{_mandir}/man1/readcd.1%{ext_man}
+ln -sf icedax.1%{ext_man} %{buildroot}%{_mandir}/man1/cdda2wav.1%{ext_man}
+
+ln -sf genisoimage.1%{ext_man} %{buildroot}%{_mandir}/man1/mkisofs.1%{ext_man}
+ln -sf cdda2ogg.1%{ext_man} %{buildroot}%{_mandir}/man1/cdda2mp3.1%{ext_man}
+
+# Install config files
+install -dm 0755 %{buildroot}%{_sysconfdir}
+install -pm 0644 netscsid/netscsid.dfl %{buildroot}%{_sysconfdir}/netscsid.conf
+install -pm 0644 wodim/wodim.dfl %{buildroot}%{_sysconfdir}/wodim.conf
+
+# Missing man page. Do symlink like in Debian.
+ln -sf wodim.1%{ext_man} %{buildroot}%{_mandir}/man1/netscsid.1%{ext_man}
+
+%fdupes -s %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%config(noreplace) %{_sysconfdir}/netscsid.conf
+%config(noreplace) %{_sysconfdir}/wodim.conf
+%{_bindir}/cdinfo
+%{_bindir}/readom
+%verify(not mode) %attr(0755,root,root) %{_bindir}/wodim
+%attr(0555,root,root) %{_sbindir}/netscsid
+%doc %{_mandir}/man1/netscsid.1%{ext_man}
+%doc %{_mandir}/man1/readom.1%{ext_man}
+%doc %{_mandir}/man1/wodim.1%{ext_man}
+
+%files -n cdrkit-cdrtools-compat
+%defattr(-,root,root,-)
+%{_bindir}/cdda2wav
+%{_bindir}/cdrecord
+%{_bindir}/dvdrecord
+%{_bindir}/mkhybrid
+%{_bindir}/mkisofs
+%{_bindir}/readcd
+%doc %{_mandir}/man1/cdda2wav.1%{ext_man}
+%doc %{_mandir}/man1/cdrecord.1%{ext_man}
+%doc %{_mandir}/man1/mkisofs.1%{ext_man}
+%doc %{_mandir}/man1/readcd.1%{ext_man}
+
+%files -n genisoimage
+%defattr(-,root,root,-)
+%{_bindir}/devdump
+%{_bindir}/dirsplit
+%{_bindir}/genisoimage
+%{_bindir}/geteltorito
+%{_bindir}/isodebug
+%{_bindir}/isodump
+%{_bindir}/isoinfo
+%{_bindir}/isovfy
+%doc %{_mandir}/man1/devdump.1%{ext_man}
+%doc %{_mandir}/man1/dirsplit.1%{ext_man}
+%doc %{_mandir}/man1/genisoimage.1%{ext_man}
+%doc %{_mandir}/man1/isodebug.1%{ext_man}
+%doc %{_mandir}/man1/isodump.1%{ext_man}
+%doc %{_mandir}/man1/isoinfo.1%{ext_man}
+%doc %{_mandir}/man1/isovfy.1%{ext_man}
+%doc %{_mandir}/man5/genisoimagerc.5%{ext_man}
+
+%files -n icedax
+%defattr(-,root,root,-)
+%{_bindir}/cdda2mp3
+%{_bindir}/cdda2mp3.new
+%{_bindir}/cdda2ogg
+%{_bindir}/icedax
+%{_bindir}/inf2cdtext.pl
+%{_bindir}/pitchplay
+%{_bindir}/readmult
+%{_bindir}/scan_scsi.linux
+%doc %{_mandir}/man1/cdda2mp3.1%{ext_man}
+%doc %{_mandir}/man1/cdda2ogg.1%{ext_man}
+%doc %{_mandir}/man1/icedax.1%{ext_man}
+%doc %{_mandir}/man1/list_audio_tracks.1%{ext_man}
+%doc %{_mandir}/man1/pitchplay.1%{ext_man}
+%doc %{_mandir}/man1/readmult.1%{ext_man}
+
--- /dev/null
+#sbs-git:slp/pkgs/c/cert-svc cert-svc 1.0.1 ad7eb7efcefb37b06017c69cb2fc44e6f7b6cab7
+Name: cert-svc-ui
+Summary: Certification service
+Version: 1.0.1
+Release: 47
+Group: System/Libraries
+License: SAMSUNG
+Source0: %{name}-%{version}.tar.gz
+Source1: %{name}.manifest
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+BuildRequires: cmake
+BuildRequires: gettext-tools
+BuildRequires: edje-tools
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(cert-svc-vcore)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(glib-2.0)
+
+%description
+Certification service
+
+%prep
+%setup -q
+
+%define _ugdir /usr/ug
+
+%build
+%{!?build_type:%define build_type "Release"}
+cmake . -DCMAKE_INSTALL_PREFIX="%{_ugdir}" -DCMAKE_BUILD_TYPE=%{build_type} -DPKGNAME="cert-svc1-ui"
+#VERBOSE=1 make
+make
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+%make_install
+install -D %{SOURCE1} %{buildroot}%{_datadir}/%{name}.manifest
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%manifest %{_datadir}/%{name}.manifest
+/etc/smack/accesses2.d/ug.%{name}.include
+%{_ugdir}/lib/libmgr-cert-view.so
+%{_ugdir}/lib/libug-setting-manage-certificates-efl.so.*
+%{_ugdir}/lib/libug-setting-manage-certificates-efl.so
+%{_ugdir}/lib/libug-cert-selection-ug-efl.so*
+%{_ugdir}/res/locale/*/LC_MESSAGES/*
+%{_datadir}/license/%{name}
--- /dev/null
+#sbs-git:slp/pkgs/c/cert-svc cert-svc 1.0.1 ad7eb7efcefb37b06017c69cb2fc44e6f7b6cab7
+Name: cert-svc
+Summary: Certification service
+Version: 1.0.1
+Release: 45
+Group: System/Libraries
+License: SAMSUNG
+Source0: %{name}-%{version}.tar.gz
+Source1: %{name}.manifest
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(dpl-efl)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(libpcre)
+BuildRequires: pkgconfig(libpcrecpp)
+BuildRequires: pkgconfig(xmlsec1)
+BuildRequires: pkgconfig(secure-storage)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(libxslt)
+
+Provides: libcert-svc-vcore.so.1
+
+%description
+Certification service
+
+
+%package devel
+Summary: Certification service (development files)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Certification service (developement files)
+
+%prep
+%setup -q
+
+%build
+%{!?build_type:%define build_type "Release"}
+%cmake . -DPREFIX=%{_prefix} \
+ -DEXEC_PREFIX=%{_exec_prefix} \
+ -DBINDIR=%{_bindir} \
+ -DINCLUDEDIR=%{_includedir} \
+ -DCMAKE_BUILD_TYPE=%{build_type}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+%make_install
+install -D %{SOURCE1} %{buildroot}%{_datadir}/%{name}.manifest
+ln -sf /opt/etc/ssl/certs %{buildroot}/opt/share/cert-svc/certs/ssl
+touch %{buildroot}/opt/share/cert-svc/pkcs12/storage
+chmod 766 %{buildroot}/opt/share/cert-svc/pkcs12/storage
+
+%clean
+rm -rf %{buildroot}
+
+%post
+/sbin/ldconfig
+if [ -z ${2} ]; then
+ echo "This is new install of wrt-security"
+ echo "Calling /usr/bin/cert_svc_create_clean_db.sh"
+ /usr/bin/cert_svc_create_clean_db.sh
+else
+ # Find out old and new version of databases
+ VCORE_OLD_DB_VERSION=`sqlite3 /opt/dbspace/.cert_svc_vcore.db ".tables" | grep "DB_VERSION_"`
+ VCORE_NEW_DB_VERSION=`cat /usr/share/cert-svc/cert_svc_vcore_db.sql | tr '[:blank:]' '\n' | grep DB_VERSION_`
+ echo "OLD vcore database version ${VCORE_OLD_DB_VERSION}"
+ echo "NEW vcore database version ${VCORE_NEW_DB_VERSION}"
+
+ if [ ${VCORE_OLD_DB_VERSION} -a ${VCORE_NEW_DB_VERSION} ]; then
+ if [ ${VCORE_OLD_DB_VERSION} = ${VCORE_NEW_DB_VERSION} ]; then
+ echo "Equal database detected so db installation ignored"
+ else
+ echo "Calling /usr/bin/cert_svc_create_clean_db.sh"
+ /usr/bin/cert_svc_create_clean_db.sh
+ fi
+ else
+ echo "Calling /usr/bin/cert_svc_create_clean_db.sh"
+ /usr/bin/cert_svc_create_clean_db.sh
+ fi
+fi
+
+%postun
+/sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%manifest %{_datadir}/%{name}.manifest
+%attr(0755,root,root) %{_bindir}/cert_svc_create_clean_db.sh
+%{_libdir}/*.so.*
+%{_bindir}/dpkg-pki-sig
+/opt/share/cert-svc/targetinfo
+%{_datadir}/cert-svc/cert_svc_vcore_db.sql
+%{_datadir}/license/%{name}
+%dir %attr(0755,root,use_cert) /usr/share/cert-svc
+%dir %attr(0755,root,use_cert) /usr/share/cert-svc/ca-certs
+%dir %attr(0755,root,use_cert) /usr/share/cert-svc/ca-certs/code-signing
+%dir %attr(0755,root,use_cert) /usr/share/cert-svc/ca-certs/code-signing/native
+%dir %attr(0755,root,use_cert) /usr/share/cert-svc/ca-certs/code-signing/wac
+%dir %attr(0775,root,use_cert) /opt/share/cert-svc
+%dir %attr(0775,root,use_cert) /opt/share/cert-svc/certs
+%dir %attr(0775,root,use_cert) /opt/share/cert-svc/certs/code-signing
+%dir %attr(0775,root,use_cert) /opt/share/cert-svc/certs/code-signing/wac
+%dir %attr(0775,root,use_cert) /opt/share/cert-svc/certs/code-signing/tizen
+%dir %attr(0775,root,use_cert) /opt/share/cert-svc/certs/sim
+%dir %attr(0775,root,use_cert) /opt/share/cert-svc/certs/sim/operator
+%dir %attr(0775,root,use_cert) /opt/share/cert-svc/certs/sim/thirdparty
+%dir %attr(0777,root,use_cert) /opt/share/cert-svc/certs/user
+%dir %attr(0777,root,use_cert) /opt/share/cert-svc/certs/trusteduser
+%dir %attr(0775,root,use_cert) /opt/share/cert-svc/certs/mdm
+%dir %attr(0775,root,use_cert) /opt/share/cert-svc/certs/mdm/security
+%dir %attr(0775,root,use_cert) /opt/share/cert-svc/certs/mdm/security/cert
+%dir %attr(0777,root,use_cert) /opt/share/cert-svc/pkcs12
+/opt/share/cert-svc/certs/ssl
+/opt/share/cert-svc/pkcs12/storage
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
+%{_libdir}/*.so
--- /dev/null
+Name: check
+Version: 0.9.8
+Release: 3
+License: LGPL-2.1+
+Summary: Unit Test Framework for C
+Url: http://check.sourceforge.net/
+Group: Development/Libraries/C and C++
+Source: %{name}-%{version}.tar.bz2
+Source99: baselibs.conf
+BuildRequires: pkg-config
+
+%description
+Check is a unit test framework for C. It features a simple interfacefor
+defining unit tests, limitating the developer the less possible. Tests
+are run in a separate address space, so Check cancatch both, assertion
+failures and code errors that cause segmentationfaults or other
+signals. The output of unit tests can be used within source code
+editors and IDEs.
+
+%package devel
+License: LGPL-2.1+
+Summary: Unit Test Framework for C
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+Requires: glibc-devel
+Recommends: pgk-config
+
+%description devel
+Check is a unit test framework for C. It features a simple interface
+for defining unit tests, putting little in the way of the developer.
+Tests are run in a separate address space, so Check can catch both
+assertion failures and code errors that cause segmentation faults or
+other signals. The output from unit tests can be used within source
+code editors and IDEs.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="%{optflags} -std=gnu99"
+export CXXFLAGS="%{optflags} -std=gnu99"
+export FFLAGS="%{optflags} -std=gnu99"
+%configure --disable-static --with-pic
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr (-, root, root)
+%license COPYING.*
+%{_libdir}/*.so.*
+
+%files devel
+%defattr (-, root, root)
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/*.m4
+%{_includedir}/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+Name: chromium
+Summary: Chromium Library
+Version: 1.0
+Release: 1
+Group: Web Framework/Libraries
+License: BSD-3-Clause
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+
+%description
+Chromium library
+
+%package devel
+Summary: Chromium library - Development Files
+Group: Development/Web Framework
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%ifarch %{ix86}
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%else
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_ARMEL_" %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%endif
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest chromium.manifest
+%license LICENSE
+%defattr(-,root,root,-)
+%{_libdir}/libchromium.so*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/chromium/*
+%{_libdir}/pkgconfig/chromium.pc
--- /dev/null
+Name: chrpath
+Version: 0.13
+Release: 3
+License: GPL+
+Summary: Modify rpath of compiled programs
+Url: http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/
+Group: Development/Tools
+Source0: http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/%{name}-%{version}.tar.gz
+
+%description
+chrpath allows you to modify the dynamic library load path (rpath) of
+compiled programs. Currently, only removing and modifying the rpath
+is supported.
+
+%prep
+%setup -q
+
+
+%build
+
+%configure --disable-static
+# Call make instruction with smp support
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+rm -fr %{buildroot}/usr/doc
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{_bindir}/chrpath
+%doc %{_mandir}/man1/chrpath.1*
+
+
--- /dev/null
+%define keepstatic 1
+
+Name: cloog
+Version: 0.15.10
+Release: 0
+Summary: The Chunky Loop Generator
+License: GPL-2.0+
+Group: Development/Languages/C and C++
+Url: http://www.cloog.org/
+Source: cloog-ppl-0.15.10.tar.bz2
+Source1: baselibs.conf
+BuildRequires: libtool
+BuildRequires: ppl-devel
+
+%description
+CLooG is a free software and library to generate code for scanning
+Z-polyhedra. It is used by the GCC Graphite optimization framework.
+
+%package devel
+Summary: Development tools for CLOOG
+Group: Development/Languages/C and C++
+Requires: libcloog = %{version}-%{release}
+
+%description devel
+Development tools and headers for the Chunky Loop Generator.
+
+%package -n libcloog
+Summary: The CLOOG shared library
+Group: Development/Languages/C and C++
+
+%description -n libcloog
+The shared library for the Chunky Loop Generator.
+
+%prep
+%setup -q -n cloog-ppl-0.15.10
+
+%build
+./autogen.sh
+%configure --with-ppl
+make %{_smp_mflags}
+
+%check
+make %{_smp_mflags} check
+
+%install
+%make_install
+
+%post -n libcloog -p /sbin/ldconfig
+
+%postun -n libcloog -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/cloog
+%doc %{_infodir}/cloog.info*gz
+
+%files -n libcloog
+%defattr(-,root,root,-)
+%{_libdir}/libcloog.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/cloog
+%{_libdir}/libcloog.so
+%{_libdir}/libcloog.a
+
+%changelog
--- /dev/null
+Name: cmake
+Version: 2.8.10.2
+Release: 1
+License: BSD-3-Clause
+Summary: Cross-platform make system
+Url: http://www.cmake.org
+Group: Platfrom Development/Tools
+Source0: http://www.cmake.org/files/v2.8/cmake-%{version}.tar.gz
+Source1: macros.cmake
+Source2: TizenCommon.cmake
+BuildRequires: fdupes
+BuildRequires: expat-devel
+BuildRequires: pkgconfig(libarchive) >= 2.8.0
+BuildRequires: pkgconfig(libcurl)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: procps
+BuildRequires: ncurses-devel
+BuildRequires: gcc-c++
+
+%description
+CMake is used to control the software compilation process using simple platform
+and compiler independent configuration files. CMake generates native makefiles
+and workspaces that can be used in the compiler environment of your choice.
+CMake is quite sophisticated: it is possible to support complex environments
+requiring system configuration, pre-processor generation, code generation, and
+template instantiation.
+
+
+%prep
+%setup -q -n cmake-%{version}
+
+%build
+export CXXFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="$CXXFLAGS"
+./configure \
+ --prefix=%{_prefix} \
+ --datadir=/share/%{name} \
+ --docdir=/share/doc/packages/%{name} \
+ --mandir=/share/man \
+ --system-libs \
+ --parallel=0%jobs \
+ --no-qt-gui
+make VERBOSE=1 %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_libdir}/cmake
+find %{buildroot}/usr/share/cmake -type f -print0 | xargs -0 chmod 644
+cp %{SOURCE2} %{buildroot}/%{_datadir}/%{name}/Modules
+
+# Install cmake rpm macros
+install -D -p -m 0644 %{S:1} \
+ %{buildroot}%{_sysconfdir}/rpm/macros.cmake
+
+fdupes %buildroot/usr/share/cmake
+
+%docs_package
+
+%files
+%defattr(-,root,root,-)
+%config(noreplace) %{_sysconfdir}/rpm/macros.cmake
+%doc %{_datadir}/doc/packages/%{name}
+%{_datadir}/aclocal/cmake.m4
+%{_bindir}/ccmake
+%{_bindir}/cmake
+%{_bindir}/cpack
+%{_bindir}/ctest
+%{_datadir}/%{name}
--- /dev/null
+Name: libcom-core
+Summary: Library for the light-weight IPC
+Version: 0.3.14
+Release: 1
+Group: HomeTF/Framework
+License: Apache License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake, gettext-tools, coreutils
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+
+%description
+Light-weight IPC supporting library
+
+%package devel
+Summary: Files for using API for light-weight IPC.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Light-weight IPC supporting library (dev)
+
+%prep
+%setup -q
+
+%build
+%cmake
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/%{_datarootdir}/license
+
+%post
+
+%files -n libcom-core
+%manifest libcom-core.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+%{_datarootdir}/license/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/com-core/com-core.h
+%{_includedir}/com-core/packet.h
+%{_includedir}/com-core/com-core_packet.h
+%{_includedir}/com-core/com-core_thread.h
+%{_includedir}/com-core/secure_socket.h
+%{_libdir}/pkgconfig/*.pc
+
+# End of a file
--- /dev/null
+Name: capi-base-common
+Version: 0.1.0
+Release: 8
+License: Apache-2.0
+Summary: Common header files of Tizen Native API
+Group: API/C API
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+
+%description
+Common header files of Tizen Native API
+
+
+%package devel
+Summary: Common header files of Tizen Native API (Development)
+Group: API/C API
+Requires: %{name} = %{version}
+
+%description devel
+Common header files of Tizen Native API
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+
+%files devel
+%{_includedir}/*.h
+%{_libdir}/pkgconfig/capi-base-common.pc
+
+
--- /dev/null
+Name: compositeproto
+Version: 0.4.2
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*
+%{_datadir}/pkgconfig/*
+
--- /dev/null
+Name: capi-network-connection
+Summary: Network Connection library in TIZEN C API
+Version: 0.1.3_13
+Release: 1
+Group: System/Network
+License: Apache License Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(network)
+
+%description
+Network Connection library in Tizen C API
+
+%package devel
+Summary: Network Connection library in Tizen C API (Development)
+Group: System/Network
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Network Connection library in Tizen C API (Development)
+
+%prep
+%setup -q
+
+
+%build
+unset LD_AS_NEEDED
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+#License
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/capi-network-connection
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest capi-network-connection.manifest
+%attr(644,-,-) %{_libdir}/libcapi-network-connection.so.*
+%{_datadir}/license/capi-network-connection
+
+%files devel
+%{_includedir}/network/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-network-connection.so
--- /dev/null
+Name: connman
+Version: 1.15
+Release: 1
+License: GPL-2.0
+Summary: Connection Manager
+Url: http://connman.net
+Group: Connectivity/Connection Management
+Source0: %{name}-%{version}.tar.xz
+Source1001: connman.manifest
+BuildRequires: systemd
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libiptc)
+BuildRequires: pkgconfig(xtables)
+BuildRequires: pkgconfig(gnutls)
+BuildRequires: openconnect
+BuildRequires: readline-devel
+%systemd_requires
+
+%description
+Connection Manager provides a daemon for managing Internet connections
+within embedded devices running the Linux operating system.
+
+%package plugin-openconnect
+Summary: Openconnect Support for Connman
+Group: Connectivity/Connection Management
+Requires: %{name} = %{version}
+Requires: openconnect
+
+%description plugin-openconnect
+Openconnect Support for Connman.
+
+%package test
+Summary: Test Scripts for Connection Manager
+Group: Development/Testing
+Requires: %{name} = %{version}
+Requires: dbus-python
+Requires: python-gobject
+Requires: python-xml
+
+%description test
+Scripts for testing Connman and its functionality
+
+%package devel
+Summary: Development Files for connman
+Group: Development/Tools
+Requires: %{name} = %{version}
+
+%description devel
+Header files and development files for connman.
+
+%prep
+%setup -q
+
+cp %{SOURCE1001} .
+
+%build
+./bootstrap
+%configure \
+ --enable-threads \
+ --enable-client \
+ --enable-pacrunner \
+ --enable-wifi=builtin \
+ --enable-openconnect \
+%if 0%{?enable_connman_features}
+ %connman_features \
+%endif
+ --enable-test \
+ --with-systemdunitdir=%{_unitdir}
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/usr/lib/systemd/ntp-units.d
+install -m644 40-connman-ntp.list %{buildroot}/usr/lib/systemd/ntp-units.d
+install -m644 connman-ntp.service %{buildroot}%{_unitdir}
+
+%install_service network.target.wants connman.service
+%install_service network.target.wants connman-ntp.service
+%install_service multi-user.target.wants connman.service
+%install_service multi-user.target.wants connman-ntp.service
+
+%docs_package
+
+%files
+%license COPYING
+%manifest connman.manifest
+%{_sbindir}/*
+%config %{_sysconfdir}/dbus-1/system.d/*
+%{_unitdir}/connman.service
+%{_unitdir}/network.target.wants/connman.service
+%{_unitdir}/multi-user.target.wants/connman.service
+%{_unitdir}/connman-ntp.service
+%{_unitdir}/multi-user.target.wants/connman-ntp.service
+%{_unitdir}/network.target.wants/connman-ntp.service
+%dir /usr/lib/systemd/ntp-units.d
+/usr/lib/systemd/ntp-units.d/40-connman-ntp.list
+
+%files test
+%{_libdir}/%{name}/test/*
+
+%files devel
+%{_includedir}/connman/*.h
+%{_libdir}/pkgconfig/*.pc
+
+%files plugin-openconnect
+%{_unitdir}/connman-vpn.service
+%{_libdir}/connman/plugins-vpn/openconnect.so
+%{_libdir}/connman/scripts/openconnect-script
+%{_datadir}/dbus-1/system-services/net.connman.vpn.service
+
+%changelog
--- /dev/null
+Name: contacts-service
+Summary: Contacts Service
+Version: 0.9.84.2
+Release: 1
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: contacts-service.service
+BuildRequires: cmake
+BuildRequires: vconf-keys-devel
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-media-image-util)
+BuildRequires: pkgconfig(pims-ipc)
+BuildRequires: pkgconfig(accounts-svc)
+BuildRequires: pkgconfig(badge)
+BuildRequires: pkgconfig(libexif)
+Requires(post): /usr/bin/sqlite3, /bin/chmod, /bin/chown
+Requires(post): /usr/bin/vconftool
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Requires: sys-assert
+
+%description
+Contacts Service Library
+
+%package -n contacts-service2
+Summary: New Contacts service library
+Group: Development/Libraries
+Requires: sys-assert
+
+%description -n contacts-service2
+New Contact Serivce Library
+
+
+%package -n contacts-service2-devel
+Summary: New Contacts Service (devel)
+Group: Development/Libraries
+Requires: %{name}2 = %{version}-%{release}
+
+%description -n contacts-service2-devel
+New Contacts Service Library (devel)
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/
+ln -s ../init.d/contacts-service-ipcd.sh %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S50contacts-svc-helper
+ln -s ../init.d/contacts-service-ipcd.sh %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S50contacts-svc-helper
+
+mkdir -p %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants
+install -m 0644 %SOURCE1 %{buildroot}/usr/lib/systemd/user/contacts-service.service
+ln -s ../contacts-service.service %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service
+
+
+%post -n contacts-service2
+/sbin/ldconfig
+
+chown :6005 /opt/usr/data/contacts-svc
+chown :6005 /opt/usr/dbspace/.contacts-svc.db
+chown :6005 /opt/usr/dbspace/.contacts-svc.db-journal
+chown :6005 -R /opt/usr/data/contacts-svc/img
+chown :6005 /opt/usr/data/contacts-svc/.CONTACTS_SVC_*_CHANGED
+
+chmod 660 /opt/usr/dbspace/.contacts-svc.db
+chmod 660 /opt/usr/dbspace/.contacts-svc.db-journal
+chmod 775 /opt/usr/data/contacts-svc
+chmod 770 -R /opt/usr/data/contacts-svc/img/
+chmod 660 /opt/usr/data/contacts-svc/.CONTACTS_SVC_*
+
+vconftool set -t int file/private/contacts-service/default_lang 0 -g 6005 -s contacts-service::vconf-private
+vconftool set -t int db/contacts-svc/name_sorting_order 0 -g 6005 -s contacts-service::vconf
+vconftool set -t int db/contacts-svc/name_display_order 0 -g 6005 -s contacts-service::vconf
+vconftool set -t int db/contacts-svc/phonenumber_min_match_digit 8 -g 6005 -s contacts-service::vconf
+
+
+%postun -n contacts-service2 -p /sbin/ldconfig
+
+
+%postun -p /sbin/ldconfig
+
+%files -n contacts-service2
+%manifest contacts-service2.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libcontacts-service2.so.*
+%{_bindir}/contacts-service-ipcd*
+/etc/rc.d/rc*.d/S50contacts-svc-helper
+/opt/usr/data/contacts-svc/.CONTACTS_SVC_*
+/opt/usr/data/contacts-svc/img/*
+%attr(0755,root,root) /etc/rc.d/init.d/contacts-service-ipcd.sh
+/usr/lib/systemd/user/contacts-service.service
+/usr/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service
+%config(noreplace) /opt/usr/dbspace/.contacts-svc.db*
+
+
+%files -n contacts-service2-devel
+%defattr(-,root,root,-)
+%{_libdir}/libcontacts-service2.so
+%{_libdir}/pkgconfig/contacts-service2.pc
+%{_includedir}/contacts-svc/contacts.h
+%{_includedir}/contacts-svc/contacts_*.h
--- /dev/null
+Name: coreutils
+Version: 8.21
+Summary: GNU Core Utilities
+License: GPL-3.0+
+Group: Base/Tools
+BuildRequires: automake
+BuildRequires: gmp-devel
+BuildRequires: help2man
+BuildRequires: libacl-devel
+BuildRequires: libcap-devel
+BuildRequires: pam-devel
+BuildRequires: xz
+BuildRequires: gettext-tools
+Url: http://www.gnu.org/software/coreutils/
+Release: 0
+Provides: fileutils = %{version}
+Provides: mktemp = %{version}
+Provides: sh-utils = %{version}
+Provides: stat = %version}
+Provides: textutils = %{version}
+Obsoletes: fileutils < %{version}
+Obsoletes: mktemp < %{version}
+Obsoletes: sh-utils < %{version}
+Obsoletes: stat < %version}
+Obsoletes: textutils < %{version}
+Requires: pam >= 1.1.1.90
+Source: coreutils-%{version}.tar.xz
+Source3: baselibs.conf
+Provides: /bin/basename
+Provides: /bin/cat
+Provides: /bin/chmod
+Provides: /bin/chown
+Provides: /bin/cp
+Provides: /bin/ln
+Provides: /bin/ls
+Provides: /bin/mkdir
+Provides: /bin/mv
+Provides: /bin/pwd
+Provides: /bin/rm
+Provides: /bin/sort
+Provides: /bin/touch
+
+%description
+Basic file, shell, and text manipulation utilities. The package
+contains the following programs:
+
+[ arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp
+csplit cut date dd df dir dircolors dirname du echo env expand expr
+factor false fmt fold groups head id install join kill link ln logname
+ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup od paste pathchk
+pinky pr printenv printf ptx pwd readlink rm rmdir runcon seq sha1sum
+sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort split
+stat stty sum sync tac tail tee test timeout touch tr true tsort tty
+uname unexpand uniq unlink uptime users vdir wc who whoami yes
+
+%lang_package
+
+%prep
+%setup -q
+
+%build
+AUTOPOINT=true autoreconf -fi
+export CFLAGS="%optflags -Wall"
+%configure --libexecdir=%{_libdir} --without-included-regex \
+ --enable-install-program=arch \
+ --enable-no-install-program=uptime \
+ gl_cv_func_printf_directive_n=yes \
+ gl_cv_func_isnanl_works=yes \
+ DEFAULT_POSIX2_VERSION=199209
+
+make -C po update-po
+make %{?_smp_mflags} V=1
+
+%install
+%make_install pkglibexecdir=%{_libdir}/%{name}
+echo '.so man1/test.1' > %{buildroot}/%{_mandir}/man1/\[.1
+
+%find_lang %name
+
+%files
+%defattr(-,root,root)
+%doc README NEWS
+%license COPYING
+%{_bindir}/*
+%{_libdir}/%{name}
+%doc %{_infodir}/coreutils.info*.gz
+%dir %{_prefix}/share/locale/*/LC_TIME
+
+%docs_package
+
+
+%changelog
--- /dev/null
+Name: corewatcher
+Summary: A crash dump reporting tool
+Version: 0.9.11
+Release: 1
+Group: System/Base
+License: GPL-2.0
+Source0: corewatcher-%{version}.tar.gz
+Source1001: packaging/corewatcher.manifest
+Requires: gdb
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libsystemd-journal)
+BuildRequires: pkgconfig(libcurl)
+
+
+
+%description
+This tool sends application crash reports to the central crash
+reporting database.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+cp %{SOURCE1001} .
+%reconfigure
+
+make
+
+%install
+rm -rf %{buildroot}
+
+%make_install
+
+%install_service multi-user.target.wants corewatcher.service
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%manifest corewatcher.manifest
+%config(noreplace) %{_sysconfdir}/corewatcher/corewatcher.conf
+%config(noreplace) %{_sysconfdir}/security/limits.d/95-core.conf
+%{_sysconfdir}/corewatcher/gdb.command
+%{_sbindir}/corewatcher
+%exclude /usr/share/man/man8/corewatcher.8.gz
+%{_unitdir}/corewatcher.service
+%{_unitdir}/multi-user.target.wants/corewatcher.service
--- /dev/null
+Name: cpio
+Version: 2.11
+Release: 3
+License: GPL-3.0+
+Summary: A GNU archiving program
+Url: http://www.gnu.org/software/cpio/
+Group: Base/Tools
+Source0: ftp://ftp.gnu.org/gnu/cpio/cpio-%{version}.tar.gz
+BuildRequires: autoconf
+
+%description
+GNU cpio copies files into or out of a cpio or tar archive. Archives
+are files which contain a collection of other files plus information
+about them, such as their file name, owner, timestamps, and access
+permissions. The archive can be another file on the disk, a magnetic
+tape, or a pipe. GNU cpio supports the following archive formats: binary,
+old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old tar and POSIX.1
+tar. By default, cpio creates binary format archives, so that they are
+compatible with older cpio programs. When it is extracting files from
+archives, cpio automatically recognizes which kind of archive it is reading
+and can read archives created on machines with a different byte-order.
+
+Install cpio if you need a program to manage file archives.
+
+%prep
+%setup -q
+
+
+%build
+export ac_cv_prog_cc_c99=no
+%configure --disable-nls
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_mandir}/man1
+
+rm -rf %{buildroot}%{_prefix}/libexec/rmt
+
+
+%docs_package
+
+%files
+%license COPYING
+%{_bindir}/*
+
--- /dev/null
+Name: crda
+Version: 1.1.3
+Release: 0
+License: ISC
+Summary: Linux central regulatory domain agent
+Url: http://wireless.kernel.org/en/developers/Regulatory/
+Group: System/Base
+Source: http://wireless.kernel.org/download/crda/crda-%{version}.tar.bz2
+BuildRequires: gcc
+BuildRequires: libgcrypt-devel
+BuildRequires: libnl-devel
+BuildRequires: python-M2Crypto
+BuildRequires: wireless-regdb
+Requires: libgcrypt
+Requires: libnl
+
+%description
+This package provides CRDA to be used by the new Linux kernel
+wireless subsystem to query from userspace regulatory domains. For
+more information see:
+http://wireless.kernel.org/en/developers/Regulatory/
+
+%prep
+%setup -q
+
+%build
+make DESTDIR=%{buildroot} UDEV_RULE_DIR=/usr/lib/udev/rules.d SBINDIR=%{_sbindir}
+
+%install
+%make_install UDEV_RULE_DIR=/usr/lib/udev/rules.d SBINDIR=%{_sbindir}
+
+%docs_package
+%files
+%license LICENSE
+%{_sbindir}/crda
+%{_sbindir}/regdbdump
+%{_prefix}/lib/udev/rules.d/85-regulatory.rules
--- /dev/null
+Name: createrepo
+Version: 0.9.9
+Release: 1
+License: GPL-2.0
+Summary: Creates a common metadata repository
+Url: http://createrepo.baseurl.org/
+Group: System/Base
+Source: %{name}-%{version}.tar.gz
+BuildRequires: python
+Requires: deltarpm
+Requires: python >= 2.7
+Requires: rpm >= 4.11.0
+Requires: python-rpm
+Requires: python-deltarpm
+Requires: python-libxml2
+Requires: yum >= 3.4.3
+Requires: yum-metadata-parser
+BuildArch: noarch
+
+%description
+This utility will generate a common metadata repository from a directory of rpm
+packages.
+
+%prep
+%setup -q
+
+%build
+
+%install
+make DESTDIR=%{buildroot} sysconfdir=%{_sysconfdir} install
+
+%files
+%defattr(-, root, root,-)
+%license COPYING COPYING.lib
+%{_sysconfdir}/bash_completion.d/
+%{_datadir}/%{name}/
+%{_bindir}/createrepo
+%{_bindir}/modifyrepo
+%{_bindir}/mergerepo
+%{_mandir}/*/*
+%{python_sitelib}/createrepo
+
+%changelog
--- /dev/null
+Name: cross-arm-binutils
+ExcludeArch: %arm
+%define cross 1
+%define TARGET arm
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: gcc-c++
+# for the testsuite
+BuildRequires: glibc-devel-static
+# for some gold tests
+BuildRequires: bc
+BuildRequires: makeinfo
+BuildRequires: zlib-devel-static
+Requires(pre): update-alternatives
+Version: 2.23.1
+Release: 0
+#
+# RUN_TESTS
+%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
+# check the vanilla binutils, with no patches applied
+# TEST_VANILLA
+%define test_vanilla %(test ! -f %_sourcedir/TEST_VANILLA ; echo $?)
+#
+# handle test suite failures
+#
+%ifarch alpha %arm hppa mips sh4 %sparc
+%define make_check_handling true
+%else
+# XXX check again
+# XXX disabled because gold is seriously broken for now
+%define make_check_handling true
+%endif
+# let make check fail anyway if RUN_TESTS was requested
+%if %{run_tests}
+%define make_check_handling false
+%endif
+# handle all binary object formats supported by SuSE (and a few more)
+%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
+%define build_multitarget 1
+%else
+%define build_multitarget 0
+%endif
+%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
+#
+#
+#
+Url: http://www.gnu.org/software/binutils/
+%define binutils_version %(echo %version | sed 's/\\.[0-9]\\{8\\}$//')
+Summary: GNU Binutils
+License: GFDL-1.3 and GPL-3.0+
+Group: Development/Tools/Building
+Source: binutils-%{binutils_version}.tar.bz2
+Source1: pre_checkin.sh
+Source3: baselibs.conf
+# Patches auto-generated by git-buildpackage:
+Patch0: 0001-skip-rpaths.patch
+Patch1: 0002-x86-64-biarch.patch
+Patch2: 0003-unit-at-a-time.patch
+Patch3: 0004-ld-dtags.patch
+Patch4: 0005-ld-relro.patch
+Patch5: 0006-testsuite.patch
+Patch6: 0007-enable-targets-gold.patch
+Patch7: 0008-use-hashtype-both-by-default.patch
+Patch8: 0009-build-as-needed.patch
+Patch9: 0010-fixup-testcase-perturb.patch
+Patch10: 0011-gold-depend-on-opcodes.patch
+Patch11: 0012-bso12451.patch
+
+%description
+C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
+size, strings, and strip. These utilities are needed whenever you want
+to compile a program or kernel.
+
+
+%package gold
+Summary: The gold linker
+License: GPL-3.0+
+Group: Development/Tools/Building
+Requires: binutils = %{version}-%{release}
+%if 0%{!?cross:1}
+%define gold_archs %ix86 %arm x86_64 ppc ppc64 %sparc
+%endif
+
+%description gold
+gold is an ELF linker. It is intended to have complete support for ELF
+and to run as fast as possible on modern systems. For normal use it is
+a drop-in replacement for the older GNU linker.
+
+
+%package devel
+Summary: GNU binutils (BFD development files)
+License: GPL-3.0+
+Group: Development/Libraries/C and C++
+Requires: binutils = %{version}-%{release}
+Requires: zlib-devel
+Provides: binutils:/usr/include/bfd.h
+
+%description devel
+This package includes header files and static libraries necessary to
+build programs which use the GNU BFD library, which is part of
+binutils.
+
+
+%ifarch %arm
+%define HOST %{_target_cpu}-tizen-linux-gnueabi
+%else
+%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-tizen-linux
+%endif
+%define DIST %(echo '%distribution' | sed 's/ (.*)//')
+
+%prep
+echo "make check will return with %{make_check_handling} in case of testsuite failures."
+%setup -q -n binutils-%{binutils_version}
+# 0001-skip-rpaths.patch
+%patch0 -p1
+# 0002-x86-64-biarch.patch
+%patch1 -p1
+# 0003-unit-at-a-time.patch
+%patch2 -p1
+# 0004-ld-dtags.patch
+%patch3 -p1
+# 0005-ld-relro.patch
+%patch4 -p1
+# 0006-testsuite.patch
+%patch5 -p1
+# 0007-enable-targets-gold.patch
+%patch6 -p1
+# 0008-use-hashtype-both-by-default.patch
+%patch7 -p1
+# 0009-build-as-needed.patch
+%patch8 -p1
+# 0010-fixup-testcase-perturb.patch
+%patch9 -p1
+# 0011-gold-depend-on-opcodes.patch
+%patch10 -p1
+# 0012-bso12451.patch
+%patch11 -p1
+
+sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
+%build
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS |sed -e 's/atom/i686/g'`
+%if 0%{!?cross:1}
+# Building native binutils
+echo "Building native binutils."
+%if %build_multitarget
+EXTRA_TARGETS="%(printf ,%%s-tizen-linux %target_list)"
+EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf,x86_64-pep"
+%else
+EXTRA_TARGETS=
+%ifarch sparc
+EXTRA_TARGETS="$EXTRA_TARGETS,sparc64-tizen-linux"
+%endif
+%ifarch ppc
+EXTRA_TARGETS="$EXTRA_TARGETS,powerpc64-tizen-linux"
+%endif
+%ifarch s390
+EXTRA_TARGETS="$EXTRA_TARGETS,s390x-tizen-linux"
+%endif
+%ifarch s390x
+EXTRA_TARGETS="$EXTRA_TARGETS,s390-tizen-linux"
+%endif
+%ifarch %ix86
+EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-tizen-linux"
+%endif
+%ifarch ppc ppc64
+EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
+%endif
+%ifarch %arm
+EXTRA_TARGETS="$EXTRA_TARGETS,arm-tizen-linux-gnueabi"
+%endif
+%endif
+%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
+ --prefix=%{_prefix} --libdir=%{_libdir} \\\
+ --infodir=%{_infodir} --mandir=%{_mandir} \\\
+ --with-bugurl=http://bugs.opensuse.org/ \\\
+ --with-pkgversion="GNU Binutils; %{DIST}" \\\
+ --disable-nls \\\
+ --with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --with-pic --build=%{HOST}
+mkdir build-dir
+cd build-dir
+../configure %common_flags \
+ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
+ --enable-plugins \
+%ifarch %gold_archs
+ --enable-gold \
+%endif
+ --enable-shared
+make %{?_smp_mflags} all-bfd TARGET-bfd=headers
+# force reconfiguring (???)
+rm bfd/Makefile
+make %{?_smp_mflags}
+
+%else
+# building cross-TARGET-binutils
+echo "Building cross binutils."
+mkdir build-dir
+cd build-dir
+EXTRA_TARGETS=
+%if "%{TARGET}" == "sparc"
+EXTRA_TARGETS="$EXTRA_TARGETS,sparc64-tizen-linux"
+%endif
+%if "%{TARGET}" == "powerpc"
+EXTRA_TARGETS="$EXTRA_TARGETS,powerpc64-tizen-linux"
+%endif
+%if "%{TARGET}" == "s390"
+EXTRA_TARGETS="$EXTRA_TARGETS,s390x-tizen-linux"
+%endif
+%if "%{TARGET}" == "s390x"
+EXTRA_TARGETS="$EXTRA_TARGETS,s390-tizen-linux"
+%endif
+%if "%{TARGET}" == "i586"
+EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-tizen-linux"
+%endif
+%if "%{TARGET}" == "hppa"
+EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-tizen-linux"
+%endif
+%if "%{TARGET}" == "arm"
+EXTRA_TARGETS="$EXTRA_TARGETS,arm-tizen-linux-gnueabi"
+%endif
+%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
+TARGET_OS=%{TARGET}
+%else
+%if "%{TARGET}" == "arm"
+TARGET_OS=%{TARGET}-tizen-linux-gnueabi
+%else
+TARGET_OS=%{TARGET}-tizen-linux
+%endif
+%endif
+../configure CFLAGS="${RPM_OPT_FLAGS}" \
+ --prefix=%{_prefix} \
+ --with-bugurl=http://bugs.opensuse.org/ \
+ --with-pkgversion="GNU Binutils; %{DIST}" \
+ --disable-nls \
+ --build=%{HOST} --target=$TARGET_OS \
+%if "%{TARGET}" == "spu"
+ --with-sysroot=/usr/spu \
+%else
+ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
+%endif
+ ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
+make %{?_smp_mflags} all-bfd TARGET-bfd=headers
+# force reconfiguring
+rm bfd/Makefile
+make %{?_smp_mflags}
+%if "%{TARGET}" == "avr"
+# build an extra nesC version because nesC requires $'s in identifiers
+cp -a gas gas-nesc
+echo '#include "tc-%{TARGET}-nesc.h"' > gas-nesc/targ-cpu.h
+make -C gas-nesc clean
+make -C gas-nesc %{?_smp_mflags}
+%endif
+%endif
+
+%check
+unset LD_AS_NEEDED
+cd build-dir
+%if 0%{?cross:1}
+make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
+%else
+make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
+%endif
+
+%install
+cd build-dir
+%if 0%{!?cross:1}
+# installing native binutils
+%ifarch %gold_archs
+make DESTDIR=$RPM_BUILD_ROOT install-gold
+ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold
+%endif
+make DESTDIR=$RPM_BUILD_ROOT install-info install
+make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
+make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
+
+if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then
+ mv "%buildroot/%_bindir"/{ld,ld.bfd};
+else
+ rm -f "%buildroot/%_bindir/ld";
+fi
+mkdir -p "%buildroot/%_sysconfdir/alternatives";
+ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
+ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
+rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
+ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
+
+mv $RPM_BUILD_ROOT%{_prefix}/%{HOST}/lib/ldscripts $RPM_BUILD_ROOT%{_libdir}
+ln -sf ../../%{_lib}/ldscripts $RPM_BUILD_ROOT%{_prefix}/%{HOST}/lib/ldscripts
+
+# Install header files
+make -C libiberty install_to_libdir target_header_dir=/usr/include DESTDIR=$RPM_BUILD_ROOT
+# We want the PIC libiberty.a
+install -m 644 libiberty/pic/libiberty.a $RPM_BUILD_ROOT%{_libdir}
+#
+chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
+chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
+# No shared linking outside binutils
+rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
+rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
+# Remove unwanted files to shut up rpm
+rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
+rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
+cd ..
+#%find_lang binutils
+#%find_lang bfd binutils.lang
+#%find_lang gas binutils.lang
+#%find_lang ld binutils.lang
+#%find_lang opcodes binutils.lang
+#%find_lang gprof binutils.lang
+%ifarch %gold_archs
+#%find_lang gold binutils-gold.lang
+%endif
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
+install -m 644 binutils/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-binutils
+install -m 644 gas/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-gas
+install -m 644 ld/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-ld
+%else
+# installing cross-TARGET-binutils and TARGET-binutils
+make DESTDIR=$RPM_BUILD_ROOT install
+# Replace hard links by symlinks, so that rpmlint doesn't complain
+T=$(basename %buildroot/usr/%{TARGET}*)
+for f in %buildroot/usr/$T/bin/* ; do
+ ln -sf /usr/bin/$T-$(basename $f) $f
+done
+%if "%{TARGET}" == "avr"
+install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
+ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
+%endif
+rm -rf $RPM_BUILD_ROOT%{_mandir}
+rm -rf $RPM_BUILD_ROOT%{_infodir}
+rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
+rm -rf $RPM_BUILD_ROOT%{_prefix}/include
+rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
+> ../binutils.lang
+%endif
+cd $RPM_BUILD_DIR/binutils-%version
+
+
+%if 0%{!?cross:1}
+%docs_package
+%post
+"%_sbindir/update-alternatives" --install \
+ "%_bindir/ld" ld "%_bindir/ld.bfd" 1
+
+%post gold
+"%_sbindir/update-alternatives" --install \
+ "%_bindir/ld" ld "%_bindir/ld.gold" 2
+
+
+%preun
+if [ "$1" = 0 ]; then
+ "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.bfd";
+fi;
+
+%preun gold
+if [ "$1" = 0 ]; then
+ "%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
+fi;
+
+%endif
+
+%files
+%defattr(-,root,root)
+%if 0%{!?cross:1}
+%{_docdir}/%{name}
+%{_prefix}/%{HOST}/bin/*
+%{_prefix}/%{HOST}/lib/ldscripts
+%ghost %_sysconfdir/alternatives/ld
+%{_libdir}/ldscripts
+%{_bindir}/*
+%ifarch %gold_archs
+%exclude %{_bindir}/gold
+%exclude %{_bindir}/ld.gold
+%endif
+%doc %{_infodir}/*.gz
+%{_libdir}/lib*-%{version}*.so
+%else
+%{_prefix}/%{TARGET}*
+%{_prefix}/bin/*
+%endif
+
+%ifarch %gold_archs
+%files gold
+%defattr(-,root,root)
+%{_bindir}/gold
+%{_bindir}/ld.gold
+%endif
+
+%if 0%{!?cross:1}
+%files devel
+%defattr(-,root,root)
+%{_prefix}/include/*.h
+%{_libdir}/lib*.*a
+%endif
+
+%changelog
--- /dev/null
+#
+# spec file for package gcc (Version 4.0.1)
+#
+# Copyright (c) 2005 SUSE Linux AG, Nuernberg, Germany.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Please submit bugfixes or comments via http://www.suse.de/feedback/
+#
+
+%define build_cp 1
+%define build_ada 0
+%define build_libjava 0
+%define build_java 0
+%define build_fortran 0
+%define build_objc 0
+%define build_objcp 0
+%define build_nof 0
+%define build_with_mudflap 0
+%define gcc_target_arch armv7hl-tizen-linux
+%define gcc_icecream 1
+
+%define binutils_target armv7hl
+%if %{binutils_target} == "armv7l" || %{binutils_target} == "armv7hl" || %{binutils_target} == "armv7el"
+%define binutils_target arm
+%endif
+%if %{binutils_target} == "armv5el"
+%define binutils_target arm
+%endif
+%define canonical_target %(echo %{binutils_target} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+%if %{binutils_target} == "arm"
+%define canonical_target_abi -gnueabi
+%endif
+
+Name: cross-armv7hl-gcc47-icecream-backend
+BuildRequires: cross-%{binutils_target}-binutils
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: gettext-devel
+BuildRequires: glibc-devel-32bit
+BuildRequires: mpc-devel
+BuildRequires: mpfr-devel
+BuildRequires: perl
+BuildRequires: makeinfo
+BuildRequires: zlib-devel
+%ifarch %ix86 x86_64 %arm
+BuildRequires: cloog-devel
+BuildRequires: ppl-devel
+%endif
+%ifarch ia64
+BuildRequires: libunwind-devel
+%endif
+ExclusiveArch: ppc ppc64 %ix86 x86_64 ia64
+%define _binary_payload w.ufdio
+
+# COMMON-BEGIN
+# COMMON-BEGIN
+%define biarch_targets x86_64
+
+URL: http://gcc.gnu.org/
+Version: 4.7.2
+Release: 1
+%define gcc_version %(echo %version | sed 's/_.*//')
+%define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2)
+%define snapshot_date %(echo %version | sed 's/[34]\.[0-9]\.[0-6]//' | sed 's/_/-/')
+%define binsuffix -4.7
+# COMMON-END
+# COMMON-BEGIN
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+#Source: gcc-%{gcc_version}%{snapshot_date}.tar.bz2
+Source: gcc-%{version}.tar.bz2
+
+Source1: change_spec
+Source2: libgcj47-rpmlintrc
+Source3: gcc47-rpmlintrc
+Source4: ecj.jar
+Source6: baselibs.conf
+# Patches auto-generated by git-buildpackage:
+Patch0: 0001-dir-version.patch
+Patch1: 0002-textdomain.patch
+Patch2: 0003-rename-info-files.patch
+Patch3: 0004-ARM-linker.patch
+
+# GCC-TESTSUITE-DELETE-BEGIN
+# LIBFFI-DELETE-BEGIN
+# LIBJAVA-DELETE-BEGIN
+Group: Development/Toolchain
+Summary: The GNU C Compiler and Support Files
+License: GPL-3.0+
+
+%description
+Core package for the GNU Compiler Collection, including the C language
+frontend.
+
+Language frontends other than C are split to different sub-packages,
+namely gcc-ada, gcc-c++, gcc-fortran, gcc-java, gcc-objc and
+gcc-obj-c++.
+
+
+
+# COMMON-END
+# COMMON-BEGIN
+
+# Define the canonical target and host architecture
+# %gcc_target_arch is supposed to be the full target triple
+# %TARGET_ARCH is the canonicalized CPU part
+# %CONFIGURE_TARGET is the target triple used for --target=
+%if 0%{?gcc_target_arch:1}
+%define CONFIGURE_TARGET %{gcc_target_arch}
+%define TARGET_ARCH %(echo %{gcc_target_arch} | cut -d - -f 1 | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "i586"
+%define CONFIGURE_TARGET i586-tizen-linux
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7l"
+%define CONFIGURE_TARGET armv7l-tizen-linux-gnueabi
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7hl"
+%define CONFIGURE_TARGET armv7hl-tizen-linux-gnueabi
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7el"
+%define CONFIGURE_TARGET armv7el-tizen-linux-gnueabi
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5el"
+%define CONFIGURE_TARGET armv5el-tizen-linux-gnueabi
+%endif
+%else
+%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+%endif
+%define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+
+%define biarch %(case " %{biarch_targets} " in (*" %{TARGET_ARCH} "*) echo 1;; (*) echo 0;; esac)
+
+%ifarch %arm
+%define GCCDIST %{HOST_ARCH}-tizen-linux-gnueabi
+%else
+%define GCCDIST %{HOST_ARCH}-tizen-linux
+%endif
+
+%define libsubdir %{_libdir}/gcc/%{GCCDIST}/%{gcc_dir_version}
+%define gxxinclude %{_prefix}/include/c++/%{gcc_dir_version}
+
+# COMMON-END
+# COMMON-BEGIN
+
+%prep
+#%setup -q -n gcc-%{gcc_version}%{snapshot_date}
+%setup -q -n gcc-%{version}
+# 0001-dir-version.patch
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+%build
+# Avoid rebuilding of generated files
+contrib/gcc_update --touch
+# Avoid fucking up testsuite results with Java and indirect dispatch
+export LD_AS_NEEDED=0
+# Split version file into version used for directories (X.Y) and
+# version to report with --version (X.Y.Z).
+# See also gcc-dir-version.patch.
+# Also decrement the patchlevel version by one
+if test `cat gcc/DEV-PHASE` == "prerelease"; then
+ ( cat gcc/BASE-VER | cut -d '.' -f 1-2 | tr -d '\n'; echo -n .; cat gcc/BASE-VER | cut -d '.' -f 3 | tr '0123456789' '0012345678' ) > gcc/FULL-VER
+else
+ mv gcc/BASE-VER gcc/FULL-VER
+fi
+cat gcc/FULL-VER | cut -d '.' -f 1-2 > gcc/BASE-VER
+
+rm -rf obj-%{GCCDIST}
+mkdir obj-%{GCCDIST}
+cd obj-%{GCCDIST}
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -U_FORTIFY_SOURCE"
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fno-rtti//g' -e 's/-fno-exceptions//g' -e 's/-Wmissing-format-attribute//g' -e 's/-fstack-protector//g' -e 's/-ffortify=.//g' -e 's/-Wall//g' -e 's/-m32//g' -e 's/-m64//g'`
+%ifarch %ix86
+# -mcpu is superceded by -mtune but -mtune is not supported by
+# our bootstrap compiler. -mcpu gives a warning that stops
+# the build process, so remove it for now. Also remove all other
+# -march and -mtune flags. They are superseeded by proper
+# default compiler settings now.
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-mcpu=i.86//g' -e 's/-march=i.86//g' -e 's/-mtune=i.86//g'`
+%endif
+%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
+# Kill all -march/tune/cpu because that screws building the target libs
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-m\(arch\|tune\|cpu\)=[^ ]*//g'`
+%endif
+# Replace 2 spaces by one finally
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/ / /g'`
+
+languages=c
+%if %{build_cp}
+languages=$languages,c++
+%endif
+%if %{build_objc}
+languages=$languages,objc
+%endif
+%if %{build_fortran}
+languages=$languages,fortran
+%endif
+%if %{build_objcp}
+languages=$languages,obj-c++
+%endif
+%if %{build_java}
+languages=$languages,java
+%endif
+%if %{build_ada}
+languages=$languages,ada
+%endif
+
+J=%{?jobs:%jobs}
+if test -z "$J"; then
+ J=$(getconf _NPROCESSORS_CONF)
+ JL=$(($J * 2))
+else
+ test 1 -gt "$J" && J=1
+ JL=$(($(getconf _NPROCESSORS_CONF)*2))
+fi
+if test "$J" == "0"; then
+ J=1
+fi
+if test "$JL" == "0"; then
+ JL=1
+fi
+PARALLEL="-j$J -l$JL"
+
+# we don't want some miscompiles in the testsuite, or some fault in
+# the compiler to kill the machine. Hence we limit the amount of memory
+# by the physical RAM plus half of swap
+#MEM=$(free -m | awk '/^Mem:/ {print $2}')
+#SWAP=$(free -m | awk '/^Swap:/ {print $2}')
+#ulimit -v $(((MEM + SWAP/2)*1024))
+
+# In general we want to ship release checking enabled compilers
+# and run BETA with checking enabled.
+#ENABLE_CHECKING="--enable-checking=yes"
+ENABLE_CHECKING="--enable-checking=release"
+
+# Work around tail/head -1 changes
+export _POSIX2_VERSION=199209
+
+# configure tries to parse include/features.h to detect
+# if glibc supports SSP. When cross compiling we would need
+# to install a cross glibc, which we don't, or make the whole
+# thing point to the native glibc, which is in /, hence the
+# --with-sysroot=/
+
+%if %{build_ada}
+# Using the host gnatmake like
+# CC="gcc%{hostsuffix}" GNATBIND="gnatbind%{hostsuffix}"
+# GNATMAKE="gnatmake%{hostsuffix}"
+# doesn't work due to PR33857, so an un-suffixed gnatmake has to be
+# available
+mkdir -p host-tools/bin
+cp -a /usr/bin/gnatmake%{hostsuffix} host-tools/bin/gnatmake
+cp -a /usr/bin/gnatlink%{hostsuffix} host-tools/bin/gnatlink
+cp -a /usr/bin/gnatbind%{hostsuffix} host-tools/bin/gnatbind
+cp -a /usr/bin/gcc%{hostsuffix} host-tools/bin/gcc
+ln -sf /usr/%{_lib} host-tools/%{_lib}
+export PATH="`pwd`/host-tools/bin:$PATH"
+%endif
+#%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
+#%else
+# --enable-threads=posix \
+#%endif
+# --enable-shared \
+CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
+TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
+../configure \
+ --prefix=%{_prefix} \
+ --infodir=%{_infodir} \
+ --mandir=%{_mandir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
+ --enable-languages=$languages \
+ $ENABLE_CHECKING \
+ --with-gxx-include-dir=%{_prefix}/include/c++/%{gcc_dir_version} \
+ --enable-ssp \
+ --disable-libssp \
+ --disable-libitm \
+%if 0%{?fast_build}
+ --disable-bootstrap \
+%endif
+ --disable-plugin \
+ --with-bugurl="http://bugs.tizen.org/" \
+ --with-pkgversion="Tizen Linux" \
+%if !%{build_libjava}
+ --disable-libgcj \
+%else
+ --with-java-home=%{_libdir}/jvm/java-1.5.0-gcj%{binsuffix}-1.5.0.0/jre \
+ --with-ecj-jar=%{libsubdir}/ecj.jar \
+ --disable-java-awt \
+%if !%{biarch_libjava}
+ --disable-libjava-multilib \
+%endif
+%endif
+%if !%{build_with_mudflap}
+ --disable-libmudflap \
+%endif
+ --with-slibdir=/%{_lib} \
+ --with-system-zlib \
+ --enable-__cxa_atexit \
+ --enable-libstdcxx-allocator=new \
+ --disable-libstdcxx-pch \
+ --enable-version-specific-runtime-libs \
+ --enable-linker-build-id \
+%if 0%{?gcc_target_arch:1}
+%if 0%{?gcc_icecream:1}
+ --with-build-sysroot=/ \
+ --with-sysroot=%{_prefix}/%{gcc_target_arch}%{?canonical_target_abi:%canonical_target_abi} \
+ --with-gxx-include-dir=%{_prefix}/%{gcc_target_arch}%{?canonical_target_abi:%canonical_target_abi}/usr/include/c++/%{gcc_dir_version} \
+ --enable-linux-futex \
+%endif
+%if 0%{?canonical_target:1}
+ --with-build-time-tools=/usr/%{canonical_target}-tizen-linux%{?canonical_target_abi:%canonical_target_abi}/bin \
+%endif
+%if 0%{?build_static:1}
+ --disable-shared \
+%endif
+%if "%{TARGET_ARCH}" == "spu"
+ --with-sysroot=/usr/spu \
+ --with-gxx-include-dir=%{_prefix}/spu/include/c++/%{gcc_dir_version} \
+ --with-newlib \
+%endif
+ --disable-nls \
+ --target=%{CONFIGURE_TARGET} \
+%else
+ --program-suffix=%{binsuffix} \
+ --enable-linux-futex \
+ --without-system-libunwind \
+%endif
+%if "%{TARGET_ARCH}" == "armv5tel"
+ --with-arch=armv5te \
+ --with-float=soft \
+ --with-mode=arm \
+ --with-abi=aapcs-linux \
+ --disable-sjlj-exceptions \
+%endif
+%if "%{TARGET_ARCH}" == "armv7el"
+ --with-arch=armv7-a \
+ --with-tune=cortex-a9 \
+ --with-float=soft \
+ --with-abi=softfp \
+ --with-fpu=vfpv3 \
+ --disable-sjlj-exceptions \
+%endif
+%if "%{TARGET_ARCH}" == "armv7l" || "%{TARGET_ARCH}" == "armv7hl"
+ --with-arch=armv7-a \
+ --with-tune=cortex-a9 \
+ --with-float=hard \
+ --with-abi=aapcs-linux \
+ --with-fpu=vfpv3-d16 \
+ --disable-sjlj-exceptions \
+%endif
+%if "%{TARGET_ARCH}" == "i586"
+ --with-arch-32=i586 \
+ --with-tune=generic \
+%endif
+%if "%{TARGET_ARCH}" == "x86_64"
+ --with-arch-32=i586 \
+ --with-tune=generic \
+%endif
+ --build=%{GCCDIST}
+
+# COMMON-END
+# COMMON-END
+
+make %{?jobs:-j%jobs} all-gcc TARGET-gcc="cc1 cc1plus gcc-cross g++ native"
+
+%install
+cd obj-%{GCCDIST}
+rm -rf $RPM_BUILD_ROOT
+make -C gcc DESTDIR=$RPM_BUILD_ROOT/inst install-driver install-common
+make DESTDIR=$RPM_BUILD_ROOT/inst maybe-install-lto-plugin
+
+# But the assembler comes from the cross-binutils, and hence is _not_
+# named funnily, not even on ppc, so there we need the original target
+install -s -D %{_prefix}/bin/%{canonical_target}-tizen-linux%{?canonical_target_abi:%canonical_target_abi}-as \
+ $RPM_BUILD_ROOT/env/usr/bin/as
+install -s $RPM_BUILD_ROOT/inst%{_prefix}/bin/%{CONFIGURE_TARGET}-g++ \
+ $RPM_BUILD_ROOT/env/usr/bin/g++
+install -s $RPM_BUILD_ROOT/inst%{_prefix}/bin/%{CONFIGURE_TARGET}-gcc \
+ $RPM_BUILD_ROOT/env/usr/bin/gcc
+
+%define targetlibsubdir %{_libdir}/gcc/%{CONFIGURE_TARGET}/%{gcc_dir_version}
+for back in cc1 cc1plus; do
+ install -s -D $RPM_BUILD_ROOT/inst%{targetlibsubdir}/$back \
+ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back
+done
+if test -f $RPM_BUILD_ROOT/inst%{targetlibsubdir}/liblto_plugin.so; then
+ install -s -D $RPM_BUILD_ROOT/inst%{targetlibsubdir}/liblto_plugin.so \
+ $RPM_BUILD_ROOT/env%{targetlibsubdir}/liblto_plugin.so
+fi
+
+libs=`for bin in $RPM_BUILD_ROOT/env/usr/bin/* $RPM_BUILD_ROOT/env%{targetlibsubdir}/*; do \
+ ldd $bin | sed -n '\,^[^/]*\(/[^ ]*\).*,{ s//\1/; p; }' ;\
+done | sort -u `
+for lib in $libs; do
+ # Check wether the same library also exists in the parent directory,
+ # and prefer that on the assumption that it is a more generic one.
+ baselib=`echo "$lib" | sed 's,/[^/]*\(/[^/]*\)$,\1,'`
+ test -f "$baselib" && lib=$baselib
+ install -s -D $lib $RPM_BUILD_ROOT/env$lib
+done
+rm -rf $RPM_BUILD_ROOT/inst
+cd $RPM_BUILD_ROOT/env
+tar cvzf ../%{name}_%{_arch}.tar.gz *
+cd ..
+mkdir -p usr/share/icecream-envs
+mv %{name}_%{_arch}.tar.gz usr/share/icecream-envs
+rpm -q --changelog glibc > usr/share/icecream-envs/%{name}_%{_arch}.glibc
+rpm -q --changelog binutils > usr/share/icecream-envs/%{name}_%{_arch}.binutils
+rm -r env
+cd $RPM_BUILD_DIR
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%license COPYING
+%defattr(-,root,root)
+/usr/share/icecream-envs
+
+%changelog -n cross-armv7hl-gcc47-icecream-backend
--- /dev/null
+Name: cscope
+Version: 15.8a
+Release: 0
+License: BSD-3-Clause
+Summary: An interactive, screen-oriented tool for browsing source code
+Url: http://cscope.sourceforge.net
+Group: Development/Tools
+Source: %{name}-%{version}.tar.gz
+BuildRequires: ncurses-devel
+
+%description
+cscope is an interactive, screen-oriented tool that allows the user to browse
+through C source files for specified elements of code.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%docs_package
+
+%files
+%license COPYING
+%{_bindir}/*
--- /dev/null
+
+Summary: Content Security Framework
+Name: csr-framework
+Version: 1.0.0
+Release: 1
+License: BSD-3-Clause
+Group: Security/Libraries
+URL: http://tizen.org
+Source: %{name}-%{version}.tar.gz
+
+%description
+A general purpose content screening and reputation solution.
+
+%prep
+%setup -q
+
+%build
+
+make all
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_libdir}/
+install -D lib/libsecfw.so %{buildroot}%{_libdir}/
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%{_libdir}/libsecfw.so
+
--- /dev/null
+Name: ctags
+Version: 5.8
+Release: 0
+License: GPL-2.0+
+Summary: Tool for generating indexes of source code definitions
+Url: http://ctags.sourceforge.net/
+Group: Development/Tools
+Source: %{name}-%{version}.tar.gz
+
+%description
+Exuberant Ctags is a multilanguage reimplementation of the much-underused
+ctags(1) program and is intended to be the mother of all ctags programs. It
+generates indexes of source code definitions which are used by a number of
+editors and tools. The motivation which drove the development of Exuberant
+Ctags was the need for a ctags program which supported generation of tags
+for all possible C language constructs (which no other ctags offers), and
+because most were easily fooled by a number of preprocessor contructs.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%docs_package
+
+%files
+%license COPYING
+%{_bindir}/ctags
--- /dev/null
+Name: cups
+#BuildRequires: avahi-compat-mDNSResponder-devel
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: fdupes
+BuildRequires: gcc-c++
+BuildRequires: libjpeg8-devel
+BuildRequires: libpng-devel
+BuildRequires: libtiff-devel
+BuildRequires: libopenssl-devel
+BuildRequires: pam-devel
+BuildRequires: pkgconfig
+BuildRequires: update-desktop-files
+BuildRequires: zlib-devel
+# Have libtool as explicit buildrequirement to no longer depend
+# on a "hidden" buildrequirement in the OBS project definition:
+BuildRequires: libtool
+BuildRequires: systemd-devel
+%{?systemd_requires}
+%define have_systemd 1
+Requires(pre): /usr/sbin/groupadd
+Url: http://www.cups.org/
+Summary: The Common UNIX Printing System
+License: GPL-2.0+ ; LGPL-2.1+
+Group: Hardware/Printing
+# Source0...Source9 is for sources from upstream:
+# URL for Source0: http://ftp.easysw.com/pub/cups/1.5.3/cups-1.5.3-source.tar.bz2
+# MD5 sum for Source0 on http://www.cups.org/software.php e1ad15257aa6f162414ea3beae0c5df8
+Version: 1.5.3
+Release: 0
+Source0: cups-%{version}-source.tar.bz2
+# Require the exact matching version-release of the cups-libs sub-package because
+# non-matching CUPS libraries may let CUPS software crash (e.g. segfault)
+# because all CUPS software is built from the one same CUPS source tar ball
+# so that there are CUPS-internal dependencies via CUPS private API calls
+# (which do not happen for third-party software which uses only the CUPS public API).
+# The exact matching version-release of the cups-libs sub-package is available
+# on the same package repository where the cups package is because
+# all are built simulaneously from the same cups source package
+# and all required packages are provided on the same repository:
+Requires: cups-libs = %{version}-%{release}
+Requires: cups-client = %{version}
+# Inherited RPM Requires from the past but I (jsmeix@suse.de) do not know the reason for it:
+Requires: util-linux
+Source102: postscript.ppd.bz2
+Source103: cups.sysconfig
+Source105: PSLEVEL1.PPD.bz2
+Source106: PSLEVEL2.PPD.bz2
+Source108: cups-client.conf
+Source109: baselibs.conf
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+Requires: /usr/bin/pdftops
+%systemd_requires
+
+%description
+The Common UNIX Printing System (CUPS) is the
+standards-based, open source printing system.
+
+See http://www.cups.org
+
+
+%package libs
+Summary: Libraries for CUPS
+License: GPL-2.0+ ; LGPL-2.1+
+Group: Hardware/Printing
+
+%description libs
+The Common UNIX Printing System (CUPS) is the
+standards-based, open source printing system.
+
+See http://www.cups.org
+
+This package contains libraries needed by CUPS
+and other packages.
+
+
+%package client
+Summary: CUPS Client Programs
+License: GPL-2.0+
+Group: Hardware/Printing
+Requires: cups-libs = %{version}-%{release}
+
+%description client
+The Common UNIX Printing System (CUPS) is the
+standards-based, open source printing system.
+
+See http://www.cups.org
+
+This package contains all programs needed
+for running a CUPS client, not a server.
+
+
+%package devel
+Summary: Development Environment for CUPS
+License: GPL-2.0+
+Group: Development/Libraries/C and C++
+# Do not require the exact matching version-release of cups-libs
+# but only a cups-libs package with matching version because
+# for building third-party software which uses only the CUPS public API
+# there are no CUPS-internal dependencies via CUPS private API calls
+# (the latter would require the exact matching cups-libs version-release):
+Requires: cups-libs = %{version}
+Requires: libjpeg-devel
+Requires: libpng-devel
+Requires: libtiff-devel
+Requires: libopenssl-devel
+Requires: pam-devel
+Requires: zlib-devel
+Requires: systemd-devel
+Requires: glibc-devel
+
+%description devel
+The Common UNIX Printing System (CUPS) is the
+standards-based, open source printing system.
+
+See http://www.cups.org
+
+This is the development package.
+
+
+%package ddk
+Summary: CUPS Driver Development Kit
+License: GPL-2.0+
+Group: Hardware/Printing
+Requires: cups = %{version}
+Requires: cups-devel = %{version}
+# Since CUPS 1.4 the CUPS Driver Development Kit (DDK) is bundled with CUPS.
+# For CUPS 1.2.x and 1.3.x, the DDK was separated software
+# which we provided (up to openSUSE 11.1 / SLE11) in our cupsddk package:
+Provides: cupsddk = %{version}
+Obsoletes: cupsddk < %{version}
+
+%description ddk
+The Common UNIX Printing System (CUPS) is the
+standards-based, open source printing system.
+
+See http://www.cups.org
+
+The CUPS Driver Development Kit (DDK) provides
+a suite of standard drivers, a PPD file compiler,
+and other utilities that can be used to develop
+printer drivers for CUPS.
+
+
+%prep
+# Be quiet when unpacking:
+%setup -q -n cups-%{version}
+
+%build
+# Disable SILENT run of make so that make runs verbose as usual:
+sed -i -e 's/^\.SILENT:/# .SILENT:/' Makedefs.in
+libtoolize --force
+aclocal
+autoconf
+export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -O2 -fstack-protector"
+export CFLAGS="$RPM_OPT_FLAGS -fstack-protector -DLDAP_DEPRECATED"
+export CXX=g++
+# As long as cups-1.4.3-default-webcontent-path.patch is applied
+# configure --with-docdir=... would be no longer needed
+# because cups-1.4.3-default-webcontent-path.patch changes the
+# default with-docdir path whereto the web content is installed
+# from /usr/share/doc/cups to /usr/share/cups/webcontent because the
+# files of the CUPS web content are no documentation, see CUPS STR #3578
+# and http://bugzilla.novell.com/show_bug.cgi?id=546023#c6 and subsequent comments
+# so that the new default could be used as is but upstream may accept
+# cups-1.4.3-default-webcontent-path.patch in general but change its default
+# so that with-docdir is explicitly set here to be future proof:
+./configure \
+ --mandir=%{_mandir} \
+ --sysconfdir=%{_sysconfdir} \
+ --libdir=%{_libdir} \
+ --datadir=%{_datadir} \
+ --with-docdir=%{_datadir}/cups/webcontent \
+ --with-cups-user=lp \
+ --with-cups-group=lp \
+ --enable-debug \
+ --enable-relro \
+ --enable-gssapi \
+ --disable-static \
+ --without-rcdir \
+ --enable-dbus \
+ --enable-ldap \
+ --with-java \
+ --with-php \
+ --with-python \
+ --with-cachedir=/var/cache/cups \
+ --with-pdftops=/usr/bin/pdftops \
+%if 0%{?have_systemd}
+ --with-systemdsystemunitdir=%{_unitdir} \
+%endif
+ --prefix=/
+make %{?_smp_mflags} CXX=g++
+
+%install
+make BUILDROOT=$RPM_BUILD_ROOT install
+# Use Ghostscript fonts instead of CUPS fonts:
+rm -r $RPM_BUILD_ROOT/usr/share/cups/fonts
+mkdir -p $RPM_BUILD_ROOT/usr/share/ghostscript/fonts
+ln -sf /usr/share/ghostscript/fonts $RPM_BUILD_ROOT/usr/share/cups/
+# Make directory for ssl files:
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/cups/ssl
+# Add a client.conf as template (Source108: cups-client.conf):
+install -m644 %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/cups/client.conf
+# Make the libraries accessible also via generic named links:
+ln -sf libcupsimage.so.2 $RPM_BUILD_ROOT%{_libdir}/libcupsimage.so
+ln -sf libcups.so.2 $RPM_BUILD_ROOT%{_libdir}/libcups.so
+# Add missing usual directories:
+install -d -m755 $RPM_BUILD_ROOT%{_datadir}/cups/drivers
+install -d -m755 $RPM_BUILD_ROOT/var/cache/cups
+# Add conf/pam.tizen regarding support for PAM (see Patch100: cups-pam.diff):
+install -m 644 -D conf/pam.tizen $RPM_BUILD_ROOT/etc/pam.d/cups
+# Add missing usual documentation:
+install -d -m755 $RPM_BUILD_ROOT/%{_defaultdocdir}/cups
+for f in CHANGES*.txt CREDITS.txt INSTALL.txt LICENSE.txt README.txt
+do install -m 644 "$f" $RPM_BUILD_ROOT%{_defaultdocdir}/cups/
+done
+# Source102: postscript.ppd.bz2
+bzip2 -cd < %{SOURCE102} > $RPM_BUILD_ROOT%{_datadir}/cups/model/Postscript.ppd
+# Source105: PSLEVEL1.PPD.bz2
+bzip2 -cd < %{SOURCE105} > $RPM_BUILD_ROOT%{_datadir}/cups/model/Postscript-level1.ppd
+# Source106: PSLEVEL2.PPD.bz2
+bzip2 -cd < %{SOURCE106} > $RPM_BUILD_ROOT%{_datadir}/cups/model/Postscript-level2.ppd
+find %{buildroot}/usr/share/cups/model -name "*.ppd" | while read FILE
+do # Change default paper size from Letter to A4 if possible
+ # https://bugzilla.novell.com/show_bug.cgi?id=suse30662
+ # and delete trailing whitespace:
+ perl -pi -e 's:^(\*Default.*)Letter\s*$:$1A4\n:; \
+ s:^(\*ImageableArea A4.*\:\s+)"0 0 595 842":$1"24 48 571 818":; \
+ s:^(\*ImageableArea Letter.*\:\s+)"0 0 612 792":$1"24 48 588 768":; \
+ s:\s\n:\n:' "$FILE"
+ gzip -9 "$FILE"
+done
+# Add files for desktop menu:
+rm -f $RPM_BUILD_ROOT/usr/share/applications/cups.desktop
+%tizen_update_desktop_file -i cups PrintingUtility 2>/dev/null
+mkdir $RPM_BUILD_ROOT/usr/share/pixmaps
+install -m 644 $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/cups.png $RPM_BUILD_ROOT/usr/share/pixmaps
+rm -rf $RPM_BUILD_ROOT/usr/share/icons
+# Remove unpackaged files:
+rm -rf $RPM_BUILD_ROOT/%{_mandir}/es/cat?
+rm -rf $RPM_BUILD_ROOT/%{_mandir}/fr/cat?
+rm -rf $RPM_BUILD_ROOT/%{_mandir}/cat?
+# Norwegian is "nb", "zh" is probablyx "zh_CN"
+mv $RPM_BUILD_ROOT/usr/share/locale/{no,nb}
+mv $RPM_BUILD_ROOT/usr/share/locale/{zh,zh_CN}
+
+rm -rf %{buildroot}/etc/xinetd.d
+
+# Run fdupes:
+%fdupes $RPM_BUILD_ROOT
+
+%pre
+/usr/sbin/groupadd -g 71 -o -r ntadmin 2>/dev/null || :
+
+%post
+%systemd_post cups.service cups.socket cups.path
+
+%preun
+%systemd_preun cups.service cups.socket cups.path
+
+%postun
+%systemd_postun cups.service cups.socket cups.path
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+%files
+# The files sections list all mandatory files explicitly one by one.
+# In particular all executables are listed explicitly.
+# This avoids that CUPS' configure magic might silently
+# not build and install an executable when whatever condition
+# for configure's automated tests is not fulfilled in the build system.
+# See https://bugzilla.novell.com/show_bug.cgi?id=526847#c9
+# (In CUPS 1.3.10 a configure magic did silently skip to build
+# the pdftops filter when there was no /usr/bin/pdftops
+# installed in the build system regardless of an explicite
+# configure setting '--with-pdftops=/usr/bin/pdftops',
+# see also http://www.cups.org/str.php?L3278).
+# When all mandatory files are explicitly listed,
+# the build fails intentionally if a mandatory file was not built
+# which ensures that already existing correctly built binary RPMs
+# are not overwritten by broken RPMs where mandatory files are missing.
+%defattr(-,root,root)
+%config(noreplace) %attr(640,root,lp) %{_sysconfdir}/cups/cupsd.conf
+%{_sysconfdir}/cups/cupsd.conf.default
+%config(noreplace) %attr(640,root,lp) %{_sysconfdir}/cups/snmp.conf
+%config(noreplace) %attr(755,lp,lp) %{_sysconfdir}/cups/interfaces
+%config %{_sysconfdir}/pam.d/cups
+%config %{_sysconfdir}/dbus-1/system.d/cups.conf
+%dir %attr(700,root,lp) %{_sysconfdir}/cups/ssl
+%dir %attr(755,root,lp) %{_sysconfdir}/cups/ppd
+%{_bindir}/cupstestppd
+%{_sbindir}/cupsaddsmb
+%{_sbindir}/cupsctl
+%{_sbindir}/cupsd
+%{_sbindir}/cupsfilter
+%dir /usr/lib/cups
+%dir /usr/lib/cups/backend
+/usr/lib/cups/backend/http
+/usr/lib/cups/backend/https
+/usr/lib/cups/backend/ipp
+/usr/lib/cups/backend/ipps
+/usr/lib/cups/backend/lpd
+/usr/lib/cups/backend/parallel
+/usr/lib/cups/backend/serial
+/usr/lib/cups/backend/snmp
+/usr/lib/cups/backend/socket
+/usr/lib/cups/backend/usb
+%dir /usr/lib/cups/cgi-bin
+/usr/lib/cups/cgi-bin/admin.cgi
+/usr/lib/cups/cgi-bin/classes.cgi
+/usr/lib/cups/cgi-bin/help.cgi
+/usr/lib/cups/cgi-bin/jobs.cgi
+/usr/lib/cups/cgi-bin/printers.cgi
+%dir /usr/lib/cups/daemon
+/usr/lib/cups/daemon/cups-deviced
+/usr/lib/cups/daemon/cups-driverd
+/usr/lib/cups/daemon/cups-exec
+/usr/lib/cups/daemon/cups-lpd
+/usr/lib/cups/daemon/cups-polld
+%dir /usr/lib/cups/driver
+%dir /usr/lib/cups/filter
+/usr/lib/cups/filter/bannertops
+/usr/lib/cups/filter/commandtoescpx
+/usr/lib/cups/filter/commandtopclx
+/usr/lib/cups/filter/commandtops
+/usr/lib/cups/filter/gziptoany
+/usr/lib/cups/filter/imagetops
+/usr/lib/cups/filter/imagetoraster
+/usr/lib/cups/filter/pdftops
+/usr/lib/cups/filter/pstops
+/usr/lib/cups/filter/rastertodymo
+/usr/lib/cups/filter/rastertoepson
+/usr/lib/cups/filter/rastertoescpx
+/usr/lib/cups/filter/rastertohp
+/usr/lib/cups/filter/rastertolabel
+/usr/lib/cups/filter/rastertopclx
+/usr/lib/cups/filter/rastertopwg
+/usr/lib/cups/filter/texttops
+%dir /usr/lib/cups/monitor
+/usr/lib/cups/monitor/bcp
+/usr/lib/cups/monitor/tbcp
+%dir /usr/lib/cups/notifier
+/usr/lib/cups/notifier/dbus
+/usr/lib/cups/notifier/mailto
+/usr/lib/cups/notifier/rss
+%dir %attr(0775,root,ntadmin) %{_datadir}/cups/drivers
+%{_datadir}/applications/cups.desktop
+%{_datadir}/pixmaps/cups.png
+%doc %{_defaultdocdir}/cups
+%doc %{_mandir}/man1/cupstestppd.1.gz
+%doc %{_mandir}/man5/classes.conf.5.gz
+%doc %{_mandir}/man5/client.conf.5.gz
+%doc %{_mandir}/man5/cups-snmp.conf.5.gz
+%doc %{_mandir}/man5/cupsd.conf.5.gz
+%doc %{_mandir}/man5/mailto.conf.5.gz
+%doc %{_mandir}/man5/mime.convs.5.gz
+%doc %{_mandir}/man5/mime.types.5.gz
+%doc %{_mandir}/man5/printers.conf.5.gz
+%doc %{_mandir}/man5/subscriptions.conf.5.gz
+%doc %{_mandir}/man7/backend.7.gz
+%doc %{_mandir}/man7/filter.7.gz
+%doc %{_mandir}/man7/notifier.7.gz
+%doc %{_mandir}/man8/cups-deviced.8.gz
+%doc %{_mandir}/man8/cups-driverd.8.gz
+%doc %{_mandir}/man8/cups-lpd.8.gz
+%doc %{_mandir}/man8/cups-polld.8.gz
+%doc %{_mandir}/man8/cupsaddsmb.8.gz
+%doc %{_mandir}/man8/cupsctl.8.gz
+%doc %{_mandir}/man8/cupsd.8.gz
+%doc %{_mandir}/man8/cupsfilter.8.gz
+%{_datadir}/cups/
+%exclude %{_datadir}/cups/ppdc/
+%if 0%{?have_systemd}
+%{_unitdir}/cups.path
+%{_unitdir}/cups.service
+%{_unitdir}/cups.socket
+%endif
+
+%files client
+# Set explicite owner, group, and permissions for lppasswd
+# to enforce to have the upstream owner, group, and permissions in the RPM
+# because otherwise our build magic /usr/sbin/Check sets them to lp:lp 2755
+# according to /etc/permissions.secure in the build system,
+# see https://bugzilla.novell.com/show_bug.cgi?id=574336#c12
+# and subsequent comments up to comment #17 therein.
+# Even if /etc/permissions.secure in the openSUSE:Factory build system might be
+# already fixed, it must also work for build systems for released products.
+%defattr(-,root,root)
+%{_bindir}/cancel
+%{_bindir}/cupstestdsc
+%{_bindir}/ipptool
+%{_bindir}/lp
+%{_bindir}/lpoptions
+%attr(0555,root,root) %{_bindir}/lppasswd
+%{_bindir}/lpq
+%{_bindir}/lpr
+%{_bindir}/lprm
+%{_bindir}/lpstat
+%{_sbindir}/accept
+%{_sbindir}/cupsaccept
+%{_sbindir}/cupsdisable
+%{_sbindir}/cupsenable
+%{_sbindir}/cupsreject
+%{_sbindir}/lpadmin
+%{_sbindir}/lpc
+%{_sbindir}/lpinfo
+%{_sbindir}/lpmove
+%{_sbindir}/reject
+%doc %{_mandir}/man1/cancel.1.gz
+%doc %{_mandir}/man1/cupstestdsc.1.gz
+%doc %{_mandir}/man1/ipptool.1.gz
+%doc %{_mandir}/man1/lp.1.gz
+%doc %{_mandir}/man1/lpoptions.1.gz
+%doc %{_mandir}/man1/lppasswd.1.gz
+%doc %{_mandir}/man1/lpq.1.gz
+%doc %{_mandir}/man1/lpr.1.gz
+%doc %{_mandir}/man1/lprm.1.gz
+%doc %{_mandir}/man1/lpstat.1.gz
+%doc %{_mandir}/man5/ipptoolfile.5.gz
+%doc %{_mandir}/man8/accept.8.gz
+%doc %{_mandir}/man8/cupsaccept.8.gz
+%doc %{_mandir}/man8/cupsdisable.8.gz
+%doc %{_mandir}/man8/cupsenable.8.gz
+%doc %{_mandir}/man8/cupsreject.8.gz
+%doc %{_mandir}/man8/lpadmin.8.gz
+%doc %{_mandir}/man8/lpc.8.gz
+%doc %{_mandir}/man8/lpinfo.8.gz
+%doc %{_mandir}/man8/lpmove.8.gz
+%doc %{_mandir}/man8/reject.8.gz
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/cups/
+%{_libdir}/libcups.so
+%{_libdir}/libcupsimage.so
+%{_libdir}/libcupscgi.so
+%{_libdir}/libcupsdriver.so
+%{_libdir}/libcupsmime.so
+%{_libdir}/libcupsppdc.so
+%{_datadir}/cups/ppdc/
+
+%files ddk
+%defattr(-,root,root)
+%{_bindir}/ppdc
+%{_bindir}/ppdhtml
+%{_bindir}/ppdi
+%{_bindir}/ppdmerge
+%{_bindir}/ppdpo
+%doc %{_mandir}/man1/ppdc.1.gz
+%doc %{_mandir}/man1/ppdhtml.1.gz
+%doc %{_mandir}/man1/ppdi.1.gz
+%doc %{_mandir}/man1/ppdmerge.1.gz
+%doc %{_mandir}/man1/ppdpo.1.gz
+%doc %{_mandir}/man5/ppdcfile.5.gz
+
+%files libs
+%defattr(-,root,root)
+%config(noreplace) %{_sysconfdir}/cups/client.conf
+%dir %attr(0710,root,lp) %{_var}/spool/cups
+%dir %attr(1770,root,lp) %{_var}/spool/cups/tmp
+%dir %attr(0755,lp,lp) %{_var}/log/cups/
+%dir %attr(0775,lp,lp) %{_var}/cache/cups
+%{_bindir}/cups-config
+%{_libdir}/libcups.so.*
+%{_libdir}/libcupscgi.so.*
+%{_libdir}/libcupsdriver.so.*
+%{_libdir}/libcupsimage.so.*
+%{_libdir}/libcupsmime.so.*
+%{_libdir}/libcupsppdc.so.*
+%{_datadir}/locale/*/cups_*
+%doc %{_mandir}/man1/cups-config.1.gz
+
+%changelog
--- /dev/null
+Name: curl
+Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
+Version: 7.21.3
+Release: 0
+Group: Applications/Internet
+License: MIT
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(libidn)
+BuildRequires: pkgconfig(nss)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(libcares)
+Provides: webclient
+
+
+%description
+cURL is a tool for getting files from HTTP, FTP, FILE, LDAP, LDAPS,
+DICT, TELNET and TFTP servers, using any of the supported protocols.
+cURL is designed to work without user interaction or any kind of
+interactivity. cURL offers many useful capabilities, like proxy support,
+user authentication, FTP upload, HTTP post, and file transfer resume.
+
+
+
+%package -n libcurl
+Summary: A library for getting files from web servers
+Group: System/Libraries
+
+%description -n libcurl
+This package provides a way for applications to use FTP, HTTP, Gopher and
+other servers for getting files.
+
+
+%package -n libcurl-devel
+Summary: Files needed for building applications with libcurl
+Group: Development/Libraries
+Requires: libcurl = %{version}-%{release}
+Requires: libidn-devel
+Provides: curl-devel = %{version}-%{release}
+Obsoletes: curl-devel < %{version}-%{release}
+
+%description -n libcurl-devel
+cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and
+Dict servers, using any of the supported protocols. The libcurl-devel
+package includes files needed for developing applications which can
+use cURL's capabilities internally.
+
+
+
+%prep
+%setup -q
+
+
+%build
+
+export CPPFLAGS="$(pkg-config --cflags nss) -DHAVE_PK11_CREATEGENERICOBJECT"
+
+%reconfigure --without-nss --without-gnutls --with-openssl --disable-ipv6 \
+--with-ca-path=/etc/ssl/certs \
+--with-libidn \
+--with-lber-lib=lber \
+--enable-manual --enable-versioned-symbols --enable-ares --enable-debug --enable-curldebug \
+--disable-static
+
+#--with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt
+
+sed -i -e 's,-L/usr/lib ,,g;s,-L/usr/lib64 ,,g;s,-L/usr/lib$,,g;s,-L/usr/lib64$,,g' \
+Makefile libcurl.pc
+# Remove bogus rpath
+sed -i \
+-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
+-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+
+rm -rf $RPM_BUILD_ROOT
+
+make DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" install
+
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
+install -d $RPM_BUILD_ROOT/%{_datadir}/aclocal
+install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT/%{_datadir}/aclocal
+
+
+# don't need curl's copy of the certs; use openssl's
+find ${RPM_BUILD_ROOT} -name ca-bundle.crt -exec rm -f '{}' \;
+rm -rf ${RPM_BUILD_ROOT}/usr/share/man
+
+%post -n libcurl -p /sbin/ldconfig
+
+%postun -n libcurl -p /sbin/ldconfig
+
+%files
+%license COPYING
+%{_bindir}/curl
+
+%files -n libcurl
+%{_libdir}/libcurl.so.*
+
+%files -n libcurl-devel
+%{_bindir}/curl-config*
+%{_includedir}/curl
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_datadir}/aclocal/libcurl.m4
+
+
--- /dev/null
+#
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22
+#
+# >> macros
+# << macros
+
+Name: dleyna
+Summary: dLeyna hosts a number of DLNA middleware components
+Version: 0.2.0
+Release: 0
+Group: System/Libraries
+License: LGPLv2+
+URL: https://01.org/dleyna/
+Source0: %{name}-%{version}.tar.gz
+Requires: dbus
+Requires: libsoup
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(gupnp-1.0)
+BuildRequires: pkgconfig(gssdp-1.0)
+BuildRequires: pkgconfig(gupnp-av-1.0)
+BuildRequires: pkgconfig(gupnp-dlna-2.0)
+BuildRequires: pkgconfig(libsoup-2.4)
+
+
+%description
+dLeyna is a suite of middleware components designed to simplify
+the task of writing DLNA enabled applications.
+These components can be used to implement Digital Media Players,
+Digital Media Controllers, and to easily integrate
+two-box push into applications.
+
+
+%package devel
+Summary: Development package for dleyna
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development files for dleyna.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+%configure --enable-master-build --disable-static --enable-debug --disable-never-quit --with-log-level=8 --with-log-type=1
+
+make %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+# << install post
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%doc AUTHORS COPYING
+%{_libexecdir}/dleyna-server-service
+%{_libexecdir}/dleyna-renderer-service
+%{_libdir}/libdleyna-core-1.0.so.*
+%{_libdir}/libdleyna-server-1.0.so.*
+%{_libdir}/libdleyna-renderer-1.0.so.*
+%{_libdir}/dleyna-1.0/connectors/libdleyna-connector-dbus.so
+%{_sysconfdir}/dleyna-server-service.conf
+%{_sysconfdir}/dleyna-renderer-service.conf
+%{_prefix}/share/dbus-1/services/*
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+%{_includedir}/dleyna-1.0/libdleyna
+%{_libdir}/libdleyna-core-1.0.so
+%{_libdir}/libdleyna-server-1.0.so
+%{_libdir}/libdleyna-renderer-1.0.so
+%{_libdir}/pkgconfig/dleyna-connector-dbus-1.0.pc
+%{_libdir}/pkgconfig/dleyna-core-1.0.pc
+%{_libdir}/pkgconfig/dleyna-server-1.0.pc
+%{_libdir}/pkgconfig/dleyna-renderer-1.0.pc
+%{_libdir}/pkgconfig/dleyna-server-service-1.0.pc
+%{_libdir}/pkgconfig/dleyna-renderer-service-1.0.pc
+# << files devel
+
+
--- /dev/null
+Name: damageproto
+Version: 1.2.1
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: dash
+Version: 0.5.7
+Release: 4
+Summary: Small and fast POSIX-compliant shell
+Group: System/Shells
+License: BSD and GPLv2+
+URL: http://gondor.apana.org.au/~herbert/dash/
+Source0: http://gondor.apana.org.au/~herbert/dash/files/dash-%{version}.tar.gz
+
+%description
+DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as
+possible. It does this without sacrificing speed where possible. In fact, it is
+significantly faster than bash (the GNU Bourne-Again SHell) for most tasks.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+mkdir -p %{buildroot}/bin
+mv %{buildroot}%{_bindir}/dash %{buildroot}/bin/
+rm -rf %{buildroot}%{_bindir}/
+
+%post
+grep -q '^/bin/dash$' /etc/shells || echo '/bin/dash' >> /etc/shells
+
+%postun
+if [ $1 -eq 0 ]; then
+ sed -i '/^\/bin\/dash$/d' /etc/shells
+fi
+
+%files
+%doc COPYING
+/bin/dash
+%{_datadir}/man/man1/dash.1.gz
+
--- /dev/null
+Name: data-provider-master
+Summary: Master service provider for liveboxes
+Version: 0.23.2
+Release: 1
+Group: HomeTF/Livebox
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake, gettext-tools, smack, coreutils
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(ecore-evas)
+BuildRequires: pkgconfig(com-core)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(libdri2)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(libtbm)
+BuildRequires: pkgconfig(xfixes)
+BuildRequires: pkgconfig(dri2proto)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xdamage)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(livebox-service)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(badge)
+
+%description
+Manage the 2nd stage livebox service provider and communicate with the viewer application.
+Keep trace on the life-cycle of the livebox and status of the service providers, viewer applications.
+
+%prep
+%setup -q
+
+%build
+%cmake . -DPRODUCT=private
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/%{_datarootdir}/license
+mkdir -p %{buildroot}/opt/usr/share/live_magazine
+mkdir -p %{buildroot}/opt/usr/share/live_magazine/log
+mkdir -p %{buildroot}/opt/usr/share/live_magazine/reader
+mkdir -p %{buildroot}/opt/usr/share/live_magazine/always
+mkdir -p %{buildroot}/opt/dbspace
+mkdir -p %{buildroot}/%{_sysconfdir}/rc.d/rc3.d
+mkdir -p %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants
+touch %{buildroot}/opt/dbspace/.livebox.db
+touch %{buildroot}/opt/dbspace/.livebox.db-journal
+ln -sf %{_sysconfdir}/rc.d/init.d/data-provider-master %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/S99data-provider-master
+ln -sf %{_unitdir_user}/data-provider-master.service %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants/data-provider-master.service
+
+%pre
+# Executing the stop script for stopping the service of installed provider (old version)
+if [ -x %{_sysconfdir}/rc.d/init.d/data-provider-master ]; then
+ %{_sysconfdir}/rc.d/init.d/data-provider-master stop
+fi
+
+%post
+chown 5000:5000 /opt/usr/share/live_magazine
+chmod 750 /opt/usr/share/live_magazine
+chown 5000:5000 /opt/usr/share/live_magazine/log
+chmod 750 /opt/usr/share/live_magazine/log
+chown 5000:5000 /opt/usr/share/live_magazine/reader
+chmod 750 /opt/usr/share/live_magazine/reader
+chown 5000:5000 /opt/usr/share/live_magazine/always
+chmod 750 /opt/usr/share/live_magazine/always
+chown 0:5000 /opt/dbspace/.livebox.db
+chmod 640 /opt/dbspace/.livebox.db
+chown 0:5000 /opt/dbspace/.livebox.db-journal
+chmod 640 /opt/dbspace/.livebox.db-journal
+vconftool set -t bool "memory/data-provider-master/started" 0 -i -u 5000 -f -s system::vconf_system
+echo "Successfully installed. Please start a daemon again manually"
+echo "%{_sysconfdir}/init.d/data-provider-master start"
+
+%files -n data-provider-master
+%manifest data-provider-master.manifest
+%defattr(-,root,root,-)
+%{_sysconfdir}/rc.d/init.d/data-provider-master
+%{_sysconfdir}/rc.d/rc3.d/S99data-provider-master
+%{_bindir}/data-provider-master
+%{_bindir}/liveinfo
+%{_prefix}/etc/package-manager/parserlib/*
+%{_datarootdir}/data-provider-master/*
+%{_unitdir_user}/data-provider-master.service
+%{_unitdir_user}/tizen-middleware.target.wants/data-provider-master.service
+%{_datarootdir}/license/*
+/opt/usr/share/live_magazine
+/opt/usr/share/live_magazine/log
+/opt/usr/share/live_magazine/reader
+/opt/usr/share/live_magazine/always
+/opt/dbspace/.livebox.db
+/opt/dbspace/.livebox.db-journal
+
+# End of a file
--- /dev/null
+%define app_data /opt/usr/apps/org.tizen.data-provider-slave/data
+
+Name: org.tizen.data-provider-slave
+Summary: Plugin type livebox service provider.
+Version: 0.11.2
+Release: 1
+Group: HomeTF/Livebox
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake, gettext-tools, coreutils, edje-bin
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(provider)
+BuildRequires: pkgconfig(heap-monitor)
+BuildRequires: pkgconfig(livebox-service)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(livebox)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(com-core)
+BuildRequires: pkgconfig(shortcut)
+BuildRequires: pkgconfig(capi-system-system-settings)
+Requires: data-provider-master
+
+%description
+Plugin type liveboxes are managed by this.
+Supporting the EFL.
+Supporting the In-house livebox only.
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+#-fpie LDFLAGS="${LDFLAGS} -pie -O3"
+CFLAGS="${CFLAGS} -Wall -Winline -fno-builtin-malloc" make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/%{_datarootdir}/license
+mkdir -p %{buildroot}%{app_data}
+
+%post
+chown 5000:5000 %{app_data}
+chmod 755 %{app_data}
+
+%files -n org.tizen.data-provider-slave
+%manifest org.tizen.data-provider-slave.manifest
+%defattr(-,root,root,-)
+%{_prefix}/apps/org.tizen.data-provider-slave/bin/data-provider-slave
+%{_prefix}/apps/org.tizen.data-provider-slave/bin/icon-provider-slave
+%{_prefix}/apps/org.tizen.data-provider-slave/res/edje/icon.edj
+%{_datarootdir}/packages/org.tizen.data-provider-slave.xml
+%{_datarootdir}/license/*
+%{_sysconfdir}/smack/accesses.d/org.tizen.data-provider-slave.rule
+%dir %{app_data}
+
+# End of a file
--- /dev/null
+Name: data-router
+Summary: Data Router
+Version: 0.2.17
+Release: 1
+Group: Connectivity/Service
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(tapi)
+Requires(post): /usr/bin/vconftool
+
+%description
+Working as a Router for USB communication
+For USB serial communication, reads/writes usb node and routes them to Socket client application.
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post
+/usr/bin/vconftool set -t int memory/data_router/osp_serial_open "0" -u 0 -i -f
+
+
+%files
+%manifest data-router.manifest
+%defattr(-, root, root)
+%license LICENSE
+/usr/bin/data-router
--- /dev/null
+%define generic_name db
+%define docdir %{_defaultdocdir}/%{name}
+%define major 4
+%define minor 8
+
+Name: db4
+Version: %{major}.%{minor}.30.NC
+Release: 0
+Summary: Berkeley DB Database Library Version 4.8
+License: BSD-3-Clause
+Group: System/Libraries
+Url: http://www.sleepycat.com
+Source: db-%{version}.tar.gz
+Source1: %{name}.changes
+Source9: getpatches
+BuildRequires: autoconf
+BuildRequires: fdupes
+BuildRequires: gcc-c++
+Provides: db = %{version}
+
+%description
+The Berkeley DB Database is a programmatic toolkit that provides
+database support for applications.
+
+This package contains the necessary runtime libraries.
+
+%package utils
+Summary: Command Line tools for Managing Berkeley DB Databases
+Group: Productivity/Databases/Tools
+
+%description utils
+The Berkeley DB Database is a programmatic toolkit that provides
+database support for applications.
+
+This package contains the command line tools for managing Berkeley DB
+databases.
+
+%package doc
+Summary: Documentation for Berkeley DB
+Group: Development/Libraries/C and C++
+BuildArch: noarch
+
+%description doc
+The Berkeley DB Database is a programmatic toolkit that provides
+database support for applications.
+
+This package contains the documentation.
+
+%package devel
+Summary: Development Files and Libraries for the Berkeley DB library Version 4.8
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+Requires: glibc-devel
+
+%description devel
+The Berkeley DB Database is a programmatic toolkit that provides
+database support for applications.
+
+This package contains the header files and libraries.
+
+%prep
+%setup -q -n %{generic_name}-%{version}
+cd ..
+tar -jcf %{generic_name}-%{version}.tar.bz2 %{generic_name}-%{version}
+
+%build
+cd dist
+# dist/RELEASE codes the build date into the binary.
+# Use last change of changes file instead
+LAST_MOD=`stat --format="%Y" %SOURCE1`
+DIST_DATE=`date '+%B %e, %Y' --date="@$LAST_MOD"`
+sed -i -e "s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\"$DIST_DATE\"/" RELEASE
+./s_config
+CFLAGS="%{optflags} -fno-strict-aliasing"
+CC=gcc
+export CFLAGS CXXFLAGS CC
+#
+# Build now the NPTL version
+#
+mkdir ../build_nptl
+cd ../build_nptl
+../dist/configure --prefix=%{_prefix} \
+ --libdir=%{_libdir} --enable-compat185 --disable-dump185 \
+ --enable-shared --disable-static --enable-cxx \
+ --with-mutex="POSIX/pthreads/library" \
+%ifarch %arm
+ %{_target_cpu}-suse-linux-gnueabi
+%else
+ %{_target_cpu}-suse-linux
+%endif
+# Make sure O_DIRECT is really disabled (build host could have old kernel)
+perl -pi -e 's/#define HAVE_O_DIRECT 1/#undef HAVE_O_DIRECT/' db_config.h
+# Remove libtool predep_objects and postdep_objects wonkiness
+perl -pi -e 's/^predep_objects=".*$/predep_objects=""/' libtool
+perl -pi -e 's/^postdep_objects=".*$/postdep_objects=""/' libtool
+perl -pi -e 's/-shared -nostdlib/-shared/' libtool
+
+make %{?_smp_mflags} LIBSO_LIBS='$(LIBS)' LIBXSO_LIBS='$(LIBS)'" -L%{_libdir} -lstdc++"
+
+%install
+mkdir -p %{buildroot}%{_includedir}/db4
+CONFIG_ARGS=$(find . -name "config.log" -exec grep "\$ \.\./dist\/configure" {} \; | sed 's/.*configure\( --.*\)/\1/g')
+if [ -z "$CONFIG_ARGS" ]
+then
+ echo "could not find configure arguments ... exiting"
+ exit 42
+fi
+mkdir -p %{buildroot}%{_libdir}
+cd build_nptl
+make prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir} strip=true install
+cd ..
+# make ldd happy:
+chmod 755 %{buildroot}%{_libdir}/libdb*.so
+# Fix header file installation
+mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/db4
+echo "#include <db4/db.h>" > %{buildroot}%{_includedir}/db.h
+echo "#include <db4/db_185.h>" > %{buildroot}%{_includedir}/db_185.h
+echo "#include <db4/db_cxx.h>" > %{buildroot}%{_includedir}/db_cxx.h
+# remove dangling tags symlink from examples.
+rm -f examples_cxx/tags
+rm -f examples_c/tags
+# Move documentation to the right directory
+mkdir -p %{buildroot}%{docdir}
+mv %{buildroot}%{_prefix}/docs/* %{buildroot}/%{docdir}
+cp -a examples_cxx examples_c %{buildroot}/%{docdir}
+cp -a LICENSE README %{buildroot}/%{docdir}
+#
+# Remove api documentation for C++, Java and TCL
+rm -rf %{buildroot}/%{docdir}/csharp
+rm -rf %{buildroot}/%{docdir}/java
+rm -rf %{buildroot}/%{docdir}/api_reference/CXX
+rm -rf %{buildroot}/%{docdir}/api_reference/STL
+rm -rf %{buildroot}/%{docdir}/api_reference/TCL
+rm -rf %{buildroot}/%{docdir}/gsg*/CXX
+rm -rf %{buildroot}/%{docdir}/gsg*/JAVA
+mv %{buildroot}/%{docdir}/collections/tutorial %{buildroot}/%{docdir}/
+# Remove crappy *.la files
+rm -rf %{buildroot}%{_libdir}/*.la
+rm -rf %{buildroot}%{_libdir}/tls/*.la
+%fdupes %{buildroot}%{_libdir}
+%fdupes %{buildroot}%{docdir}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%{_libdir}/libdb-%{major}.%{minor}.so
+%{_libdir}/libdb_cxx-%{major}.%{minor}.so
+
+%files doc
+%defattr(-,root,root)
+%dir %{docdir}
+%doc %{docdir}/LICENSE
+%doc %{docdir}/README
+%doc %{docdir}/index.html
+%doc %{docdir}/license
+%doc %{docdir}/articles
+%doc %{docdir}/api_reference
+%doc %{docdir}/examples_c
+%doc %{docdir}/examples_cxx
+%doc %{docdir}/gsg*
+%doc %{docdir}/porting
+%doc %{docdir}/programmer_reference
+%doc %{docdir}/tutorial
+
+%files utils
+%defattr(-,root,root)
+%{_bindir}/db_archive
+%{_bindir}/db_checkpoint
+%{_bindir}/db_deadlock
+%{_bindir}/db_dump
+%{_bindir}/db_load
+%{_bindir}/db_printlog
+%{_bindir}/db_recover
+%{_bindir}/db_sql
+%{_bindir}/db_stat
+%{_bindir}/db_upgrade
+%{_bindir}/db_verify
+%{_bindir}/db_hotbackup
+
+%files devel
+%defattr(-,root,root)
+%dir %{_includedir}/db4
+%{_includedir}/db.h
+%{_includedir}/db_185.h
+%{_includedir}/db_cxx.h
+%{_includedir}/db4/db.h
+%{_includedir}/db4/db_185.h
+%{_includedir}/db4/db_cxx.h
+%{_libdir}/libdb.so
+%{_libdir}/libdb-%{major}.so
+%{_libdir}/libdb_cxx.so
+%{_libdir}/libdb_cxx-%{major}.so
+
+%changelog
--- /dev/null
+
+Name: dbus-glib
+Version: 0.100.2
+Release: 0
+License: AFL-2.1 or GPL-2.0
+Summary: GLib bindings for D-Bus
+Url: http://www.freedesktop.org/software/dbus/
+Group: System/Libraries
+Source0: http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-%{version}.tar.gz
+BuildRequires: autoconf
+BuildRequires: expat-devel
+BuildRequires: gettext-tools
+BuildRequires: libtool
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libxml-2.0)
+
+%description
+D-Bus add-on library to integrate the standard D-Bus library with
+the GLib thread abstraction and main loop.
+
+%package devel
+Summary: Libraries and headers for the D-Bus GLib bindings
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Headers and static libraries for the D-Bus GLib bindings
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-tests \
+ --enable-verbose-mode=yes \
+ --enable-asserts=yes \
+ --disable-gtk-doc
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+# don't care about bash completion in a consumer device
+rm -rf %{buildroot}%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
+rm -rf %{buildroot}%{_prefix}/libexec/dbus-bash-completion-helper
+
+%docs_package
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%{_libdir}/*glib*.so.*
+
+%files devel
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/dbus-glib-1.pc
+%{_includedir}/dbus-1.0/dbus/*
+%{_bindir}/dbus-binding-tool
+
--- /dev/null
+Name: dbus-python
+Version: 1.1.1
+Release: 0
+Summary: Python bindings for D-Bus
+License: MIT
+Group: Development/Libraries/Python
+Url: http://www.freedesktop.org/wiki/Software/DBusBindings/
+Source0: http://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz
+BuildRequires: fdupes
+BuildRequires: python-devel
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dbus-glib-1)
+Requires: libxml2-python
+Requires: python-xml
+Requires: dbus
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+D-Bus python bindings for use with python programs.
+
+%package devel
+Summary: Python bindings for D-Bus
+Group: Development/Libraries/Python
+Requires: dbus-python = %{version}
+Requires: dbus
+Requires: dbus-devel
+
+%description devel
+Developer files for Python bindings for D-Bus.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing -fPIC"
+%configure --docdir=%{_docdir}/dbus-python
+make %{?_smp_mflags}
+
+%install
+make DESTDIR=%{buildroot} install
+
+# Install additional docs
+
+
+%remove_docs
+%fdupes -s %{buildroot}
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{python_sitelib}/*
+%{python_sitearch}/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/dbus-1.0/dbus/dbus-python.h
+%{_libdir}/pkgconfig/dbus-python.pc
+
+%changelog
--- /dev/null
+%define dbus_user_uid 81
+
+Name: dbus
+Url: http://dbus.freedesktop.org/
+Summary: D-Bus Message Bus System
+License: GPL-2.0+ or AFL-2.1
+Group: Base/IPC
+# COMMON1-BEGIN
+
+# We can't enable this right now, because it will create a build cycle between
+# dbus-1 and systemd. Fun!
+%define with_systemd 0
+
+BuildRequires: doxygen
+BuildRequires: expat-devel
+BuildRequires: libtool
+BuildRequires: libxslt-tools
+BuildRequires: libzio
+BuildRequires: pkg-config
+BuildRequires: xmlto
+%if %{with_systemd}
+BuildRequires: pkgconfig(libsystemd-daemon)
+BuildRequires: pkgconfig(libsystemd-login)
+%endif
+Version: 1.6.12
+Release: 0
+Source0: http://dbus.freedesktop.org/releases/dbus/dbus-%{version}.tar.gz
+Source1: rc.boot.dbus
+Source3: dbus_at_console.ck
+Source4: baselibs.conf
+Source5: dbus-user.service
+Source6: dbus-user.socket
+BuildRequires: libcap-ng-devel
+# COMMON1-END
+Requires(pre): /usr/sbin/groupadd /usr/sbin/useradd
+
+Provides: dbus-1
+
+%package -n libdbus
+Summary: Library package for D-Bus
+Group: Base/IPC
+
+%package devel
+
+Summary: Developer package for D-Bus
+Group: Development/Libraries
+Requires: libdbus = %{version}
+Requires: dbus
+Requires: glibc-devel
+
+%package devel-doc
+
+Summary: Developer documentation package for D-Bus
+Group: Documentation
+Requires: %{name} = %{version}
+BuildArch: noarch
+
+%description
+D-Bus is a message bus system, a simple way for applications to talk to
+one another. D-Bus supplies both a system daemon and a
+per-user-login-session daemon. Also, the message bus is built on top of
+a general one-to-one message passing framework, which can be used by
+any two apps to communicate directly (without going through the message
+bus daemon).
+
+%description -n libdbus
+D-Bus is a message bus system, a simple way for applications to talk to
+one another. D-Bus supplies both a system daemon and a
+per-user-login-session daemon. Also, the message bus is built on top of
+a general one-to-one message passing framework, which can be used by
+any two apps to communicate directly (without going through the message
+bus daemon).
+
+%description devel
+D-Bus is a message bus system, a simple way for applications to talk to
+one another. D-Bus supplies both a system daemon and a
+per-user-login-session daemon. Also, the message bus is built on top of
+a general one-to-one message passing framework, which can be used by
+any two apps to communicate directly (without going through the message
+bus daemon).
+
+%description devel-doc
+D-Bus is a message bus system, a simple way for applications to talk to
+one another. D-BUS supplies both a system daemon and a
+per-user-login-session daemon. Also, the message bus is built on top of
+a general one-to-one message passing framework, which can be used by
+any two apps to communicate directly (without going through the message
+bus daemon).
+
+%prep
+# COMMON2-BEGIN
+%setup -n dbus-%{version} -q
+
+%build
+autoreconf -fi
+# We use -fpie/-pie for the whole build; this is the recommended way to harden
+# the build upstream, see discussion in fdo#46570
+export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -fPIC -fpie"
+export LDFLAGS="-pie"
+export CXXFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing"
+export CFLAGS="$CFLAGS -fstack-protector"
+export CXXFLAGS="$CXXFLAGS -fstack-protector"
+export V=1
+%configure \
+ --disable-static \
+ --with-pic \
+ --with-dbus-user=dbus \
+ --libexecdir=%{_libdir}/%{name} \
+ --libdir=%{_libdir} \
+ --with-init-scripts=suse \
+ --enable-inotify \
+ --enable-doxygen-docs \
+%if %{with_systemd}
+ --enable-systemd \
+%endif
+ --with-console-auth-dir=/var/run/dbus/at_console/ \
+ --with-systemdsystemunitdir=%{_unitdir}
+make %{?_smp_mflags}
+
+%install
+# COMMON2-END
+make DESTDIR=%{buildroot} install
+mkdir -p %{buildroot}/usr/sbin
+install -d %{buildroot}/%{_localstatedir}/run/dbus
+mkdir -p %{buildroot}/%{_libdir}/pkgconfig
+mkdir -p %{buildroot}/lib/dbus-1/system-services
+mkdir -p %{buildroot}/%{_datadir}/dbus-1/system-services
+mkdir -p %{buildroot}/%{_datadir}/dbus-1/interfaces
+rm -f %{buildroot}/%{_libdir}/*.la
+#
+rm -f %{buildroot}/%{_bindir}/dbus-launch
+rm -f %{buildroot}/%{_mandir}/man1/dbus-launch.1*
+chmod a-x AUTHORS COPYING HACKING NEWS README doc/*.txt doc/file-boilerplate.c doc/TODO
+#
+install -d %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d
+install -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d
+mkdir -p %{buildroot}%{_localstatedir}/lib/dbus
+touch %{buildroot}/%{_localstatedir}/lib/dbus/machine-id
+
+mkdir -p %{buildroot}%{_unitdir_user}
+install -m0644 %{SOURCE5} %{buildroot}%{_unitdir_user}/dbus.service
+install -m0644 %{SOURCE6} %{buildroot}%{_unitdir_user}/dbus.socket
+
+
+%pre
+# Add the "dbus" user and group
+/usr/sbin/groupadd -r -g %{dbus_user_uid} dbus 2>/dev/null || :
+/usr/sbin/useradd -c 'System message bus' -u %{dbus_user_uid} -g %{dbus_user_uid} \
+ -s /sbin/nologin -r -d '/' dbus 2> /dev/null || :
+
+%post -n libdbus -p /sbin/ldconfig
+
+%postun -n libdbus -p /sbin/ldconfig
+
+%docs_package
+
+%files
+%defattr(-, root, root)
+%dir %{_localstatedir}/lib/dbus
+%dir /lib/dbus-1
+%dir /lib/dbus-1/system-services
+%license COPYING
+%config(noreplace) %{_sysconfdir}/dbus-1/session.conf
+%config(noreplace) %{_sysconfdir}/dbus-1/system.conf
+%{_sysconfdir}/ConsoleKit
+%{_bindir}/dbus-cleanup-sockets
+%{_bindir}/dbus-daemon
+%{_bindir}/dbus-monitor
+%{_bindir}/dbus-send
+%{_bindir}/dbus-uuidgen
+# See doc/system-activation.txt in source tarball for the rationale
+# behind these permissions
+%attr(4750,root,dbus) %verify(not mode) %{_libdir}/dbus/dbus-daemon-launch-helper
+%ghost %{_localstatedir}/run/dbus
+%ghost %{_localstatedir}/lib/dbus/machine-id
+%dir %{_unitdir}
+%{_unitdir}/dbus.service
+%{_unitdir}/dbus.socket
+%{_unitdir_user}/dbus.service
+%{_unitdir_user}/dbus.socket
+%dir %{_unitdir}/dbus.target.wants
+%{_unitdir}/dbus.target.wants/dbus.socket
+%dir %{_unitdir}/multi-user.target.wants
+%{_unitdir}/multi-user.target.wants/dbus.service
+%dir %{_unitdir}/sockets.target.wants
+%{_unitdir}/sockets.target.wants/dbus.socket
+
+%files -n libdbus
+%defattr(-, root, root)
+%{_libdir}/libdbus-1.so.*
+# Own those directories in the library instead of dbus-1, since dbus users
+# often ship files there
+%dir %{_sysconfdir}/dbus-1
+%dir %{_sysconfdir}/dbus-1/session.d
+%dir %{_sysconfdir}/dbus-1/system.d
+%dir %{_datadir}/dbus-1
+%dir %{_datadir}/dbus-1/interfaces
+%dir %{_datadir}/dbus-1/services
+%dir %{_datadir}/dbus-1/system-services
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/*
+%{_libdir}/libdbus-1.so
+%dir %{_libdir}/dbus-1.0
+%{_libdir}/dbus-1.0/include
+%{_libdir}/pkgconfig/dbus-1.pc
+
+%files devel-doc
+%defattr(-,root,root)
+%dir %{_datadir}/doc/dbus
+%{_datadir}/doc/dbus/api/
+%doc %{_datadir}/doc/dbus/dbus-faq.html
+%doc %{_datadir}/doc/dbus/dbus-specification.html
+%doc %{_datadir}/doc/dbus/dbus-test-plan.html
+%doc %{_datadir}/doc/dbus/dbus-tutorial.html
+%doc %{_datadir}/doc/dbus/dbus.devhelp
+%doc %{_datadir}/doc/dbus/diagram.*
+%doc %{_datadir}/doc/dbus/system-activation.txt
+%doc doc/*.txt doc/file-boilerplate.c doc/TODO
+
+%changelog
--- /dev/null
+#sbs-git:slp/sdk/default-fonts-fc-sdk default-fonts-fc-sdk 0.0.2 8414dbd3e62b6f7a864ba031e043dd7604b3d86d
+Name: default-fonts-fc-sdk
+Summary: Font configuration package for SDK
+Version: 0.0.2
+Release: 1
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/default-fonts-fc-sdk.manifest
+
+%description
+Font configuration package for SDK
+This package is maintained by SDK team
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+
+%install
+rm -rf %{buildroot}
+
+mkdir -p %{buildroot}%{_prefix}/etc/fonts/conf.d/
+mkdir -p %{buildroot}/opt/etc/fonts/conf.avail/ && cp -a sdk_fonts_fc/* %{buildroot}/opt/etc/fonts/conf.avail/
+cd %{buildroot}%{_prefix}/etc/fonts/conf.d/
+ln -s ../../../../opt/etc/fonts/conf.avail/99-slp.conf %{buildroot}%{_prefix}/etc/fonts/conf.d/99-slp.conf
+
+%post
+chown :5000 /opt/etc/fonts/conf.avail/99-slp.conf
+chmod 664 /opt/etc/fonts/conf.avail/99-slp.conf
+
+%files
+%manifest default-fonts-fc-sdk.manifest
+%defattr(-,root,root,-)
+/opt/etc/fonts/conf.avail/99-slp.conf
+%{_prefix}/etc/fonts/conf.d/99-slp.conf
+%exclude %{_prefix}/etc/fonts/conf.d/documentation.list
--- /dev/null
+#default-fonts-sdk
+Name: default-fonts-sdk
+Summary: free fonts for Tizen SDK
+Version: 1.2.1.0
+Release: 12
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/default-fonts-sdk.manifest
+
+%description
+free fonts for Tizen SDK
+This package is maintained by SDK team
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+
+%install
+rm -rf %{buildroot}
+
+mkdir -p %{buildroot}%{_datadir}/fonts && cp -a fonts %{buildroot}%{_datadir}
+mkdir -p %{buildroot}%{_datadir}/fallback_fonts && cp -a fallback_fonts %{buildroot}%{_datadir}
+
+%files
+%manifest default-fonts-sdk.manifest
+%defattr(0644,root,root,-)
+%{_datadir}/fonts/*
+%{_datadir}/fallback_fonts/*
+
--- /dev/null
+%define _fontsdir %{_datadir}/fonts
+%define _ttffontsdir %{_fontsdir}/truetype
+%define _miscfontsdir %{_fontsdir}/misc
+%define _fontsconfdir %{_sysconfdir}/fonts
+%define _fontsconfddir %{_fontsconfdir}/conf.d
+%define _fontsconfavaildir %{_datadir}/%{name}/conf.avail
+
+Name: dejavu-fonts
+Version: 2.33
+Release: 0
+License: Permissive
+Summary: DejaVu Truetype Fonts
+Url: http://dejavu.sourceforge.net/
+Group: System/Fonts
+Source: dejavu-fonts-ttf-%{version}.tar.bz2
+BuildArch: noarch
+
+%description
+The DejaVu fonts are a font family based on the Vera Fonts.
+Its purpose is to provide a wider range of characters while
+maintaining the original look and feel through the process
+of collaborative development (see authors), under a Free license.
+
+%prep
+%setup -n %{name}-ttf-%{version}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{_ttffontsdir}/
+install -m 0644 ttf/*.ttf %{buildroot}%{_ttffontsdir}/
+
+
+%post
+if [ -x %{_bindir}/fc-cache ]; then
+ %{_bindir}/fc-cache %{_ttffontsdir} || :
+fi
+
+%postun
+if [ -x %{_bindir}/fc-cache ]; then
+ %{_bindir}/fc-cache %{_ttffontsdir} || :
+fi
+
+%files
+%defattr(-,root,root,755)
+%license LICENSE
+%{_ttffontsdir}/
+
--- /dev/null
+Name: deltarpm
+Version: 3.5.git
+Release: 0
+Summary: Tools to Create and Apply deltarpms
+License: BSD-3-Clause
+Group: System/Packages
+Url: ftp://ftp.suse.com/pub/projects/deltarpm
+Source: deltarpm-3.5.git.tar.bz2
+BuildRequires: bzip2-devel
+BuildRequires: python-devel
+BuildRequires: rpm-devel
+BuildRequires: xz-devel
+# we need to build against recent rpm, so avoid the new payload
+%define _binary_payload w9.bzdio
+
+%description
+This package contains tools to create and apply deltarpms. A deltarpm
+contains the difference between an old and a new version of an RPM,
+which makes it possible to recreate the new RPM from the deltarpm and
+the old one. You do not need to have a copy of the old RPM, because
+deltarpms can also work with installed RPMs.
+
+%package -n python-deltarpm
+Summary: Tools to Create and Apply deltarpms
+Group: Development/Languages/Python
+Requires: %{name} = %{version}
+
+%description -n python-deltarpm
+Python bindings for deltarpm
+
+%prep
+%setup -q
+
+%build
+make CC="gcc" CFLAGS="%{optflags}" rpmdumpheader="/usr/lib/rpm/rpmdumpheader" %{?_smp_mflags}
+make CC="gcc" CFLAGS="%{optflags}" rpmdumpheader="/usr/lib/rpm/rpmdumpheader" %{?_smp_mflags} python
+
+%install
+mkdir -p %{buildroot}%{_prefix}/lib/rpm
+make DESTDIR=%{buildroot} prefix="%{_prefix}" libdir="%{_libdir}" mandir="%{_mandir}" rpmdumpheader="/usr/lib/rpm/rpmdumpheader" install
+rm -rf %{buildroot}%{_libdir}/python/site-packages/{_deltarpmmodule.so,deltarpm.py} # Remove wrongly installed Python module
+mv %{buildroot}%{python_sitearch}/_deltarpm{module,}.so # Fix binary Python module name
+
+%files
+%defattr(-,root,root)
+%doc README LICENSE.BSD
+%{_bindir}/*
+%{_mandir}/man8/*
+%{_prefix}/lib/rpm/rpmdumpheader
+
+%files -n python-deltarpm
+%defattr(-,root,root)
+%{python_sitearch}/deltarpm.py
+%{python_sitearch}/_deltarpm.so
+
+%changelog
--- /dev/null
+Name: desktop-file-utils
+Version: 0.20
+Release: 0
+Summary: Utilities for Manipulating Desktop Files
+License: GPL-2.0+
+Group: Development/Tools/Other
+Url: http://www.freedesktop.org/wiki/Software/desktop-file-utils
+Source0: http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
+Source2: macros.desktop-file-utils
+BuildRequires: glib2-devel
+BuildRequires: pkg-config
+# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
+BuildRequires: xz
+
+%description
+This packages contains a couple of command line utilities for
+working with desktop files.
+
+More information about desktop files can be found at:
+http://freedesktop.org/wiki/Specifications/desktop-entry-spec
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --with-lispdir=%{_datadir}/emacs/site-lisp
+%__make %{?_smp_mflags}
+
+%install
+%makeinstall
+# we don't want to buildrequire emacs, but recent automake make it
+# impossible to install a lisp file without emacs installed. So we
+# manually do it.
+test ! -f %{buildroot}%{_datadir}/emacs/site-lisp/desktop-entry-mode.el
+install -D -m644 misc/desktop-entry-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/desktop-entry-mode.el
+# Install rpm macros
+install -D -m644 %{S:2} %{buildroot}%{_sysconfdir}/rpm/macros.desktop-file-utils
+# Create ghosts based on default $XDG_DATA_DIRS:
+mkdir -p %{buildroot}%{_datadir}/applications
+touch %{buildroot}%{_datadir}/applications/mimeinfo.cache
+
+%post
+%{_bindir}/update-desktop-database --quiet %{_datadir}/applications || true
+
+%files
+%defattr(-, root, root)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%{_bindir}/desktop-file-edit
+%{_bindir}/desktop-file-install
+%{_bindir}/desktop-file-validate
+%{_bindir}/update-desktop-database
+%ghost %{_datadir}/applications/mimeinfo.cache
+%{_mandir}/man1/desktop-file-edit.1*
+%{_mandir}/man1/desktop-file-install.1*
+%{_mandir}/man1/desktop-file-validate.1*
+%{_mandir}/man1/update-desktop-database.1*
+# Own directories to not require emacs installed.
+%dir %{_datadir}/emacs
+%dir %{_datadir}/emacs/site-lisp
+%{_datadir}/emacs/site-lisp/*.el*
+%{_sysconfdir}/rpm/macros.desktop-file-utils
+
+%changelog
--- /dev/null
+%define device_mapper_version 1.02.77
+%define lvm2_version 2.02.98
+
+# Do not reset Release to 1 unless both lvm2 and device-mapper
+# versions are increased together.
+
+Name: device-mapper
+Version: 1.02.77
+Release: 1
+License: GPL-2.0
+Summary: Device mapper utility
+Url: http://sources.redhat.com/dm
+Group: Base/Device Management
+Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{lvm2_version}.tgz
+Requires: libdevmapper = %{device_mapper_version}-%{release}
+
+%description
+This package contains the supporting userspace utility, dmsetup,
+for the kernel device-mapper.
+
+%package devel
+License: LGPL-2.1
+Summary: Development libraries and headers for device-mapper
+Group: Development/Libraries
+Requires: %{name} = %{device_mapper_version}-%{release}
+Requires: libdevmapper = %{device_mapper_version}-%{release}
+
+%description -n device-mapper-devel
+This package contains files needed to develop applications that use
+the device-mapper libraries.
+
+%package -n libdevmapper
+License: LGPL-2.1
+Summary: Device-mapper shared library
+Group: Base/Device Management
+Obsoletes: device-mapper < 1.02.17-6
+
+%description -n libdevmapper
+This package contains the device-mapper shared library, libdevmapper.
+
+%prep
+%setup -q -n LVM2.%{lvm2_version}
+
+%build
+%define _exec_prefix ""
+%configure --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig
+%define _exec_prefix /
+make device-mapper
+
+%install
+make install_device-mapper DESTDIR=%{buildroot} usrlibdir=%{buildroot}/usr/%{_lib}
+sed -i 's/ (.*)//g' %{buildroot}%{_libdir}/pkgconfig/*.pc
+
+
+%post -n libdevmapper -p /sbin/ldconfig
+
+%postun -n libdevmapper -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING COPYING.LIB
+%attr(755,root,root) %{_sbindir}/dmsetup
+%{_mandir}/man8/dmsetup.8.gz
+
+%files devel
+%defattr(-,root,root,-)
+%attr(755,root,root) /%{_libdir}/libdevmapper.so
+%{_includedir}/libdevmapper.h
+%{_libdir}/pkgconfig/*.pc
+
+%files -n libdevmapper
+%attr(755,root,root) /%{_libdir}/libdevmapper.so.*
+
+
--- /dev/null
+Name: capi-system-device
+Summary: A Device library in TIZEN C API
+Version: 0.1.0
+Release: 19
+Group: System/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: capi-system-device.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+
+%description
+A Device library in TIZEN C API.
+
+
+%package devel
+Summary: A Device library in TIZEN C API (Development)
+Group: System/Development
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+
+
+%prep
+%setup -q
+
+
+%build
+cp %{SOURCE1} .
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE
+%manifest capi-system-device.manifest
+%{_libdir}/libcapi-system-device.so.*
+
+%files devel
+%{_includedir}/system/device.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-system-device.so
--- /dev/null
+Name: devman
+Summary: Device manager library
+Version: 0.1.10
+Release: 2
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: devman.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(haptic)
+BuildRequires: pkgconfig(device-node)
+
+%description
+Device manager library for device control
+
+
+%package -n libdevman
+Summary: Device manager library
+Group: System/Libraries
+
+%description -n libdevman
+Device manager library for device control
+
+%package -n libdevman-devel
+Summary: Device manager library for (devel)
+Group: Development/Libraries
+Requires: libdevman = %{version}-%{release}
+
+%description -n libdevman-devel
+Device manager library for device control (devel)
+
+%package -n libdevman-haptic-devel
+Summary: Haptic Device manager library for (devel)
+Group: Development/Libraries
+Requires: libdevman-devel = %{version}-%{release}
+
+%description -n libdevman-haptic-devel
+Haptic Device manager library for device control (devel)
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1} .
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -n libdevman
+%manifest devman.manifest
+%{_bindir}/display_wd
+%{_libdir}/libdevman.so.*
+
+%files -n libdevman-devel
+%{_includedir}/devman/devman.h
+%{_includedir}/devman/devman_managed.h
+%{_includedir}/devman/devman_image.h
+%{_includedir}/devman/devman_haptic.h
+%{_libdir}/pkgconfig/devman.pc
+%{_libdir}/libdevman.so
+
+%files -n libdevman-haptic-devel
+%{_includedir}/devman/devman_haptic_ext.h
+%{_includedir}/devman/devman_haptic_ext_core.h
+%{_libdir}/pkgconfig/devman_haptic.pc
--- /dev/null
+Name: diffutils
+Version: 3.2
+Release: 0
+License: GFDL-1.2 ; GPL-3.0+
+Summary: GNU diff Utilities
+Url: http://www.gnu.org/software/diffutils/
+Group: Productivity/Text/Utilities
+Source: %{name}-%{version}.tar.xz
+BuildRequires: xz
+Provides: diff
+Obsoletes: diff
+
+%description
+The GNU diff utilities find differences between files. diff is used to
+make source code patches, for instance.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-nls
+make %{?_smp_mflags}
+
+%install
+%make_install
+gzip -9 %{buildroot}%{_infodir}/%{name}.info
+
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_bindir}/cmp
+%{_bindir}/diff
+%{_bindir}/diff3
+%{_bindir}/sdiff
+%doc %{_infodir}/%{name}.info.gz
+%doc %{_mandir}/man1/*.gz
+
--- /dev/null
+Name: dlog
+Summary: Logging service
+Version: 0.4.1
+Release: 5
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Source101: dlog-main.service
+Source102: dlog-radio.service
+Source103: packaging/dlogutil.manifest
+Source104: packaging/libdlog.manifest
+Source105: tizen-debug-level.service
+
+BuildRequires: pkgconfig(libsystemd-journal)
+Requires(post): /usr/bin/vconftool
+Requires(post): coreutils
+
+%description
+dlog API library
+
+%package -n libdlog
+Summary: Logging service dlog API
+Group: Development/Libraries
+
+%description -n libdlog
+dlog API library
+
+%package -n libdlog-devel
+Summary: Logging service dlog API
+Group: Development/Libraries
+Requires: lib%{name} = %{version}-%{release}
+
+%description -n libdlog-devel
+dlog API library
+
+
+%package -n dlogutil
+Summary: Print log data to the screen
+Group: Development/Libraries
+Requires: lib%{name} = %{version}-%{release}
+Requires(post): /usr/bin/systemctl
+Requires(postun): /usr/bin/systemctl
+Requires(preun): /usr/bin/systemctl
+
+%description -n dlogutil
+Utilities for print log data
+
+
+
+%prep
+%setup -q
+
+
+%build
+%autogen --disable-static
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+cp %{SOURCE103} .
+cp %{SOURCE104} .
+%make_install
+mkdir -p %{buildroot}/opt/etc/dlog
+cp %{_builddir}/%{name}-%{version}/.dloglevel %{buildroot}/opt/etc/dlog/.dloglevel
+mkdir -p %{buildroot}/etc/profile.d/
+cp %{_builddir}/%{name}-%{version}/tizen_platform_env.sh %{buildroot}/etc/profile.d/tizen_platform_env.sh
+mkdir -p %{buildroot}/usr/bin/
+cp %{_builddir}/%{name}-%{version}/dlogctrl %{buildroot}/usr/bin/dlogctrl
+
+mkdir -p %{buildroot}/%{_sysconfdir}/rc.d/rc3.d
+rm -f %{buildroot}/%{_sysconfdir}/etc/rc.d/rc3.d/S05dlog
+ln -s ../init.d/dlog.sh %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/S05dlog
+
+mkdir -p %{buildroot}%{_unitdir}/basic.target.wants
+mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
+
+install -m 0644 %SOURCE101 %{buildroot}%{_unitdir}
+install -m 0644 %SOURCE102 %{buildroot}%{_unitdir}
+install -m 0644 %SOURCE105 %{buildroot}%{_unitdir}
+
+ln -s ../dlog-main.service %{buildroot}%{_unitdir}/multi-user.target.wants/dlog-main.service
+ln -s ../dlog-radio.service %{buildroot}%{_unitdir}/multi-user.target.wants/dlog-radio.service
+ln -s ../tizen-debug-level.service %{buildroot}%{_unitdir}/basic.target.wants/tizen-debug-level.service
+
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+mkdir -p %{buildroot}/opt/etc/dlog
+
+%preun -n dlogutil
+if [ $1 == 0 ]; then
+ systemctl stop dlog-main.service
+ systemctl stop dlog-radio.service
+fi
+
+%post -n dlogutil
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ systemctl restart dlog-main.service
+ systemctl restart dlog-radio.service
+fi
+
+%postun -n dlogutil
+systemctl daemon-reload
+
+%post -n libdlog -p /sbin/ldconfig
+%postun -n libdlog -p /sbin/ldconfig
+
+%files -n dlogutil
+%manifest dlogutil.manifest
+/usr/share/license/%{name}
+%doc LICENSE.APLv2
+%attr(755,root,root) /opt/etc/dlog/.dloglevel
+%attr(755,root,root) /etc/profile.d/tizen_platform_env.sh
+%attr(755,root,app_logging) %{_bindir}/dlogutil
+%attr(755,root,app_logging) %{_bindir}/dlogctrl
+%{_sysconfdir}/rc.d/init.d/dlog.sh
+%{_sysconfdir}/rc.d/rc3.d/S05dlog
+%{_unitdir}/tizen-debug-level.service
+%{_unitdir}/dlog-main.service
+%{_unitdir}/dlog-radio.service
+%{_unitdir}/basic.target.wants/tizen-debug-level.service
+%{_unitdir}/multi-user.target.wants/dlog-main.service
+%{_unitdir}/multi-user.target.wants/dlog-radio.service
+%attr(775,root,app_logging) %dir /opt/etc/dlog
+
+%files -n libdlog
+%manifest libdlog.manifest
+%{_libdir}/libdlog.so.0
+%{_libdir}/libdlog.so.0.0.0
+
+%files -n libdlog-devel
+%{_includedir}/dlog/dlog.h
+%{_libdir}/pkgconfig/dlog.pc
+%{_libdir}/libdlog.so
+
--- /dev/null
+Name: dmidecode
+Url: http://www.nongnu.org/dmidecode/
+Version: 2.11
+Release: 0
+License: GPL-2.0+
+Group: System/Base
+Summary: DMI table decoder
+Source: %{name}-%{version}.tar.bz2
+ExclusiveArch: %ix86 x86_64
+
+%description
+Dmidecode reports information about your system's hardware as described
+in your system BIOS according to the SMBIOS/DMI standard. This
+information typically includes system manufacturer, model name, serial
+number, BIOS version, asset tag as well as a lot of other details of
+varying level of interest and reliability depending on the
+manufacturer. This will often include usage status for the CPU sockets,
+expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the
+list of I/O ports (e.g. serial, parallel, USB).
+
+Beware that DMI data have proven to be too unreliable to be blindly
+trusted. Dmidecode does not scan your hardware, it only reports what
+the BIOS told it to.
+
+%prep
+%setup
+
+%build
+make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
+
+%install
+install -dm 755 %{buildroot}/usr/sbin
+install -dm 755 %{buildroot}%{_mandir}/man8
+install -dm 755 %{buildroot}%{_docdir}/%{name}
+for i in dmidecode vpddecode ownership biosdecode ; do
+install -m 755 $i %{buildroot}/usr/sbin/
+install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/
+done
+
+%files
+%defattr(-,root,root)
+%license LICENSE
+/usr/sbin/*
+/%{_mandir}/man8/*
+
+%changelog
--- /dev/null
+Name: dmxproto
+Version: 2.3.1
+Release: 1
+License: MIT
+Summary: X.org DMXProto protocol headers
+Url: http://www.x.org
+Group: Development/X11 Protocols
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+BuildArch: noarch
+
+%description
+X.org DMXProto protocol headers.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
+
--- /dev/null
+Name: dnsmasq
+Summary: dnsmasq, DNS forwarder.
+Version: 2.57
+Release: 5
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dbus-1)
+
+%description
+Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server.
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+%post
+mkdir -p /opt/var/lib/misc
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%manifest dnsmasq.manifest
+%{_bindir}/dnsmasq
+
+%changelog
+* Fri Nov 02 2012 Seungyoun Ju <sy39.ju@samsung.com> 2.57-5
+- Default manifest file is added
+
+* Mon Apr 16 2012 Seungyoun Ju <sy39.ju@samsung.com> 2.57-4
+- "/opt/var/lib/misc" directory for lease file is created explicitly
--- /dev/null
+%define pack_vers 1.77.1
+%define regcat /usr/bin/sgml-register-catalog
+
+Name: docbook-xsl-stylesheets
+Version: 1.77.1
+Release: 0
+License: MPL-1.1 and MIT
+Summary: XSL Stylesheets for DocBook 4
+Url: http://sourceforge.net/projects/docbook/
+Group: Productivity/Publishing/DocBook
+Source0: http://switch.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-%{pack_vers}.tar.bz2
+BuildRequires: fdupes
+BuildRequires: sgml-skel
+BuildRequires: unzip
+Requires(pre): %{regcat}
+Requires(pre): /usr/bin/xmlcatalog
+Requires(pre): sgml-skel
+Requires: docbook_4
+Requires: xmlcharent
+BuildArch: noarch
+
+%description
+These are the XSL stylesheets for DocBook XML and "Simplified" DocBook
+DTDs. Use these stylesheets for documents based on DocBook 4 and
+earlier; they are not aware of the namespace feature.
+
+The stylesheets transform DocBook documents into HTML, XHTML, Manpages,
+XSL-FO (for PDF), and a few other formats.
+
+XSL is a standard W3C stylesheet language for both print and online
+rendering. For more information about XSL, see the XSL page at the W3C:
+http://www.w3.org/Style/XSL/
+
+%define INSTALL install -m755 -s
+%define INSTALL_DIR install -d -m755
+%define INSTALL_DATA install -m644
+%define INSTALL_SCRIPT install -m755
+%define sgml_dir %{_datadir}/sgml
+%define sgml_var_dir /var/lib/sgml
+%define sgml_mod_dir %{sgml_dir}/docbook
+%define sgml_mod_dtd_dir %{sgml_mod_dir}/dtd
+%define sgml_mod_custom_dir %{sgml_mod_dir}/custom
+%define sgml_mod_style_dir %{sgml_mod_dir}/stylesheet
+%define xml_dir %{_datadir}/xml
+%define xml_mod_dir %{xml_dir}/docbook
+%define xml_mod_dtd_dir %{xml_mod_dir}/dtd
+%define xml_mod_custom_dir %{xml_mod_dir}/custom
+%define xml_mod_style_dir %{xml_mod_dir}/stylesheet
+%define xml_mod_style_prod_dir %{xml_mod_style_dir}/nwalsh
+%define sgml_config_dir /var/lib/sgml
+%define sgml_sysconf_dir %{_sysconfdir}/sgml
+%define xml_config_dir /var/lib/xml
+%define xml_sysconf_dir %{_sysconfdir}/xml
+
+%prep
+%setup -q -n docbook-xsl-%{pack_vers}
+
+# mv epub/bin/dbtoepub epub/bin/dbtoepub.tmp
+sed -i 's=@@EPUBDIR@@=%{xml_mod_style_prod_dir}/current//epub/bin=' epub/bin/dbtoepub
+
+# We don't need these scripts:
+rm -rf install.sh tools/bin/docbook-xsl-update
+
+find -type f -exec chmod -x {} \;
+chmod -R a+rX,g-w,o-w .
+chmod -x images/*.{svg,png,gif,tif} images/callouts/*.{svg,png,gif} extensions/docbook.py
+# Start cleanup (to avoid warnings for rpmlint
+[ -f ./extensions/saxon65/dist/saxon65.jar ] && rm -rf ./extensions/saxon65/dist/saxon65.jar
+[ -f ./extensions/xalan27/dist/xalan27.jar ] && rm -rf ./extensions/xalan27/dist/xalan27.jar
+find . -name '.gitignore' | xargs rm -fr
+#x=$(find {lib,html,fo,lib,website,slides/fo,slides/html,roundtrip,manpages}/.[a-zA-Z0-9]* -maxdepth 1 -type f )
+#if [ "$x" != '' ]; then
+## rm $x;
+# for i in $x; do
+# if [ -f $i ]; then
+# rm $i
+# fi
+# done
+#fi
+
+%build
+xmlcatbin=/usr/bin/xmlcatalog
+CATALOG=%{name}.xml
+# file:///usr/share/sgml/docbook/ = %%{sgml_mod_dir} map it to
+# %%{xml_mod_style_prod_dir}/%%{version}
+$xmlcatbin --noout --create $CATALOG
+/usr/bin/xmlcatalog --noout --add "rewriteSystem" \
+ "http://docbook.sourceforge.net/release/xsl/%{version}" \
+ "file://%{xml_mod_style_prod_dir}/%{version}" $CATALOG
+/usr/bin/xmlcatalog --noout --add "rewriteURI" \
+ "http://docbook.sourceforge.net/release/xsl/%{version}" \
+ "file://%{xml_mod_style_prod_dir}/%{version}" $CATALOG
+/usr/bin/xmlcatalog --noout --add "rewriteSystem" \
+ "http://docbook.sourceforge.net/release/xsl/current" \
+ "file://%{xml_mod_style_prod_dir}/%{version}" $CATALOG
+/usr/bin/xmlcatalog --noout --add "rewriteURI" \
+ "http://docbook.sourceforge.net/release/xsl/current" \
+ "file://%{xml_mod_style_prod_dir}/%{version}" $CATALOG
+%define FOR_ROOT_CAT for-catalog-%{name}-%{version}.xml
+CATALOG=etc/xml/$CATALOG
+rm -f %{FOR_ROOT_CAT}.tmp
+$xmlcatbin --noout --create %{FOR_ROOT_CAT}.tmp
+$xmlcatbin --noout --add "delegateSystem" \
+ "http://docbook.sourceforge.net/release/xsl/" \
+ "file:///$CATALOG" %{FOR_ROOT_CAT}.tmp
+# $xmlcatbin --noout --add "delegatePublic" \
+# "-//OASIS//xxx" \
+# "file:///$CATALOG" %%{FOR_ROOT_CAT}.tmp
+# Create tag
+sed '/<catalog/a\
+ <group id="%{name}-%{version}">
+/<\/catalog/i\
+ </group>' \
+ %{FOR_ROOT_CAT}.tmp > %{FOR_ROOT_CAT}
+
+%install
+# FIXME: Danger!?
+# export NO_BRP_CHECK_BYTECODE_VERSION=true
+
+# Install scripts
+%{INSTALL_DIR} %{buildroot}%{_bindir}
+%{INSTALL_SCRIPT} fo/pdf2index %{buildroot}%{_bindir}
+%{INSTALL_SCRIPT} epub/bin/dbtoepub %{buildroot}%{_bindir}
+rm fo/pdf2index
+
+doc_dir=%{buildroot}%{_defaultdocdir}/%{name}
+%{INSTALL_DIR} %{buildroot}%{xml_mod_style_prod_dir}/%{version}
+cp -a [[:lower:]]* %{buildroot}%{xml_mod_style_prod_dir}/%{version}
+cp -a VERSION.xsl %{buildroot}%{xml_mod_style_prod_dir}/%{version}
+find %{buildroot}%{xml_mod_style_prod_dir} -type f -name '*.orig' -exec rm -f {} \;
+rm -f %{buildroot}%{xml_mod_style_prod_dir}/%{version}/for-catalog*
+: >%{name}_list
+{
+ pushd %{buildroot}%{xml_mod_style_prod_dir} >/dev/null
+# do not create the current link for snapshots
+# if ! echo %%{SOURCE0} | grep -q snapshot; then
+ ln -sf %{version} current
+ echo %{xml_mod_style_prod_dir}/current
+# fi
+ popd >/dev/null
+} >%{name}_list
+%{INSTALL_DIR} $doc_dir
+# documentation
+for f in README BUGS TODO WhatsNew RELEASE-NOTES.html; do
+ # On snapshots, WhatsNew is missing
+ [ -f $f ] && %{INSTALL_DATA} $f $doc_dir/$f
+done
+# cp -p README.SuSE $doc_dir/README.SuSE
+#
+{
+ LANG=C \
+ find %{buildroot}%{xml_mod_style_prod_dir}/%{version} \
+ -type d \
+ -not -path '%{buildroot}%{xml_mod_style_prod_dir}/%{version}/latex*' \
+ | sed 's|%{buildroot}|%dir |'
+ LANG=C \
+ find %{buildroot}%{xml_mod_style_prod_dir}/%{version} \
+ -type f \
+ -not -path '%{buildroot}%{xml_mod_style_prod_dir}/%{version}/latex*' \
+ | sed 's|%{buildroot}||'
+} >> %{_builddir}/%{buildsubdir}/%{name}_list
+# pushd %%{buildroot}%%{xml_mod_style_prod_dir}
+# rm -f docbook-xsl
+# ln -sf docbook-xsl-stylesheets-%%{version} docbook-xsl
+# rm -f xsl-stylesheets
+# ln -sf docbook-xsl-stylesheets-%%{version} xsl-stylesheets
+# rm -f %%{name}
+# ln -sf docbook-xsl-stylesheets-%%{version} %%{name}
+# popd
+cat_dir=%{buildroot}%{_sysconfdir}/xml
+%{INSTALL_DIR} $cat_dir
+%{INSTALL_DATA} %{FOR_ROOT_CAT} %{name}.xml $cat_dir
+# cleanup
+rm -f %{buildroot}%{xml_mod_style_prod_dir}/%{version}/%{name}.xml
+cp $cat_dir/%{FOR_ROOT_CAT} \
+ %{buildroot}%{xml_mod_style_prod_dir}/%{version}/%{name}.xml
+chmod +x \
+%{buildroot}%{xml_mod_style_prod_dir}/%{version}/extensions/docbook.py \
+%{buildroot}%{xml_mod_style_prod_dir}/%{version}/extensions/xslt.py
+# %%{buildroot}%%{xml_mod_style_prod_dir}/%%{version}/epub/bin/lib/docbook.rb
+# %%{buildroot}%%{xml_mod_style_prod_dir}/%%{version}/epub/bin/spec/spec_helper.rb
+
+%fdupes -s %{buildroot}
+
+
+%post
+# remove empty dir if present (from ghost)
+# also remove dangling symlink
+D=usr/share/sgml
+rmdir $D/docbkxsl >/dev/null 2>&1 || :
+test -L $D/docbkxsl -a ! -e $D/docbkxsl && rm -f $D/docbkxsl
+if [ -x /usr/bin/edit-xml-catalog ]; then
+ edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
+ --add /etc/xml/%{FOR_ROOT_CAT}
+fi
+
+%postun
+# remove entries only on removal of file
+if [ ! -f %{xml_sysconf_dir}/%{FOR_ROOT_CAT} -a -x /usr/bin/edit-xml-catalog ] ; then
+ edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
+ --del %{name}-%{version}
+fi
+
+%files -f %{name}_list
+%defattr(-, root, root)
+%config %{_sysconfdir}/xml/%{name}.xml
+%config %{_sysconfdir}/xml/%{FOR_ROOT_CAT}
+%{_defaultdocdir}/%{name}
+%dir %{xml_mod_style_dir}
+%dir %{xml_mod_style_prod_dir}
+# it is now in the list:
+# %%{xml_mod_style_prod_dir}/current
+%{_bindir}/*
+
+%changelog
--- /dev/null
+Name: docbook_4
+BuildRequires: fdupes
+BuildRequires: sgml-skel
+BuildRequires: unzip
+Provides: docbk_4
+Provides: docbook
+Provides: docbook-dtd
+Provides: docbook-dtds
+Obsoletes: docbk_4
+Requires: iso_ent
+Requires: libxml2
+%define regcat /usr/bin/sgml-register-catalog
+Requires(pre): %{regcat} /usr/bin/xmlcatalog sgml-skel
+Requires(pre): sed grep awk
+Summary: DocBook DTD Version 4.x
+License: BSD-3-Clause ; MIT
+Group: Productivity/Publishing/DocBook
+Version: 4.5
+Release: 0
+Source0: dummy-%{version}.tar.bz2
+Source7: CATALOG.docbook_4
+# DocBook 4.1
+Source410: http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip
+Source411: http://www.oasis-open.org/docbook/xml/4.1/docbkx412.zip
+# No RNG and XSD files for DB4.1
+Source414: CATALOG.db41xml
+# DocBook 4.2
+Source420: http://www.oasis-open.org/docbook/sgml/4.2/docbook-4.2.zip
+Source421: http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip
+Source422: http://www.oasis-open.org/docbook/rng/4.2/docbook-rng-4.2.zip
+Source423: http://www.oasis-open.org/docbook/xsd/4.2/docbook-xsd-4.2.zip
+Source424: CATALOG.db42xml
+# DocBook 4.3
+Source430: http://www.docbook.org/sgml/4.3/docbook-4.3.zip
+Source431: http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip
+Source432: http://www.docbook.org/rng/4.3/docbook-rng-4.3.zip
+Source433: http://www.docbook.org/xsd/4.3/docbook-xsd-4.3.zip
+Source434: CATALOG.db43xml
+# DocBook 4.4
+Source440: http://www.oasis-open.org/docbook/sgml/4.4/docbook-4.4.zip
+Source441: http://www.oasis-open.org/docbook/xml/4.4/docbook-xml-4.4.zip
+Source442: http://www.docbook.org/rng/4.4/docbook-rng-4.4.zip
+Source443: http://www.docbook.org/xsd/4.4/docbook-xsd-4.4.zip
+Source444: CATALOG.db44xml
+# DocBook 4.5
+Source450: http://www.oasis-open.org/docbook/sgml/4.5/docbook-4.5.zip
+Source451: http://www.oasis-open.org/docbook/xml/4.5/docbook-xml-4.5.zip
+Source452: http://www.docbook.org/rng/4.5/docbook-rng-4.5.zip
+Source453: http://www.docbook.org/xsd/4.5/docbook-xsd-4.5.zip
+Source454: CATALOG.db45xml
+Patch0: docbook-4-3-cat.diff
+Patch1: docbook-4-3.diff
+Patch2: docbook-4-3-xml-cat.diff
+Patch3: docbook.4.4.dcl.diff
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+Url: http://www.oasis-open.org/docbook/
+
+%description
+DocBook is a schema. It is particularly well-suited to books and papers
+about computer hardware and software (though it is not limited to these
+applications at all). This package has SGML- and XML-DTD versions
+included. Some versions of DocBook contain also a RELAX NG and W3C
+Schema.
+
+%define INSTALL install -m755 -s
+%define INSTALL_DIR install -d -m755
+%define INSTALL_DATA install -m644
+%define INSTALL_SCRIPT install -m755
+%define sgml_dir %{_datadir}/sgml
+%define sgml_docbook_dir %{sgml_dir}/docbook
+%define sgml_docbook_dtd_dir %{sgml_docbook_dir}/dtd
+%define sgml_docbook_custom_dir %{sgml_docbook_dir}/custom
+%define sgml_docbook_style_dir %{sgml_docbook_dir}/stylesheet
+%define xml_dir %{_datadir}/xml
+%define xml_docbook_dir %{xml_dir}/docbook
+%define xml_docbook_dtd_dir %{xml_docbook_dir}/schema/dtd
+%define xml_docbook_rng_dir %{xml_docbook_dir}/schema/rng
+%define xml_docbook_xsd_dir %{xml_docbook_dir}/schema/xsd
+%define xml_docbook_custom_dir %{xml_docbook_dir}/custom
+%define xml_docbook_style_dir %{xml_docbook_dir}/stylesheet
+%define sgml_config_dir /var/lib/sgml
+%define sgml_sysconf_dir %{_sysconfdir}/sgml
+%define xml_config_dir /var/lib/xml
+%define xml_sysconf_dir %{_sysconfdir}/xml
+
+%prep
+%setup -n %{name} -c -T
+%{INSTALL_DIR} dtd/4.{1,2,3,4,5} 4.{1,2,3,4,5}xml
+echo "**** %{S:410}"
+pushd dtd/4.1
+ unzip -q -a %{S:410}
+popd
+pushd 4.1xml
+ unzip -q -a %{S:411}
+popd
+pushd dtd/4.2
+ unzip -q -a %{S:420}
+popd
+pushd 4.2xml
+ unzip -q -a %{S:421}
+popd
+pushd dtd/4.3
+ unzip -q -a %{S:430}
+popd
+pushd 4.3xml
+ unzip -q -a %{S:431}
+popd
+pushd dtd/4.4
+ unzip -q -a %{S:440}
+%patch3 -p 0
+popd
+pushd 4.4xml
+ unzip -q -a %{S:441}
+popd
+pushd dtd/4.5
+ unzip -q -a %{S:450}
+popd
+pushd 4.5xml
+ unzip -q -a %{S:451}
+popd
+%patch -p 1 -P 1 -p 0
+%patch2 -p 1
+# CATALOG.* files
+cp %{S:7} %{S:414} %{S:424} %{S:434} %{S:444} %{S:454} .
+chmod -R a+rX,g-w,o-w .
+find . -type f | xargs chmod a-x
+
+%build
+CATALOG=docbook_41.xml
+# # build root catalog fragment
+xmlcatbin=/usr/bin/xmlcatalog
+$xmlcatbin --create --noout $CATALOG
+docbookdir=%{xml_docbook_dtd_dir}/4.1
+$xmlcatbin --noout --add "public" \
+ "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \
+ "file://$docbookdir/dbpoolx.mod" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "-//OASIS//DTD DocBook XML V4.1.2//EN" \
+ "file://$docbookdir/docbookx.dtd" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \
+ "file://$docbookdir/dbcentx.mod" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \
+ "file://$docbookdir/dbnotnx.mod" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \
+ "file://$docbookdir/dbgenent.mod" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \
+ "file://$docbookdir/dbhierx.mod" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
+ "file://$docbookdir/soextblx.dtd" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \
+ "file://$docbookdir/calstblx.dtd" $CATALOG
+$xmlcatbin --noout --add "rewriteSystem" \
+ "http://www.oasis-open.org/docbook/xml/4.1.2" \
+ "file://$docbookdir" $CATALOG
+$xmlcatbin --noout --add "rewriteURI" \
+ "http://www.oasis-open.org/docbook/xml/4.1.2" \
+ "file://$docbookdir" $CATALOG
+# === iso
+isodir=$docbookdir/ent
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Publishing//EN//XML" \
+ "file://$isodir/iso-pub.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Greek Letters//EN//XML" \
+ "file://$isodir/iso-grk1.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" \
+ "file://$isodir/iso-box.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" \
+ "file://$isodir/iso-grk3.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" \
+ "file://$isodir/iso-amsn.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" \
+ "file://$isodir/iso-num.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" \
+ "file://$isodir/iso-grk4.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" \
+ "file://$isodir/iso-dia.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" \
+ "file://$isodir/iso-grk2.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" \
+ "file://$isodir/iso-amsa.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" \
+ "file://$isodir/iso-amso.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" \
+ "file://$isodir/iso-cyr1.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES General Technical//EN//XML" \
+ "file://$isodir/iso-tech.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" \
+ "file://$isodir/iso-amsc.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" \
+ "file://$isodir/iso-lat1.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" \
+ "file://$isodir/iso-amsb.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" \
+ "file://$isodir/iso-lat2.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" \
+ "file://$isodir/iso-amsr.ent" $CATALOG
+$xmlcatbin --noout --add "public" \
+ "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" \
+ "file://$isodir/iso-cyr2.ent" $CATALOG
+# ====
+%define FOR_ROOT_CAT for-catalog-%{name}-%{version}.xml
+CATALOG=etc/xml/$CATALOG
+rm -f %{FOR_ROOT_CAT}.tmp
+$xmlcatbin --noout --create %{FOR_ROOT_CAT}.tmp
+for v in 4.2 4.3 4.4 4.5; do
+ cat42=%{xml_docbook_dtd_dir}/$v/catalog.xml
+ for s in \
+ "-//OASIS//DTD DocBook XML V${v}//EN" \
+ "-//OASIS//DTD DocBook CALS Table Model V${v}//EN" \
+ "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
+ "-//OASIS//ELEMENTS DocBook Information Pool V${v}//EN" \
+ "-//OASIS//ELEMENTS DocBook Document Hierarchy V${v}//EN" \
+ "-//OASIS//ENTITIES DocBook Additional General Entities V${v}//EN" \
+ "-//OASIS//ENTITIES DocBook Notations V${v}//EN" \
+ "-//OASIS//ENTITIES DocBook Character Entities V${v}//EN"
+ do
+ $xmlcatbin --noout --add "delegatePublic" "$s" \
+ "file://$cat42" %{FOR_ROOT_CAT}.tmp
+ done
+ case $v in
+ 4.[345])
+ $xmlcatbin --noout --add "delegatePublic" \
+ "-//OASIS//ELEMENTS DocBook XML HTML Tables V${v}//EN" \
+ "file://$cat42" %{FOR_ROOT_CAT}.tmp
+ ;;
+ *)
+ true
+ esac
+ $xmlcatbin --noout --add "delegateSystem" \
+ "http://www.oasis-open.org/docbook/xml/${v}" \
+ "file://$cat42" %{FOR_ROOT_CAT}.tmp
+ $xmlcatbin --noout --add "delegateURI" \
+ "http://www.oasis-open.org/docbook/xml/${v}" \
+ "file://$cat42" %{FOR_ROOT_CAT}.tmp
+ $xmlcatbin --noout --add "rewriteSystem" \
+ "http://www.oasis-open.org/docbook/xml/${v}" \
+ "file://%{xml_docbook_dtd_dir}/${v}" %{FOR_ROOT_CAT}.tmp
+ $xmlcatbin --noout --add "delegatePublic" \
+ "ISO 8879:1986" \
+ "file:///$CATALOG" %{FOR_ROOT_CAT}.tmp
+done
+# 41xml
+for s in \
+ "-//OASIS//DTD DocBook XML V4.1" \
+ "-//OASIS//ELEMENTS DocBook Information Pool V4.1" \
+ "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1" \
+ "-//OASIS//ENTITIES DocBook Additional General Entities V4.1" \
+ "-//OASIS//ENTITIES DocBook Notations V4.1" \
+ "-//OASIS//ENTITIES DocBook Character Entities V4.1"
+ do
+ $xmlcatbin --noout --add "delegatePublic" "$s" \
+ "file:///$CATALOG" %{FOR_ROOT_CAT}.tmp
+done
+$xmlcatbin --noout --add "delegateSystem" \
+ "http://www.oasis-open.org/docbook/xml/4.1" \
+ "file:///$CATALOG" %{FOR_ROOT_CAT}.tmp
+$xmlcatbin --noout --add "delegateURI" \
+ "http://www.oasis-open.org/docbook/xml/4.1" \
+ "file:///$CATALOG" %{FOR_ROOT_CAT}.tmp
+# Create tag
+sed '/<catalog/a\
+ <group id="%{name}-%{version}">
+/<\/catalog/i\
+ </group>' \
+ %{FOR_ROOT_CAT}.tmp > %{FOR_ROOT_CAT}
+
+%install
+%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_config_dir}
+%{INSTALL_DIR} $RPM_BUILD_ROOT%{xml_config_dir}
+%{INSTALL_DATA} CATALOG.* $RPM_BUILD_ROOT%{sgml_config_dir}
+# for CATALOG.* links
+%define my_all_cat docbook_4 db41xml db42xml db43xml db44xml db45xml
+for v in 4.1 4.2 4.3 4.4 4.5; do
+ vl=${v/\.}
+ %{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_docbook_dtd_dir}/$v
+ %{INSTALL_DATA} dtd/${v}/* $RPM_BUILD_ROOT%{sgml_docbook_dtd_dir}/${v}
+ %{INSTALL_DIR} $RPM_BUILD_ROOT%{xml_docbook_dtd_dir}/$v
+ cp -a ${v}xml/* $RPM_BUILD_ROOT%{xml_docbook_dtd_dir}/$v
+ ln -s %{xml_docbook_dtd_dir}/$v $RPM_BUILD_ROOT%{sgml_docbook_dtd_dir}/${v}xml
+ ln -sf %{sgml_config_dir}/CATALOG.db${vl}xml \
+ $RPM_BUILD_ROOT%{sgml_dir}/CATALOG.db${vl}xml
+done
+ln -sf %{sgml_docbook_dtd_dir}/4.1 $RPM_BUILD_ROOT%{sgml_dir}/%{name}.1
+ln -sf %{sgml_config_dir}/CATALOG.%{name} \
+ $RPM_BUILD_ROOT%{sgml_dir}/CATALOG.%{name}
+ln -sf %{sgml_config_dir}/CATALOG.%{name} \
+ $RPM_BUILD_ROOT%{sgml_dir}/CATALOG.docbk41
+cat_dir=%{buildroot}/etc/xml
+%{INSTALL_DIR} $cat_dir
+%{INSTALL_DATA} %{FOR_ROOT_CAT} docbook_41.xml $cat_dir
+# rng
+%{INSTALL_DIR} $RPM_BUILD_ROOT%{xml_docbook_rng_dir}/{4.3,4.4} \
+ $RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/{4.3,4.4}
+unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_rng_dir}/4.2 %{S:422}
+unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_rng_dir}/4.3 %{S:432}
+unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_rng_dir}/4.4 %{S:442}
+unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_rng_dir}/4.5 %{S:452}
+# w3c schema
+unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/4.2 %{S:422}
+unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/4.3 %{S:433}
+unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/4.4 %{S:443}
+unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/4.5 %{S:453}
+# cleanup
+%fdupes $RPM_BUILD_ROOT
+
+%post
+if [ -x %{regcat} ]; then
+ for c in %{my_all_cat}; do
+ %{regcat} -a %{sgml_dir}/CATALOG.$c \
+ >/dev/null 2>&1 || true
+ done
+fi
+if [ -x /usr/bin/edit-xml-catalog ]; then
+ /usr/bin/edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
+ --add /etc/xml/%{FOR_ROOT_CAT}
+fi
+
+%postun
+if [ "$1" = "0" -a -x %{regcat} ]; then
+ for c in %{my_all_cat}; do
+ %{regcat} -r %{sgml_dir}/CATALOG.$c \
+ >/dev/null 2>&1 || true
+ done
+fi
+# remove entries only on removal of file
+if [ ! -f %{xml_sysconf_dir}/%{FOR_ROOT_CAT} -a -x /usr/bin/edit-xml-catalog ] ; then
+ /usr/bin/edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
+ --del %{name}-%{version}
+fi
+
+%files
+%defattr(-, root, root)
+%config %{sgml_config_dir}/CATALOG.*
+%{sgml_dir}/CATALOG.*
+%{sgml_docbook_dtd_dir}/4.1
+%{sgml_docbook_dtd_dir}/4.2
+%{sgml_docbook_dtd_dir}/4.3
+%{sgml_docbook_dtd_dir}/4.4
+%{sgml_docbook_dtd_dir}/4.5
+#
+%{sgml_docbook_dtd_dir}/4.1xml
+%{sgml_docbook_dtd_dir}/4.2xml
+%{sgml_docbook_dtd_dir}/4.3xml
+%{sgml_docbook_dtd_dir}/4.4xml
+%{sgml_docbook_dtd_dir}/4.5xml
+#
+%{xml_docbook_dtd_dir}/4.1
+%{xml_docbook_dtd_dir}/4.2
+%{xml_docbook_dtd_dir}/4.3
+%{xml_docbook_dtd_dir}/4.4
+%{xml_docbook_dtd_dir}/4.5
+#
+%{xml_docbook_rng_dir}/4.2
+%{xml_docbook_rng_dir}/4.3
+%{xml_docbook_rng_dir}/4.4
+%{xml_docbook_rng_dir}/4.5
+#
+%{xml_docbook_xsd_dir}/4.2
+%{xml_docbook_xsd_dir}/4.3
+%{xml_docbook_xsd_dir}/4.4
+%{xml_docbook_xsd_dir}/4.5
+#
+%config %{xml_sysconf_dir}/docbook_41.xml
+%config %{xml_sysconf_dir}/%{FOR_ROOT_CAT}
+%dir %{sgml_dir}/docbook/dtd
+%{sgml_dir}/docbook_4.1
+# %dir %{xml_dir}
+# %dir %{xml_docbook_dir}
+%dir %{xml_docbook_dir}/schema
+%dir %{xml_docbook_dtd_dir}
+%dir %{xml_docbook_rng_dir}
+%dir %{xml_docbook_xsd_dir}
+
+%changelog
--- /dev/null
+Name: dos2unix
+Version: 6.0
+Release: 0
+License: BSD-3-Clause
+Summary: Text converters to and from DOS/MAC to UNIX
+Url: http://waterlan.home.xs4all.nl/dos2unix.html
+Group: Productivity/Text/Convertors
+Source: http://waterlan.home.xs4all.nl/dos2unix/dos2unix-%{version}.tar.gz
+BuildRequires: gettext-tools
+Provides: unix2dos = %{version}
+Obsoletes: unix2dos < %{version}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+Dos2unix is used to convert plain text from DOS (CR/LF) format. Mac2unix
+converts plain text from MAC (CR) format to UNIX format (LF).
+
+Unix2dos converts plain text files from UNIX
+format to DOS format and unix2dos converts from UNIX to MAC format.
+
+%prep
+%setup -q
+find . -type f | xargs chmod -x
+
+%build
+export RPM_OPT_FLAGS
+make %{?_smp_mflags} CC="gcc" HTMLEXT="html"
+
+%install
+%make_install docdir=%{_defaultdocdir}/%{name}
+%{find_lang} dos2unix --all-name --with-man
+
+%files -f dos2unix.lang
+%defattr(-,root,root,0755)
+%doc /usr/share/doc/%{name}-%{version}
+%{_bindir}/dos2unix
+%{_bindir}/mac2unix
+%{_bindir}/unix2mac
+%{_bindir}/unix2dos
+%doc %{_mandir}/*/dos2unix.1*
+%doc %{_mandir}/*/mac2unix.1*
+%doc %{_mandir}/*/unix2mac.1*
+%doc %{_mandir}/*/unix2dos.1*
+%doc %lang(nl) %dir %{_mandir}/nl
--- /dev/null
+Name: dosfstools
+Version: 3.0.16
+Release: 0
+License: GPL-3.0+
+Group: Base/File Systems
+Summary: Utilities for Making and Checking MS-DOS FAT File Systems on Linux
+URL: http://www.daniel-baumann.ch/software/dosfstools/
+Source: %{name}-%{version}.orig.tar.xz
+Source1001: dosfstools.manifest
+
+%description
+The dosfstools package includes the mkdosfs and dosfsck utilities,
+which respectively make and check MS-DOS FAT file systems on hard
+drives or on floppies.
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+make
+
+%install
+make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
+
+rm -rf %{buildroot}%{_datadir}/doc/dosfstools
+
+
+%docs_package
+
+%files
+%license COPYING
+%manifest dosfstools.manifest
+%{_sbindir}/dosfsck
+%{_sbindir}/dosfslabel
+%{_sbindir}/fsck.msdos
+%{_sbindir}/fsck.vfat
+%{_sbindir}/mkdosfs
+%{_sbindir}/mkfs.msdos
+%{_sbindir}/mkfs.vfat
--- /dev/null
+
+Name: download-provider
+Summary: Download the contents in background
+Version: 1.0.5
+Release: 9
+Group: Development/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: download-provider.service
+Requires(post): /usr/bin/sqlite3
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(xdgmime)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(capi-network-connection)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(wifi-direct)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+%description
+Description: download the contents in background
+
+%package devel
+Summary: Download-provider
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Description: download the contents in background (developement files)
+
+%prep
+%setup -q
+
+%define _imagedir /usr/share/download-provider
+%define _databasedir /opt/usr/dbspace
+%define _databasefile %{_databasedir}/.download-provider.db
+%define _dbusservicedir /usr/share/dbus-1/services
+%define _licensedir /usr/share/license
+
+%define cmake \
+ CFLAGS="${CFLAGS:-%optflags} -fPIC -D_REENTRANT -fvisibility=hidden"; export CFLAGS \
+ FFLAGS="${FFLAGS:-%optflags} -fPIC -fvisibility=hidden"; export FFLAGS \
+ LDFLAGS+=" -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS \
+ %__cmake \\\
+ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
+ -DBIN_INSTALL_DIR:PATH=%{_bindir} \\\
+ -DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
+ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
+ -DPKG_NAME=%{name} \\\
+ -DPKG_VERSION=%{version} \\\
+ -DPKG_RELEASE=%{release} \\\
+ -DIMAGE_DIR:PATH=%{_imagedir} \\\
+ -DDATABASE_FILE:PATH=%{_databasefile} \\\
+ -DDBUS_SERVICE_DIR:PATH=%{_dbusservicedir} \\\
+ -DLICENSE_DIR:PATH=%{_licensedir} \\\
+ -DSUPPORT_DBUS_SYSTEM:BOOL=ON \\\
+ -DSUPPORT_WIFI_DIRECT:BOOL=OFF \\\
+ -DSUPPORT_LOG_MESSAGE:BOOL=ON \\\
+ -DSUPPORT_CHECK_IPC:BOOL=ON \\\
+ %if "%{?_lib}" == "lib64" \
+ %{?_cmake_lib_suffix64} \\\
+ %endif \
+ %{?_cmake_skip_rpath} \\\
+ -DBUILD_SHARED_LIBS:BOOL=ON
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}%{_licensedir}
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
+ln -s %{_sysconfdir}/rc.d/init.d/download-provider-service %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S70download-provider-service
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d
+ln -s %{_sysconfdir}/rc.d/init.d/download-provider-service %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S70download-provider-service
+
+mkdir -p %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants
+install %{SOURCE1} %{buildroot}/usr/lib/systemd/user/
+ln -s ../download-provider.service %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants/
+
+mkdir -p %{buildroot}/opt/data/%{name}
+mkdir -p %{buildroot}%{_databasedir}
+if [ ! -f %{buildroot}%{_databasefile} ];
+then
+sqlite3 %{buildroot}%{_databasefile} 'PRAGMA journal_mode=PERSIST;
+PRAGMA foreign_keys=ON;
+CREATE TABLE logging
+(
+id INTEGER UNIQUE PRIMARY KEY,
+state INTEGER DEFAULT 0,
+errorcode INTEGER DEFAULT 0,
+startcount INTEGER DEFAULT 0,
+packagename TEXT DEFAULT NULL,
+createtime DATE,
+accesstime DATE
+);
+
+CREATE TABLE requestinfo
+(
+id INTEGER UNIQUE PRIMARY KEY,
+auto_download BOOLEAN DEFAULT 0,
+state_event BOOLEAN DEFAULT 0,
+progress_event BOOLEAN DEFAULT 0,
+noti_enable BOOLEAN DEFAULT 0,
+network_type TINYINT DEFAULT 0,
+filename TEXT DEFAULT NULL,
+destination TEXT DEFAULT NULL,
+url TEXT DEFAULT NULL,
+FOREIGN KEY(id) REFERENCES logging(id) ON DELETE CASCADE
+);
+
+CREATE TABLE downloadinfo
+(
+id INTEGER UNIQUE PRIMARY KEY,
+http_status INTEGER DEFAULT 0,
+content_size UNSIGNED BIG INT DEFAULT 0,
+mimetype VARCHAR(64) DEFAULT NULL,
+content_name TEXT DEFAULT NULL,
+saved_path TEXT DEFAULT NULL,
+tmp_saved_path TEXT DEFAULT NULL,
+etag TEXT DEFAULT NULL,
+FOREIGN KEY(id) REFERENCES logging(id) ON DELETE CASCADE
+);
+
+CREATE TABLE httpheaders
+(
+id INTEGER NOT NULL,
+header_field TEXT DEFAULT NULL,
+header_data TEXT DEFAULT NULL,
+FOREIGN KEY(id) REFERENCES logging(id) ON DELETE CASCADE
+);
+
+CREATE TABLE notification
+(
+id INTEGER NOT NULL,
+extra_key TEXT DEFAULT NULL,
+extra_data TEXT DEFAULT NULL,
+FOREIGN KEY(id) REFERENCES logging(id) ON DELETE CASCADE
+);
+
+CREATE UNIQUE INDEX requests_index ON logging (id, state, errorcode, packagename, createtime, accesstime);
+'
+fi
+
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%dir %attr(0775,root,app) /opt/data/%{name}
+%manifest download-provider.manifest
+%{_imagedir}/*.png
+%{_libdir}/libdownloadagent2.so.0.0.1
+%{_libdir}/libdownloadagent2.so
+/usr/lib/systemd/user/download-provider.service
+/usr/lib/systemd/user/tizen-middleware.target.wants/download-provider.service
+%{_libdir}/libdownload-provider-interface.so.%{version}
+%{_libdir}/libdownload-provider-interface.so.0
+%{_bindir}/%{name}
+%{_sysconfdir}/rc.d/init.d/download-provider-service
+%{_sysconfdir}/rc.d/rc3.d/S70download-provider-service
+%{_sysconfdir}/rc.d/rc5.d/S70download-provider-service
+%{_licensedir}/%{name}
+%{_dbusservicedir}/org.download-provider.service
+%attr(660,root,app) /opt/usr/dbspace/.download-provider.db
+%attr(660,root,app) /opt/usr/dbspace/.download-provider.db-journal
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libdownloadagent2.so.0.0.1
+%{_libdir}/libdownloadagent2.so
+%{_libdir}/libdownload-provider-interface.so
+%{_includedir}/download-provider/download-provider-defs.h
+%{_includedir}/download-provider/download-provider-interface.h
+%{_bindir}/%{name}
+%{_libdir}/pkgconfig/download-provider.pc
+%{_libdir}/pkgconfig/download-provider-interface.pc
+
+%changelog
+* Thu May 15 2013 Jungki Kwak <jungki.kwak@samsung.com>
+- Create default download directory with app ownership
+
+* Fri May 10 2013 Kwangmin Bang <justine.bang@samsung.com>
+- raise the limitaion regarding the number of downloads which a process can make : 5 => 32
+
+* Thu May 09 2013 Jungki Kwak <jungki.kwak@samsung.com>
+- pthread_join for ending of queue-manager thread
+- fix the segmentation fault if call download_get_url() without calling download_create()
+- download_get_url() return wrong error with invalid id
+- use dp_request_slots as user_data of da_agent
+- remove warning message in build time
+- Resolve a prevent issue
+- PRAGMA synchronous=FULL
+- Change to check mandatory value in started callback
+- Resolve a bug about checking agent id
+- Fix for 64 bit compatibility
+
+* Wed Mar 27 2013 Kwangmin Bang <justine.bang@samsung.com>
+- prevent defect : Explicit null dereferenced
+- smack for dbus service
+
+* Mon Mar 25 2013 Jungki Kwak <jungki.kwak@samsung.com>
+- Security coding : check all of parameters
+- Security & privacy : remove private info from log message
+- Missing errorcode
+
+* Wed Mar 20 2013 Kwangmin Bang <justine.bang@samsung.com>
+- increase the length limitation
+
+* Tue Mar 19 2013 Kwangmin Bang <justine.bang@samsung.com>
+- new API : dp_interface_get_http_header_field_list()
+
+* Tue Mar 05 2013 Jungki Kwak <jungki.kwak@samsung.com>
+- Add function to handle credential URL
+- Add functions for notification extra list.
+- Close socket and group if failed to read the packet
+- Return errorcode if failed to copy string
+- Resolve wrong initialization
+- Remove warning message in build time
+- Functionize accepting the client
+- Support N values per a extra-parem key
+- Resolve a bug about converting error from agent
+- Modify to check return value about DRM API
+- Use enum value same with url-download
+- Add to ignore SIGPIPE
+- [prevent defect] Dereference before null check (REVERSE_INULL)
+- [prevent defect] Logically dead code (DEADCODE)
+- Check System Signal in all read call
+- Apply "ignore EINTR" patch of url-download to provider-interface
+
+* Fri Feb 01 2013 Kwangmin Bang <justine.bang@samsung.com>
+- [smack] manifest for booting-script
+- [prevent defect] Dereference after null check
+
+* Thu Jan 31 2013 Kwangmin Bang <justine.bang@samsung.com>
+- add the state which means is connecting to remote
+
+* Wed Jan 30 2013 Kwangmin Bang <justine.bang@samsung.com>
+- [smack] labeling for booting script
+- [prevent defect] Dereference before/after null check
+
+* Tue Jan 29 2013 Jungki Kwak <jungki.kwak@samsung.com>
+- Add to check invalid state when setting the callback
+- Resolve prevent defects
+- Remove the dependancy with unnecessary package
+- Remove the dependancy with dbus-glib
+- Modify smack label of shared library
+
+* Mon Jan 28 2013 Kwangmin Bang <justine.bang@samsung.com>
+- recognize who launch me by parameter of main function
+- ready the socket first before initializing dbus service
+
+* Fri Jan 25 2013 Jungki Kwak <jungki.kwak@samsung.com>
+- Resolve compile error with GCC-4.7
+- Convert error value in case the download start is failed
+- Add to check the user's install direcoty
+- Modify the name of license and add notice file
+- Call sqlite3 in install section in spec file
+- Terminate Only when support DBUS-Activation
+
+* Fri Jan 11 2013 Kwangmin Bang <justine.bang@samsung.com>
+- crash when terminated after clear requests all in timeout
+- Change the flow of playready download
+- audo_download need start_time
+
+* Tue Jan 08 2013 Jungki Kwak <jungki.kwak@samsung.com>
+- Resolve prevent defects
+- [Title] Fixed a bug that the icon of txt file can't be recognized and the txt file can't be opend
+- Modify to check returned value of sqlite API
+- Show error string in case of download CAPI failure
+
+* Fri Dec 21 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Send file_size from memory first
+- Add error code about libsoup error message
+- Change the session time-out to 60 seconds
+- Remove duplicated dlog message
+- Modify a bug to get mime type from db
+- Modify license information at spec file
+- Resolve prevent defects
+- Add missed existed db file when creaing db table
+- The temporary file is not used any more
+- Use SQL without MUTEX LOCK
+- Support ECHO command
+- Reduce SQL query to prevent SQL Error
+- replace snprintf to sqlite3_mprintf for prepare sqlite3_stmt
+
+* Fri Dec 14 2012 Kwangmin Bang <justine.bang@samsung.com>
+- add credential in request structure
+- change to ORDER BY createtime ASC from DESC in getting old list
+- Resolve prevent defects
+- Add boiler plates
+- Remove old source codes
+- apply the authentication by packagename for all commands
+- fix memory leak in error case of DB query
+- Add micro seconds value for temporary file name
+- apply the limit count and sorting in SQL query
+- do not load PAUSED request in booting time
+- Add define statement for OMA DRM
+- call IPC for sending event at the tail of function
+- maintain DB info in DESTROY command
+- Separate DB Table, reduce the amount of memory
+
+* Fri Dec 07 2012 Kwangmin Bang <justine.bang@samsung.com>
+- fix the crash when terminating by itself
+
+* Thu Dec 06 2012 Kwangmin Bang <justine.bang@samsung.com>
+- Fix the crash when accessing the history
+
+* Fri Nov 30 2012 Kwangmin Bang <justine.bang@samsung.com>
+- support DBUS-activation
+- apply int64 for file size
+- most API support ID_NOT_FOUND errorcode
+- fix crash and memory leak in SET_EXTRA_PARAM
+- fix memory leak in HTTP_HEADER case
+- remove servicedata column
+- Add to update the last received size
+
+* Tue Nov 27 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Change to parse the content name
+- Change the policy for temporary file name
+- Change to get etag when download is failed
+- DP_ERROR_ID_NOT_FOUND for set_url COMMAND
+- new common sql function for getting/setting a column
+- Add operation when registering notification
+- disable flexible timeout, use 60 sec for timeout
+- allow set_url even if unloaded from memory
+- Add functions for notification extra param
+- Block to can not re-use the request is completed
+- send errorcode to client why failed to create request
+- unload the request which not setted auto_download when client is terminated
+- call da_agent_cancel after free slot
+- Add debug message for event queue of client mgr
+- Modify abort flow in case of deinit
+
+* Fri Nov 16 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Resolve a bug about execute option API of ongoing notification
+- load all request in queue in booting time
+- stay on the memory although no client
+- Dead default in switch
+- Enable to register notification message
+- Add to add, get and remove http header values
+- Change functions to pause and resume which is based on download ID
+- Unchecked return value
+- clear history if registered before 48 hours or total of histories is over 1000.
+- stay on memory if client is connected with provider
+- advance auto-download feature
+- remove __thread keyword for sqlite handle
+- update regdate after copy history from queue
+- concede network is connected although detail get API is failed in connection state changed callback.
+- read pid from client when no support SO_PEERCRED
+- wake up Queue thread only when exist ready request
+- Add functions to save and submit http status code to client
+- detect network changes using connection callback
+
+* Thu Nov 08 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- In Offline state, do not search queue
+- Apply changed enum value of connection CAPI
+
+* Wed Oct 31 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- change the limitaiton count can download at once
+- support Cancel after Pause
+- Change the installation directory according to guide
+- deal as error if write() return 0
+
+* Mon Oct 28 2012 Kwangmin Bang <justine.bang@samsung.com>
+- increase the timout of socket
+- enhance socket update feature
+
+* Thu Oct 25 2012 Kwangmin Bang <justine.bang@samsung.com>
+- prevent defects
+- change the limitation of length
+- improve the performance logging to DB
+- check packagename for resume call
+- refresh FD_SET when only new socket is accepted
+- Fix the socket error when a client is crashed
+
+* Tue Oct 23 2012 Kwangmin Bang <justine.bang@samsung.com>
+- terminate daemon in main socket error
+- apply reading timeout for socket
+
+* Mon Oct 22 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Resolve the lockup when client app is crashed
+- Check the state before starting download
+- Support paused callback
+
+* Fri Oct 19 2012 Kwangmin Bang <justine.bang@samsung.com>
+ - replace ID based download-provider to Major Process
+
+* Tue Oct 16 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Install LICENSE file
+
+* Fri Oct 12 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Install LICENSE file
+
+* Thu Oct 11 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Use mutex when calling xdgmime API
+- Do not use fsync function
+
+* Mon Oct 08 2012 Kwangmin Bang <justine.bang@samsung.com>
+- Fix the crash when come many stop with terminating App
+
+* Fri Sep 28 2012 Kwangmin Bang <justine.bang@samsung.com>
+- Add exception code about content-dispostion
+- wait to free till callback is finished
+
+* Mon Sep 24 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Add to define for db an library in manifest file
+
+* Fri Sep 21 2012 Kwangmin Bang <justine.bang@samsung.com>
+- prevent free slot till called notify_cb
+- socket descriptor can be zero
+
+* Fri Sep 21 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Apply manifest file in which the domain is defined
+- Change way to pass extension data
+
+* Fri Sep 14 2012 Kwangmin Bang <justine.bang@samsung.com>
+- fix the crash by assert of pthread_mutex_lock
+- NULL-check before free
+- guarantee instant download for pended requests
+- add descriptor
+- fix the memory leak in error case of ipc_receive_request_msg
+- guarantee one instant download per app
+- call pthread_exit to terminate the currently running thread
+- Remove pthread_cancel function
+
+* Fri Sep 07 2012 Kwangmin Bang <justine.bang@samsung.com>
+- add LICENSE
+- Add to search download id from history db
+
+* Thu Sep 06 2012 Kwangmin Bang <justine.bang@samsung.com>
+- start to download again even if already finished
+- change thread style
+- arrange the request priority
+- change data type
+- wait till getting the response from client
+
+* Mon Sep 03 2012 Kwangmin Bang <justine.bang@samsung.com>
+- fix timeout error
+
+* Mon Sep 03 2012 Kwangmin Bang <justine.bang@samsung.com>
+- free slot after getting event from url-download
+- fix INTEGER OVERFLOW
+
+* Thu Aug 30 2012 Kwangmin Bang <justine.bang@samsung.com>
+- initialize mutex for auto-redownloading
+- support Pause/Resume with new connection
+- fix the memory leak
+
+* Mon Aug 27 2012 Kwangmin Bang <justine.bang@samsung.com>
+- Change the ownership of downloaded file
+- Add detached option when pthread is created
+- fix the failure getting history info from database
+- fix first timeout takes a long time
+- fix wrong checking of network status
+- fix the crash by double free
+- divide log level
+- Resolve prevent defects for agent module
+- Resolve a bug to join domain in case of playready
+
+* Tue Aug 23 2012 Kwangmin Bang <justine.bang@samsung.com>
+- event thread does not deal in some state
+- fix the lockup by mutex and the crash by invaild socket event
+
+* Tue Aug 22 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Fix the crash when use notification
+- One thread model for socket
+- Fix the defects found by prevent tool
+- Remove mutex lock/unlock in case of invalid id
+- Support the status of download in case of getting new connection with requestid
+- Clear db and register notification when stopped the download
+- Update notification function
+- Enable to set the defined file name by user
+
+* Tue Aug 17 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Enable to use destination path
+- Add to handle invalid id
+
+* Tue Aug 16 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Change socket close timing
+
+* Mon Aug 13 2012 Kwangmin Bang <justine.bang@samsung.com>
+- Disable default dlog in launching script.
+
+* Tue Aug 09 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- The function to init dbus glib is removed
+
+* Tue Aug 08 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- The function to init dbus glib is added for connection network CAPI
+
+* Tue Aug 07 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Change the name of temp direcoty.
+- When add requestinfo to slot, save it to DB.
+
+* Mon Aug 06 2012 Jungki Kwak <jungki.kwak@samsung.com>
+- Initial version is updated.
+
--- /dev/null
+Name: doxygen
+Version: 1.8.2
+Release: 1
+License: GPL-2.0+
+Summary: Automated C, C++, and Java Documentation Generator
+Url: http://www.stack.nl/~dimitri/doxygen/
+Group: Development/Tools
+Source: http://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar.gz
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: gcc-c++
+BuildRequires: gettext-tools
+%description
+Doxygen is a documentation system for C, C++, Java, and IDL. It can
+generate an online class browser (in HTML) and an offline reference
+manual (in LaTeX) from a set of documented source files. The
+documentation is extracted directly from the sources. Doxygen is
+developed on a Linux platform, but it runs on most other UNIX flavors
+as well. An executable for Windows 95/NT is also available.
+
+%prep
+%setup -q
+
+%build
+unset QTDIR
+./configure \
+ --prefix %{_prefix} \
+ --shared \
+ --release
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%attr(755,root,root) %{_bindir}/*
+
--- /dev/null
+%define dracutlibdir %{_prefix}/lib/dracut
+
+# Variables must be defined
+%define with_nbd 0
+
+Name: dracut
+Version: 025
+Release: 0
+Summary: Initramfs generator using udev
+Group: Base/Startup
+# The entire source code is GPL-2.0+
+# except install/* which is LGPL-2.1+
+License: GPL-2.0+ and LGPL-2.1+
+Url: https://dracut.wiki.kernel.org/
+Source0: %{name}-%{version}.tar.xz
+BuildRequires: asciidoc
+BuildRequires: bash
+BuildRequires: dash
+BuildRequires: git
+BuildRequires: xsltproc
+Requires: bash
+Requires: coreutils
+Requires: cpio
+Requires: file
+Requires: filesystem
+Requires: findutils
+Requires: grep
+Requires: gzip
+Requires: hardlink
+Requires: kbd
+Requires: kmod-compat
+Requires: kpartx
+Requires: sed
+Requires: udev > 166
+Requires: util-linux >= 2.21
+Requires: xz
+Conflicts: systemd < 187
+
+%description
+Dracut contains tools to create a bootable initramfs for 2.6 Linux kernels.
+Unlike existing implementations, dracut does hard-code as little as possible
+into the initramfs. Dracut contains various modules which are driven by the
+event-based udev. Having root on MD, DM, LVM2, LUKS is supported as well as
+NFS, iSCSI, NBD, FCoE with the dracut-network package.
+
+%package network
+Summary: Dracut modules to build a dracut initramfs with network support
+Requires: %{name} = %{version}
+
+%description network
+This package requires everything which is needed to build a generic
+all purpose initramfs with network support with dracut.
+
+%package caps
+Summary: Dracut modules to build a dracut initramfs which drops capabilities
+Requires: %{name} = %{version}
+Requires: libcap
+
+%description caps
+This package requires everything which is needed to build an
+all purpose initramfs with dracut, which drops capabilities.
+
+%package tools
+Summary: Dracut tools to build the local initramfs
+Requires: %{name} = %{version}
+
+%description tools
+This package contains tools to assemble the local initrd and host configuration.
+
+%prep
+%setup -q
+%build
+make all
+
+%install
+make install DESTDIR=%{buildroot} \
+ libdir=%{_prefix}/lib \
+ bindir=%{_bindir} \
+%if %{defined _unitdir}
+ systemdsystemunitdir=%{_unitdir} \
+%endif
+ sysconfdir=/etc mandir=%{_mandir}
+
+echo "DRACUT_VERSION=%{version}-%{release}" > %{buildroot}/%{dracutlibdir}/dracut-version.sh
+
+rm -fr %{buildroot}/%{dracutlibdir}/modules.d/01fips
+rm -fr %{buildroot}/%{dracutlibdir}/modules.d/02fips-aesni
+
+
+# remove gentoo specific modules
+rm -fr %{buildroot}/%{dracutlibdir}/modules.d/50gensplash
+
+%if %{defined _unitdir}
+# with systemd IMA and selinux modules do not make sense
+rm -fr %{buildroot}/%{dracutlibdir}/modules.d/96securityfs
+rm -fr %{buildroot}/%{dracutlibdir}/modules.d/97masterkey
+rm -fr %{buildroot}/%{dracutlibdir}/modules.d/98integrity
+rm -fr %{buildroot}/%{dracutlibdir}/modules.d/98selinux
+%endif
+
+mkdir -p %{buildroot}/boot/dracut
+mkdir -p %{buildroot}%{_localstatedir}/lib/dracut/overlay
+mkdir -p %{buildroot}%{_localstatedir}/log
+touch %{buildroot}%{_localstatedir}/log/dracut.log
+mkdir -p %{buildroot}%{_sharedstatedir}/initramfs
+
+install -m 0644 dracut.conf.d/suse.conf.example %{buildroot}%{_sysconfdir}/dracut.conf.d/01-dist.conf
+
+
+mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
+install -m 0644 dracut.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/dracut_log
+
+
+%files
+%defattr(-,root,root,0755)
+%license COPYING
+%{_bindir}/dracut
+# compat symlink
+%{_bindir}/mkinitrd
+%{_bindir}/lsinitrd
+%dir %{dracutlibdir}
+%dir %{dracutlibdir}/modules.d
+%{dracutlibdir}/dracut-functions.sh
+%{dracutlibdir}/dracut-functions
+%{dracutlibdir}/dracut-version.sh
+%{dracutlibdir}/dracut-logger.sh
+%{dracutlibdir}/dracut-initramfs-restore
+%{dracutlibdir}/dracut-install
+%config(noreplace) %{_sysconfdir}/dracut.conf
+%config %{_sysconfdir}/dracut.conf.d/01-dist.conf
+%dir %{_sysconfdir}/dracut.conf.d
+%{_mandir}/man8/dracut.8*
+%{_mandir}/man8/*service.8*
+%{_mandir}/man8/mkinitrd.8*
+%{_mandir}/man1/lsinitrd.1*
+%{_mandir}/man7/dracut.kernel.7*
+%{_mandir}/man7/dracut.cmdline.7*
+%{_mandir}/man5/dracut.conf.5*
+%{dracutlibdir}/modules.d/00dash
+%{dracutlibdir}/modules.d/00bootchart
+%{dracutlibdir}/modules.d/04watchdog
+%{dracutlibdir}/modules.d/05busybox
+%{dracutlibdir}/modules.d/10i18n
+%{dracutlibdir}/modules.d/30convertfs
+%{dracutlibdir}/modules.d/45url-lib
+%{dracutlibdir}/modules.d/50plymouth
+%{dracutlibdir}/modules.d/50drm/module-setup.sh
+%{dracutlibdir}/modules.d/80cms
+%{dracutlibdir}/modules.d/90btrfs
+%{dracutlibdir}/modules.d/90crypt
+%{dracutlibdir}/modules.d/90dm
+%{dracutlibdir}/modules.d/90dmraid
+%{dracutlibdir}/modules.d/90dmsquash-live
+%{dracutlibdir}/modules.d/90kernel-modules
+%{dracutlibdir}/modules.d/90lvm
+%{dracutlibdir}/modules.d/90mdraid
+%{dracutlibdir}/modules.d/90multipath
+%{dracutlibdir}/modules.d/90qemu
+%{dracutlibdir}/modules.d/91crypt-gpg
+%{dracutlibdir}/modules.d/91crypt-loop
+%{dracutlibdir}/modules.d/95debug
+%{dracutlibdir}/modules.d/95resume
+%{dracutlibdir}/modules.d/95rootfs-block
+%{dracutlibdir}/modules.d/95dasd
+%{dracutlibdir}/modules.d/95dasd_mod
+%{dracutlibdir}/modules.d/95fstab-sys
+%{dracutlibdir}/modules.d/95zfcp
+%{dracutlibdir}/modules.d/95terminfo
+%{dracutlibdir}/modules.d/95udev-rules
+%{dracutlibdir}/modules.d/95virtfs
+%if %{undefined _unitdir}
+%{dracutlibdir}/modules.d/96securityfs
+%{dracutlibdir}/modules.d/97masterkey
+%{dracutlibdir}/modules.d/98selinux
+%{dracutlibdir}/modules.d/98integrity
+%endif
+%{dracutlibdir}/modules.d/97biosdevname
+%{dracutlibdir}/modules.d/98ecryptfs
+%{dracutlibdir}/modules.d/98pollcdrom
+%{dracutlibdir}/modules.d/98syslog
+%{dracutlibdir}/modules.d/98systemd
+%{dracutlibdir}/modules.d/98usrmount
+%{dracutlibdir}/modules.d/99base
+%{dracutlibdir}/modules.d/99fs-lib
+%{dracutlibdir}/modules.d/99img-lib
+%{dracutlibdir}/modules.d/99shutdown
+%config(noreplace) %{_sysconfdir}/logrotate.d/dracut_log
+%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
+%dir %{_sharedstatedir}/initramfs
+%if %{defined _unitdir}
+%{_unitdir}/dracut-shutdown.service
+%{_unitdir}/shutdown.target.wants/dracut-shutdown.service
+%endif
+
+%files network
+%defattr(-,root,root,0755)
+%{dracutlibdir}/modules.d/40network
+%{dracutlibdir}/modules.d/95fcoe
+%{dracutlibdir}/modules.d/95iscsi
+%{dracutlibdir}/modules.d/90livenet
+%{dracutlibdir}/modules.d/90qemu-net
+%{dracutlibdir}/modules.d/95cifs
+%{dracutlibdir}/modules.d/95nbd
+%{dracutlibdir}/modules.d/95nfs
+%{dracutlibdir}/modules.d/95ssh-client
+%{dracutlibdir}/modules.d/45ifcfg
+%{dracutlibdir}/modules.d/95znet
+
+
+%files caps
+%defattr(-,root,root,0755)
+%{dracutlibdir}/modules.d/02caps
+
+%files tools
+%defattr(-,root,root,0755)
+%{_mandir}/man8/dracut-catimages.8*
+%{_bindir}/dracut-catimages
+%dir /boot/dracut
+%dir %{_localstatedir}/lib/dracut
+%dir %{_localstatedir}/lib/dracut/overlay
+
--- /dev/null
+%define PREFIX /opt/apps/org.tizen.draglock
+
+Name: org.tizen.draglock
+Summary: Lock screen application
+Version: 0.1.8
+Release: 2
+Group: TBD
+License: Flora Software License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-system-power)
+BuildRequires: pkgconfig(capi-system-runtime-info)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(svi)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: cmake
+BuildRequires: gettext
+BuildRequires: edje-tools
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/vconftool
+requires(postun): /sbin/ldconfig
+%description
+Lock screen application.
+
+
+%prep
+%setup -q
+
+%build
+LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--as-needed";export LDFLAGS
+cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+mkdir -p %{buildroot}/opt/apps/org.tizen.draglock/data
+
+%post
+/sbin/ldconfig
+
+GOPTION="-g 6514"
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%attr(-,inhouse,inhouse) %dir /opt/apps/org.tizen.draglock/data
+/opt/apps/org.tizen.draglock/res/locale
+/opt/apps/org.tizen.draglock/bin/draglock
+/opt/apps/org.tizen.draglock/res/edje/draglock.edj
+/opt/share/packages/%{name}.xml
--- /dev/null
+Name: dri2proto
+Summary: X.Org X11 Protocol dri2proto
+Version: 2.8
+Release: 1
+Group: Development/System
+License: MIT
+URL: http://www.x.org
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: drm-client
+Summary: DRM client Package
+Version: 0.0.30
+Release: 0
+Group: TO_BE/FILLED_IN
+License: Apache
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: cmake
+
+%description
+DRM client library (Shared Object)
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description devel
+Development files for %{name}
+
+%prep
+%setup -q
+
+%build
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/drm-client/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/drm-client.pc
+
+%clean
+rm -rf CMakeCache.txt
+rm -rf CMakeFiles
+rm -rf cmake_install.cmake
+rm -rf Makefile
+rm -rf install_manifest.txt
+rm -rf *.pc
+rm -rf documentation.list
+
+rm -rf libdrm-client.so libdrm-client.so.0 libdrm-client.so.0.0.1
--- /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
+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
+
+%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
+%license LICENSE.APLv2
+%{_libdir}/*.a
+
+
+%files devel
+%{_includedir}/*
+%{_libdir}/pkgconfig/dukgenerator.pc
--- /dev/null
+Name: e17-extra-private-modules
+Summary: The E17 Extra Private Modules The E17 extra private modules consists of modules made by SAMSUNG
+Version: 0.1.19
+Release: 1
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(enlightenment)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(dlog)
+Requires: libx11
+
+
+%description
+The E17 Extra Private Modules The E17 extra private modules consists of modules made by SAMSUNG.
+
+
+%prep
+%setup -q
+
+
+%build
+export CFLAGS+=" -Wall -g -fPIC -rdynamic"
+export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib"
+
+%ifarch %{arm}
+export CFLAGS+=" -D_ENV_ARM"
+%endif
+
+for FILE in config-slp
+do
+ (cd $FILE && ./autogen.sh && ./configure --prefix=/usr && make )
+done
+
+
+%install
+rm -rf %{buildroot}
+
+for FILE in config-slp
+do
+ (cd $FILE && %make_install )
+done
+
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/enlightenment/modules/config-slp/*
--- /dev/null
+Name: e17-misc
+Summary: E17 Config files
+Version: 0.4.2
+Release: 1
+Group: System/GUI/Other
+License: BSD
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(eet)
+BuildRequires: eet-tools
+Requires: e17
+
+%description
+The E17 extra configuration files
+
+%prep
+%setup -q
+
+%build
+%autogen
+%configure --prefix=/opt/home/app
+make
+
+%install
+%make_install
+
+# for license notification
+mkdir -p %{buildroot}/usr/share/license
+cp -a COPYING %{buildroot}/usr/share/license/%{name}
+
+%ifarch %{arm}
+# ARM build target
+%__mkdir_p %{buildroot}/opt/home/app/.e/apps
+%__cp -afr %{_arch}/opt/home/app/.e/apps/* %{buildroot}/opt/home/app/.e/apps
+
+%__mkdir_p %{buildroot}/opt/home/app/.e/e/applications
+%__cp -afr %{_arch}/opt/home/app/.e/e/applications/* %{buildroot}/opt/home/app/.e/e/applications
+
+%__mkdir_p %{buildroot}/opt/home/app/.e/e/backgrounds
+%__cp -afr %{_arch}/opt/home/app/.e/e/backgrounds/* %{buildroot}/opt/home/app/.e/e/backgrounds
+
+%__cp -afr %{_arch}/opt/home/app/.e/e/config/*.cfg %{buildroot}/opt/home/app/.e/e/config
+%__cp -afr %{_arch}/opt/home/app/.e/e/config/samsung/*.cfg %{buildroot}/opt/home/app/.e/e/config/samsung
+
+%else
+
+%if 0%{?simulator}
+# emul build target
+%__mkdir_p %{buildroot}/opt/home/app/.e/apps
+%__cp -afr emulator/opt/home/app/.e/apps/* %{buildroot}/opt/home/app/.e/apps
+
+%__mkdir_p %{buildroot}/opt/home/app/.e/e/applications
+%__cp -afr emulator/opt/home/app/.e/e/applications/* %{buildroot}/opt/home/app/.e/e/applications
+
+%__mkdir_p %{buildroot}/opt/home/app/.e/e/backgrounds
+%__cp -afr emulator/opt/home/app/.e/e/backgrounds/* %{buildroot}/opt/home/app/.e/e/backgrounds
+
+%__cp -afr emulator/opt/home/app/.e/e/config/*.cfg %{buildroot}/opt/home/app/.e/e/config
+%__cp -afr emulator/opt/home/app/.e/e/config/samsung/*.cfg %{buildroot}/opt/home/app/.e/e/config/samsung
+
+%else
+# IA build target
+%__mkdir_p %{buildroot}/opt/home/app/.e/apps
+%__cp -afr %{_arch}/opt/home/app/.e/apps/* %{buildroot}/opt/home/app/.e/apps
+
+%__mkdir_p %{buildroot}/opt/home/app/.e/e/applications
+%__cp -afr %{_arch}/opt/home/app/.e/e/applications/* %{buildroot}/opt/home/app/.e/e/applications
+
+%__mkdir_p %{buildroot}/opt/home/app/.e/e/backgrounds
+%__cp -afr %{_arch}/opt/home/app/.e/e/backgrounds/* %{buildroot}/opt/home/app/.e/e/backgrounds
+
+%__cp -afr %{_arch}/opt/home/app/.e/e/config/*.cfg %{buildroot}/opt/home/app/.e/e/config
+%__cp -afr %{_arch}/opt/home/app/.e/e/config/samsung/*.cfg %{buildroot}/opt/home/app/.e/e/config/samsung
+
+%endif
+%endif
+
+%__mkdir_p %{buildroot}%{_sysconfdir}/skel
+ %__cp -af %{buildroot}/opt/home/app/.e %{buildroot}%{_sysconfdir}/skel/.e
+
+%pre
+if [ ! -e "home/app" ]
+then
+ %__mkdir_p /home/app
+fi
+chown 5000:5000 /home/app
+chmod 755 /home/app
+
+%post
+# XXX comptibility with sysvinit-based images
+chown -R 5000:5000 /opt/home/app
+
+%files
+%manifest e17-misc.manifest
+%defattr(-,root,root,-)
+/opt/home/app/.e
+/usr/share/license/%{name}
+
+%config %{_sysconfdir}/skel/.e
--- /dev/null
+Name: e2fsprogs
+BuildRequires: autoconf
+BuildRequires: libblkid-devel
+BuildRequires: libuuid-devel
+BuildRequires: pkg-config
+Version: 1.42.6
+Release: 0
+Summary: Utilities for the Second Extended File System
+License: GPL-2.0
+Group: System/Filesystems
+Url: http://e2fsprogs.sourceforge.net
+Requires: libcom_err >= %{version}
+Requires: libext2fs >= %{version}
+Source: http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v%{version}/e2fsprogs-%{version}.tar.xz
+Source1: baselibs.conf
+Source2: e2fsck.conf
+
+%description
+Utilities needed to create and maintain ext2 and ext3 file systems
+under Linux. Included in this package are: chattr, lsattr, mke2fs,
+mklost+found, tune2fs, e2fsck, resize2fs, and badblocks.
+
+%package devel
+Summary: Dummy development package
+License: LGPL-2.0
+Group: Development/Libraries/C and C++
+Requires: libblkid-devel
+Requires: libext2fs-devel = %version
+Requires: libuuid-devel
+
+%description devel
+Dummy development package for backwards compatibility.
+
+%package -n libext2fs
+Summary: Ext2fs library
+License: LGPL-2.0
+Group: System/Filesystems
+
+%description -n libext2fs
+The basic Ext2fs shared library.
+
+%package -n libext2fs-devel
+Summary: Development files for libext2fs
+License: LGPL-2.0
+Group: Development/Libraries/C and C++
+Requires: libcom_err-devel
+Requires: libext2fs = %version
+
+%description -n libext2fs-devel
+Development files for libext2fs.
+
+%package -n libcom_err
+Summary: E2fsprogs error reporting library
+License: MIT
+Group: System/Filesystems
+
+%description -n libcom_err
+com_err is an error message display library.
+
+%package -n libcom_err-devel
+Summary: Development files for libcom_err
+License: MIT
+Group: Development/Libraries/C and C++
+Requires: glibc-devel
+Requires: libcom_err = %version
+
+%description -n libcom_err-devel
+Development files for the com_err error message display library.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --disable-evms \
+ --with-root-prefix='' \
+ --enable-elf-shlibs \
+ --disable-libblkid \
+ --disable-libuuid \
+ --disable-uuidd \
+ --disable-nls \
+ --disable-fsck \
+ CFLAGS="$RPM_OPT_FLAGS"
+make %{?_smp_mflags} V=1
+
+%install
+make install install-libs DESTDIR=$RPM_BUILD_ROOT ELF_INSTALL_DIR=/%{_libdir}
+find "%buildroot/%_libdir" -type f -name "*.a" \
+ -print -delete
+# Let boot continue even if system clock is wrong
+install -p -m 644 %{SOURCE2} %{buildroot}/etc/e2fsck.conf
+
+
+rm $RPM_BUILD_ROOT%{_libdir}/e2initrd_helper
+rm -f $RPM_BUILD_ROOT/%{_sbindir}/mkfs.ext4dev
+rm -f $RPM_BUILD_ROOT/%{_sbindir}/fsck.ext4dev
+rm -f $RPM_BUILD_ROOT/usr/share/man/man8/mkfs.ext4dev.8*
+rm -f $RPM_BUILD_ROOT/usr/share/man/man8/fsck.ext4dev.8*
+rm -v %{buildroot}%{_includedir}/quota/mkquota.h
+rm -v %{buildroot}%{_libdir}/pkgconfig/quota.pc
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%post -n libext2fs -p /sbin/ldconfig
+
+%postun -n libext2fs -p /sbin/ldconfig
+
+%post -n libcom_err -p /sbin/ldconfig
+
+%postun -n libcom_err -p /sbin/ldconfig
+
+%docs_package
+
+%files devel
+%doc README
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%doc RELEASE-NOTES README
+%config /etc/e2fsck.conf
+%config /etc/mke2fs.conf
+%{_sbindir}/badblocks
+%{_sbindir}/debugfs
+%{_sbindir}/dumpe2fs
+%{_sbindir}/e2undo
+%{_sbindir}/e2fsck
+%{_sbindir}/e2label
+%{_sbindir}/fsck.ext2
+%{_sbindir}/fsck.ext3
+%{_sbindir}/fsck.ext4
+%{_sbindir}/mke2fs
+%{_sbindir}/mkfs.ext2
+%{_sbindir}/mkfs.ext3
+%{_sbindir}/mkfs.ext4
+%{_sbindir}/resize2fs
+%{_sbindir}/tune2fs
+%{_sbindir}/e2image
+%{_sbindir}/logsave
+%{_bindir}/chattr
+%{_bindir}/lsattr
+%{_sbindir}/mklost+found
+%{_sbindir}/filefrag
+%{_sbindir}/e2freefrag
+%{_sbindir}/e4defrag
+
+%files -n libext2fs
+%defattr(-, root, root)
+%{_libdir}/libext2fs.so.*
+%{_libdir}/libe2p.so.*
+
+%files -n libext2fs-devel
+%defattr(-, root, root)
+%{_libdir}/libext2fs.so
+%{_libdir}/libe2p.so
+/usr/include/ext2fs
+/usr/include/e2p
+%_libdir/pkgconfig/e2p.pc
+%_libdir/pkgconfig/ext2fs.pc
+
+%files -n libcom_err
+%defattr(-, root, root)
+%{_libdir}/libcom_err.so.*
+%{_libdir}/libss.so.*
+
+%files -n libcom_err-devel
+%defattr(-, root, root)
+%_bindir/compile_et
+%_bindir/mk_cmds
+%{_libdir}/libcom_err.so
+%{_libdir}/libss.so
+%_libdir/pkgconfig/com_err.pc
+%_libdir/pkgconfig/ss.pc
+%_includedir/com_err.h
+%_includedir/et
+%_includedir/ss
+%_datadir/et
+%_datadir/ss
+
+%changelog
--- /dev/null
+Name: econnman
+Version: 1
+Release: 0
+License: GPL-2.0
+Summary: EFL user interface for ConnMan
+Url: http://svn.enlightenment.org/svn/e/trunk/econnman/
+Group: EFL
+Source: %{name}-%{version}.tar.gz
+BuildRequires: python-devel
+BuildRequires: pkgconfig(python-edbus)
+BuildRequires: pkgconfig(python-elementary)
+Requires: python-edbus
+Requires: python-ecore
+Requires: python-edje
+Requires: python-elementary
+Requires: python-evas
+
+%description
+EFL connman interface.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_bindir}/econnman-bin
+%{_datadir}/applications/econnman-agent.desktop
+%{_datadir}/applications/econnman.desktop
+%{_datadir}/econnman/theme/default.edj
+
+%changelog
--- /dev/null
+%bcond_with wayland
+
+Name: ecore
+Version: 1.7.7
+Release: 1
+License: BSD-2-clause
+Summary: Enlightened Core X interface library
+Url: http://www.enlightenment.org
+Group: Graphics/EFL
+Source0: ecore-%{version}.tar.bz2
+# Patches auto-generated by git-buildpackage:
+BuildRequires: curl-devel
+BuildRequires: doxygen
+BuildRequires: gettext-tools
+BuildRequires: libgcrypt-devel
+%if %{with wayland}
+BuildRequires: libwayland-egl
+BuildRequires: pkgconfig(wayland-client)
+BuildRequires: pkgconfig(wayland-cursor)
+BuildRequires: pkgconfig(xkbcommon)
+%endif
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(egl)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(glesv2)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(ice)
+BuildRequires: pkgconfig(pixman-1)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xcomposite)
+BuildRequires: pkgconfig(xcursor)
+BuildRequires: pkgconfig(xdamage)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xi)
+BuildRequires: pkgconfig(xinerama)
+BuildRequires: pkgconfig(xrandr)
+BuildRequires: pkgconfig(xscrnsaver)
+BuildRequires: pkgconfig(xt)
+
+%description
+Ecore is the event/X abstraction layer that makes doing selections,
+Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
+optimized, and convenient.
+
+%package examples
+Summary: Enlightened Core examples
+Group: Graphics & UI Framework/Development
+Requires: %{name} = %{version}-%{release}
+
+%description examples
+Enlightened Core examples
+
+%package devel
+Summary: Development components for the ecore package
+Group: Development/Building
+Requires: %{name} = %{version}
+
+%description devel
+Development files for ecore
+
+%prep
+%setup -q
+
+%build
+%reconfigure --enable-build-examples \
+%if %{with wayland}
+ --enable-ecore-wayland \
+ --enable-ecore-evas-wayland-egl \
+%endif
+ --enable-glib-integration-always \
+ --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+%find_lang ecore
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%lang_package
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libecore*.so.*
+%{_libdir}/ecore/immodules/xim.so
+
+%files examples
+%defattr(-,root,root,-)
+%{_libdir}/ecore/examples/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/ecore-1/*.h
+%{_libdir}/libecore*.so
+%{_libdir}/pkgconfig/ecore.pc
+%{_libdir}/pkgconfig/ecore-*.pc
+
+%changelog
--- /dev/null
+Name: ed
+Version: 1.6
+Release: 1
+License: GPL-3.0+ ; LGPL-2.1+
+Summary: Standard UNIX Line Editor
+Url: http://www.gnu.org/software/ed/
+Group: Productivity/Editors/Other
+Source: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+The standard, old Unix line editor.
+
+%prep
+%setup -q
+sed -i \
+ -e "s/CFLAGS='.*/CFLAGS='%{optflags}'/" \
+ -e "s/CXXFLAGS='.*/CXXFLAGS='%{optflags}'/" \
+ configure
+
+%build
+%{configure}
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%{makeinstall}
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_bindir}/%{name}
+%{_bindir}/r%{name}
+%doc %{_infodir}/%{name}.info.gz
+%doc %{_mandir}/man1/%{name}.1.gz
+%doc %{_mandir}/man1/r%{name}.1.gz
+
--- /dev/null
+Name: edbus
+Version: 1.7.7
+Release: 1
+License: BSD 2-clause
+Summary: EFL Wrapper for DBus
+Url: http://www.enlightenment.org/
+Group: Graphics/EFL
+Source0: e_dbus-%{version}.tar.bz2
+BuildRequires: doxygen
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(evas)
+
+%description
+e_dbus provides a convenience wrapper for EFL applications using DBus.
+
+%package devel
+Summary: Development components for the e_dbus package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development files for e_dbus
+
+%prep
+%setup -q -n e_dbus-%{version}
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/e_dbus_*
+/usr/bin/e-notify-send
+%{_libdir}/libe*.so.*
+/usr/share/e_dbus/logo.png
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/e_dbus-1/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/e_dbus-1/connman0_7x/E_Connman.h
+/usr/bin/e-notify-send
+
+
+%changelog
--- /dev/null
+Name: edje
+Version: 1.7.7
+Release: 1
+License: BSD 2-clause
+Summary: Complex Graphical Design/Layout Engine
+Url: http://www.enlightenment.org/
+Group: Graphics/EFL
+Source0: edje-%{version}.tar.bz2
+BuildRequires: doxygen
+BuildRequires: python-devel
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-evas)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(ecore-imf)
+BuildRequires: pkgconfig(ecore-imf-evas)
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(embryo)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(lua)
+
+%description
+Edje is a complex graphical design and layout engine. It provides a
+mechanism for allowing configuration data to define visual elements in
+terms of layout, behavior, and appearance. Edje allows for multiple
+collections of layouts in one file, allowing a complete set of images,
+animations, and controls to exist as a unified whole.
+
+Edje separates the arrangement, appearance, and behavior logic into
+distinct independent entities. This allows visual objects to share
+image data and configuration information without requiring them to do
+so. This separation and simplistic event driven style of programming
+can produce almost any look and feel one could want for basic visual
+elements. Anything more complex is likely the domain of an application
+or widget set that may use Edje as a conveneient way of being able to
+configure parts of the display.
+
+%package devel
+Summary: Development components for the edje package
+Group: Development/Libraries
+Requires: %{name}-tools = %{version}
+
+%description devel
+Development files for edje
+
+%package tools
+Summary: Tools for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Provides: %{name}-bin
+Obsoletes: %{name}-bin
+
+%description tools
+Tools for %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/*.so.*
+%{_libdir}/edje/*
+%{_datadir}/edje/include/edje.inc
+%{_datadir}/mime/packages/edje.xml
+%{_bindir}/inkscape2edc
+
+%files tools
+%{_bindir}/edje*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/edje-1/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_datadir}/edje/examples/*
+
+%changelog
--- /dev/null
+Name: eet
+Version: 1.7.7
+Release: 1
+License: BSD-2-Clause
+Summary: Library for speedy data storage, retrieval, and compression
+Url: http://www.enlightenment.org/
+Group: Graphics & UI Framework/Libraries
+Source0: eet-%{version}.tar.bz2
+BuildRequires: doxygen
+BuildRequires: libjpeg-devel
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(gnutls)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: libgcrypt-devel
+
+%description
+Eet is a tiny library designed to write an arbitrary set of chunks of
+data to a file and optionally compress each chunk (very much like a
+zip file) and allow fast random-access reading of the file later
+on. It does not do zip as a zip itself has more complexity than is
+needed, and it was much simpler to implement this once here.
+
+It also can encode and decode data structures in memory, as well as
+image data for saving to eet files or sending across the network to
+other machines, or just writing to arbitrary files on the system. All
+data is encoded in a platform independent way and can be written and
+read by any architecture.
+
+%package devel
+Summary: Development components for the eet package
+Group: Graphics & UI Framework/Development
+Requires: %{name} = %{version}
+
+%description devel
+Development files for eet
+
+%package tools
+Summary: Eet Tools
+Group: Graphics & UI Framework/Utilities
+Requires: %{name} = %{version}
+Provides: eet-bin
+
+%description tools
+Eet Tools
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libeet*.so.*
+
+%files tools
+%{_bindir}/eet
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/eet-1/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_datadir}/eet/examples/eet-basic.c
+%{_datadir}/eet/examples/eet-data-cipher_decipher.c
+%{_datadir}/eet/examples/eet-data-file_descriptor_01.c
+%{_datadir}/eet/examples/eet-data-file_descriptor_02.c
+%{_datadir}/eet/examples/eet-data-nested.c
+%{_datadir}/eet/examples/eet-data-simple.c
+%{_datadir}/eet/examples/eet-file.c
+
+
+%changelog
--- /dev/null
+Name: eeze
+Version: 1.7.7
+Release: 1
+License: BSD 2-clause
+Summary: Device Convenience Library
+Url: http://www.enlightenment.org/
+Group: Graphics/EFL
+Source0: eeze-%{version}.tar.bz2
+BuildRequires: doxygen
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(libudev)
+BuildRequires: pkgconfig(udev)
+
+%description
+Eeze is a library for manipulating devices through udev with a simple
+and fast api. It interfaces directly with libudev, avoiding such
+middleman daemons as udisks/upower or hal, to immediately gather
+device information the instant it becomes known to the system. This
+can be used to determine such things as:
+ * If a cdrom has a disk inserted
+ * The temperature of a cpu core
+ * The remaining power left in a battery
+ * The current power consumption of various parts
+ * Monitor in realtime the status of peripheral devices
+
+Each of the above examples can be performed by using only a single
+eeze function, as one of the primary focuses of the library is to
+reduce the complexity of managing devices.
+
+%package devel
+Summary: Development components for the eeze package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development files for eeze
+
+%prep
+%setup -q
+
+
+%build
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libeeze.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/eeze-1/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+
+
+%changelog
--- /dev/null
+Name: efi-shell
+Version: 2.0
+Release: 1
+License: BSD-3-Clause
+Summary: Shell for the firmware
+Url: http://sourceforge.net/projects/edk2/
+Group: Base/Startup
+Source0: packaging/shell.efi
+
+%description
+EFI Shell for loading EFI applications including bootloaders.
+
+%prep
+
+%build
+
+%install
+rm -fr %{buildroot}
+install -D %{SOURCE0} %{buildroot}/boot/EFI/shellx64.efi
+
+%files
+%defattr(-,root,root)
+/boot/EFI/shellx64.efi
--- /dev/null
+Name: capi-ui-efl-util
+Summary: An EFL utility library in SLP C API
+Version: 0.1.0
+Release: 1
+Group: Graphics & UI Framework/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(capi-base-common)
+
+%description
+An EFL utility library in SLP C API.
+
+
+%package devel
+Summary: An EFL utility library in SLP C API (Development)
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2
+%{_libdir}/libcapi-ui-efl-util.so.*
+
+%files devel
+%{_includedir}/ui/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-ui-efl-util.so
+
+
--- /dev/null
+Name: efreet
+Version: 1.7.7
+Release: 1
+License: BSD 2-clause
+Summary: FreeDesktop
+Url: http://www.enlightenment.org/
+Group: Graphics/EFL
+Source0: efreet-%{version}.tar.bz2
+BuildRequires: doxygen
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(eina)
+
+%description
+Efreet implements the FreeDesktop.Org application and MIME-handling
+standards.
+
+%package devel
+Summary: Development components for the efreet package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development files for efreet
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static \
+ --enable-icon-cache
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%find_lang efreet
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%lang_package
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/efreet_*
+%{_libdir}/efreet/*
+%{_libdir}/libefreet*.so.*
+%{_datadir}/efreet/*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/efreet-1/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+Name: eina
+Version: 1.7.7
+Release: 1
+License: LGPL-2.1+
+Summary: Data Type Library
+Url: http://www.enlightenment.org/
+Group: Graphics/EFL
+Source0: eina-%{version}.tar.bz2
+BuildRequires: doxygen
+
+%description
+Eina is a data type library.
+
+%package devel
+Summary: Development components for the eina package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development files for eina
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libeina.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/eina-1/*.h
+%{_includedir}/eina-1/eina/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+
+%changelog
--- /dev/null
+Name: eio
+Version: 1.7.7
+Release: 1
+License: BSD 3-clause
+Summary: Enlightenment Input/Output Library
+Url: http://www.enlightenment.org/
+Group: Graphics/EFL
+Source0: eio-%{version}.tar.bz2
+BuildRequires: doxygen
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(eina)
+
+%description
+Enlightenment input/output library
+
+%package devel
+Summary: Development components for the eio package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development files for eio
+
+%prep
+%setup -q
+
+
+%build
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/*.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/eio-1/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*
+
+
+
+%changelog
--- /dev/null
+Summary: A program that ejects removable media using software control
+Name: eject
+Version: 2.1.5
+Release: 25
+License: GPLv2+
+Group: System Environment/Base
+Source: %{name}-%{version}.tar.gz
+Patch1: eject-2.1.1-verbose.patch
+Patch2: eject-timeout.patch
+Patch3: eject-2.1.5-opendevice.patch
+Patch4: eject-2.1.5-spaces.patch
+Patch5: eject-2.1.5-lock.patch
+Patch6: eject-2.1.5-umount.patch
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+URL: http://www.pobox.com/~tranter
+BuildRequires: gettext
+BuildRequires: libtool
+
+%description
+The eject program allows the user to eject removable media (typically
+CD-ROMs, floppy disks or Iomega Jaz or Zip disks) using software
+control. Eject can also control some multi-disk CD changers and even
+some devices' auto-eject features.
+
+Install eject if you'd like to eject removable media using software
+control.
+
+%prep
+%setup -q
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+
+%build
+%configure
+
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+
+make DESTDIR=%{buildroot} install
+
+install -m 755 -d %{buildroot}/%{_sbindir}
+ln -s ../bin/eject %{buildroot}/%{_sbindir}
+
+%find_lang %{name}
+
+%clean
+rm -rf %{buildroot}
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc README TODO COPYING ChangeLog
+%{_bindir}/*
+%{_sbindir}/*
+%{_mandir}/man1/*
--- /dev/null
+Name: elementary
+Version: 1.7.7
+Release: 2
+License: LGPL-2.1+
+Summary: EFL toolkit for small touchscreens
+Url: http://trac.enlightenment.org/e/wiki/Elementary
+Group: Graphics/EFL
+Source0: elementary-%{version}.tar.bz2
+BuildRequires: doxygen
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-evas)
+BuildRequires: pkgconfig(ecore-fb)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(ecore-imf)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(edbus)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(efreet)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(x11)
+BuildRequires: eet-tools
+BuildRequires: python-devel
+
+%description
+Elementary is a widget set. It is a new-style of widget set much more canvas
+object based than anything else. Why not ETK? Why not EWL? Well they both
+tend to veer away from the core of Evas, Ecore and Edje a lot to build their
+own worlds. Also I wanted something focused on embedded devices -
+specifically small touchscreens. Unlike GTK+ and Qt, 75% of the "widget set"
+is already embodied in a common core - Ecore, Edje, Evas etc. So this
+fine-grained library splitting means all of this is shared, just a new
+widget "personality" is on top. And that is... Elementary, my dear watson.
+Elementary.
+
+%package devel
+Summary: Development components for the elementary package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development files for elementary
+
+%prep
+%setup -q
+
+%build
+
+%autogen --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%find_lang %{name}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%lang_package
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/*
+%{_libdir}/edje/*
+%{_libdir}/elementary/*
+%{_libdir}/*.so.*
+%{_datadir}/applications/*
+%{_datadir}/elementary/*
+%{_datadir}/icons/elementary.png
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/elementary-1/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+%define keepstatic 1
+Name: elfutils
+Version: 0.153
+Release: 0
+License: GPL-2.0-with-osi-exception
+Summary: Higher-level library to access ELF
+Url: http://elfutils.fedorahosted.org
+Group: Base/Tools
+Source: elfutils-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: bzip2-devel
+BuildRequires: flex
+BuildRequires: xz-devel
+BuildRequires: zlib-devel
+
+%description
+This package provides a higher-level library to access ELF files. This
+is a part of elfutils package.
+
+%package -n libasm
+Summary: A collection of utilities and DSOs to handle compiled objects
+Group: Base/Libraries
+
+%description -n libasm
+Elfutils is a collection of utilities, including ld (a linker), nm (for
+listing symbols from object files), size (for listing the section sizes
+of an object or archive file), strip (for discarding symbols), readline
+(the see the raw ELF file structures), and elflint (to check for
+well-formed ELF files). Also included are numerous helper libraries
+which implement DWARF, ELF, and machine-specific ELF handling.
+
+%package -n libasm-devel
+License: GPL-2.0-with-osi-exception
+Summary: A collection of utilities and DSOs to handle compiled objects
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libasm = %{version}
+
+%description -n libasm-devel
+Elfutils is a collection of utilities, including ld (a linker), nm (for
+listing symbols from object files), size (for listing the section sizes
+of an object or archive file), strip (for discarding symbols), readline
+(the see the raw ELF file structures), and elflint (to check for
+well-formed ELF files). Also included are numerous helper libraries
+which implement DWARF, ELF, and machine-specific ELF handling.
+
+%package -n libebl
+License: GPL-2.0-with-osi-exception
+Summary: A collection of utilities and DSOs to handle compiled objects
+Group: Base/Libraries
+
+%description -n libebl
+Elfutils is a collection of utilities, including ld (a linker), nm (for
+listing symbols from object files), size (for listing the section sizes
+of an object or archive file), strip (for discarding symbols), readline
+(the see the raw ELF file structures), and elflint (to check for
+well-formed ELF files). Also included are numerous helper libraries
+which implement DWARF, ELF, and machine-specific ELF handling.
+
+%package -n libebl-devel
+License: GPL-2.0-with-osi-exception
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libdw-devel = %{version}
+Requires: libebl = %{version}
+
+%description -n libebl-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%package -n libelf
+License: GPL-2.0-with-osi-exception
+Summary: Library to read and write ELF files
+Group: Base/Libraries
+
+%description -n libelf
+This package provides a high-level library to read and write ELF files.
+This is a part of elfutils package.
+
+%package -n libelf-devel
+License: GPL-2.0-with-osi-exception
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libelf = %{version}
+Conflicts: libelf0-devel
+
+%description -n libelf-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%package -n libdw
+License: GPL-2.0-with-osi-exception
+Summary: Library to access DWARF debugging information
+Group: Base/Libraries
+
+%description -n libdw
+This package provides a high-level library to access the DWARF debugging
+information. This is a part of elfutils package.
+
+%package -n libdw-devel
+License: GPL-2.0-with-osi-exception
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libdw = %{version}
+Requires: libelf-devel = %{version}
+
+%description -n libdw-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q -n elfutils-%{version}
+
+%build
+#modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
+#DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
+#TIME="\"$(date -d "${modified}" "+%%R")\""
+#find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
+autoreconf -fi
+%configure --program-prefix=eu-
+make %{?_smp_mflags}
+
+%install
+%make_install
+# remove unneeded files
+ls -lR %{buildroot}%{_libdir}/libelf*
+
+%post -n libebl -p /sbin/ldconfig
+
+%post -n libelf -p /sbin/ldconfig
+
+%post -n libdw -p /sbin/ldconfig
+
+%postun -n libebl -p /sbin/ldconfig
+
+%postun -n libelf -p /sbin/ldconfig
+
+%postun -n libdw -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%{_bindir}/*
+
+%files -n libasm
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libasm.so.*
+%{_libdir}/libasm-%{version}.so
+
+%files -n libasm-devel
+%defattr(-,root,root)
+%{_libdir}/libasm.so
+%{_libdir}/libasm.a
+%dir %{_includedir}/elfutils
+%{_includedir}/elfutils/libasm.h
+
+%files -n libebl
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/elfutils
+
+%files -n libebl-devel
+%defattr(-,root,root)
+%{_libdir}/libebl.a
+%dir %{_includedir}/elfutils
+%{_includedir}/elfutils/libebl.h
+
+%files -n libelf
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libelf.so.*
+%{_libdir}/libelf-%{version}.so
+
+%files -n libelf-devel
+%defattr(-,root,root)
+%{_libdir}/libelf.so
+%{_libdir}/libelf.a
+#%{_libdir}/libelf_pic.a
+%{_includedir}/libelf.h
+%{_includedir}/gelf.h
+%{_includedir}/nlist.h
+%dir %{_includedir}/elfutils
+%{_includedir}/elfutils/elf-knowledge.h
+%{_includedir}/elfutils/version.h
+
+%files -n libdw
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libdw.so.*
+%{_libdir}/libdw-%{version}.so
+
+%files -n libdw-devel
+%defattr(-,root,root)
+%{_libdir}/libdw.a
+%{_libdir}/libdw.so
+%{_includedir}/dwarf.h
+%dir %{_includedir}/elfutils
+%{_includedir}/elfutils/libdw.h
+%{_includedir}/elfutils/libdwfl.h
+
+%changelog
--- /dev/null
+#sbs-git:slp/pkgs/e/elm-misc elm-misc 0.1 9e25eb4b63eed4f5a01bd45518c6226f768292ca
+Name: elm-misc
+Summary: Elementary config files
+Version: 0.1.31
+Release: 1
+Group: TO_BE/FILLED_IN
+License: LGPLv2.1
+BuildArch: noarch
+Source0: %{name}-%{version}.tar.gz
+
+
+%description
+Elementary configuration files
+
+
+%prep
+%setup -q
+
+
+%build
+
+
+%install
+rm -rf %{buildroot}
+%__mkdir_p %{buildroot}%{_sysconfdir}/profile.d
+%__cp etc/profile.d/* %{buildroot}%{_sysconfdir}/profile.d/
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}
+
+%post
+chown root:root /etc/profile.d/elm.sh
+chown root:root /etc/profile.d/evas.sh
+
+
+%files
+%defattr(-,root,root,-)
+/etc/profile.d/*
+/usr/share/license/%{name}
+
+
--- /dev/null
+Name: email-service
+Summary: E-mail Framework Middleware package
+Version: 0.10.101
+Release: 1
+Group: Messaging/Service
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: email.service
+Requires: connman
+Requires: webkit2-efl
+Requires(post): /sbin/ldconfig
+Requires(post): systemd
+Requires(post): /usr/bin/sqlite3
+Requires(post): /usr/bin/vconftool
+Requires(preun): systemd
+Requires(postun): /sbin/ldconfig
+Requires(postun): systemd
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gthread-2.0)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(vconf-internal-keys)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(uw-imap-toolkit)
+BuildRequires: pkgconfig(drm-client)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(alarm-service)
+BuildRequires: pkgconfig(mm-player)
+BuildRequires: pkgconfig(mm-session)
+BuildRequires: pkgconfig(secure-storage)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(accounts-svc)
+BuildRequires: pkgconfig(libsystemd-daemon)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(libcurl)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(gconf-2.0)
+BuildRequires: pkgconfig(cert-svc)
+BuildRequires: pkgconfig(badge)
+BuildRequires: pkgconfig(feedback)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(libwbxml2)
+BuildRequires: pkgconfig(msg-service)
+
+%description
+E-mail Framework Middleware Library/Binary package
+
+%package tests
+Summary: E-mail Framework Middleware - Test Applications
+Group: Messaging/Testing
+Requires: %{name} = %{version}-%{release}
+
+%description tests
+E-mail Framework Middleware test application
+
+%package devel
+Summary: E-mail Framework Middleware Development package
+Group: Development/Messaging
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+E-mail Framework Middleware Development package
+
+
+%prep
+%setup -q
+
+%build
+
+export CFLAGS="${CFLAGS} -fPIC -Wall -g -fvisibility=hidden"
+export CXXFLAGS="${CXXFLAGS} -fPIC -Wall -g -fvisibility=hidden"
+
+%cmake .
+
+make %{?_smp_mflags}
+
+%install
+mkdir -p %{buildroot}/usr/share/license
+%make_install
+
+mkdir -p %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants
+install -m 0644 %SOURCE1 %{buildroot}/usr/lib/systemd/user/
+ln -sf ../email.service %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants/
+
+
+%post
+/sbin/ldconfig
+
+#################################################################
+# Add preset account information
+#################################################################
+echo "[EMAIL-SERVICE] Start adding preset account information..."
+
+################################################################################################
+
+# for default mail slot szie
+vconftool set -t int db/private/email-service/slot_size "100" -g 6514
+
+# for latest mail id
+vconftool set -t int db/private/email-service/latest_mail_id "0" -g 6514
+
+# for default account id
+vconftool set -t int db/private/email-service/default_account_id "0" -g 6514
+
+# for default account id
+vconftool set -t int memory/sync/email "0" -i -g 6514
+
+# for priority send
+vconftool set -t string db/private/email-service/noti_ringtone_path "Whistle.mp3" -g 6514
+vconftool set -t int db/private/email-service/noti_rep_type "0" -g 6514
+vconftool set -t bool db/private/email-service/noti_notification_ticker "0" -g 6514
+vconftool set -t bool db/private/email-service/noti_display_content_ticker "0" -g 6514
+vconftool set -t bool db/private/email-service/noti_badge_ticker "0" -i -g 6514
+vconftool set -t int db/private/email-service/noti_private_id/1 "0" -i -g 6514
+vconftool set -t int db/private/email-service/noti_private_id/2 "0" -i -g 6514
+vconftool set -t int db/private/email-service/noti_private_id/3 "0" -i -g 6514
+vconftool set -t int db/private/email-service/noti_private_id/4 "0" -i -g 6514
+vconftool set -t int db/private/email-service/noti_private_id/5 "0" -i -g 6514
+vconftool set -t int db/private/email-service/noti_private_id/6 "0" -i -g 6514
+vconftool set -t int db/private/email-service/noti_private_id/7 "0" -i -g 6514
+vconftool set -t int db/private/email-service/noti_private_id/8 "0" -i -g 6514
+vconftool set -t int db/private/email-service/noti_private_id/9 "0" -i -g 6514
+vconftool set -t int db/private/email-service/noti_private_id/10 "0" -i -g 6514
+
+#################################################################
+# Set executin script
+#################################################################
+echo "[EMAIL-SERVICE] Set executing script ..."
+EMAIL_SERVICE_EXEC_SCRIPT=/etc/rc.d/init.d/email-service
+EMAIL_SERVICE_BOOT_SCRIPT=/etc/rc.d/rc3.d/S70email-service
+EMAIL_SERVICE_FASTBOOT_SCRIPT=/etc/rc.d/rc5.d/S70email-service
+echo '#!/bin/sh' > ${EMAIL_SERVICE_EXEC_SCRIPT}
+echo 'account_count=$(sqlite3 /opt/usr/dbspace/.email-service.db "select COUNT(*) from mail_account_tbl")' >> ${EMAIL_SERVICE_EXEC_SCRIPT}
+echo 'if [ "$(echo "$account_count" | cut -c0-1)" == "0" ]' >> ${EMAIL_SERVICE_EXEC_SCRIPT}
+echo 'then' >> ${EMAIL_SERVICE_EXEC_SCRIPT}
+echo ' echo 'There is no account'' >> ${EMAIL_SERVICE_EXEC_SCRIPT}
+echo 'elif [ "$(echo "$account_count" | cut -c0-1)" == "" ]' >> ${EMAIL_SERVICE_EXEC_SCRIPT}
+echo 'then' >> ${EMAIL_SERVICE_EXEC_SCRIPT}
+echo ' echo 'DB failure'' >> ${EMAIL_SERVICE_EXEC_SCRIPT}
+echo 'else' >> ${EMAIL_SERVICE_EXEC_SCRIPT}
+echo ' /usr/bin/email-service & ' >> ${EMAIL_SERVICE_EXEC_SCRIPT}
+echo 'fi' >> ${EMAIL_SERVICE_EXEC_SCRIPT}
+chmod 755 ${EMAIL_SERVICE_EXEC_SCRIPT}
+rm -rf ${EMAIL_SERVICE_BOOT_SCRIPT}
+rm -rf ${EMAIL_SERVICE_FASTBOOT_SCRIPT}
+ln -s ${EMAIL_SERVICE_EXEC_SCRIPT} ${EMAIL_SERVICE_BOOT_SCRIPT}
+ln -s ${EMAIL_SERVICE_EXEC_SCRIPT} ${EMAIL_SERVICE_FASTBOOT_SCRIPT}
+echo "[EMAIL-SERVICE] Finish executing script ..."
+
+#################################################################
+# Create DB file and tables.
+#################################################################
+echo "[EMAIL-SERVICE] Creating Email Tables ..."
+mkdir -p /opt/usr
+mkdir -p /opt/usr/dbspace
+
+sqlite3 /opt/usr/dbspace/.email-service.db 'PRAGMA journal_mode = PERSIST;'
+sqlite3 /opt/usr/dbspace/.email-service.db < /opt/usr/data/email/res/email-service.sql
+
+echo "[EMAIL-SERVICE] Finish Creating Email Tables."
+
+chgrp 6006 /opt/usr/dbspace/.email-service.db*
+chmod 664 /opt/usr/dbspace/.email-service.db
+chmod 664 /opt/usr/dbspace/.email-service.db-journal
+
+mkdir -m775 -p /opt/usr/data/email/.email_data
+chgrp 6006 /opt/usr/data/email/.email_data
+chsmack -a 'email-service' /opt/usr/data/email/.email_data
+
+mkdir -m775 -p /opt/usr/data/email/.email_data/tmp
+chgrp 6006 /opt/usr/data/email/.email_data/tmp
+chsmack -a 'email-service' /opt/usr/data/email/.email_data/tmp
+
+mkdir -p /opt/share/cert-svc/certs/trusteduser/email
+chgrp 6006 /opt/share/cert-svc/certs/trusteduser/email
+
+if [ -f /opt/usr/dbspace/.email-service.db ]
+then
+ chsmack -a 'email-service::db' /opt/usr/dbspace/.email-service.db*
+fi
+
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ systemctl restart email.service
+fi
+
+%preun
+if [ $1 == 0]; then
+ systemctl stop email.service
+fi
+
+%postun
+/sbin/ldconfig
+systemctl daemon-reload
+
+
+%files
+#%manifest email-service.manifest
+%{_bindir}/email-service
+/opt/usr/data/email/res/*
+%{_libdir}/lib*.so.*
+/usr/lib/systemd/user/email.service
+/usr/lib/systemd/user/tizen-middleware.target.wants/email.service
+/usr/share/dbus-1/services/email-service.service
+/usr/share/license/email-service/LICENSE
+
+/opt/etc/smack/accesses.d/email-service.rule
+
+%files tests
+/usr/bin/email-test-app
+
+%files devel
+%{_includedir}/email-service/*.h
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Name: capi-messaging-email
+Summary: Email library in Tizen Native API
+Version: 0.1.14
+Release: 3
+Group: Messaging/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(edbus)
+BuildRequires: pkgconfig(email-service)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-appfw-application)
+
+%description
+Email library in Tizen Native API.
+
+
+%package devel
+Summary: Email library in Tizen Native API (Development)
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE
+%{_libdir}/libcapi-messaging-email.so.*
+
+%files devel
+%{_includedir}/messaging/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-messaging-email.so
+
+
--- /dev/null
+Name: embryo
+Version: 1.7.7
+Release: 1
+License: Mixed BSD 2/3-clause
+Summary: A small virtual machine engine (in a library) and bytecode compiler
+Url: http://www.enlightenment.org/
+Group: Graphics/EFL
+Source0: embryo-%{version}.tar.bz2
+BuildRequires: doxygen
+BuildRequires: pkgconfig(eina)
+# FIXME
+Provides: embryo-bin
+
+%description
+Embryo is a tiny library designed as a virtual machine to interpret a
+limited set of small compiled programs.
+
+%package devel
+Summary: Development components for the embryo package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development components for the embryo package.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/embryo_cc
+%{_libdir}/libembryo.so.*
+%{_datadir}/embryo/include/default.inc
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/embryo-1/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+
+%changelog
--- /dev/null
+Name: emotion
+Version: 1.7.7
+Release: 1
+License: BSD 3-clause
+Summary: Emotion
+Url: http://www.enlightenment.org/
+Group: Graphics/EFL
+Source0: emotion-%{version}.tar.bz2
+BuildRequires: doxygen
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-evas)
+BuildRequires: pkgconfig(ecore-fb)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(eio)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(evas-fb)
+BuildRequires: pkgconfig(evas-opengl-x11)
+BuildRequires: pkgconfig(gstreamer-1.0)
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
+
+%description
+Emotion is a Media Library
+
+%package devel
+Summary: Development components for the emotion package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development files for emotion
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --enable-gstreamer
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/*
+%{_libdir}/*.so.*
+%{_libdir}/edje/*
+%{_libdir}/emotion/*
+%{_datadir}/emotion/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/emotion-1/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*
+
+%changelog
--- /dev/null
+Summary: macros for emulator build
+Name: emulator-macros
+Version: 1
+Release: 1
+Group: System/Base
+License: GPLv2+
+BuildArch: noarch
+Source0: macros.emulator
+
+%description
+Macros for emulator build
+
+%prep
+
+%build
+
+%install
+mkdir -p %{buildroot}/etc/rpm
+install -m 644 %{SOURCE0} %{buildroot}/etc/rpm
+
+%post
+
+%postun
+
+%files
+%config /etc/rpm/macros.emulator
--- /dev/null
+Name: enchant
+Version: 1.6.0
+Release: 6
+License: LGPL-2.1+
+Summary: Generic Spell Checking Library
+Url: http://www.abisource.com/
+Group: Productivity/Text/Spell
+Source: %{name}-%{version}.tar.bz2
+Source1: baselibs.conf
+BuildRequires: aspell-devel
+BuildRequires: gcc-c++
+BuildRequires: hunspell-devel
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(glib-2.0)
+
+%description
+A library providing an efficient extensible abstraction for dealing
+with different spell checking libraries.
+
+%package tools
+License: LGPL-2.1+
+Summary: Generic Spell Checking Library - Command Line Tools
+Group: Productivity/Text/Spell
+
+%description tools
+A library providing an efficient extensible abstraction for dealing
+with different spell checking libraries.
+
+This package provides command-line tools to interact with enchant.
+
+%package zemberek
+License: LGPL-2.1+
+Summary: Generic Spell Checking Library - Zemberek Plugin
+Group: Productivity/Text/Spell
+# Only zemberek-server over D-Bus is supported. Server must be installed locally:
+Recommends: zemberek-server
+Supplements: packageand(libenchant:zemberek-server)
+Provides: locale(%{name}:az)
+Provides: locale(%{name}:tk)
+Provides: locale(%{name}:tr)
+Provides: locale(%{name}:tt)
+
+%description zemberek
+Zemberek plugin (Azeri, Turkmen, Turkish, Tatar) for enchant, a library
+providing an efficient extensible abstraction for dealing with
+different spell checking libraries.
+
+%package -n libenchant
+License: LGPL-2.1+
+Summary: Generic Spell Checking Library
+Group: System/Libraries
+Provides: %{name} = %{version}
+Obsoletes: %{name} < %{version}
+
+%description -n libenchant
+A library providing an efficient extensible abstraction for dealing
+with different spell checking libraries.
+
+%package devel
+License: LGPL-2.1+
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+Requires: libstdc++-devel
+Requires: pkgconfig(glib-2.0)
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q
+
+%build
+%configure --with-pic \
+ --disable-static \
+ --enable-zemberek \
+ --with-myspell-dir=%{_datadir}/myspell \
+ --disable-voikko
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -n libenchant -p /sbin/ldconfig
+
+%postun -n libenchant -p /sbin/ldconfig
+
+%files tools
+%defattr(-,root,root)
+%{_bindir}/enchant
+%{_bindir}/enchant-lsmod
+%doc %{_mandir}/man1/enchant.1*
+
+%files zemberek
+%defattr(-,root,root)
+%{_libdir}/enchant/libenchant_zemberek.so
+
+%files -n libenchant
+%defattr(-,root,root)
+%doc COPYING.LIB
+%{_libdir}/*.so.*
+# The directories are not versioned, unfortunately. Not good for the SLPP.
+%{_datadir}/enchant
+%dir %{_libdir}/enchant
+%{_libdir}/enchant/libenchant_aspell.so
+%{_libdir}/enchant/libenchant_ispell.so
+%{_libdir}/enchant/libenchant_myspell.so
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Name: enlightenment
+Version: 0.17.3
+Release: 1
+License: BSD 2-clause
+Summary: The Enlightenment window manager
+Url: http://www.enlightenment.org/
+Group: Graphics/EFL
+Source0: enlightenment-%{version}.tar.bz2
+BuildRequires: doxygen
+BuildRequires: fdupes
+BuildRequires: gettext
+BuildRequires: pam-devel
+BuildRequires: pkgconfig(alsa)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-con)
+BuildRequires: pkgconfig(ecore-evas)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(ecore-input-evas)
+BuildRequires: pkgconfig(ecore-ipc)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(edbus)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(eeze)
+BuildRequires: pkgconfig(efreet)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(eio)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(ice)
+BuildRequires: pkgconfig(libudev)
+BuildRequires: pkgconfig(udev)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xcb-keysyms)
+BuildRequires: eet-tools
+
+%description
+Enlightenment is a window manager.
+
+%package devel
+Summary: Development components for the enlightenment package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development files for enlightenment
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+%configure --enable-device-udev \
+ --enable-mount-eeze \
+ --enable-comp
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%find_lang enlightenment
+%fdupes %{buildroot}/%{_libdir}/enlightenment
+%fdupes %{buildroot}/%{_datadir}/enlightenment
+
+%lang_package
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%config %{_sysconfdir}/enlightenment/sysactions.conf
+%{_bindir}/enlightenment*
+%{_libdir}/enlightenment/*
+%{_datadir}/enlightenment/*
+%{_datadir}/xsessions/enlightenment.desktop
+%{_sysconfdir}/xdg/menus/enlightenment.menu
+%{_datadir}/applications/enlightenment_filemanager.desktop
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/enlightenment/*
+%{_libdir}/pkgconfig/*.pc
+
+
+
+%changelog
--- /dev/null
+Name: osp-env-config
+Summary: osp application environment cofiguration serivce
+Version: 1.2.1.0
+Release: 2
+Group: System/Libraries
+License: Apache-2.0 or Flora
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+
+Requires(post): coreutils
+
+%description
+osp application environment cofiguration serivce
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%ifarch %{ix86} x86_64
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_ -D_SECURE_LOG" %cmake .
+%else
+CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_OSP_ARMEL_ -D_SECURE_LOG" %cmake .
+%endif
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+%make_install
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest osp-env-config.manifest
+/usr/share/license/%{name}
+%{_libdir}/*.so*
+
--- /dev/null
+# epson-inkjet-printer-escpr.spec.in -- an rpm spec file templete
+# Epson Inkjet Printer Driver (ESC/P-R) for Linux
+# Copyright (C) 2000-2006 AVASYS CORPORATION.
+# Copyright (C) Seiko Epson Corporation 2006-2012.
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA.
+
+#%define _unpackaged_files_terminate_build 0
+%define cupsfilterdir /usr/lib/cups/filter
+%define cupsppddir /opt/etc/cups/ppd/Epson
+
+Name: epson-inkjet-printer-escpr
+Version: 1.2.2
+Release: 3
+Source0: %{name}-%{version}.tar.gz
+License: GPL
+Vendor: Seiko Epson Corporation
+URL: http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
+Packager: Seiko Epson Corporation <linux-printer@epson.jp>
+BuildRoot: %{_tmppath}/%{name}-%{version}
+BuildRequires: cups-devel
+Requires: cups
+Group: Applications/System
+Summary: Epson Inkjet Printer Driver (ESC/P-R) for Linux
+# Bug fix for Tizen
+Patch0: tizen_bugfix.patch
+Patch1: tizen_add_job_media_progress.patch
+Patch2: tizen_report_page_info.patch
+
+%description
+This software is a filter program used with Common UNIX Printing
+System (CUPS) from the Linux. This can supply the high quality print
+with Seiko Epson Color Ink Jet Printers.
+
+This product supports only EPSON ESC/P-R printers. This package can be
+used for all EPSON ESC/P-R printers.
+
+For detail list of supported printer, please refer to below site:
+http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+%configure \
+ --with-cupsfilterdir=%{cupsfilterdir} \
+ --with-cupsppddir=%{cupsppddir} \
+ --disable-static
+make
+
+%install
+rm -rf ${RPM_BUILD_ROOT}
+make install-strip DESTDIR=${RPM_BUILD_ROOT}
+
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%clean
+make clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%manifest epson-inkjet-printer-escpr.manifest
+%defattr(-,root,root)
+#%doc AUTHORS COPYING NEWS README README.ja
+/usr/share/license/%{name}
+%{cupsfilterdir}/epson-escpr
+%{cupsfilterdir}/epson-escpr-wrapper
+%attr(644,-,-) %{_libdir}/libescpr.so*
+%exclude %{_libdir}/libescpr.la
+%exclude %{cupsppddir}
--- /dev/null
+# epson-laser-printer-escpage.spec.in -- an rpm spec file templete
+# Epson Inkjet Printer Driver (ESC/Page) for Linux
+
+#%define _unpackaged_files_terminate_build 0
+%define cupsfilterdir /usr/lib/cups/filter
+%define cupsppddir /opt/etc/cups/ppd/Epson
+
+Name: epson-laser-printer-escpage
+Version: 1.0.1
+Release: 8
+Source0: %{name}-%{version}.tar.gz
+License: LGPL
+Vendor: Seiko Epson Corporation
+Packager: Seiko Epson Corporation <linux-printer@epson.jp>
+BuildRoot: %{_tmppath}/%{name}-%{version}
+BuildRequires: cups-devel
+Requires: cups
+Group: Applications/System
+Summary: Epson Laser Printer Driver (ESC/Page) for Linux
+# Bug fix for Tizen
+# Structure values are unused in Tizen
+Patch0: tizen_disable_unused_value.patch
+Patch1: tizen_add_job_media_progress.patch
+Patch2: tizen_report_page_info.patch
+Patch3: tizen_fix_ignore_sigpipe.patch
+
+%description
+This software is a filter program used with Common UNIX Printing
+System (CUPS) from the Linux. This can supply the high quality print
+with Seiko Epson laser Printers.
+
+This product supports only EPSON ESC/Page printers. This package can be
+used for all EPSON ESC/Page printers.
+
+%prep
+%setup -q
+%patch0
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+%build
+%configure \
+ --with-cupsfilterdir=%{cupsfilterdir} \
+ --with-cupsppddir=%{cupsppddir}
+make
+
+%install
+rm -rf ${RPM_BUILD_ROOT}
+make install-strip DESTDIR=${RPM_BUILD_ROOT}
+
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%clean
+make clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%manifest epson-laser-printer-escpage.manifest
+%defattr(-,root,root)
+#%doc AUTHORS COPYING NEWS README README.ja
+/usr/share/license/%{name}
+%{cupsfilterdir}/*
+%attr(644,-,-) %{_libdir}/libescpage*.so*
+%exclude %{_libdir}/libescpage.a
+%exclude %{_libdir}/libescpage.la
+%exclude %{cupsppddir}
--- /dev/null
+#
+
+Name: ethumb
+Version: 1.7.7
+Release: 0
+License: LGPL-2.1
+Summary: Thumbnail Generator Library
+Group: Graphics/EFL
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(edbus)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(libexif)
+
+%description
+Enlightenment thumbnailing library Thumbnailing library meant to replace epsilon
+
+%package devel
+Summary: Thumbnail Generator Library (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Thumbnailing library meant to replace epsilon (devel)
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libethumb*.so.*
+%{_datadir}/dbus-1/services/org.enlightenment.Ethumb.service
+%{_datadir}/ethumb/data/frames/default.edj
+%{_bindir}/ethumb
+%{_bindir}/ethumbd
+%{_bindir}/ethumbd_client
+%{_prefix}/libexec/ethumbd_slave
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/ethumb-1/*.h
+%{_libdir}/libethumb*.so
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+%bcond_with wayland
+Name: evas
+Version: 1.7.7
+Release: 1
+License: BSD 2-clause
+Summary: Multi-platform Canvas Library
+Url: http://www.enlightenment.org/
+Group: Graphics/EFL
+Source0: evas-%{version}.tar.bz2
+BuildRequires: doxygen
+BuildRequires: giflib-devel
+BuildRequires: libjpeg-devel
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(fontconfig)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(fribidi)
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(glesv2)
+BuildRequires: pkgconfig(harfbuzz)
+BuildRequires: pkgconfig(ice)
+BuildRequires: pkgconfig(libpng)
+BuildRequires: pkgconfig(libtiff-4)
+BuildRequires: pkgconfig(pixman-1)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xrender)
+%if %{with wayland}
+BuildRequires: pkgconfig(egl)
+BuildRequires: pkgconfig(wayland-client)
+BuildRequires: pkgconfig(wayland-cursor)
+BuildRequires: pkgconfig(wayland-egl)
+BuildRequires: pkgconfig(xkbcommon)
+%endif
+
+%description
+Evas is a clean display canvas API for several target display systems
+that can draw anti-aliased text, smooth super and sub-sampled scaled
+images, alpha-blend objects much and more.
+
+%package devel
+Summary: Development components for the evas package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development files for evas
+
+%package examples
+Summary: Examples for the evas package
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}
+
+%description examples
+Examples files for evas
+
+%prep
+%setup -q
+
+%build
+%configure --enable-pthreads \
+%if %{with wayland}
+ --enable-gles-variety-sgx \
+ --enable-wayland-egl \
+%else
+ --enable-gl-xlib \
+ --disable-static \
+ --with-x \
+ --enable-fb
+%endif
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/evas_cserve*
+%{_libdir}/evas/modules/*/*/*/module.so
+%{_libdir}/libevas.so.*
+%{_libdir}/evas/cserve2
+%{_prefix}/libexec/*
+%{_datadir}/evas/checkme
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/evas-1/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+
+%files examples
+%{_datadir}/evas/examples/*
+
+%changelog
--- /dev/null
+Name: expat
+Version: 2.1.0
+Release: 0
+Url: http://expat.sourceforge.net/
+Summary: XML Parser Toolkit
+License: MIT
+Group: System/Libraries
+Source0: %{name}-%{version}.tar.gz
+Source1: baselibs.conf
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: pkg-config
+
+%description
+Expat is an XML 1.0 parser written in C. It aims to be fully
+conformant. It is currently not a validating XML processor. The current
+production version of expat can be downloaded from
+ftp://ftp.jclark.com/pub/xml/expat.zip. The directory xmltok contains a
+low-level library for tokenizing XML. The interface is documented in
+xmltok/xmltok.h. The directory xmlparse contains an XML parser library
+that is built on top of the xmltok library. The interface is documented
+in xmlparse/xmlparse.h. The directory sample contains a simple example
+program using this interface. The file sample/build.bat is a batch
+file to build the example using Visual C++. The directory xmlwf
+contains the xmlwf application, which uses the xmlparse library. The
+arguments to xmlwf are one or more files to check for well-formedness.
+An option -d dir can be specified. For each well-formed input file, the
+corresponding canonical XML is written to dir/f, where f is the
+filename (without any path) of the input file. A -x option causes
+references to external general entities to be processed. A -s option
+makes documents that are not stand-alone cause an error (a document is
+considered stand-alone if it is intrinsically stand-alone because it
+has no external subset and no references to parameter entities in the
+internal subset or it is declared as stand-alone in the XML
+declaration).
+
+%package -n libexpat
+Summary: XML Parser Toolkit
+Group: System/Libraries
+
+%description -n libexpat
+Expat is an XML 1.0 parser written in C. It aims to be fully
+conformant. It is currently not a validating XML processor. The current
+production version of expat can be downloaded from
+ftp://ftp.jclark.com/pub/xml/expat.zip. The directory xmltok contains a
+low-level library for tokenizing XML. The interface is documented in
+xmltok/xmltok.h. The directory xmlparse contains an XML parser library
+that is built on top of the xmltok library. The interface is documented
+in xmlparse/xmlparse.h. The directory sample contains a simple example
+program using this interface. The file sample/build.bat is a batch
+file to build the example using Visual C++. The directory xmlwf
+contains the xmlwf application, which uses the xmlparse library. The
+arguments to xmlwf are one or more files to check for well-formedness.
+An option -d dir can be specified. For each well-formed input file, the
+corresponding canonical XML is written to dir/f, where f is the
+filename (without any path) of the input file. A -x option causes
+references to external general entities to be processed. A -s option
+makes documents that are not stand-alone cause an error (a document is
+considered stand-alone if it is intrinsically stand-alone because it
+has no external subset and no references to parameter entities in the
+internal subset or it is declared as stand-alone in the XML
+declaration).
+
+%package -n libexpat-devel
+Summary: XML Parser Toolkit
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libexpat = %{version}
+Provides: expat-devel
+
+%description -n libexpat-devel
+Expat is an XML 1.0 parser written in C. It aims to be fully
+conformant. It is currently not a validating XML processor. The current
+production version of expat can be downloaded from
+ftp://ftp.jclark.com/pub/xml/expat.zip. The directory xmltok contains a
+low-level library for tokenizing XML. The interface is documented in
+xmltok/xmltok.h. The directory xmlparse contains an XML parser library
+that is built on top of the xmltok library. The interface is documented
+in xmlparse/xmlparse.h. The directory sample contains a simple example
+program using this interface. The file sample/build.bat is a batch
+file to build the example using Visual C++. The directory xmlwf
+contains the xmlwf application, which uses the xmlparse library. The
+arguments to xmlwf are one or more files to check for well-formedness.
+An option -d dir can be specified. For each well-formed input file, the
+corresponding canonical XML is written to dir/f, where f is the
+filename (without any path) of the input file. A -x option causes
+references to external general entities to be processed. A -s option
+makes documents that are not stand-alone cause an error (a document is
+considered stand-alone if it is intrinsically stand-alone because it
+has no external subset and no references to parameter entities in the
+internal subset or it is declared as stand-alone in the XML
+declaration).
+
+%prep
+%setup -q
+
+rm -f examples/*.dsp
+%build
+autoreconf -fi
+%configure --disable-static --with-pic
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+rm doc/xmlwf.1
+
+%post -n libexpat -p /sbin/ldconfig
+
+%postun -n libexpat -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%doc %{_mandir}/man?/*
+%{_bindir}/xmlwf
+
+%files -n libexpat
+%defattr(-, root, root)
+%{_libdir}/libexpat.so.*
+
+%files -n libexpat-devel
+%defattr(-, root, root)
+%{_includedir}/*
+%{_libdir}/libexpat.so
+%{_libdir}/pkgconfig/expat.pc
+
+%changelog
--- /dev/null
+Url: http://expect.nist.gov
+Name: expect
+BuildRequires: autoconf
+BuildRequires: tcl-devel
+Version: 5.45
+Release: 0
+Summary: A Tool for Automating Interactive Programs
+License: SUSE-Public-Domain
+Group: Development/Languages/Tcl
+Source: %{name}%{version}.tar.gz
+Source1: expect-rpmlintrc
+
+%description
+Expect is a tool primarily for automating interactive applications,
+such as telnet, ftp, passwd, fsck, rlogin, tip, and more. Expect
+really makes this stuff trivial. Expect is also useful for testing
+these applications. It is described in many books, articles, papers,
+and FAQs. There is an entire book on it available from O'Reilly.
+
+%package devel
+Summary: Header Files and C API Documentation for expect
+Group: Development/Libraries/Tcl
+
+%description devel
+This package contains header files and documentation needed for linking
+to expect from programs written in compiled languages like C, C++, etc.
+
+This package is not needed for developing scripts that run under the
+/usr/bin/expect interpreter, or any other Tcl interpreter with the
+expect package loaded.
+
+%prep
+%setup -q -n %name%version
+
+%build
+autoreconf
+%configure \
+ --with-tcl=%_libdir \
+ --with-tk=no_tk \
+ --with-tclinclude=%_includedir \
+ --enable-shared
+make %{?_smp_mflags} all pkglibdir=%_libdir/tcl/%name%version
+
+
+%check
+make test
+
+%install
+# set the right path to the expect binary...
+sed -i \
+ -e '1s,^#![^ ]*expectk,#!/usr/bin/wish\npackage require Expect,' \
+ -e '1s,^#![^ ]*expect,#!/usr/bin/expect,' \
+ example/*
+make install DESTDIR=$RPM_BUILD_ROOT pkglibdir=%_libdir/tcl/%name%version
+# Remove some executables and manpages we don't want to ship
+rm $RPM_BUILD_ROOT%_prefix/bin/*passwd
+rm $RPM_BUILD_ROOT%_mandir/*/*passwd*
+
+%files
+%defattr(-,root,root)
+%_prefix/bin/*
+%_libdir/tcl/*
+%_libdir/lib*.so
+%doc %_mandir/man1/*
+
+%files devel
+%defattr(-,root,root)
+%_includedir/*
+%doc %_mandir/man3/*
+
+%changelog
--- /dev/null
+Name: expedite
+Version: 1.7.7
+Release: 0
+License: BSD
+Summary: Evas benchmark/test suite
+Url: http://www.enlightenment.org/
+Group: Graphics/EFL
+Source0: expedite-%{version}.tar.bz2
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xrender)
+
+%description
+Evas benchmark/test suite
+
+%prep
+%setup -q
+
+
+%build
+
+%configure --disable-static \
+ --disable-software-x11
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%license COPYING-PLAIN
+%{_bindir}/*
+%{_datadir}/expedite/*
+
+
+
+
+%changelog
--- /dev/null
+Name: capi-web-favorites
+Summary: Internet bookmark and history API
+Version: 0.0.15
+Release: 1
+Group: TO_BE/FILLED_IN
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(capi-base-common)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+
+
+%package devel
+Summary: Internet Bookmark and History in Tizen Native API (Development)
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+
+
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post
+/sbin/ldconfig
+mkdir -p /opt/usr/dbspace/
+##### History ######
+if [ ! -f /opt/usr/dbspace/.browser-history.db ];
+then
+ sqlite3 /opt/usr/dbspace/.browser-history.db 'PRAGMA journal_mode=PERSIST;
+ CREATE TABLE history(
+ id INTEGER PRIMARY KEY AUTOINCREMENT
+ , address
+ , title
+ , counter INTEGER
+ , visitdate DATETIME
+ , favicon BLOB
+ , favicon_length INTEGER
+ , favicon_w INTEGER
+ , favicon_h INTEGER
+ , snapshot BLOB
+ , snapshot_stride INTEGER
+ , snapshot_w INTEGER
+ , snapshot_h INTEGER);'
+fi
+
+### Bookmark ###
+if [ ! -f /opt/usr/dbspace/.internet_bookmark.db ];
+then
+ sqlite3 /opt/usr/dbspace/.internet_bookmark.db 'PRAGMA journal_mode=PERSIST;
+ CREATE TABLE bookmarks(
+ id INTEGER PRIMARY KEY AUTOINCREMENT
+ ,type INTEGER
+ ,parent INTEGER
+ ,address
+ ,title
+ ,creationdate
+ ,sequence INTEGER
+ ,updatedate
+ ,visitdate
+ ,editable INTEGER
+ ,accesscount INTEGER
+ ,favicon BLOB
+ ,favicon_length INTEGER
+ ,favicon_w INTEGER
+ ,favicon_h INTEGER
+ ,created_date
+ ,account_name
+ ,account_type
+ ,thumbnail BLOB
+ ,thumbnail_length INTEGER
+ ,thumbnail_w INTEGER
+ ,thumbnail_h INTEGER
+ ,version INTEGER
+ ,sync
+ ,tag1
+ ,tag2
+ ,tag3
+ ,tag4
+ );
+ create index idx_bookmarks_on_parent_type on bookmarks(parent, type);
+
+ CREATE TABLE tags(
+ tag
+ );'
+fi
+# Change db file owner & permission
+chown :5000 /opt/usr/dbspace/.browser-history.db
+chown :5000 /opt/usr/dbspace/.browser-history.db-journal
+chown :5000 /opt/usr/dbspace/.internet_bookmark.db
+chown :5000 /opt/usr/dbspace/.internet_bookmark.db-journal
+chmod 666 /opt/usr/dbspace/.browser-history.db
+chmod 666 /opt/usr/dbspace/.browser-history.db-journal
+chmod 666 /opt/usr/dbspace/.internet_bookmark.db
+chmod 666 /opt/usr/dbspace/.internet_bookmark.db-journal
+
+if [ -f /usr/lib/rpm-plugins/msm.so ]
+then
+ chsmack -a 'org.tizen.browser::db_external' /opt/usr/dbspace/.browser-history.db*
+ chsmack -a 'org.tizen.browser::db_external' /opt/usr/dbspace/.internet_bookmark.db*
+fi
+##################################################
+# set default vconf values
+##################################################
+#internal keys
+vconftool set -t string db/browser/browser_user_agent "System user agent" -g 5000 -f
+vconftool set -t string db/browser/custom_user_agent "" -g 5000 -f
+#public keys
+vconftool set -t string db/browser/user_agent "Mozilla/5.0 (Linux; Tizen 2.1; sdk) AppleWebKit/537.3 (KHTML, like Gecko) Version/2.1 Mobile Safari/537.3" -g 5000 -f
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest capi-web-favorites.manifest
+%{_libdir}/libcapi-web-favorites.so
+
+%files devel
+%{_includedir}/web/*.h
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Name: fdupes
+Version: 1.40
+Release: 42.66
+License: X11/MIT
+Summary: Identifying or deleting duplicate files
+Url: http://premium.caribe.net/~adrian2/fdupes.html
+Group: Productivity/Archiving/Compression
+Source0: %{name}-%{version}.tar.bz2
+Source1: macros.fdupes
+
+%description
+FDUPES is a program for identifying or deleting duplicate files
+residing within specified directories
+
+%prep
+%setup -q
+
+%build
+make
+
+%install
+install -D -m755 fdupes %{buildroot}/usr/bin/fdupes
+install -D -m644 fdupes.1 %{buildroot}/usr/share/man/man1/fdupes.1
+install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.fdupes
+
+%files
+%defattr(-, root, root)
+%doc CHANGES
+%{_bindir}/fdupes
+%{_mandir}/*/*
+%{_sysconfdir}/rpm
+
--- /dev/null
+Name: ffmpeg
+Summary: AV codec lib
+Version: 0.8.5
+Release: 15
+Group: TO_BE/FILLED_IN
+License: LGPLv2
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+
+%description
+AV codec library
+
+
+%package -n libavcodec
+Summary: AV codec lib
+Group: TO_BE/FILLED_IN
+
+%description -n libavcodec
+AV codec library
+
+%package -n libavcodec-devel
+Summary: AV codec lib (devel)
+Group: Development/Libraries
+Requires: libavcodec = %{version}-%{release}
+
+%description -n libavcodec-devel
+AV codec library (devel)
+
+%package -n libavformat
+Summary: AV format lib
+Group: TO_BE/FILLED_IN
+
+%description -n libavformat
+AV format library
+
+%package -n libavformat-devel
+Summary: AV format lib (devel)
+Group: Development/Libraries
+Requires: libavformat = %{version}-%{release}
+
+%description -n libavformat-devel
+AV format library (devel)
+
+%package -n libavutil
+Summary: AV util lib
+Group: TO_BE/FILLED_IN
+
+%description -n libavutil
+AV util library
+
+%package -n libavutil-devel
+Summary: AV util lib (devel)
+Group: Development/Libraries
+Requires: libavutil = %{version}-%{release}
+
+%description -n libavutil-devel
+AV util library (devel)
+
+%package -n libavfilter
+Summary: AV util lib
+Group: TO_BE/FILLED_IN
+
+%description -n libavfilter
+AV filter library
+
+%package -n libavfilter-devel
+Summary: AV util lib (devel)
+Group: Development/Libraries
+Requires: libavfilter = %{version}-%{release}
+
+%description -n libavfilter-devel
+AV filter library (devel)
+
+%package -n libswscale
+Summary: SW scale lib
+Group: TO_BE/FILLED_IN
+
+%description -n libswscale
+developement files for libswsacle
+
+%package -n libswscale-devel
+Summary: SW scale lib (devel)
+Group: Development/Libraries
+Requires: libswscale = %{version}-%{release}
+
+%description -n libswscale-devel
+developement files for libswsacle
+
+
+%prep
+%setup -q
+
+export CONFIGURE_OPTIONS="--enable-shared --disable-static --disable-postproc \
+--disable-version3 --disable-devices --disable-nonfree --disable-gpl --disable-doc \
+--disable-mmx --disable-zlib --disable-network \
+--disable-ffserver --disable-ffplay --disable-ffmpeg --disable-ffprobe \
+--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 \
+--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 \
+--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 \
+--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=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"
+
+CFLAGS="%{optflags} -fPIC -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "; export CFLAGS
+
+./configure --prefix=%{_prefix} $CONFIGURE_OPTIONS
+
+%build
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -n libavcodec
+%defattr(-,root,root,-)
+%{_libdir}/libavcodec.so.*
+
+%files -n libavformat
+%defattr(-,root,root,-)
+%{_libdir}/libavformat.so.*
+
+%files -n libavutil
+%defattr(-,root,root,-)
+%{_libdir}/libavutil.so.*
+
+%files -n libavfilter
+%defattr(-,root,root,-)
+%{_libdir}/libavfilter.so.*
+
+%files -n libswscale
+%defattr(-,root,root,-)
+%{_libdir}/libswscale.so.*
+
+%files -n libavcodec-devel
+%defattr(-,root,root,-)
+%_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
+
+%files -n libavutil-devel
+%defattr(-,root,root,-)
+%_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
+
+%files -n libswscale-devel
+%defattr(-,root,root,-)
+%_includedir/libswscale/*
+%_libdir/libswscale.so
+%_libdir/pkgconfig/libswscale.pc
+
--- /dev/null
+Name: file
+BuildRequires: findutils
+BuildRequires: libtool
+BuildRequires: zlib-devel
+Url: http://www.darwinsys.com/file/
+Version: 5.11
+Release: 0
+Summary: A Tool to Determine File Types
+License: BSD-2-Clause
+Group: System/Base
+Source: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
+Source2: baselibs.conf
+%global _sysconfdir /etc
+%global _miscdir %{_datadir}/misc
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+With the file command, you can obtain information on the file type of a
+specified file. File type recognition is controlled by the file
+/etc/magic, which contains the classification criteria. This command is
+used by apsfilter to permit automatic printing of different file types.
+
+%package -n libmagic-data
+Summary: The magic files for libmagic to use
+Group: System/Libraries
+
+%description -n libmagic-data
+This package contains the basic magic files that libmagic reads and uses
+to estimate a file's type.
+
+%package -n libmagic
+Summary: Library with file's functionality
+Group: System/Libraries
+Requires: libmagic-data = %{version}
+Provides: libfile
+Obsoletes: libfile =< 5.04
+
+%description -n libmagic
+This library reads magic files and detects file types. Used by file command
+
+%package -n file-devel
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Provides: file:/usr/include/magic.h
+Requires: glibc-devel
+Requires: libmagic = %{version}
+
+%description -n file-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require the magic "file" interface.
+
+%prep
+%setup -q -n file-%{version}
+%build
+export LANG=POSIX
+export LC_ALL=POSIX
+rm -f Magdir/*,v Magdir/*~
+rm -f ltcf-c.sh ltconfig ltmain.sh
+autoreconf -fiv
+CFLAGS="$RPM_OPT_FLAGS -DHOWMANY=69632"
+%configure --disable-silent-rules --datadir=%{_miscdir} --disable-static --with-pic --enable-fsect-man5
+%{__make} %{?_smp_mflags} pkgdatadir='$(datadir)'
+%if 0%{?build_python_bindings:1}
+pushd python
+python setup.py build
+popd
+%endif
+
+%install
+export LANG=POSIX
+export LC_ALL=POSIX
+mkdir %{buildroot}/etc
+make DESTDIR=%{buildroot} install pkgdatadir='$(datadir)'
+rm -vf %{buildroot}%{_sysconfdir}/magic
+echo '# Localstuff: file(1) magic(5) for locally observed files' > %{buildroot}%{_sysconfdir}/magic
+echo '# global magic file is %{_miscdir}/magic(.mgc)' >> %{buildroot}%{_sysconfdir}/magic
+%{nil install -s dcore %{buildroot}%{_bindir}}
+# Check out that the binary does not bail out:
+LD_LIBRARY_PATH=%{buildroot}%{_libdir}
+export LD_LIBRARY_PATH
+find %{buildroot}%{_bindir}/file %{_bindir}/ /%{_lib}/ %{_libdir}/ | \
+ xargs %{buildroot}%{_bindir}/file -m %{buildroot}%{_miscdir}/magic
+unset LD_LIBRARY_PATH
+%{__rm} -f %{buildroot}%{_libdir}/*.la
+
+%post -n libmagic -p /sbin/ldconfig
+
+%postun -n libmagic -p /sbin/ldconfig
+
+%files -n libmagic
+%defattr (644,root,root,755)
+%license COPYING
+%{_libdir}/lib*.so.*
+
+%files -n libmagic-data
+%defattr (644,root,root,755)
+%config(noreplace) %{_sysconfdir}/magic
+#%{_miscdir}/magic
+%{_miscdir}/magic.mgc
+%doc %{_mandir}/man5/magic.5.gz
+
+%files
+%defattr (644,root,root,755)
+%{nil %{_bindir}/dcore}
+%attr(755,root,root) %{_bindir}/file
+%doc %{_mandir}/man1/file.1.gz
+%license COPYING
+
+%files -n file-devel
+%defattr (644,root,root,755)
+%{_libdir}/lib*.so
+%{_includedir}/magic.h
+%doc %{_mandir}/man3/libmagic.3.gz
+%license COPYING
+
+%changelog
--- /dev/null
+%define disable_docs_package 1
+%define debug_package %{nil}
+Name: filesystem
+Version: 3.1
+Release: 0
+License: Public Domain
+Summary: The basic directory layout for a Linux system
+Url: https://fedorahosted.org/filesystem
+Group: Base/Configuration
+Requires(pre): setup
+Source2: languages
+Source3: languages.man
+
+
+%description
+The filesystem package is one of the basic packages that is installed
+on a Linux system. Filesystem contains the basic directory layout
+for a Linux operating system, including the correct permissions for
+the directories.
+
+%prep
+rm -f $RPM_BUILD_DIR/filelist
+
+%build
+
+%install
+function create_dir () {
+ local MODE=$1
+ case "$MODE" in
+ \#*) return ;;
+ esac
+ local OWNR=$2
+ local GRUP=$3
+ local NAME=$4
+ local XTRA=$5
+ local BDIR=`dirname $NAME`
+ test -d "$RPM_BUILD_ROOT/$NAME" && { echo "dir $NAME does already exist" ; echo "input out of sequence ?" ; exit 1 ; }
+ test -n "$BDIR" -a ! -d $RPM_BUILD_ROOT$BDIR && create_dir 0755 root root $BDIR
+ mkdir -m $MODE $RPM_BUILD_ROOT/$NAME
+ echo "$XTRA%%dir %%attr($MODE,$OWNR,$GRUP) $NAME" >> $RPM_BUILD_DIR/filelist
+}
+
+cd %{buildroot}
+
+mkdir -p boot dev \
+ etc/{X11/{applnk,fontpath.d},xdg/autostart,ld.so.conf.d,opt,pm/{config.d,power.d,sleep.d},xinetd.d,skel,sysconfig,pki} \
+ home media mnt opt proc root run/lock srv sys tmp \
+ usr/{bin,etc,games,include,%{_lib}/{pkgconfig,games,sse2,tls,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{games,locale,modules,sse2},libexec,local/{bin,etc,games,lib,%{_lib},sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{help/C,aclocal,applications,augeas/lenses,backgrounds,desktop-directories,dict,doc,empty,games,ghostscript/conf.d,gnome,icons,idl,info,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},mime-info,misc,omf,pixmaps,sounds,themes,xsessions,X11},src,src/kernels,src/debug} \
+ var/{adm,empty,gopher,lib/{empty,games,misc,rpm-state},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd,uucp},tmp,db,cache,opt,games,yp}
+
+ln -snf ../var/tmp usr/tmp
+ln -snf spool/mail var/mail
+ln -snf usr/bin bin
+ln -snf usr/sbin sbin
+ln -snf usr/lib lib
+ln -snf usr/%{_lib} %{_lib}
+
+# Create the locale directories:
+while read LANG ; do
+ echo "%lang(${LANG}) %ghost %config(missingok) /usr/share/locale/${LANG}" >>$RPM_BUILD_DIR/filelist
+ create_dir 0755 root root /usr/share/locale/$LANG/LC_MESSAGES
+ create_dir 0755 root root /usr/share/help/$LANG
+done < %{SOURCE2}
+# Create the locale directories for man:
+while read LANG ; do
+ create_dir 0755 root root /usr/share/man/$LANG
+ for sec in 1 2 3 4 5 6 7 8 9 n; do
+ create_dir 0755 root root /usr/share/man/$LANG/man$sec
+##"%lang(${LANG}) %ghost %config(missingok)"
+ done
+done < %{SOURCE3}
+
+
+%pretrans -p <lua>
+--#
+--# If we are running in pretrans in a fresh root, there is no /usr and symlinks.
+--# We cannot be sure, to be the very first rpm in the transaction list,
+--# so, let's create the toplevel symlinks here and the directories they point to.
+--# When our rpm is unpacked by cpio, it will set all permissions and modes later.
+--#
+
+if posix.stat("/usr") == nil then
+ posix.mkdir("/usr")
+end
+
+for i,dir in ipairs({"/lib", "/%{_lib}", "/sbin", "/bin"}) do
+ if posix.stat("/usr"..dir) == nil then
+ posix.mkdir("/usr"..dir)
+ if posix.stat(dir, "mode") == nil then
+ posix.symlink("usr"..dir, dir)
+ end
+ end
+end
+
+return 0
+
+%post -p <lua>
+posix.symlink("../run", "/var/run")
+posix.symlink("../run/lock", "/var/lock")
+
+%files -f filelist
+%defattr(0755,root,root,-)
+%dir %attr(555,root,root)
+/bin
+%attr(555,root,root) /boot
+/dev
+%dir /etc
+%{_sysconfdir}/X11
+%{_sysconfdir}/xdg
+%{_sysconfdir}/opt
+%{_sysconfdir}/pm
+%{_sysconfdir}/xinetd.d
+%{_sysconfdir}/skel
+%{_sysconfdir}/sysconfig
+%{_sysconfdir}/pki
+/home
+/lib
+#%ifarch x86_64 ppc ppc64 sparc sparc64 s390 s390x
+/%{_lib}
+#%endif
+/media
+%dir /mnt
+%dir /opt
+%attr(555,root,root) /proc
+%attr(550,root,root) /root
+/run
+/sbin
+/srv
+/sys
+%attr(1777,root,root) /tmp
+%dir /usr
+%attr(555,root,root) /usr/bin
+/usr/etc
+/usr/games
+/usr/include
+%attr(555,root,root) /usr/lib
+#%ifarch x86_64 ppc ppc64 sparc sparc64 s390 s390x
+%attr(555,root,root) /usr/%{_lib}
+#%endif
+/usr/libexec
+/usr/local
+%attr(555,root,root) /usr/sbin
+%dir /usr/share
+/usr/share/aclocal
+/usr/share/applications
+/usr/share/help/C
+/usr/share/augeas
+/usr/share/backgrounds
+/usr/share/desktop-directories
+/usr/share/dict
+/usr/share/doc
+%attr(555,root,root) %dir /usr/share/empty
+/usr/share/games
+/usr/share/ghostscript
+/usr/share/gnome
+/usr/share/icons
+/usr/share/idl
+/usr/share/info
+%dir /usr/share/locale
+%dir /usr/share/man
+/usr/share/mime-info
+/usr/share/misc
+/usr/share/omf
+/usr/share/pixmaps
+/usr/share/sounds
+/usr/share/themes
+/usr/share/xsessions
+/usr/share/X11
+/usr/src
+/usr/tmp
+%dir /var
+%{_localstatedir}/adm
+%{_localstatedir}/cache
+%{_localstatedir}/db
+%{_localstatedir}/empty
+%{_localstatedir}/games
+%{_localstatedir}/gopher
+%{_localstatedir}/lib
+%{_localstatedir}/local
+%ghost %dir %attr(755,root,root) %{_localstatedir}/lock
+%ghost %{_localstatedir}/lock/subsys
+%{_localstatedir}/log
+%{_localstatedir}/mail
+%{_localstatedir}/nis
+%{_localstatedir}/opt
+%{_localstatedir}/preserve
+%ghost %attr(755,root,root) %{_localstatedir}/run
+%dir %{_localstatedir}/spool
+%attr(755,root,root) %{_localstatedir}/spool/lpd
+%attr(775,root,mail) %{_localstatedir}/spool/mail
+%attr(755,uucp,uucp) %{_localstatedir}/spool/uucp
+%attr(1777,root,root) %{_localstatedir}/tmp
+%{_localstatedir}/yp
+
+%changelog
--- /dev/null
+Name: findutils
+Url: http://www.gnu.org/software/findutils/
+Version: 4.5.10
+Release: 0
+Summary: The GNU versions of find utilities (find and xargs)
+License: GPL-3.0+
+Group: Base/Tools
+# retrieved from http://alpha.gnu.org/pub/gnu/findutils/findutils-4.5.10.tar.gz
+Source: findutils-%{version}.tar.bz2
+Source1: sysconfig.locate
+
+%description
+The findutils package contains programs which will help you locate
+files on your system. The find utility searches through a hierarchy
+of directories looking for files which match a certain set of criteria
+(such as a file name pattern). The xargs utility builds and executes
+command lines from standard input arguments (usually lists of file
+names generated by the find command).
+
+You should install findutils because it includes tools that are very
+useful for finding things on your system.
+
+
+%package locate
+Summary: Tool for Locating Files (findutils subpackage)
+Group: Base/Tools
+Provides: findutils:/usr/bin/locate
+Requires: findutils = %{version}
+
+%description locate
+This package contains the locate program which is part of the GNU
+findutils software suite.
+
+You can find files fast using locate. On installing findutils-locate
+an additional daily cron job will be added to the cron system. This
+job will update the files database every night or shortly after
+switching on the computer.
+
+%prep
+%setup -q
+
+%build
+%ifarch %arm armv5tel armv7l armv7el armv5el
+# this is a workaround for a qemu-user bug, we hit. A qemu patch is being discussed, but for now ...
+export DEFAULT_ARG_SIZE="(31u * 1024u)"
+%endif
+%configure \
+ --libexecdir=%{_libdir}/find \
+ --localstatedir=/var/lib \
+ --without-included-regex \
+ --without-fts \
+ --enable-d_type-optimisation
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+
+install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/locate
+rm -f $RPM_BUILD_ROOT%{_bindir}/oldfind
+rm -f $RPM_BUILD_ROOT%{_bindir}/ftsfind
+rm -f $RPM_BUILD_ROOT%{_infodir}/find-maint*
+%find_lang %{name}
+
+%docs_package
+
+%lang_package
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/find
+%{_bindir}/xargs
+
+%files locate
+%defattr(-,root,root,-)
+%{_bindir}/locate
+%{_bindir}/updatedb
+%{_libdir}/find
+%config(noreplace) %{_sysconfdir}/sysconfig/locate
+
+%changelog
--- /dev/null
+Name: fixesproto
+Version: 5.0
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+Requires: xextproto
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: flac
+BuildRequires: gcc-c++
+BuildRequires: gettext-tools
+BuildRequires: libogg-devel
+BuildRequires: libtool
+BuildRequires: pkg-config
+%ifarch %{ix86}
+BuildRequires: nasm
+%endif
+Version: 1.2.1
+Release: 0
+License: BSD-3-Clause
+Summary: Free Lossless Audio Codec
+Url: http://flac.sourceforge.net/
+Group: Multimedia/Audio
+Source: %{name}-%{version}.tar.bz2
+
+%description
+FLAC is an open source lossless audio codec developed by Josh Coalson.
+
+%package -n libflac
+Summary: Free Lossless Audio Codec Library
+
+%description -n libflac
+This package contains the library for FLAC (Free Lossless Audio Codec)
+developed by Josh Coalson.
+
+%package -n libflac++
+Summary: Free Lossless Audio Codec Library
+
+%description -n libflac++
+This package contains the C++ library for FLAC (Free Lossless Audio
+Codec) developed by Josh Coalson.
+
+%package devel
+Summary: FLAC Library Development Package
+Requires: glibc-devel
+Requires: libflac = %{version}
+Requires: libflac = %{version}
+Requires: libstdc++-devel
+
+%description devel
+This package contains the files needed to compile programs that use the
+FLAC library.
+
+%prep
+%setup -q
+
+%build
+autoreconf --force --install
+%define warn_flags -O3 -W -Wall -Wstrict-prototypes -Wformat-security
+export CFLAGS="%{optflags} %{warn_flags}"
+export CXXFLAGS="$CFLAGS"
+%configure --disable-thorough-tests --disable-exhaustive-tests\
+ --disable-xmms-plugin \
+ --disable-static \
+ --disable-rpath \
+ --with-pic \
+ --enable-sse
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+rm -rf %{buildroot}%{_datadir}/doc/%{name}-%{version}
+
+%post -n libflac -p /sbin/ldconfig
+
+%postun -n libflac -p /sbin/ldconfig
+
+%post -n libflac++ -p /sbin/ldconfig
+
+%postun -n libflac++ -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%license COPYING.*
+%{_bindir}/*
+%{_mandir}/man*/*
+
+%files -n libflac
+%defattr(-, root, root)
+%{_libdir}/libFLAC.so.8*
+
+%files -n libflac++
+%defattr(-, root, root)
+%{_libdir}/libFLAC++.so.6*
+
+%files devel
+%defattr(-, root, root)
+%{_libdir}/lib*.so
+%{_includedir}/*
+%{_libdir}/pkgconfig/*.pc
+%{_datadir}/aclocal/*.m4
--- /dev/null
+%define keepstatic 1
+Name: flex
+Version: 2.5.37
+Release: 0
+License: BSD-3-Clause
+Summary: Fast Lexical Analyzer Generator
+Url: http://flex.sourceforge.net/
+Group: Development/Languages/C and C++
+Source: %{name}-%{version}.tar.bz2
+Source1: lex-wrapper.sh
+Source3: baselibs.conf
+BuildRequires: automake
+BuildRequires: makeinfo
+BuildRequires: bison
+BuildRequires: gcc-c++
+BuildRequires: gettext-tools
+Requires: m4
+
+%description
+FLEX is a tool for generating scanners: programs that recognize lexical
+patterns in text.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fi
+%configure --disable-nls
+make %{?_smp_mflags}
+
+%check
+%if !0%{?qemu_user_space_build:1}
+make check
+%endif
+
+%install
+%make_install
+install %{SOURCE1} %{buildroot}/%{_bindir}/lex
+
+%remove_docs
+%files
+%license COPYING
+%defattr(-,root,root)
+/usr/bin/flex
+/usr/bin/flex++
+/usr/bin/lex
+/usr/include/FlexLexer.h
+%{_libdir}/libfl.a
--- /dev/null
+Name: font-util
+Version: 1.3.0
+Release: 0
+License: MIT
+Summary: X
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Fonts
+Source: %{name}-%{version}.tar.bz2
+Source1: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+
+%description
+This package provides utilities for X.Org font package
+creation/installation.
+
+%prep
+%setup -q
+# see Bug 194720 for details
+cp %{SOURCE1} map-JISX0201.1976-0
+
+%build
+%configure --with-mapdir=%{_datadir}/fonts/util
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/bdftruncate
+%{_bindir}/ucs2any
+%{_mandir}/man1/bdftruncate.1%{?ext_man}
+%{_mandir}/man1/ucs2any.1%{?ext_man}
+%{_datadir}/aclocal/fontutil.m4
+%{_datadir}/fonts/util/
+%{_libdir}/pkgconfig/fontutil.pc
+
+%changelog
--- /dev/null
+Name: fontcacheproto
+Version: 0.1.3
+Release: 0
+License: MIT
+Summary: X.org FontcacheProto protocol headers
+Url: http://www.x.org
+Group: Development/X11 Protocols
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+%global freetype_version 2.1.4
+
+Name: fontconfig
+Version: 2.10.91
+Release: 0
+License: MIT
+Summary: Font configuration and customization library
+Url: http://fontconfig.org
+Group: Graphics/Font Management
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: expat-devel
+BuildRequires: gawk
+BuildRequires: perl
+BuildRequires: pkgconfig(freetype2) >= %{freetype_version}
+Requires(pre): /usr/bin/fc-cache, /usr/bin/mkdir /usr/bin/rm, /usr/bin/grep
+
+%description
+Fontconfig is designed to locate fonts within the
+system and select them according to requirements specified by
+applications.
+
+%package devel
+Summary: Font configuration and customization library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: fontconfig = %{version}
+Requires: freetype-devel >= %{freetype_version}
+Requires: pkg-config
+
+%description devel
+The fontconfig-devel package includes the header files,
+and developer docs for the fontconfig package.
+
+Install fontconfig-devel if you want to develop programs which
+will use fontconfig.
+
+%prep
+%setup -q
+
+%build
+# We don't want to rebuild the docs, but we want to install the included ones.
+export HASDOCBOOK=no
+
+%reconfigure --disable-static \
+ --with-expat=/usr \
+ --with-expat-include=%{_includedir} \
+ --with-expat-lib=%{_libdir} \
+ --with-freetype-config=%{_bindir}/freetype-config \
+ --with-add-fonts=%{_datadir}/fonts,/usr/share/app_fonts,/usr/share/fallback_fonts \
+ --with-cache-dir=/var/cache/fontconfig \
+ --with-confdir=/etc/fonts \
+ --with-templatedir=%{_sysconfdir}/fonts/conf.avail \
+ --disable-docs
+
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+
+%make_install
+
+mkdir -p %{buildroot}%{_datadir}/fonts
+
+%post
+/sbin/ldconfig
+
+umask 0022
+
+mkdir -p /var/cache/fontconfig
+# Remove stale caches
+rm -f /var/cache/fontconfig/????????????????????????????????.cache-2
+rm -f /var/cache/fontconfig/stamp
+
+if [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache --version 2>&1 | grep -q %{version} ; then
+HOME=/root /usr/bin/fc-cache -f
+fi
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%{_libdir}/libfontconfig.so.*
+%{_bindir}/fc-*
+%{_sysconfdir}/fonts/*
+%dir %{_datadir}/fonts
+%doc %{_sysconfdir}/fonts/conf.d/README
+%config %{_sysconfdir}/fonts/conf.avail/*.conf
+%config(noreplace) %{_sysconfdir}/fonts/conf.d/*.conf
+%dir %{_localstatedir}/cache/fontconfig
+/usr/share/xml/fontconfig/fonts.dtd
+
+%files devel
+%{_libdir}/libfontconfig.so
+%{_libdir}/pkgconfig/*
+%{_includedir}/fontconfig
+
--- /dev/null
+Name: fontsproto
+Version: 2.1.2
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/fonts/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: freealut
+Summary: OpenAL User Toolkit library
+Version: 1.1.0
+Release: 2
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(openal)
+
+
+%description
+OpenAL User Toolkit library development package
+
+
+
+%package devel
+Summary: OpenAL User Toolkit library (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+OpenAL User Toolkit library development package (devel)
+
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+%files
+%manifest freealut.manifest
+%defattr(-,root,root,-)
+%{_bindir}/freealut-config
+%{_libdir}/libalut.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/AL/alut.h
+%{_libdir}/libalut.so
+%{_libdir}/pkgconfig/freealut.pc
--- /dev/null
+%define debug 0
+
+Name: freeglut
+Version: 2.8.0
+Release: 0
+License: MIT
+Summary: Freely licensed alternative to the GLUT library
+Url: http://freeglut.sourceforge.net/
+Group: System/Libraries
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: mesa-devel
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(glu)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(xi)
+
+%description
+Freeglut is a completely open source alternative to the OpenGL Utility
+Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to
+support the sample programs in the second edition OpenGL Redbook. Since
+then, GLUT has been used in a wide variety of practical applications
+because it is simple, universally available, and highly portable.
+
+GLUT (and freeglut) allow the user to create and manage windows
+containing OpenGL contexts and also read the mouse, keyboard, and
+joystick functions on a wide range of platforms.
+
+%package -n libglut
+Summary: Freely licensed alternative to the GLUT library
+Group: Development/Libraries/X11
+
+%description -n libglut
+Freeglut is a completely open source alternative to the OpenGL Utility
+Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to
+support the sample programs in the second edition OpenGL Redbook. Since
+then, GLUT has been used in a wide variety of practical applications
+because it is simple, universally available, and highly portable.
+
+GLUT (and freeglut) allow the user to create and manage windows
+containing OpenGL contexts and also read the mouse, keyboard, and
+joystick functions on a wide range of platforms.
+
+%package devel
+Summary: Development libraries, includes and man pages for freeglut (GLUT Library)
+Group: Development/Libraries/X11
+Requires: libglut = %{version}
+Requires: mesa-devel
+
+%description devel
+This package contains all necessary include files and libraries needed
+to compile and link applications for the freeglut library.
+
+In addition, it also includes manual pages which describe all functions
+provided by the freeglut library.
+
+Freeglut is a completely open source alternative to the OpenGL Utility
+Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to
+support the sample programs in the second edition OpenGL Redbook. Since
+then, GLUT has been used in a wide variety of practical applications
+because it is simple, universally available, and highly portable.
+
+GLUT (and freeglut) allow the user to create and manage windows
+containing OpenGL contexts and also read the mouse, keyboard, and
+joystick functions on a wide range of platforms.
+
+%package demo
+Summary: Demonstration applications for the freeglut library
+Group: System/X11/Utilities
+
+%description demo
+This package contains demonstration applications for the freeglut library.
+
+Freeglut is a completely open source alternative to the OpenGL Utility
+Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to
+support the sample programs in the second edition OpenGL Redbook. Since
+then, GLUT has been used in a wide variety of practical applications
+because it is simple, universally available, and highly portable.
+
+GLUT (and freeglut) allow the user to create and manage windows
+containing OpenGL contexts and also read the mouse, keyboard, and
+joystick functions on a wide range of platforms.
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+%configure \
+ --enable-replace-glut \
+%if %debug
+ --enable-debug \
+%endif
+ --disable-static
+make %{?_smp_mflags} -C src
+make %{?_smp_mflags} -C include
+
+%install
+make install -C src DESTDIR=%{buildroot}
+make install -C include DESTDIR=%{buildroot}
+rm -rf %{buildroot}%{_libdir}/libglut.la
+
+%post -n libglut -p /sbin/ldconfig
+
+%postun -n libglut -p /sbin/ldconfig
+
+%files -n libglut
+%defattr(-,root,root)
+%doc COPYING
+%{_libdir}/libglut.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/GL
+%{_libdir}/libglut.so
--- /dev/null
+Name: freetype2
+BuildRequires: pkg-config
+BuildRequires: zlib-devel
+Version: 2.4.9
+Release: 0
+Summary: A TrueType Font Library
+License: Freetype or GPL-2.0+
+Group: Graphics/Font Management
+Url: http://www.freetype.org
+Source0: http://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.bz2
+Source2: baselibs.conf
+
+%description
+This library features TrueType fonts for open source projects. This
+version also contains an autohinter for producing improved output.
+
+%package -n libfreetype
+Summary: A TrueType Font Library
+Group: Graphics/Font Management
+
+%description -n libfreetype
+This library features TrueType fonts for open source projects. This
+version also contains an autohinter for producing improved output.
+
+%package devel
+Summary: Development environment for the freetype2 TrueType font library
+Group: Development/Libraries
+Requires: libfreetype = %{version}
+Requires: zlib-devel
+Provides: freetype-devel
+
+%description devel
+This package contains all necessary include files, libraries and
+documentation needed to develop applications that require the freetype2
+TrueType font library.
+
+It also contains a small tutorial for using that library.
+
+%prep
+%define enable_subpixel_rendering 0
+%setup -q -n freetype-%{version}
+
+%build
+export CFLAGS="%optflags -std=gnu99 -D_GNU_SOURCE"
+%configure --without-bzip2 \
+ --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+rm docs/INSTALL*
+
+%post -n libfreetype -p /sbin/ldconfig
+
+%postun -n libfreetype -p /sbin/ldconfig
+
+%files -n libfreetype
+%defattr(-,root,root)
+%{_libdir}/libfreetype.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/*
+%{_libdir}/libfreetype.so
+%{_libdir}/pkgconfig/freetype2.pc
+%{_bindir}/*
+%{_datadir}/aclocal
+
+%changelog
--- /dev/null
+Name: fribidi
+Version: 0.19.5
+Release: 1
+Summary: Free Implementation of BiDi Algorithm
+License: LGPL-2.1
+Group: System/Libraries
+Url: http://fribidi.org/
+AutoReqProv: on
+Provides: locale(ar;he)
+Source: fribidi-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: pkg-config
+
+%description
+This library implements the algorithm as described in the "Unicode
+Standard Annex #9, the Bidirectional Algorithm,
+http://www.unicode.org/unicode/reports/tr9/". FriBidi is exhaustively
+tested against the Bidi Reference Code and, to the best of the
+developers' knowledge, does notcontain any conformance bugs.
+
+The API was inspired by the document "Bi-Di languages support - BiDi
+API proposal" by Franck Portaneri, which he wrote as a proposal for
+adding BiDi support to Mozilla.
+
+%package devel
+License: LGPL-2.1
+Summary: Development Files for FriBiDi
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+Requires: pkg-config
+
+%description devel
+This package provides headers and manual files for FriBiDi.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+%__make %{?_smp_mflags}
+
+%check
+%__make check
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%{_bindir}/fribidi
+%{_libdir}/libfribidi.so.*
+%license COPYING
+
+%files devel
+%defattr(-, root, root)
+%dir %{_includedir}/fribidi
+%{_includedir}/fribidi/*
+%{_libdir}/libfribidi.so
+%{_libdir}/pkgconfig/fribidi.pc
+%doc %{_mandir}/man3/fribidi_*
+
+%changelog
--- /dev/null
+# RPM specfile for the fsync package
+# Copyright 2009 Parliament Hill Computers Ltd, all rights reserved.
+# Author: ADDW September 2009
+# SCCS: @(#)fsync.spec 1.1 11/14/11 22:48:57
+# Note that the version number (1.1 - SCCS %-I-% (sans -)) of this file defines the package version #. It is used in the Makefile.
+
+Summary: synchronize file's in-core state with storage device
+Name: fsync
+Version: 1.1
+Release: 1
+Source: http://www.phcomp.co.uk/Downloads/fsync-%{version}.tar.gz
+Source1001: %{name}.manifest
+License: GPL
+Group: Applications/System
+BuildRequires: autoconf
+
+%description
+If system service is interrupted at the wrong moment (eg crash or power fail)
+what is in the filesystem on reboot might inconsistent. This is especially
+true with files in the process of being updated; eg where a modified copy of a
+file is created that is then renamed over the original.
+Flushing blocks to disk can help to avoid problems.
+This is a command line interface to the fsync(2) and fdatasync(2) system calls.
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+autoconf
+%configure
+make
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT%{_prefix} VERSION=%{version} install
+
+%remove_docs
+%files
+%defattr(-,root,root)
+%manifest %{name}.manifest
+%{_bindir}/fsync
+%doc License
+
--- /dev/null
+Name: fuse
+Summary: User space File System
+License: GPL-2.0+ ; LGPL-2.1+
+Group: System/Filesystems
+Version: 2.9.2
+Release: 0
+Source: %{name}-%{version}.tar.gz
+Source2: fuse.rpmlintrc
+Source98: baselibs.conf
+Url: http://fuse.sourceforge.net
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: util-linux >= 2.18
+Requires: which
+BuildRequires: pkgconfig
+Supplements: filesystem(fuse)
+
+%description
+With FUSE, a user space program can export a file system through the
+kernel-default (Linux kernel).
+
+User space file systems which are implemented using FUSE are provided
+by the following packages:
+
+- curlftpfs (mount FTP servers),
+
+- encfs (layered file encryption),
+
+- fuseiso (mount iso, img, bin, mdf and nrg CD-ROM images),
+
+- fusepod (mount iPods),
+
+- fusesmb (mount a fully browseable network neighborhood),
+
+- gphotofs (mount gphoto-supported cameras),
+
+- ntfs-3g (mount NTFS volumes read-write),
+
+- obexfs (mount of bluetooth devices),
+
+- sshfs (mount over ssh),
+
+- wdfs (mount of WebDAV shares)
+
+This package contains the mount binaries for fuse (might not be needed
+by some FUSE filesystems like ntfs-3g) and the documentation for FUSE.
+
+After installing fuse-devel, administrators can compile and install
+other user space file systems which can be found at
+http://fuse.sourceforge.net/wiki
+
+%package -n libulockmgr
+Summary: Library of FUSE, the User space File System for GNU/Linux and BSD
+Group: System/Filesystems
+
+%description -n libulockmgr
+With FUSE, a user space program can export a file system through the
+kernel-default (Linux kernel).
+
+%package -n libfuse
+Summary: Library of FUSE, the User space File System for GNU/Linux and BSD
+Group: System/Filesystems
+
+%description -n libfuse
+With FUSE, a user space program can export a file system through the
+kernel-default (Linux kernel).
+
+A FUSE file system which only needs libfuse is ntfs-3g, other FUSE
+file systems might need the fuse package in addition to have fusermount
+and /sbin/mount.fuse.
+
+After installing fuse-devel, administrators can compile and install
+other user space file systems which can be found at
+http://fuse.sourceforge.net/wiki
+
+%package devel
+Summary: Development package for FUSE (userspace filesystem) modules
+Group: Development/Languages/C and C++
+Requires: fuse = %{version}
+Requires: glibc-devel
+Requires: libfuse = %{version}
+Requires: libulockmgr = %{version}
+
+%description devel
+This package contains all include files, libraries and configuration
+files needed to develop programs that use the fuse (FUSE) library to
+implement kernel-default (Linux) file systems in user space.
+
+With fuse-devel, administrators can compile and install other user
+space file systems which can be found at
+http://fuse.sourceforge.net/wiki
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing"
+export MOUNT_FUSE_PATH=%{_sbindir}
+%configure --with-pic \
+ --with-pkgconfigdir=%{_libdir}/pkgconfig \
+ --enable-lib \
+ --disable-example \
+ --enable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/init.d
+
+%post -n libfuse -p /sbin/ldconfig
+
+%postun -n libfuse -p /sbin/ldconfig
+
+%post -n libulockmgr -p /sbin/ldconfig
+
+%postun -n libulockmgr -p /sbin/ldconfig
+
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%license COPYING*
+%verify(not mode) %attr(4755,root,root) %{_bindir}/fusermount
+%{_sbindir}/mount.fuse
+%{_bindir}/ulockmgr_server
+/etc/udev/rules.d/99-fuse.rules
+
+%files -n libfuse
+%defattr(-,root,root)
+%{_libdir}/libfuse.so.2*
+
+%files -n libulockmgr
+%defattr(-,root,root)
+%{_libdir}/libulockmgr.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libfuse.so
+%{_libdir}/libulockmgr.so
+%{_includedir}/fuse.h
+%{_includedir}/fuse
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/ulockmgr.h
--- /dev/null
+Name: gawk
+Url: http://www.gnu.org/software/gawk/
+Provides: awk
+BuildRequires: automake
+BuildRequires: makeinfo
+Version: 4.0.1
+Release: 0
+Summary: GNU awk
+License: GPL-3.0+
+Group: Base/Tools
+Source: gawk-%{version}.tar.bz2
+
+# Temporary
+Provides: /bin/awk
+Provides: /bin/gawk
+
+%description
+GNU awk is upwardly compatible with the System V Release 4 awk. It is
+almost completely POSIX 1003.2 compliant.
+
+%prep
+%setup -q
+chmod -x COPYING
+# force rebuild with non-broken makeinfo
+rm -f doc/*.info
+
+%build
+AUTOPOINT=true autoreconf --force --install
+%configure --libexecdir=%{_libdir} --disable-nls
+%if %do_profiling
+ make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS %cflags_profile_generate"
+ make check
+ make clean
+ make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS %cflags_profile_feedback"
+%else
+ make %{?_smp_mflags}
+%endif
+
+%check
+make check
+
+%install
+%make_install
+
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/awk
+%{_bindir}/dgawk
+%{_bindir}/gawk*
+%{_bindir}/igawk
+%{_bindir}/pgawk*
+%{_libdir}/awk
+/usr/share/awk
+
+%changelog
--- /dev/null
+Name: gcc
+%define separate_bi32 0
+%define separate_bi64 0
+%ifarch ppc
+%define separate_bi64 1
+%endif
+%ifarch x86_64 s390x ppc64
+%define separate_bi32 1
+%endif
+Url: http://gcc.gnu.org/
+%define gcc_version 47
+%define gcc_suffix 4.7
+Version: 4.7
+Release: 0
+Summary: The system GNU C Compiler
+License: GPL-3.0+
+Group: Development/Languages/C and C++
+Provides: c_compiler
+Obsoletes: gcc-mudflap
+Requires: cpp
+Requires: gcc%{gcc_version}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Source: cpp
+Source99: README.packaging
+
+%description
+The system GNU C Compiler.
+
+
+
+%package -n gcc-32bit
+Summary: The system GNU C Compiler
+License: GPL-3.0+
+Group: Development/Languages/C and C++
+Requires: gcc = %{version}
+Requires: gcc%{gcc_version}-32bit
+
+%description -n gcc-32bit
+The system GNU C Compiler.
+
+
+
+%package -n gcc-64bit
+Summary: The system GNU C Compiler
+License: GPL-3.0+
+Group: Development/Languages/C and C++
+Requires: gcc = %{version}
+Requires: gcc%{gcc_version}-64bit
+
+%description -n gcc-64bit
+The system GNU C Compiler.
+
+
+
+%package -n cpp
+Summary: The system GNU Preprocessor
+License: GPL-3.0+
+Group: Development/Languages/C and C++
+Requires: cpp%{gcc_version}
+
+%description -n cpp
+The system GNU Preprocessor.
+
+
+
+%package -n gcc-locale
+Summary: The system GNU Compiler locale files
+License: GPL-3.0+
+Group: Development/Languages/C and C++
+Requires: gcc%{gcc_version}-locale
+
+%description -n gcc-locale
+The system GNU Compiler locale files.
+
+
+
+%package -n gcc-info
+Summary: The system GNU Compiler documentation
+License: GFDL-1.2
+Group: Development/Languages/C and C++
+Requires: gcc%{gcc_version}-info
+
+%description -n gcc-info
+The system GNU Compiler documentation.
+
+# There is intentionally no postun with install_info_delete as there
+# is no way to just remove the aliased entries. The content owners
+# install_info_delete will also remove the aliases though.
+# install-info does not pick up descriptions from the content.
+
+%package -n gcc-c++
+Summary: The system GNU C++ Compiler
+License: GPL-3.0+
+Group: Development/Languages/C and C++
+Provides: c++_compiler
+Requires: gcc = %{version}
+Requires: gcc%{gcc_version}-c++
+
+%description -n gcc-c++
+The system GNU C++ Compiler.
+
+
+%package -n gcc-c++-32bit
+Summary: The system GNU C++ Compiler
+License: GPL-3.0+
+Group: Development/Languages/C and C++
+Requires: gcc-32bit = %{version}
+Requires: gcc-c++ = %{version}
+Requires: libstdc++%{gcc_version}-devel-32bit
+
+%description -n gcc-c++-32bit
+The system GNU C++ Compiler 32 bit support.
+
+
+%package -n gcc-c++-64bit
+Summary: The system GNU C++ Compiler
+License: GPL-3.0+
+Group: Development/Languages/C and C++
+Requires: gcc-64bit = %{version}
+Requires: gcc-c++ = %{version}
+Requires: libstdc++%{gcc_version}-devel-64bit
+
+%description -n gcc-c++-64bit
+The system GNU C++ Compiler 64 bit support.
+
+
+
+%package -n libstdc++-devel
+Summary: The system GNU C++ development files
+License: GPL-3.0-with-GCC-exception
+Group: System/Libraries
+Requires: libstdc++%{gcc_version}-devel
+
+%description -n libstdc++-devel
+The system GNU C++ development files.
+
+
+
+%package -n gcc-fortran
+Summary: The system GNU Fortran Compiler
+License: GPL-3.0+
+Group: Development/Languages/Fortran
+Requires: gcc = %{version}
+Requires: gcc%{gcc_version}-fortran
+
+%description -n gcc-fortran
+The system GNU Fortran Compiler.
+
+
+%package -n gcc-fortran-32bit
+Summary: The system GNU Fortran Compiler
+License: GPL-3.0+
+Group: Development/Languages/Fortran
+Requires: gcc%{gcc_version}-fortran-32bit
+Requires: gcc-fortran = %{version}
+
+%description -n gcc-fortran-32bit
+The system GNU Fortran Compiler 32 bit support.
+
+
+%package -n gcc-fortran-64bit
+Summary: The system GNU Fortran Compiler
+License: GPL-3.0+
+Group: Development/Languages/Fortran
+Requires: gcc%{gcc_version}-fortran-64bit
+Requires: gcc-fortran = %{version}
+
+%description -n gcc-fortran-64bit
+The system GNU Fortran Compiler 64 bit support.
+
+
+%package -n gcc-java
+Summary: The system GNU Java Compiler
+License: GPL-3.0+
+Group: Development/Languages/Java
+Requires: gcc%{gcc_version}-java
+Requires: libgcj-devel = %{version}
+Recommends: gcc-gij = %{version}
+Requires: gcc = %{version}
+
+%description -n gcc-java
+The system GNU Java Compiler.
+
+
+
+%package -n libgcj-devel
+Summary: The system GNU Java development files.
+License: GPL-2.0-with-classpath-exception
+Group: Development/Libraries/Java
+Requires: libgcj%{gcc_version}-devel
+
+%description -n libgcj-devel
+The system GNU Java development files.
+
+
+
+%package -n gcc-gij
+Summary: The system GNU Java bytecode interpreter
+License: GPL-2.0+
+Group: Development/Languages/Java
+Requires: gcc%{gcc_version}-gij
+
+%description -n gcc-gij
+The system GNU Java bytecode interpreter.
+
+
+
+%package -n gcc-gij-32bit
+Summary: The system GNU Java bytecode interpreter
+License: GPL-2.0+
+Group: Development/Languages/Java
+Requires: gcc%{gcc_version}-gij-32bit
+
+%description -n gcc-gij-32bit
+The system GNU Java bytecode interpreter as 32 bit application.
+
+
+
+%package -n gcc-gij-64bit
+Summary: The system GNU Java bytecode interpreter
+License: GPL-2.0+
+Group: Development/Languages/Java
+Requires: gcc%{gcc_version}-gij-64bit
+
+%description -n gcc-gij-64bit
+The system GNU Java bytecode interpreter as 64 bit application.
+
+
+
+%package -n gcc-objc
+Summary: The system GNU Objective C Compiler
+License: GPL-3.0+
+Group: Development/Languages/Other
+Requires: gcc = %{version}
+Requires: gcc%{gcc_version}-objc
+%ifarch ppc64
+Obsoletes: gcc-objc-64bit
+%endif
+
+%description -n gcc-objc
+The system GNU Objective C Compiler.
+
+
+
+%package -n gcc-objc-32bit
+Summary: The system GNU Objective C Compiler
+License: GPL-3.0+
+Group: Development/Languages/Other
+Requires: gcc%{gcc_version}-objc-32bit
+Requires: gcc-objc = %{version}
+
+%description -n gcc-objc-32bit
+The system GNU Objective C Compiler 32 bit support.
+
+
+
+%package -n gcc-objc-64bit
+Summary: The system GNU Objective C Compiler
+License: GPL-3.0+
+Group: Development/Languages/Other
+Requires: gcc%{gcc_version}-objc-64bit
+Requires: gcc-objc = %{version}
+
+%description -n gcc-objc-64bit
+The system GNU Objective C Compiler 64 bit support.
+
+
+
+%package -n gcc-obj-c++
+Summary: The system GNU Objective C++ Compiler
+License: GPL-3.0+
+Group: Development/Languages/Other
+Requires: gcc%{gcc_version}-obj-c++
+Requires: gcc-objc = %{version}
+
+%description -n gcc-obj-c++
+The system GNU Objective C++ Compiler.
+
+
+
+%package -n gcc-ada
+Summary: The system GNU Ada Compiler
+License: GPL-3.0+
+Group: Development/Languages/C and C++
+Requires: gcc = %{version}
+Requires: gcc%{gcc_version}-ada
+
+%description -n gcc-ada
+The system GNU Ada Compiler.
+
+
+%package -n gcc-z9
+Summary: The system GNU C Compiler
+License: GPL-3.0+
+Group: Development/Languages/C and C++
+Requires: gcc
+
+%description -n gcc-z9
+The system GNU C Compiler.
+
+
+%prep
+
+%build
+echo "This is a dummy package to provide a dependency on the system compiler." > README
+
+%install
+mkdir -p $RPM_BUILD_ROOT/lib
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/bin
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-objc/
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-obj-c++/
+# Link all the binaries
+for program in \
+ gcc gcov \
+ g++ \
+ cpp \
+ gcj gcjh gcj-dbtool jcf-dump jv-convert gc-analyze \
+ gij \
+ gappletviewer \
+ gjar gjarsigner gjavah gkeytool gnative2ascii gorbd grmic \
+ grmid grmiregistry gserialver gtnameserv \
+%if %{separate_bi32}
+ grmiregistry32 \
+ gij32 \
+%endif
+%if %{separate_bi64}
+ grmiregistry64 \
+ gij64 \
+%endif
+ gfortran \
+ gnat gnatbind gnatbl gnatchop gnatclean gnatfind gnatkr \
+ gnatlink gnatls gnatmake gnatname gnatprep gnatxref gprmake \
+ ; do
+ ln -sf $program-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/$program
+done
+# Link section 1 manpages
+for man1 in \
+ gcc gcov \
+ g++ \
+ cpp \
+ gfortran \
+ gcj gcjh gcj-dbtool jcf-dump jv-convert gc-analyze \
+ gij \
+ gappletviewer gjar gjarsigner gjavah \
+ gkeytool gnative2ascii gorbd grmic grmid grmiregistry gserialver \
+ gtnameserv \
+ ; do
+ ln -sf $man1-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/$man1.1.gz
+done
+# Provide the traditional /lib/cpp that only handles C
+cp $RPM_SOURCE_DIR/cpp $RPM_BUILD_ROOT/lib/
+chmod 755 $RPM_BUILD_ROOT/lib/cpp
+# Provide extra symlinks
+ln -sf g++-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/c++
+ln -sf gcc-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/cc
+ln -sf g++-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/c++.1.gz
+ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz
+%ifarch s390 s390x
+dir=`gcc-%{gcc_suffix} -print-prog-name=cc1`
+dir=${dir%/cc1}
+mkdir -p $RPM_BUILD_ROOT/$dir
+cat > $RPM_BUILD_ROOT/$dir/defaults.spec <<EOF
+*default_spec:
+%{!mtune=*:-mtune=z10} %{!march=*:-march=z9-109}
+EOF
+%endif
+
+%files
+%defattr(-,root,root)
+%{_prefix}/bin/gcc
+%{_prefix}/bin/cc
+%{_prefix}/bin/gcov
+%doc %{_mandir}/man1/gcc.1.gz
+%doc %{_mandir}/man1/cc.1.gz
+%doc %{_mandir}/man1/gcov.1.gz
+
+%files -n cpp
+%defattr(-,root,root)
+/lib/cpp
+%{_prefix}/bin/cpp
+%doc %{_mandir}/man1/cpp.1.gz
+
+%files -n gcc-c++
+%defattr(-,root,root)
+%{_prefix}/bin/g++
+%{_prefix}/bin/c++
+%doc %{_mandir}/man1/g++.1.gz
+%doc %{_mandir}/man1/c++.1.gz
+
+%files -n gcc-fortran
+%defattr(-,root,root)
+%{_prefix}/bin/gfortran
+%doc %{_mandir}/man1/gfortran.1.gz
+
+%files -n gcc-java
+%defattr(-,root,root)
+%{_prefix}/bin/gcj
+%{_prefix}/bin/gcjh
+%{_prefix}/bin/gcj-dbtool
+%{_prefix}/bin/jcf-dump
+%{_prefix}/bin/jv-convert
+%{_prefix}/bin/gc-analyze
+%doc %{_mandir}/man1/gcj.1.gz
+%doc %{_mandir}/man1/gcjh.1.gz
+%doc %{_mandir}/man1/gcj-dbtool.1.gz
+%doc %{_mandir}/man1/jcf-dump.1.gz
+%doc %{_mandir}/man1/jv-convert.1.gz
+%doc %{_mandir}/man1/gc-analyze.1.gz
+
+%files -n gcc-gij
+%defattr(-,root,root)
+%{_prefix}/bin/gij
+%{_prefix}/bin/gappletviewer
+%{_prefix}/bin/gjar
+%{_prefix}/bin/gjarsigner
+%{_prefix}/bin/gjavah
+%{_prefix}/bin/gkeytool
+%{_prefix}/bin/gnative2ascii
+%{_prefix}/bin/gorbd
+%{_prefix}/bin/grmic
+%{_prefix}/bin/grmid
+%{_prefix}/bin/grmiregistry
+%{_prefix}/bin/gserialver
+%{_prefix}/bin/gtnameserv
+%doc %{_mandir}/man1/gij.1.gz
+%doc %{_mandir}/man1/gappletviewer.1.gz
+%doc %{_mandir}/man1/gjar.1.gz
+%doc %{_mandir}/man1/gjarsigner.1.gz
+%doc %{_mandir}/man1/gjavah.1.gz
+%doc %{_mandir}/man1/gkeytool.1.gz
+%doc %{_mandir}/man1/gnative2ascii.1.gz
+%doc %{_mandir}/man1/gorbd.1.gz
+%doc %{_mandir}/man1/grmic.1.gz
+%doc %{_mandir}/man1/grmid.1.gz
+%doc %{_mandir}/man1/grmiregistry.1.gz
+%doc %{_mandir}/man1/gserialver.1.gz
+%doc %{_mandir}/man1/gtnameserv.1.gz
+
+%files -n gcc-objc
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-obj-c++
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-locale
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-info
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-ada
+%defattr(-,root,root)
+%{_prefix}/bin/gnat
+%{_prefix}/bin/gnatbind
+%{_prefix}/bin/gnatbl
+%{_prefix}/bin/gnatchop
+%{_prefix}/bin/gnatclean
+%{_prefix}/bin/gnatfind
+%{_prefix}/bin/gnatkr
+%{_prefix}/bin/gnatlink
+%{_prefix}/bin/gnatls
+%{_prefix}/bin/gnatmake
+%{_prefix}/bin/gnatname
+%{_prefix}/bin/gnatprep
+%{_prefix}/bin/gnatxref
+%{_prefix}/bin/gprmake
+
+%files -n libstdc++-devel
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n libgcj-devel
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%if %{separate_bi32}
+
+%files -n gcc-32bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-c++-32bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-fortran-32bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-objc-32bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-gij-32bit
+%defattr(-,root,root)
+%{_prefix}/bin/gij32
+%{_prefix}/bin/grmiregistry32
+
+%endif
+%if %{separate_bi64}
+
+%files -n gcc-64bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-c++-64bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-fortran-64bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-objc-64bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
+%files -n gcc-gij-64bit
+%defattr(-,root,root)
+%{_prefix}/bin/gij64
+%{_prefix}/bin/grmiregistry64
+
+%endif
+%ifarch s390 s390x
+
+%files -n gcc-z9
+%defattr(-,root,root)
+/usr/lib*/gcc/*-suse-linux/*/defaults.spec
+%endif
+
+%changelog
--- /dev/null
+%define fast_build 1
+
+# Ada currently fails to build on a few platforms, enable it only
+# on those that work
+# Note that AdaCore only supports %ix86, x86_64 and ia64
+%ifarch %ix86 x86_64
+%define build_ada !0%{?building_libjava:1}%{?building_libffi:1}
+%else
+%define build_ada 0
+%endif
+
+%define quadmath_arch %ix86 x86_64
+
+# We don't want to build java
+%define build_java 1
+%define build_libjava 0%{?building_libjava:1}%{?building_libffi:1}%{?building_testsuite:1}
+
+%define build_cp 1
+%define build_fortran 1
+%define build_objc 1
+%define build_objcp !0%{?building_libjava:1}%{?building_libffi:1}
+%define build_with_mudflap 0
+
+%if %{build_objcp}
+%define build_cp 1
+%define build_objc 1
+%endif
+
+%if %{build_libjava}
+%define build_cp 1
+%endif
+
+# For optional compilers only build C, C++ and Fortran
+##%if 0%{?build_optional_compiler:1}%{?build_optional_compiler_languages:1}
+%if 0%{!?building_libffi:1}
+%define build_ada 0
+%define build_java 0
+%define build_libjava 0
+%define build_objc 1
+%define build_objcp 1
+%endif
+
+
+Name: gcc47
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: gettext-tools
+BuildRequires: makeinfo
+BuildRequires: glibc-devel-32bit
+BuildRequires: mpc-devel
+BuildRequires: mpfr-devel
+BuildRequires: perl
+BuildRequires: texinfo
+BuildRequires: zlib-devel
+%ifarch %ix86 x86_64 %arm
+BuildRequires: cloog-devel
+BuildRequires: ppl-devel
+%endif
+%if %{build_ada}
+%define hostsuffix -4.7
+BuildRequires: gcc47-ada
+%endif
+%if 0%{?building_libjava:1}%{?building_testsuite:1}
+BuildRequires: fastjar
+BuildRequires: unzip
+%endif
+%if 0%{?building_libffi:1}
+BuildRequires: pkg-config
+%endif
+%if 0%{?run_tests:1}
+BuildRequires: dejagnu
+BuildRequires: expect
+BuildRequires: gdb
+%endif
+
+# Define version number of libgcc_s
+%define libgcc_s 1
+%define build_nof 0
+
+%define separate_bi32 0
+%define separate_bi64 0
+%ifarch x86_64
+%define separate_bi32 1
+%endif
+
+# Define two macros to trigger -32bit or -64bit package variants
+%define separate_biarch 0
+%if %{separate_bi32}
+%define separate_biarch 1
+%define separate_biarch_suffix -32bit
+%endif
+%if %{separate_bi64}
+%define separate_biarch 1
+%define separate_biarch_suffix -64bit
+%endif
+
+%ifarch x86_64
+# 64-bit is primary build target
+%define build_primary_64bit 1
+%else
+%define build_primary_64bit 0
+%endif
+
+%define biarch_libjava 0
+
+# COMMON-BEGIN
+%define biarch_targets x86_64
+
+URL: http://gcc.gnu.org/
+Version: 4.7.2
+Release: 1
+%define gcc_version %(echo %version | sed 's/_.*//')
+%define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2)
+%define snapshot_date %(echo %version | sed 's/[34]\.[0-9]\.[0-6]//' | sed 's/_/-/')
+%define binsuffix -4.7
+# COMMON-END
+
+%if !0%{?building_libjava:1}%{?building_libffi:1}%{?building_testsuite:1}
+Requires: binutils glibc-devel
+Requires: cpp47 = %{version}-%{release}
+%if 0%{!?build_optional_compiler:1}
+Requires: libgcc%{libgcc_s} >= %{version}-%{release}
+Requires: libgomp1 >= %{version}-%{release}
+%if %{build_with_mudflap}
+Requires: libmudflap0 >= %{version}-%{release}
+Requires: libmudflapth0 >= %{version}-%{release}
+%endif
+%else
+Requires: libgcc47 = %{version}-%{release}
+Requires: libgomp47 = %{version}-%{release}
+%endif
+%endif
+
+# COMMON-BEGIN
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+#Source: gcc-%{gcc_version}%{snapshot_date}.tar.bz2
+Source: gcc-%{version}.tar.bz2
+
+Source1: change_spec
+Source2: libgcj47-rpmlintrc
+Source3: gcc47-rpmlintrc
+Source4: ecj.jar
+Source6: baselibs.conf
+# Patches auto-generated by git-buildpackage:
+Patch0: 0001-dir-version.patch
+Patch1: 0002-textdomain.patch
+Patch2: 0003-rename-info-files.patch
+Patch3: 0004-ARM-linker.patch
+
+# GCC-TESTSUITE-DELETE-BEGIN
+# LIBFFI-DELETE-BEGIN
+# LIBJAVA-DELETE-BEGIN
+Group: Development/Toolchain
+Summary: The GNU C Compiler and Support Files
+License: GPL-3.0+
+
+%description
+Core package for the GNU Compiler Collection, including the C language
+frontend.
+
+Language frontends other than C are split to different sub-packages,
+namely gcc-ada, gcc-c++, gcc-fortran, gcc-java, gcc-objc and
+gcc-obj-c++.
+
+
+
+# COMMON-END
+%package -n gcc47-32bit
+Summary: The GNU C Compiler 32bit support
+Group: Development/Toolchain
+Requires: gcc47 = %{version}-%{release}
+%if 0%{!?build_optional_compiler:1}
+Requires: libgcc%{libgcc_s}-32bit >= %{version}-%{release}
+Requires: libgomp1-32bit >= %{version}-%{release}
+%if %{build_with_mudflap}
+Requires: libmudflap0-32bit >= %{version}-%{release}
+Requires: libmudflapth0-32bit >= %{version}-%{release}
+%endif
+%else
+Requires: libgcc47-32bit = %{version}-%{release}
+Requires: libgomp47-32bit = %{version}-%{release}
+%endif
+Requires: glibc-devel-32bit
+
+%description -n gcc47-32bit
+This package contains 32bit support for the GNU Compiler Collection.
+
+%package -n gcc47-64bit
+Summary: The GNU C Compiler 64bit support
+Group: Development/Toolchain
+Requires: gcc47 = %{version}-%{release}
+%if 0%{!?build_optional_compiler:1}
+Requires: libgcc%{libgcc_s}-64bit >= %{version}-%{release}
+Requires: libgomp1-64bit >= %{version}-%{release}
+%if %{build_with_mudflap}
+Requires: libmudflap0-64bit >= %{version}-%{release}
+Requires: libmudflapth0-64bit >= %{version}-%{release}
+%endif
+%else
+Requires: libgcc47-64bit = %{version}-%{release}
+Requires: libgomp47-64bit = %{version}-%{release}
+%endif
+Requires: glibc-devel-64bit
+
+%description -n gcc47-64bit
+This package contains 64bit support for the GNU Compiler Collection.
+
+
+%package locale
+Summary: Locale Data for the GNU Compiler Collection
+License: GPL-3.0+
+Group: Development/Toolchain
+Requires: gcc47 = %{version}-%{release}
+
+%description locale
+Locale data for the GNU Compiler Collection (GCC) to give error message
+in the current locale.
+
+
+%package c++
+Summary: The GNU C++ Compiler
+License: GPL-3.0+
+Group: Development/Toolchain
+Requires: gcc47 = %{version}-%{release}
+Requires: libstdc++47-devel = %{version}-%{release}
+
+%description c++
+This package contains the GNU compiler for C++.
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libstdc++47-devel
+Summary: Include Files and Libraries mandatory for Development
+License: GPL-3.0-with-GCC-exception
+Group: Development/Toolchain
+%if 0%{!?build_optional_compiler:1}
+Requires: libstdc++6 >= %{version}-%{release}
+%else
+Requires: libstdc++47 = %{version}-%{release}
+%endif
+Requires: glibc-devel
+
+%description -n libstdc++47-devel
+This package contains all the headers and libraries of the standard C++
+library. It is needed for compiling C++ code.
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libstdc++47-devel-32bit
+Summary: Include Files and Libraries mandatory for Development
+License: GPL-3.0-with-GCC-exception
+Group: Development/Toolchain
+%if 0%{!?build_optional_compiler:1}
+Requires: libstdc++6-32bit >= %{version}-%{release}
+%else
+Requires: libstdc++47-32bit = %{version}-%{release}
+%endif
+Requires: glibc-devel-32bit
+
+%description -n libstdc++47-devel-32bit
+This package contains all the headers and libraries of the standard C++
+library. It is needed for compiling C++ code.
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libstdc++47-devel-64bit
+Summary: Include Files and Libraries mandatory for Development
+License: GPL-3.0-with-GCC-exception
+Group: Development/Toolchain
+%if 0%{!?build_optional_compiler:1}
+Requires: libstdc++6-64bit >= %{version}-%{release}
+%else
+Requires: libstdc++47-64bit = %{version}-%{release}
+%endif
+Requires: glibc-devel-64bit
+
+%description -n libstdc++47-devel-64bit
+This package contains all the headers and libraries of the standard C++
+library. It is needed for compiling C++ code.
+# PACKAGE-END
+
+%package -n libstdc++47-doc
+Summary: Documentation for the GNU C++ standard library
+License: GPL-3.0+
+Group: Documentation
+BuildArch: noarch
+
+%description -n libstdc++47-doc
+Extensive HTML documentation for the GNU C++ standard library.
+
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libgcc47
+Summary: C compiler runtime library
+License: GPL-3.0-with-GCC-exception
+Group: Base/Libraries
+%if 0%{!?build_optional_compiler:1}
+Provides: libgcc%{libgcc_s} = %{version}-%{release}
+Conflicts: libgcc%{libgcc_s} < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libgcc47
+Libgcc is needed for dynamically linked C programs.
+
+%post -n libgcc47
+/sbin/ldconfig
+
+%postun -n libgcc47
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libgcc47-32bit
+Summary: C compiler runtime library
+License: GPL-3.0-with-GCC-exception
+Group: Base/Libraries
+%if 0%{!?build_optional_compiler:1}
+Provides: libgcc%{libgcc_s}-32bit = %{version}-%{release}
+Conflicts: libgcc%{libgcc_s}-32bit < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libgcc47-32bit
+Libgcc is needed for dynamically linked C programs.
+
+%post -n libgcc47-32bit
+/sbin/ldconfig
+
+%postun -n libgcc47-32bit
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libgcc47-64bit
+Summary: C compiler runtime library
+License: GPL-3.0-with-GCC-exception
+Group: Base/Libraries
+%if 0%{!?build_optional_compiler:1}
+Provides: libgcc%{libgcc_s}-64bit = %{version}-%{release}
+Conflicts: libgcc%{libgcc_s}-64bit < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libgcc47-64bit
+Libgcc is needed for dynamically linked C programs.
+
+%post -n libgcc47-64bit
+/sbin/ldconfig
+
+%postun -n libgcc47-64bit
+/sbin/ldconfig
+# PACKAGE-END
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libgomp47
+Summary: The GNU compiler collection OpenMP runtime library
+License: GPL-3.0-with-GCC-exception
+Group: Base/Libraries
+%if 0%{!?build_optional_compiler:1}
+Provides: libgomp1 = %{version}-%{release}
+Conflicts: libgomp1 < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libgomp47
+This is the OpenMP runtime library needed by OpenMP enabled programs
+that were built with the -fopenmp compiler option and by programs that
+were auto-parallelized via the -ftree-parallelize-loops compiler
+option.
+
+
+%post -n libgomp47
+/sbin/ldconfig
+
+%postun -n libgomp47
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libgomp47-32bit
+Summary: The GNU compiler collection OpenMP runtime library
+License: GPL-3.0-with-GCC-exception
+Group: Base/Libraries
+%if 0%{!?build_optional_compiler:1}
+Provides: libgomp1-32bit = %{version}-%{release}
+Conflicts: libgomp1-32bit < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libgomp47-32bit
+This is the OpenMP runtime library needed by OpenMP enabled programs
+that were built with the -fopenmp compiler option and by programs that
+were auto-parallelized via the -ftree-parallelize-loops compiler
+option.
+
+
+%post -n libgomp47-32bit
+/sbin/ldconfig
+
+%postun -n libgomp47-32bit
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libgomp47-64bit
+Summary: The GNU compiler collection OpenMP runtime library
+License: GPL-3.0-with-GCC-exception
+Group: Base/Libraries
+%if 0%{!?build_optional_compiler:1}
+Provides: libgomp1-64bit = %{version}-%{release}
+Conflicts: libgomp1-64bit < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libgomp47-64bit
+This is the OpenMP runtime library needed by OpenMP enabled programs
+that were built with the -fopenmp compiler option and by programs that
+were auto-parallelized via the -ftree-parallelize-loops compiler
+option.
+
+
+%post -n libgomp47-64bit
+/sbin/ldconfig
+
+%postun -n libgomp47-64bit
+/sbin/ldconfig
+# PACKAGE-END
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libstdc++47
+Summary: The standard C++ shared library
+License: GPL-3.0-with-GCC-exception
+Group: Base/Libraries
+%if 0%{!?build_optional_compiler:1}
+Provides: libstdc++6 = %{version}-%{release}
+Conflicts: libstdc++6 < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libstdc++47
+The standard C++ library, needed for dynamically linked C++ programs.
+
+
+%post -n libstdc++47
+/sbin/ldconfig
+
+%postun -n libstdc++47
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libstdc++47-32bit
+Summary: The standard C++ shared library
+License: GPL-3.0-with-GCC-exception
+Group: Base/Libraries
+%if 0%{!?build_optional_compiler:1}
+Provides: libstdc++6-32bit = %{version}-%{release}
+Conflicts: libstdc++6-32bit < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libstdc++47-32bit
+The standard C++ library, needed for dynamically linked C++ programs.
+
+
+%post -n libstdc++47-32bit
+/sbin/ldconfig
+
+%postun -n libstdc++47-32bit
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libstdc++47-64bit
+Summary: The standard C++ shared library
+License: GPL-3.0-with-GCC-exception
+Group: Base/Libraries
+%if 0%{!?build_optional_compiler:1}
+Provides: libstdc++6-64bit = %{version}-%{release}
+Conflicts: libstdc++6-64bit < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libstdc++47-64bit
+The standard C++ library, needed for dynamically linked C++ programs.
+
+
+%post -n libstdc++47-64bit
+/sbin/ldconfig
+
+%postun -n libstdc++47-64bit
+/sbin/ldconfig
+# PACKAGE-END
+
+
+%package info
+Summary: Documentation for the GNU compiler collection
+License: GFDL-1.2
+Group: Documentation
+BuildArch: noarch
+
+%description info
+GNU info-pages for the GNU compiler collection covering both user-level
+and internals documentation.
+
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package objc
+Summary: GNU Objective C Compiler
+License: GPL-3.0+
+Group: Development/Toolchain
+Requires: gcc47 = %{version}-%{release}
+Requires: libobjc2 >= %{version}-%{release}
+
+%description objc
+This package contains the GNU Objective C compiler. Objective C is an
+object oriented language, created by Next Inc. and used in their
+Nextstep OS. The source code is available in the gcc package.
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package objc-32bit
+Summary: GNU Objective C Compiler
+License: GPL-3.0+
+Group: Development/Toolchain
+Requires: gcc47 = %{version}-%{release}
+Requires: libobjc2-32bit >= %{version}-%{release}
+
+%description objc-32bit
+This package contains the GNU Objective C compiler. Objective C is an
+object oriented language, created by Next Inc. and used in their
+Nextstep OS. The source code is available in the gcc package.
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package objc-64bit
+Summary: GNU Objective C Compiler
+License: GPL-3.0+
+Group: Development/Toolchain
+Requires: gcc47 = %{version}-%{release}
+Requires: libobjc2-64bit >= %{version}-%{release}
+
+%description objc-64bit
+This package contains the GNU Objective C compiler. Objective C is an
+object oriented language, created by Next Inc. and used in their
+Nextstep OS. The source code is available in the gcc package.
+# PACKAGE-END
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libobjc47
+Summary: Library for the GNU Objective C Compiler
+License: GPL-3.0-with-GCC-exception
+Group: Development/Libraries/Other
+Provides: libobjc2 = %{version}-%{release}
+Conflicts: libobjc2 < %{version}-%{release}
+
+%description -n libobjc47
+The library for the GNU Objective C compiler.
+
+%post -n libobjc47
+/sbin/ldconfig
+
+%postun -n libobjc47
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libobjc47-32bit
+Summary: Library for the GNU Objective C Compiler
+License: GPL-3.0-with-GCC-exception
+Group: Development/Libraries/Other
+Provides: libobjc2-32bit = %{version}-%{release}
+Conflicts: libobjc2-32bit < %{version}-%{release}
+
+%description -n libobjc47-32bit
+The library for the GNU Objective C compiler.
+
+%post -n libobjc47-32bit
+/sbin/ldconfig
+
+%postun -n libobjc47-32bit
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libobjc47-64bit
+Summary: Library for the GNU Objective C Compiler
+License: GPL-3.0-with-GCC-exception
+Group: Development/Libraries/Other
+Provides: libobjc2-64bit = %{version}-%{release}
+Conflicts: libobjc2-64bit < %{version}-%{release}
+
+%description -n libobjc47-64bit
+The library for the GNU Objective C compiler.
+
+%post -n libobjc47-64bit
+/sbin/ldconfig
+
+%postun -n libobjc47-64bit
+/sbin/ldconfig
+# PACKAGE-END
+
+%package obj-c++
+Summary: GNU Objective C++ Compiler
+License: GPL-3.0+
+Group: Development/Toolchain
+Requires: gcc47-objc = %{version}-%{release}
+Requires: gcc47-c++ = %{version}-%{release}
+
+%description obj-c++
+This package contains the GNU Objective C++ compiler. Objective C++ is an
+object oriented language, created by Next Inc. and used in their
+Nextstep OS. The source code is available in the gcc package.
+
+
+%package -n cpp47
+Summary: The GCC Preprocessor
+License: GPL-3.0+
+Group: Development/Toolchain
+
+%description -n cpp47
+This Package contains just the preprocessor that is used by the X11
+packages.
+
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package ada
+Summary: GNU Ada95 Compiler Based on GCC (GNAT)
+License: GPL-3.0+
+Group: Development/Toolchain
+Requires: gcc47 = %{version}-%{release}
+Requires: libada47 = %{version}-%{release}
+
+%description ada
+This package contains an Ada95 compiler and associated development
+tools based on the GNU GCC technology. Ada95 is the object oriented
+successor of the Ada83 language. To build this package from source you
+must have installed a binary version to bootstrap the compiler.
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package ada-32bit
+Summary: GNU Ada95 Compiler Based on GCC (GNAT)
+License: GPL-3.0+
+Group: Development/Toolchain
+Requires: gcc47-32bit = %{version}-%{release}
+Requires: libada47-32bit = %{version}-%{release}
+
+%description ada-32bit
+This package contains an Ada95 compiler and associated development
+tools based on the GNU GCC technology. Ada95 is the object oriented
+successor of the Ada83 language. To build this package from source you
+must have installed a binary version to bootstrap the compiler.
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package ada-64bit
+Summary: GNU Ada95 Compiler Based on GCC (GNAT)
+License: GPL-3.0+
+Group: Development/Toolchain
+Requires: gcc47-64bit = %{version}-%{release}
+Requires: libada47-64bit = %{version}-%{release}
+
+%description ada-64bit
+This package contains an Ada95 compiler and associated development
+tools based on the GNU GCC technology. Ada95 is the object oriented
+successor of the Ada83 language. To build this package from source you
+must have installed a binary version to bootstrap the compiler.
+# PACKAGE-END
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libada47
+Summary: GNU Ada Runtime Libraries
+License: GPL-3.0-with-GCC-exception
+Group: System/Libraries
+Provides: libgnarl-4_7 = %{version}-%{release}
+Conflicts: libgnarl-4_7 < %{version}-%{release}
+Provides: libgnat-4_7 = %{version}-%{release}
+Conflicts: libgnat-4_7 < %{version}-%{release}
+
+%description -n libada47
+This package contains the shared libraries required to run programs
+compiled with the GNU Ada compiler (GNAT) if they are compiled to use
+shared libraries. It also contains the shared libraries for the
+Implementation of the Ada Semantic Interface Specification (ASIS), the
+implementation of Distributed Systems Programming (GLADE) and the Posix
+1003.5 Binding (Florist).
+
+%post -n libada47
+/sbin/ldconfig
+
+%postun -n libada47
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libada47-32bit
+Summary: GNU Ada Runtime Libraries
+License: GPL-3.0-with-GCC-exception
+Group: System/Libraries
+Provides: libgnarl-4_7-32bit = %{version}-%{release}
+Conflicts: libgnarl-4_7-32bit < %{version}-%{release}
+Provides: libgnat-4_7-32bit = %{version}-%{release}
+Conflicts: libgnat-4_7-32bit < %{version}-%{release}
+
+%description -n libada47-32bit
+This package contains the shared libraries required to run programs
+compiled with the GNU Ada compiler (GNAT) if they are compiled to use
+shared libraries. It also contains the shared libraries for the
+Implementation of the Ada Semantic Interface Specification (ASIS), the
+implementation of Distributed Systems Programming (GLADE) and the Posix
+1003.5 Binding (Florist).
+
+%post -n libada47-32bit
+/sbin/ldconfig
+
+%postun -n libada47-32bit
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libada47-64bit
+Summary: GNU Ada Runtime Libraries
+License: GPL-3.0-with-GCC-exception
+Group: System/Libraries
+Provides: libgnarl-4_7-64bit = %{version}-%{release}
+Conflicts: libgnarl-4_7-64bit < %{version}-%{release}
+Provides: libgnat-4_7-64bit = %{version}-%{release}
+Conflicts: libgnat-4_7-64bit < %{version}-%{release}
+
+%description -n libada47-64bit
+This package contains the shared libraries required to run programs
+compiled with the GNU Ada compiler (GNAT) if they are compiled to use
+shared libraries. It also contains the shared libraries for the
+Implementation of the Ada Semantic Interface Specification (ASIS), the
+implementation of Distributed Systems Programming (GLADE) and the Posix
+1003.5 Binding (Florist).
+
+%post -n libada47-64bit
+/sbin/ldconfig
+
+%postun -n libada47-64bit
+/sbin/ldconfig
+# PACKAGE-END
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package fortran
+Summary: The GNU Fortran Compiler and Support Files
+License: GPL-3.0+
+Group: Development/Languages/Fortran
+Requires: gcc47 = %{version}-%{release}
+%if 0%{!?build_optional_compiler:1}
+Requires: libgfortran3 >= %{version}-%{release}
+%ifarch %quadmath_arch
+Requires: libquadmath0 >= %{version}-%{release}
+%endif
+%else
+Requires: libgfortran47 = %{version}-%{release}
+%ifarch %quadmath_arch
+Requires: libquadmath47 = %{version}-%{release}
+%endif
+%endif
+
+%description fortran
+This is the Fortran compiler of the GNU Compiler Collection (GCC).
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package fortran-32bit
+Summary: The GNU Fortran Compiler and Support Files
+License: GPL-3.0+
+Group: Development/Languages/Fortran
+Requires: gcc47 = %{version}-%{release}
+%if 0%{!?build_optional_compiler:1}
+Requires: libgfortran3-32bit >= %{version}-%{release}
+%ifarch %quadmath_arch
+Requires: libquadmath0-32bit >= %{version}-%{release}
+%endif
+%else
+Requires: libgfortran47-32bit = %{version}-%{release}
+%ifarch %quadmath_arch
+Requires: libquadmath47-32bit = %{version}-%{release}
+%endif
+%endif
+
+%description fortran-32bit
+This is the Fortran compiler of the GNU Compiler Collection (GCC).
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package fortran-64bit
+Summary: The GNU Fortran Compiler and Support Files
+License: GPL-3.0+
+Group: Development/Languages/Fortran
+Requires: gcc47 = %{version}-%{release}
+%if 0%{!?build_optional_compiler:1}
+Requires: libgfortran3-64bit >= %{version}-%{release}
+%ifarch %quadmath_arch
+Requires: libquadmath0-64bit >= %{version}-%{release}
+%endif
+%else
+Requires: libgfortran47-64bit = %{version}-%{release}
+%ifarch %quadmath_arch
+Requires: libquadmath47-64bit = %{version}-%{release}
+%endif
+%endif
+
+%description fortran-64bit
+This is the Fortran compiler of the GNU Compiler Collection (GCC).
+# PACKAGE-END
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libgfortran47
+Summary: The GNU Fortran Compiler Runtime Library
+License: GPL-3.0-with-GCC-exception
+Group: Development/Languages/Fortran
+%if 0%{!?build_optional_compiler:1}
+Provides: libgfortran3 = %{version}-%{release}
+Conflicts: libgfortran3 < %{version}-%{release}
+%ifarch %quadmath_arch
+Requires: libquadmath0 >= %{version}-%{release}
+%endif
+%else
+%ifarch %quadmath_arch
+Requires: libquadmath47 = %{version}-%{release}
+%endif
+Autoprov: no
+%endif
+
+%description -n libgfortran47
+The runtime library needed to run programs compiled with the Fortran compiler
+of the GNU Compiler Collection (GCC).
+
+%post -n libgfortran47
+/sbin/ldconfig
+
+%postun -n libgfortran47
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libgfortran47-32bit
+Summary: The GNU Fortran Compiler Runtime Library
+License: GPL-3.0-with-GCC-exception
+Group: Development/Languages/Fortran
+%if 0%{!?build_optional_compiler:1}
+Provides: libgfortran3-32bit = %{version}-%{release}
+Conflicts: libgfortran3-32bit < %{version}-%{release}
+%ifarch %quadmath_arch
+Requires: libquadmath0-32bit >= %{version}-%{release}
+%endif
+%else
+%ifarch %quadmath_arch
+Requires: libquadmath47-32bit = %{version}-%{release}
+%endif
+Autoprov: no
+%endif
+
+%description -n libgfortran47-32bit
+The runtime library needed to run programs compiled with the Fortran compiler
+of the GNU Compiler Collection (GCC).
+
+%post -n libgfortran47-32bit
+/sbin/ldconfig
+
+%postun -n libgfortran47-32bit
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libgfortran47-64bit
+Summary: The GNU Fortran Compiler Runtime Library
+License: GPL-3.0-with-GCC-exception
+Group: Development/Languages/Fortran
+%if 0%{!?build_optional_compiler:1}
+Provides: libgfortran3-64bit = %{version}-%{release}
+Conflicts: libgfortran3-64bit < %{version}-%{release}
+%ifarch %quadmath_arch
+Requires: libquadmath0-64bit >= %{version}-%{release}
+%endif
+%else
+%ifarch %quadmath_arch
+Requires: libquadmath47-64bit = %{version}-%{release}
+%endif
+Autoprov: no
+%endif
+
+%description -n libgfortran47-64bit
+The runtime library needed to run programs compiled with the Fortran compiler
+of the GNU Compiler Collection (GCC).
+
+%post -n libgfortran47-64bit
+/sbin/ldconfig
+
+%postun -n libgfortran47-64bit
+/sbin/ldconfig
+# PACKAGE-END
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libquadmath47
+Summary: The GNU Fortran Compiler Quadmath Runtime Library
+License: LGPL-2.1
+Group: Development/Languages/Fortran
+%if 0%{!?build_optional_compiler:1}
+Provides: libquadmath0 = %{version}-%{release}
+Conflicts: libquadmath0 < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libquadmath47
+The runtime library needed to run programs compiled with the Fortran compiler
+of the GNU Compiler Collection (GCC) and quadruple precision floating point
+operations.
+
+%post -n libquadmath47
+/sbin/ldconfig
+
+%postun -n libquadmath47
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libquadmath47-32bit
+Summary: The GNU Fortran Compiler Quadmath Runtime Library
+License: LGPL-2.1
+Group: Development/Languages/Fortran
+%if 0%{!?build_optional_compiler:1}
+Provides: libquadmath0-32bit = %{version}-%{release}
+Conflicts: libquadmath0-32bit < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libquadmath47-32bit
+The runtime library needed to run programs compiled with the Fortran compiler
+of the GNU Compiler Collection (GCC) and quadruple precision floating point
+operations.
+
+%post -n libquadmath47-32bit
+/sbin/ldconfig
+
+%postun -n libquadmath47-32bit
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libquadmath47-64bit
+Summary: The GNU Fortran Compiler Quadmath Runtime Library
+License: LGPL-2.1
+Group: Development/Languages/Fortran
+%if 0%{!?build_optional_compiler:1}
+Provides: libquadmath0-64bit = %{version}-%{release}
+Conflicts: libquadmath0-64bit < %{version}-%{release}
+%else
+Autoprov: no
+%endif
+
+%description -n libquadmath47-64bit
+The runtime library needed to run programs compiled with the Fortran compiler
+of the GNU Compiler Collection (GCC) and quadruple precision floating point
+operations.
+
+%post -n libquadmath47-64bit
+/sbin/ldconfig
+
+%postun -n libquadmath47-64bit
+/sbin/ldconfig
+# PACKAGE-END
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libmudflap47
+Summary: The Mudflap Extension Runtime Library
+License: GPL-3.0-with-GCC-exception
+Group: Development/Toolchain
+Provides: libmudflap0 = %{version}-%{release}
+Conflicts: libmudflap0 < %{version}-%{release}
+Provides: libmudflapth0 = %{version}-%{release}
+Conflicts: libmudflapth0 < %{version}-%{release}
+
+%description -n libmudflap47
+This is the Mudflap Extension Runtime Library.
+
+%post -n libmudflap47
+/sbin/ldconfig
+
+%postun -n libmudflap47
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libmudflap47-32bit
+Summary: The Mudflap Extension Runtime Library
+License: GPL-3.0-with-GCC-exception
+Group: Development/Toolchain
+Provides: libmudflap0-32bit = %{version}-%{release}
+Conflicts: libmudflap0-32bit < %{version}-%{release}
+Provides: libmudflapth0-32bit = %{version}-%{release}
+Conflicts: libmudflapth0-32bit < %{version}-%{release}
+
+%description -n libmudflap47-32bit
+This is the Mudflap Extension Runtime Library.
+
+%post -n libmudflap47-32bit
+/sbin/ldconfig
+
+%postun -n libmudflap47-32bit
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libmudflap47-64bit
+Summary: The Mudflap Extension Runtime Library
+License: GPL-3.0-with-GCC-exception
+Group: Development/Toolchain
+Provides: libmudflap0-64bit = %{version}-%{release}
+Conflicts: libmudflap0-64bit < %{version}-%{release}
+Provides: libmudflapth0-64bit = %{version}-%{release}
+Conflicts: libmudflapth0-64bit < %{version}-%{release}
+
+%description -n libmudflap47-64bit
+This is the Mudflap Extension Runtime Library.
+
+%post -n libmudflap47-64bit
+/sbin/ldconfig
+
+%postun -n libmudflap47-64bit
+/sbin/ldconfig
+# PACKAGE-END
+
+
+%package -n libgcj47
+# LIBJAVA-DELETE-END
+Summary: Java Runtime Library for gcc
+License: GPL-2.0-with-classpath-exception
+Group: System/Libraries
+%define gcj_sover 13
+Provides: libgcj%{gcj_sover} = %{version}-%{release}
+Conflicts: libgcj%{gcj_sover} < %{version}-%{release}
+Provides: libgij%{gcj_sover} = %{version}-%{release}
+Conflicts: libgij%{gcj_sover} < %{version}-%{release}
+Provides: libgcj-tools%{gcj_sover} = %{version}-%{release}
+Conflicts: libgcj-tools%{gcj_sover} < %{version}-%{release}
+
+%description -n libgcj47
+This library is needed if you want to use the GNU Java compiler, gcj.
+Source code for this package is in gcc.
+
+%post -n libgcj47
+/sbin/ldconfig
+
+%postun -n libgcj47
+/sbin/ldconfig
+
+
+%package -n gcc47-java
+Summary: The GNU Java Compiler
+License: GPL-3.0+
+Group: Development/Languages
+Requires: gcc47 = %{version}
+Requires: libgcj47-devel = %{version}-%{release}
+
+%description -n gcc47-java
+The Java compiler from the GCC-tools-suite.
+
+
+%package -n libgcj_bc47
+Summary: Fake library for BC-ABI compatibility.
+License: GPL-2.0-with-classpath-exception
+Group: Development/Libraries
+Provides: libgcj_bc1 = %{version}-%{release}
+Conflicts: libgcj_bc1 < %{version}-%{release}
+# libgcj_bc is special in that it just contains a symlink to
+# a proper libgcj version. So require that library and add
+# provides for the shlib version as created at link time
+Requires: libgcj%{gcj_sover}
+%ifarch x86_64
+Provides: libgcj_bc.so.1()(64bit)
+%else
+Provides: libgcj_bc.so.1
+%endif
+
+
+%description -n libgcj_bc47
+A fake library that is used at link time only. It ensures that
+binaries built with the BC-ABI link against a constant SONAME.
+This way, BC-ABI binaries continue to work if the SONAME underlying
+libgcj.so changes.
+
+
+%package -n libgcj47-jar
+Summary: Java runtime library (jar files).
+License: GPL-2.0-with-classpath-exception
+Group: Development/Libraries/Java
+
+%description -n libgcj47-jar
+These are the jar files that go along with the gcj front end to gcc.
+
+
+%package -n libgcj47-devel
+Summary: Include Files and Libraries mandatory for Development.
+License: GPL-2.0-with-classpath-exception
+Group: Development/Libraries
+Requires: libstdc++47-devel = %{version}
+Requires: libgcj%{gcj_sover} >= %{version}-%{release}
+Requires: libgcj_bc1 >= %{version}-%{release}
+Requires: libgcj47-jar = %{version}-%{release}
+Requires: gtk2-devel
+Requires: libart_lgpl-devel
+Requires: glibc-devel
+Requires: zlib-devel
+
+%description -n libgcj47-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+
+%package -n gcc47-gij
+Summary: Java Bytecode Interpreter for gcc
+License: GPL-2.0-with-classpath-exception
+Group: Development/Libraries
+Requires: libgcj%{gcj_sover} >= %{version}-%{release}
+
+%description -n gcc47-gij
+This package contains the java bytecode interpreter gij and related tools.
+
+# LIBFFI-DELETE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libffi47
+Summary: Foreign Function Interface library
+License: BSD-3-Clause
+Group: Base/Libraries
+Provides: g-wrap:/usr/lib/libffi.so.4
+Provides: libffi4 = %{version}-%{release}
+Conflicts: libffi4 < %{version}-%{release}
+
+%description -n libffi47
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+
+%post -n libffi47
+/sbin/ldconfig
+
+%postun -n libffi47
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libffi47-32bit
+Summary: Foreign Function Interface library
+License: BSD-3-Clause
+Group: Base/Libraries
+Provides: g-wrap:/usr/lib/libffi.so.4
+Provides: libffi4-32bit = %{version}-%{release}
+Conflicts: libffi4-32bit < %{version}-%{release}
+
+%description -n libffi47-32bit
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+
+%post -n libffi47-32bit
+/sbin/ldconfig
+
+%postun -n libffi47-32bit
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libffi47-64bit
+Summary: Foreign Function Interface library
+License: BSD-3-Clause
+Group: Base/Libraries
+Provides: g-wrap:/usr/lib/libffi.so.4
+Provides: libffi4-64bit = %{version}-%{release}
+Conflicts: libffi4-64bit < %{version}-%{release}
+
+%description -n libffi47-64bit
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+
+%post -n libffi47-64bit
+/sbin/ldconfig
+
+%postun -n libffi47-64bit
+/sbin/ldconfig
+# PACKAGE-END
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libffi47-devel
+Summary: Foreign Function Interface library development files
+License: BSD 3-Clause
+Group: Development/Toolchain
+Requires: libffi4 >= %{version}-%{release}
+Provides: libffi-devel = %{version}-%{release}
+Conflicts: libffi-devel < %{version}-%{release}
+
+%description -n libffi47-devel
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libffi47-devel-32bit
+Summary: Foreign Function Interface library development files
+License: BSD 3-Clause
+Group: Development/Toolchain
+Requires: libffi4-32bit >= %{version}-%{release}
+Provides: libffi-devel-32bit = %{version}-%{release}
+Conflicts: libffi-devel-32bit < %{version}-%{release}
+
+%description -n libffi47-devel-32bit
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libffi47-devel-64bit
+Summary: Foreign Function Interface library development files
+License: BSD 3-Clause
+Group: Development/Toolchain
+Requires: libffi4-64bit >= %{version}-%{release}
+Provides: libffi-devel-64bit = %{version}-%{release}
+Conflicts: libffi-devel-64bit < %{version}-%{release}
+
+%description -n libffi47-devel-64bit
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+# PACKAGE-END
+
+%package -n gcc47-testresults
+# GCC-TESTSUITE-DELETE-END
+Summary: Testsuite results
+License: Public-Domain
+Group: Development/Toolchain
+
+%description -n gcc47-testresults
+Results from running the gcc and target library testsuites.
+
+
+# COMMON-BEGIN
+
+# Define the canonical target and host architecture
+# %gcc_target_arch is supposed to be the full target triple
+# %TARGET_ARCH is the canonicalized CPU part
+# %CONFIGURE_TARGET is the target triple used for --target=
+%if 0%{?gcc_target_arch:1}
+%define CONFIGURE_TARGET %{gcc_target_arch}
+%define TARGET_ARCH %(echo %{gcc_target_arch} | cut -d - -f 1 | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "i586"
+%define CONFIGURE_TARGET i586-tizen-linux
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7l"
+%define CONFIGURE_TARGET armv7l-tizen-linux-gnueabi
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7hl"
+%define CONFIGURE_TARGET armv7hl-tizen-linux-gnueabi
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7el"
+%define CONFIGURE_TARGET armv7el-tizen-linux-gnueabi
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5el"
+%define CONFIGURE_TARGET armv5el-tizen-linux-gnueabi
+%endif
+%else
+%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+%endif
+%define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+
+%define biarch %(case " %{biarch_targets} " in (*" %{TARGET_ARCH} "*) echo 1;; (*) echo 0;; esac)
+
+%ifarch %arm
+%define GCCDIST %{HOST_ARCH}-tizen-linux-gnueabi
+%else
+%define GCCDIST %{HOST_ARCH}-tizen-linux
+%endif
+
+%define libsubdir %{_libdir}/gcc/%{GCCDIST}/%{gcc_dir_version}
+%define gxxinclude %{_prefix}/include/c++/%{gcc_dir_version}
+
+# COMMON-END
+
+# Versionspecific directories
+%define versmainlibdir %{libsubdir}
+%define versmainlibdirbi32 %{libsubdir}/32
+%define versmainlibdirbi64 %{libsubdir}/64
+%if %{build_primary_64bit}
+%define versmainlibdirbi %{versmainlibdirbi32}
+%else
+%define versmainlibdirbi %{versmainlibdirbi64}
+%endif
+
+%if 0%{?build_optional_compiler:1}
+%define mainlibdir %{versmainlibdir}
+%define mainlibdirbi32 %{versmainlibdirbi32}
+%define mainlibdirbi64 %{versmainlibdirbi64}
+%define noflibdir %{versnoflibdir}
+%define mainlibdirbi %{versmainlibdirbi}
+%else
+%define mainlibdir %{_libdir}
+%define mainlibdirbi32 %{_prefix}/lib
+%define mainlibdirbi64 %{_prefix}/lib64
+%define noflibdir %{_prefix}/lib/nof
+%if %{build_primary_64bit}
+%define mainlibdirbi %{mainlibdirbi32}
+%else
+%define mainlibdirbi %{mainlibdirbi64}
+%endif
+%endif
+
+
+# Now define a few macros that make it easy to package libs and
+# related files just to the right package, without caring for the
+# exact path the files are in.
+# %mainlib package X from all dirs that belong to the main package
+# %biarchlib package X from all dirs that belong to the -32/64bit package
+# by default, nof libs go where the 32bit libs go.
+%if %{build_nof}
+%define mainlib() %{mainlibdir}/%1\
+%{noflibdir}/%1\
+%{nil}
+%else
+%define mainlib() %{mainlibdir}/%1\
+%{nil}
+%endif
+%define biarchlib() %{nil}
+%if %{biarch}
+%if !%{separate_biarch}
+%if %{build_nof}
+%define mainlib() %{mainlibdir}/%1\
+%{mainlibdirbi}/%1\
+%{noflibdir}/%1\
+%{nil}
+%else
+%define mainlib() %{mainlibdir}/%1\
+%{mainlibdirbi}/%1\
+%{nil}
+%endif
+%else
+%if %{build_nof}
+%define biarchlib() %{mainlibdirbi}/%1\
+%{noflibdir}/%1\
+%{nil}
+%define mainlib() %{mainlibdir}/%1\
+%{nil}
+%else
+%define biarchlib() %{mainlibdirbi}/%1\
+%{nil}
+%endif
+%endif
+%endif
+
+%if %{build_nof}
+%define versmainlib() %{versmainlibdir}/%1\
+%{versnoflibdir}/%1\
+%{nil}
+%else
+%define versmainlib() %{versmainlibdir}/%1\
+%{nil}
+%endif
+%define versbiarchlib() %{nil}
+%if %{biarch}
+%if !%{separate_biarch}
+%if %{build_nof}
+%define versmainlib() %{versmainlibdir}/%1\
+%{versmainlibdirbi}/%1\
+%{versnoflibdir}/%1\
+%{nil}
+%else
+%define versmainlib() %{versmainlibdir}/%1\
+%{versmainlibdirbi}/%1\
+%{nil}
+%endif
+%else
+%if %{build_nof}
+%define versbiarchlib() %{versmainlibdirbi}/%1\
+%{versnoflibdir}/%1\
+%{nil}
+%define versmainlib() %{versmainlibdir}/%1\
+%{nil}
+%else
+%define versbiarchlib() %{versmainlibdirbi}/%1\
+%{nil}
+%endif
+%endif
+%endif
+
+
+# COMMON-BEGIN
+
+%prep
+#%setup -q -n gcc-%{gcc_version}%{snapshot_date}
+%setup -q -n gcc-%{version}
+# 0001-dir-version.patch
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+%build
+# Avoid rebuilding of generated files
+contrib/gcc_update --touch
+# Avoid fucking up testsuite results with Java and indirect dispatch
+export LD_AS_NEEDED=0
+# Split version file into version used for directories (X.Y) and
+# version to report with --version (X.Y.Z).
+# See also gcc-dir-version.patch.
+# Also decrement the patchlevel version by one
+if test `cat gcc/DEV-PHASE` == "prerelease"; then
+ ( cat gcc/BASE-VER | cut -d '.' -f 1-2 | tr -d '\n'; echo -n .; cat gcc/BASE-VER | cut -d '.' -f 3 | tr '0123456789' '0012345678' ) > gcc/FULL-VER
+else
+ mv gcc/BASE-VER gcc/FULL-VER
+fi
+cat gcc/FULL-VER | cut -d '.' -f 1-2 > gcc/BASE-VER
+
+rm -rf obj-%{GCCDIST}
+mkdir obj-%{GCCDIST}
+cd obj-%{GCCDIST}
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -U_FORTIFY_SOURCE"
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fno-rtti//g' -e 's/-fno-exceptions//g' -e 's/-Wmissing-format-attribute//g' -e 's/-fstack-protector//g' -e 's/-ffortify=.//g' -e 's/-Wall//g' -e 's/-m32//g' -e 's/-m64//g'`
+%ifarch %ix86
+# -mcpu is superceded by -mtune but -mtune is not supported by
+# our bootstrap compiler. -mcpu gives a warning that stops
+# the build process, so remove it for now. Also remove all other
+# -march and -mtune flags. They are superseeded by proper
+# default compiler settings now.
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-mcpu=i.86//g' -e 's/-march=i.86//g' -e 's/-mtune=i.86//g'`
+%endif
+%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
+# Kill all -march/tune/cpu because that screws building the target libs
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-m\(arch\|tune\|cpu\)=[^ ]*//g'`
+%endif
+# Replace 2 spaces by one finally
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/ / /g'`
+
+languages=c
+%if %{build_cp}
+languages=$languages,c++
+%endif
+%if %{build_objc}
+languages=$languages,objc
+%endif
+%if %{build_fortran}
+languages=$languages,fortran
+%endif
+%if %{build_objcp}
+languages=$languages,obj-c++
+%endif
+%if %{build_java}
+languages=$languages,java
+%endif
+%if %{build_ada}
+languages=$languages,ada
+%endif
+
+J=%{?jobs:%jobs}
+if test -z "$J"; then
+ J=$(getconf _NPROCESSORS_CONF)
+ JL=$(($J * 2))
+else
+ test 1 -gt "$J" && J=1
+ JL=$(($(getconf _NPROCESSORS_CONF)*2))
+fi
+if test "$J" == "0"; then
+ J=1
+fi
+if test "$JL" == "0"; then
+ JL=1
+fi
+PARALLEL="-j$J -l$JL"
+
+# we don't want some miscompiles in the testsuite, or some fault in
+# the compiler to kill the machine. Hence we limit the amount of memory
+# by the physical RAM plus half of swap
+#MEM=$(free -m | awk '/^Mem:/ {print $2}')
+#SWAP=$(free -m | awk '/^Swap:/ {print $2}')
+#ulimit -v $(((MEM + SWAP/2)*1024))
+
+# In general we want to ship release checking enabled compilers
+# and run BETA with checking enabled.
+#ENABLE_CHECKING="--enable-checking=yes"
+ENABLE_CHECKING="--enable-checking=release"
+
+# Work around tail/head -1 changes
+export _POSIX2_VERSION=199209
+
+# configure tries to parse include/features.h to detect
+# if glibc supports SSP. When cross compiling we would need
+# to install a cross glibc, which we don't, or make the whole
+# thing point to the native glibc, which is in /, hence the
+# --with-sysroot=/
+
+%if %{build_ada}
+# Using the host gnatmake like
+# CC="gcc%{hostsuffix}" GNATBIND="gnatbind%{hostsuffix}"
+# GNATMAKE="gnatmake%{hostsuffix}"
+# doesn't work due to PR33857, so an un-suffixed gnatmake has to be
+# available
+mkdir -p host-tools/bin
+cp -a /usr/bin/gnatmake%{hostsuffix} host-tools/bin/gnatmake
+cp -a /usr/bin/gnatlink%{hostsuffix} host-tools/bin/gnatlink
+cp -a /usr/bin/gnatbind%{hostsuffix} host-tools/bin/gnatbind
+cp -a /usr/bin/gcc%{hostsuffix} host-tools/bin/gcc
+ln -sf /usr/%{_lib} host-tools/%{_lib}
+export PATH="`pwd`/host-tools/bin:$PATH"
+%endif
+#%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
+#%else
+# --enable-threads=posix \
+#%endif
+# --enable-shared \
+CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
+TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
+../configure \
+ --prefix=%{_prefix} \
+ --infodir=%{_infodir} \
+ --mandir=%{_mandir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
+ --enable-languages=$languages \
+ $ENABLE_CHECKING \
+ --with-gxx-include-dir=%{_prefix}/include/c++/%{gcc_dir_version} \
+ --enable-ssp \
+ --disable-libssp \
+ --disable-libitm \
+%if 0%{?fast_build}
+ --disable-bootstrap \
+%endif
+ --disable-plugin \
+ --with-bugurl="http://bugs.tizen.org/" \
+ --with-pkgversion="Tizen Linux" \
+%if !%{build_libjava}
+ --disable-libgcj \
+%else
+ --with-java-home=%{_libdir}/jvm/java-1.5.0-gcj%{binsuffix}-1.5.0.0/jre \
+ --with-ecj-jar=%{libsubdir}/ecj.jar \
+ --disable-java-awt \
+%if !%{biarch_libjava}
+ --disable-libjava-multilib \
+%endif
+%endif
+%if !%{build_with_mudflap}
+ --disable-libmudflap \
+%endif
+ --with-slibdir=/%{_lib} \
+ --with-system-zlib \
+ --enable-__cxa_atexit \
+ --enable-libstdcxx-allocator=new \
+ --disable-libstdcxx-pch \
+ --enable-version-specific-runtime-libs \
+ --enable-linker-build-id \
+%if 0%{?gcc_target_arch:1}
+%if 0%{?gcc_icecream:1}
+ --with-build-sysroot=/ \
+ --with-sysroot=%{_prefix}/%{gcc_target_arch}%{?canonical_target_abi:%canonical_target_abi} \
+ --with-gxx-include-dir=%{_prefix}/%{gcc_target_arch}%{?canonical_target_abi:%canonical_target_abi}/usr/include/c++/%{gcc_dir_version} \
+ --enable-linux-futex \
+%endif
+%if 0%{?canonical_target:1}
+ --with-build-time-tools=/usr/%{canonical_target}-tizen-linux%{?canonical_target_abi:%canonical_target_abi}/bin \
+%endif
+%if 0%{?build_static:1}
+ --disable-shared \
+%endif
+%if "%{TARGET_ARCH}" == "spu"
+ --with-sysroot=/usr/spu \
+ --with-gxx-include-dir=%{_prefix}/spu/include/c++/%{gcc_dir_version} \
+ --with-newlib \
+%endif
+ --disable-nls \
+ --target=%{CONFIGURE_TARGET} \
+%else
+ --program-suffix=%{binsuffix} \
+ --enable-linux-futex \
+ --without-system-libunwind \
+%endif
+%if "%{TARGET_ARCH}" == "armv5tel"
+ --with-arch=armv5te \
+ --with-float=soft \
+ --with-mode=arm \
+ --with-abi=aapcs-linux \
+ --disable-sjlj-exceptions \
+%endif
+%if "%{TARGET_ARCH}" == "armv7el"
+ --with-arch=armv7-a \
+ --with-tune=cortex-a9 \
+ --with-float=soft \
+ --with-abi=softfp \
+ --with-fpu=vfpv3 \
+ --disable-sjlj-exceptions \
+%endif
+%if "%{TARGET_ARCH}" == "armv7l" || "%{TARGET_ARCH}" == "armv7hl"
+ --with-arch=armv7-a \
+ --with-tune=cortex-a9 \
+ --with-float=hard \
+ --with-abi=aapcs-linux \
+ --with-fpu=vfpv3-d16 \
+ --disable-sjlj-exceptions \
+%endif
+%if "%{TARGET_ARCH}" == "i586"
+ --with-arch-32=i586 \
+ --with-tune=generic \
+%endif
+%if "%{TARGET_ARCH}" == "x86_64"
+ --with-arch-32=i586 \
+ --with-tune=generic \
+%endif
+ --build=%{GCCDIST}
+
+# COMMON-END
+
+%if 0%{?building_libffi:1}
+make stage1-bubble $PARALLEL
+make all-target-libffi $PARALLEL
+%else
+# Only run profiled bootstrap on archs where it works
+#%ifarch %ix86 x86_64
+#make profiledbootstrap-lean STAGE1_CFLAGS="-O -g" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL
+#%else
+%ifarch %arm
+STAGE1_FLAGS="-O0"
+%else
+STAGE1_FLAGS="-O -g"
+%endif
+#make bootstrap-lean STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL
+make STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL
+#%endif
+#make -C gcc proto
+make info
+%if 0%{?run_tests:1}
+echo "Run testsuite"
+(make -C %{GCCDIST}/libstdc++-v3 check-abi || true)
+mv %{GCCDIST}/libstdc++-v3/testsuite/libstdc++.log %{GCCDIST}/libstdc++-v3/testsuite/libstdc++-abi.log
+mv %{GCCDIST}/libstdc++-v3/testsuite/libstdc++.sum %{GCCDIST}/libstdc++-v3/testsuite/libstdc++-abi.sum
+make -k check $PARALLEL || true
+mkdir ../testresults
+../contrib/test_summary | tee ../testresults/test_summary.txt
+%endif
+%endif
+
+%install
+export NO_BRP_CHECK_BYTECODE_VERSION=true
+cd obj-%{GCCDIST}
+# GCC-TESTSUITE-DELETE-BEGIN
+# Work around tail/head -1 changes
+export _POSIX2_VERSION=199209
+export LIBRARY_PATH=$RPM_BUILD_ROOT%{libsubdir}:$RPM_BUILD_ROOT%{mainlibdirbi}
+%if 0%{?building_libffi:1}
+make -C %{GCCDIST}/libffi install DESTDIR=$RPM_BUILD_ROOT
+%else
+%if 0%{?building_libjava:1}
+make -C %{GCCDIST}/libjava install DESTDIR=$RPM_BUILD_ROOT
+make -C gcc java.install-man DESTDIR=$RPM_BUILD_ROOT
+make -C gcc java.install-common DESTDIR=$RPM_BUILD_ROOT
+make -C gcc install-common DESTDIR=$RPM_BUILD_ROOT COMPILERS='jc1$(exeext) jvgenmain$(exeext)'
+# install-common also installs collect2, gcov and the g++ and gfortran driver
+%if %{build_cp}
+rm $RPM_BUILD_ROOT%{_prefix}/bin/g++%{binsuffix}
+%endif
+%if %{build_fortran}
+rm $RPM_BUILD_ROOT%{_prefix}/bin/gfortran%{binsuffix}
+%endif
+rm $RPM_BUILD_ROOT%{_prefix}/bin/gcov%{binsuffix}
+rm $RPM_BUILD_ROOT%{libsubdir}/collect2
+%else
+make install DESTDIR=$RPM_BUILD_ROOT
+%if %{build_java}
+make -C gcc java.uninstall DESTDIR=$RPM_BUILD_ROOT
+make -C gcc java.install-info DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT%{_prefix}/bin/jcf-dump%{binsuffix}
+rm $RPM_BUILD_ROOT%{_mandir}/man1/jcf-dump%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{libsubdir}/jc1
+rm $RPM_BUILD_ROOT%{libsubdir}/jvgenmain
+%endif
+%endif
+%endif
+
+# Remove libffi installed files if we did not want to build it
+%if !0%{?building_libffi:1}
+rm -f $RPM_BUILD_ROOT%{mainlibdir}/libffi.*
+%if %{biarch}
+ rm -f $RPM_BUILD_ROOT%{mainlibdirbi}/libffi.*
+%endif
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include/ffi.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include/ffitarget.h
+rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi%{binsuffix}.3*
+rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi_call%{binsuffix}.3*
+rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi_prep_cif%{binsuffix}.3*
+%endif
+
+# Remove some useless .la files
+for lib in libobjc libgfortran libgfortranbegin libquadmath libcaf_single \
+ libmudflap libmudflapth libgomp libstdc++ libsupc++ libgcj-tools libgij; do
+ rm -f $RPM_BUILD_ROOT%{versmainlibdir}/$lib.la
+%if %{biarch}
+ rm -f $RPM_BUILD_ROOT%{versmainlibdirbi}/$lib.la
+%endif
+done
+
+mkdir -p $RPM_BUILD_ROOT%{_libdir}
+%if %{biarch}
+%if %{build_primary_64bit}
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib
+%else
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib64
+%endif
+%endif
+
+# LIBFFI-DELETE-BEGIN
+# LIBJAVA-DELETE-BEGIN
+%if %{build_cp}
+# Merge multilib c++config.h to allow omitting the duplicate and
+# identical other arch specific headers
+dir_ml=
+cxxconfig="`find %{GCCDIST}/libstdc++-v3/include -name c++config.h`"
+for i in `find %{GCCDIST}/[36]*/libstdc++-v3/include -name c++config.h 2>/dev/null`; do
+ if ! diff -up $cxxconfig $i; then
+ file_32=x
+ file_64=x
+ case $i in
+ %{GCCDIST}/32/*)
+ file_32=$i
+ file_64=$cxxconfig
+ dir_ml=32
+ ;;
+ %{GCCDIST}/64/*)
+ file_32=$cxxconfig
+ file_64=$i
+ dir_ml=64
+ ;;
+ esac
+ if ! ( test -f "$file_32" && test -f "$file_64" ); then
+ echo "Urgs?"
+ exit 1
+ fi
+
+ cat > $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/bits/c++config.h <<EOF
+#ifndef _CPP_CPPCONFIG_WRAPPER
+#define _CPP_CPPCONFIG_WRAPPER 1
+#include <bits/wordsize.h>
+#if __WORDSIZE == 32
+`cat $file_32`
+#else
+`cat $file_64`
+#endif
+#endif
+EOF
+ break
+ fi
+done
+rm -rf $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/[36]*
+if ! test -z "$dir_ml"; then
+ ln -s . $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/$dir_ml
+fi
+%endif
+# LIBJAVA-DELETE-END
+
+%if 0%{!?build_optional_compiler:1}
+# move shared libs from versionspecific dir to main libdir
+for libname in \
+%if 0%{?building_libjava:1}
+ libgcj libgij libgcj-tools \
+%else
+%if %{build_fortran}
+ libgfortran \
+%ifarch %quadmath_arch
+ libquadmath \
+%endif
+%endif
+%if %{build_objc}
+ libobjc \
+%endif
+%if %{build_cp}
+ libstdc++ \
+%endif
+ libgomp \
+%if %{build_with_mudflap}
+ libmudflap libmudflapth \
+%endif
+%endif
+ ; do
+ for lib in `find $RPM_BUILD_ROOT%{versmainlibdir} -maxdepth 1 -name $libname.so.*`; do
+ mv $lib $RPM_BUILD_ROOT%{mainlibdir}/
+ done
+ ln -sf %{mainlibdir}/`readlink $RPM_BUILD_ROOT%{versmainlibdir}/$libname.so | sed -e 's/\(.*\.so\.[^\.]*\).*/\1/'` \
+ $RPM_BUILD_ROOT%{versmainlibdir}/$libname.so
+%if %{biarch}
+ if test -d $RPM_BUILD_ROOT%{versmainlibdirbi}; then
+ for lib in `find $RPM_BUILD_ROOT%{versmainlibdirbi} -maxdepth 1 -name "$libname.so.*"`; do
+ mv $lib $RPM_BUILD_ROOT%{mainlibdirbi}/
+ done
+ ln -sf %{mainlibdirbi}/`readlink $RPM_BUILD_ROOT%{versmainlibdirbi}/$libname.so | sed -e 's/\(.*\.so\.[^\.]*\).*/\1/'` \
+ $RPM_BUILD_ROOT%{versmainlibdirbi}/$libname.so
+ fi
+%endif
+done
+%if %{build_cp}
+%if !0%{?building_libjava:1}
+# And we want to move the shlib gdb pretty printers to a more sane
+# place so ldconfig does not complain
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdir}
+mv $RPM_BUILD_ROOT%{mainlibdir}/libstdc++.so.*-gdb.py $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdir}/
+sed -i -e '/^libdir/s/\/gcc\/%{GCCDIST}\/%{gcc_dir_version}//g' $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdir}/libstdc++.so.*-gdb.py
+%if %{biarch}
+ if test -d $RPM_BUILD_ROOT%{versmainlibdirbi}; then
+ mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdirbi}
+ mv $RPM_BUILD_ROOT%{mainlibdirbi}/libstdc++.so.*-gdb.py $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdirbi}/
+ sed -i -e '/^libdir/s/\/gcc\/%{GCCDIST}\/%{gcc_dir_version}//g' $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdirbi}/libstdc++.so.*-gdb.py
+ fi
+%endif
+%endif
+%endif
+%if 0%{?building_libjava:1}
+# libgcj_bc is special as the .so file is actually a different
+# library as the library refered to by the SONAME which should
+# be a simple link to our libgcj.
+for lib in `find $RPM_BUILD_ROOT%{versmainlibdir} -maxdepth 1 -name libgcj_bc.so.*`; do
+ rm $lib
+done
+ln -s libgcj.so.%{gcj_sover} $RPM_BUILD_ROOT%{mainlibdir}/libgcj_bc.so.1
+%if %{biarch_libjava}
+for lib in `find $RPM_BUILD_ROOT%{versmainlibdirbi} -maxdepth 1 -name libgcj_bc.so.*`; do
+ rm $lib
+done
+ln -s libgcj.so.%{gcj_sover} $RPM_BUILD_ROOT%{mainlibdirbi}/libgcj_bc.so.1
+%endif
+%endif
+%endif
+
+# LIBJAVA-DELETE-BEGIN
+%if 0%{!?build_optional_compiler:1}
+# Move libgcc_s around
+if test -L $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so; then
+ rm -f $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so
+ ln -sf /%{_lib}/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdir}/libgcc_s.so
+else
+ mv $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdir}/
+fi
+chmod a+x $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so.%{libgcc_s}
+%if %{biarch}
+%if %{build_primary_64bit}
+if test -L $RPM_BUILD_ROOT/lib/libgcc_s.so; then
+ rm -f $RPM_BUILD_ROOT/lib/libgcc_s.so
+ ln -sf /lib/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s.so
+else
+ mv $RPM_BUILD_ROOT/lib/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi32}/
+fi
+ln -sf %{versmainlibdirbi32}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s_32.so
+chmod a+x $RPM_BUILD_ROOT/lib/libgcc_s.so.%{libgcc_s}
+%else
+# 32-bit biarch systems
+if test -L $RPM_BUILD_ROOT/lib64/libgcc_s.so; then
+ rm -f $RPM_BUILD_ROOT/lib64/libgcc_s.so
+ ln -sf /lib64/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s.so
+else
+ mv $RPM_BUILD_ROOT/lib64/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi64}/
+fi
+ln -sf %{versmainlibdirbi64}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s_64.so
+chmod a+x $RPM_BUILD_ROOT/lib64/libgcc_s.so.%{libgcc_s}
+%endif
+%endif
+%else
+# Move libgcc_s around
+mv $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdir}/
+if test -L $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so; then
+ rm -f $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so
+ ln -sf %{versmainlibdir}/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdir}/libgcc_s.so
+else
+ mv $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdir}/
+fi
+chmod a+x $RPM_BUILD_ROOT%{versmainlibdir}/libgcc_s.so.%{libgcc_s}
+%if %{biarch}
+%if %{build_primary_64bit}
+mv $RPM_BUILD_ROOT/lib/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi32}/
+if test -L $RPM_BUILD_ROOT/lib/libgcc_s.so; then
+ rm -f $RPM_BUILD_ROOT/lib/libgcc_s.so
+ ln -sf %{versmainlibdirbi32}/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s.so
+else
+ mv $RPM_BUILD_ROOT/lib/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi32}/
+fi
+ln -sf %{versmainlibdirbi32}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s_32.so
+chmod a+x $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s.so.%{libgcc_s}
+%else
+# 32-bit biarch systems
+mv $RPM_BUILD_ROOT/lib64/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi64}/
+if test -L $RPM_BUILD_ROOT/lib64/libgcc_s.so; then
+ rm -f $RPM_BUILD_ROOT/lib64/libgcc_s.so
+ ln -sf %{versmainlibdirbi64}/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s.so
+else
+ mv $RPM_BUILD_ROOT/lib64/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi64}/
+fi
+ln -sf %{versmainlibdirbi64}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s_64.so
+chmod a+x $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s.so.%{libgcc_s}
+%endif
+%endif
+%endif
+
+# Provide a defaults.spec file which adds a proper rpath
+%if 0%{?build_optional_compiler:1}
+cat > $RPM_BUILD_ROOT%{libsubdir}/defaults.spec << EOF
+*link:
++ %%{!m32:%%{!m64:-rpath=%{libsubdir}}} %%{m32:-rpath=%{libsubdir}/32} %%{m64:-rpath=%{libsubdir}/64}
+EOF
+%endif
+# LIBJAVA-DELETE-END
+# LIBFFI-DELETE-END
+
+%if %{build_ada}
+mv $RPM_BUILD_ROOT%{libsubdir}/adalib/lib*-*.so $RPM_BUILD_ROOT%{_libdir}
+ln -sf %{_libdir}/libgnarl%{binsuffix}.so $RPM_BUILD_ROOT%{libsubdir}/adalib/libgnarl.so
+ln -sf %{_libdir}/libgnat%{binsuffix}.so $RPM_BUILD_ROOT%{libsubdir}/adalib/libgnat.so
+chmod a+x $RPM_BUILD_ROOT%{_libdir}/libgna*-*.so
+%if %{biarch}
+mv $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/lib*-*.so $RPM_BUILD_ROOT%{mainlibdirbi}/
+ln -sf %{mainlibdirbi}/libgnarl%{binsuffix}.so $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/libgnarl.so
+ln -sf %{mainlibdirbi}/libgnat%{binsuffix}.so $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/libgnarl.so
+chmod a+x $RPM_BUILD_ROOT%{mainlibdirbi}/libgna*-*.so
+%endif
+%endif
+
+rm -f $RPM_BUILD_ROOT%{_prefix}/bin/c++%{binsuffix}
+
+# Remove some crap from the .la files:
+for l in `find $RPM_BUILD_ROOT -name '*.la'`; do
+ echo "changing $l"
+# -e '/^dependency_libs/s|%{libsubdir}/\([^.]*\)\.la |%{_libdir}/\1\.la |g'
+ sed -e '/^dependency_libs/s| -L%{_builddir}/[^ ]*||g' \
+ -e '/^dependency_libs/s| -L/usr/%{GCCDIST}/bin||g' \
+ -e '/^dependency_libs/s|-lm \(-lm \)*|-lm |' \
+ -e '/^dependency_libs/s|-L[^ ]* ||g' \
+%if %{biarch}
+%if %{build_primary_64bit}
+ -e '/^libdir/s|%{_libdir}/32|%{_prefix}/lib|' \
+ -e '/^libdir/s|lib64/\.\./||' \
+%else
+ -e '/^libdir/s|%{_libdir}/64|%{_prefix}/lib64|' \
+%endif
+%endif
+ < $l > $l.new
+ mv $l.new $l
+done
+
+# GCC-TESTSUITE-DELETE-END
+%if 0%{?run_tests:1}
+cp `find . -name "*.sum"` ../testresults/
+cp `find . -name "*.log" \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/
+chmod 644 ../testresults/*
+%endif
+# GCC-TESTSUITE-DELETE-BEGIN
+# LIBFFI-DELETE-BEGIN
+%if %{build_cp}
+# Find C++ and Java headers
+find $RPM_BUILD_ROOT%{_prefix}/include/c++ \
+ -regex ".*/\(org\|gcj\|gnu\|java\|javax\)" -prune \
+ -o \( -type d -printf "%%%%dir " , \
+ -printf "%{_prefix}/include/c++/%%P\n" \) > ../c++-headers
+%endif
+# LIBFFI-DELETE-END
+# Remove files that we do not need to clean up filelist
+rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{GCCDIST}-*
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/install-tools
+#rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libgcj%{binsuffix}.pc
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/root
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/curses.h
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/asm-*
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/linux
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sound
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/features.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/ncurses.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/stdio.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/zutil.h
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/X11
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/obstack.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/spe.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/tgmath.h
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sys
+# no plugins
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+rm -f $RPM_BUILD_ROOT%{_prefix}/bin/gccbug%{binsuffix}
+
+%if !0%{?building_libjava:1}%{?building_libffi:1}
+# delete compile flag tracking from crt files
+crt_list=$RPM_BUILD_ROOT%{versmainlibdir}/crt*.o
+%if %{biarch}
+%if %{build_primary_64bit}
+crt32_list=$RPM_BUILD_ROOT%{versmainlibdirbi32}/crt*.o
+%else
+crt64_list=$RPM_BUILD_ROOT%{versmainlibdirbi64}/crt*.o
+%endif
+%endif
+%endif
+
+%if 0%{?building_libjava:1}
+# gcj -static doesn't work properly anyway, unless using --whole-archive
+# let's save the space instead.
+find $RPM_BUILD_ROOT -name libgcj.a \
+ -o -name libgcj-tools.a \
+ -o -name libgij.a \
+ -o -name libjvm.a \
+ -o -name libgcj_bc.a \
+ | xargs rm -f
+
+find $RPM_BUILD_ROOT -name libgcj.spec | xargs \
+ sed -i -e 's/lib: /&%%{static:%%eJava programs cannot be linked statically}/'
+
+# security files have broken install locations, also they cause conflicts
+# between libgcj versions. Simply delete them here, libgcj will use its
+# defaults in this case (which is what these files contain anyway).
+rm $RPM_BUILD_ROOT%{_libdir}/logging.properties
+rm -r $RPM_BUILD_ROOT%{_libdir}/security
+%endif
+
+%if 0%{?building_libffi:1}
+# Move libffi headers, remove empty libffi libtool file
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/include
+mv $RPM_BUILD_ROOT%{libsubdir}/include/ffitarget.h $RPM_BUILD_ROOT%{_prefix}/include/
+mv $RPM_BUILD_ROOT%{libsubdir}/include/ffi.h $RPM_BUILD_ROOT%{_prefix}/include/
+rm -f $RPM_BUILD_ROOT%{mainlibdir}/libffi.la
+%if %{biarch}
+rm -f $RPM_BUILD_ROOT%{mainlibdirbi}/libffi.la
+%endif
+# Generate a simple pkg-config file
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
+echo -e 'Name: libffi\nVersion: 3.0.9\nDescription: libffi\nLibs: -lffi' > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libffi.pc
+%endif
+
+%if %{build_java}
+%if !%{build_libjava}
+rm $RPM_BUILD_ROOT%{_mandir}/man1/jv-convert%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/gcj-dbtool%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/gij%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/grmic%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/gc-analyze%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/aot-compile%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/rebuild-gcj-db%{binsuffix}.1
+%endif
+rm -f $RPM_BUILD_ROOT%{_datadir}/gcc%{binsuffix}/python/libjava/aotcompile.py
+rm -f $RPM_BUILD_ROOT%{_datadir}/gcc%{binsuffix}/python/libjava/classfile.py
+%endif
+rm -f $RPM_BUILD_ROOT%{_mandir}/man7/fsf-funding.7
+rm -f $RPM_BUILD_ROOT%{_mandir}/man7/gfdl.7
+rm -f $RPM_BUILD_ROOT%{_mandir}/man7/gpl.7
+rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
+%if %{build_nof}
+rm -f $RPM_BUILD_ROOT%{_prefix}/lib/nof/libiberty.a
+%endif
+%if %{biarch}
+%if %{build_primary_64bit}
+rm -f $RPM_BUILD_ROOT%{_prefix}/lib/libiberty.a
+%else
+rm -f $RPM_BUILD_ROOT%{_prefix}/lib64/libiberty.a
+%endif
+%endif
+rm -f $RPM_BUILD_ROOT%{libsubdir}/liblto_plugin.a
+rm -f $RPM_BUILD_ROOT%{libsubdir}/liblto_plugin.la
+
+# LIBFFI-DELETE-BEGIN
+%if 0%{?building_libjava:1}
+# For building libjava only we need to delete other info docs
+rm $RPM_BUILD_ROOT%{_infodir}/cp-tools.info*
+# Remove stale manpages for binaries we do not build
+rm $RPM_BUILD_ROOT%{_mandir}/man1/gjdoc%{binsuffix}.1
+# For building the java frontend we need to copy the ecj jar
+mkdir -p $RPM_BUILD_ROOT%{libsubdir}
+cp $RPM_SOURCE_DIR/ecj.jar $RPM_BUILD_ROOT%{libsubdir}
+%else
+# For regular build, some info files do not get renamed properly.
+# Do so here.
+mv $RPM_BUILD_ROOT%{_infodir}/libgomp.info $RPM_BUILD_ROOT%{_infodir}/libgomp%{binsuffix}.info
+%if %{build_fortran}
+%ifarch %quadmath_arch
+mv $RPM_BUILD_ROOT%{_infodir}/libquadmath.info $RPM_BUILD_ROOT%{_infodir}/libquadmath%{binsuffix}.info
+%endif
+%endif
+%if %{build_ada}
+mv $RPM_BUILD_ROOT%{_infodir}/gnat-style.info $RPM_BUILD_ROOT%{_infodir}/gnat-style%{binsuffix}.info
+mv $RPM_BUILD_ROOT%{_infodir}/gnat_rm.info $RPM_BUILD_ROOT%{_infodir}/gnat_rm%{binsuffix}.info
+mv $RPM_BUILD_ROOT%{_infodir}/gnat_ugn.info $RPM_BUILD_ROOT%{_infodir}/gnat_ugn%{binsuffix}.info
+%endif
+%endif
+
+# LIBJAVA-DELETE-BEGIN
+cd ..
+%find_lang gcc47-locale --all-name
+
+%post info
+%install_info --info-dir=%{_infodir} %{_infodir}/cpp%{binsuffix}.info.gz
+%install_info --info-dir=%{_infodir} %{_infodir}/cppinternals%{binsuffix}.info.gz
+%install_info --info-dir=%{_infodir} %{_infodir}/gcc%{binsuffix}.info.gz
+%install_info --info-dir=%{_infodir} %{_infodir}/gccint%{binsuffix}.info.gz
+%install_info --info-dir=%{_infodir} %{_infodir}/gccinstall%{binsuffix}.info.gz
+%install_info --info-dir=%{_infodir} %{_infodir}/libgomp%{binsuffix}.info.gz
+%if %{build_fortran}
+%install_info --info-dir=%{_infodir} %{_infodir}/gfortran%{binsuffix}.info.gz
+%ifarch %quadmath_arch
+%install_info --info-dir=%{_infodir} %{_infodir}/libquadmath%{binsuffix}.info.gz
+%endif
+%endif
+%if %{build_java}
+%install_info --info-dir=%{_infodir} %{_infodir}/gcj%{binsuffix}.info.gz
+%endif
+%if %{build_ada}
+%install_info --info-dir=%{_infodir} %{_infodir}/gnat-style%{binsuffix}.info.gz
+%install_info --info-dir=%{_infodir} %{_infodir}/gnat_rm%{binsuffix}.info.gz
+%install_info --info-dir=%{_infodir} --section="GNU Ada tools" --entry="* GNAT User's Guide: (gnat_ugn). GNAT User's Guide for Unix Platforms" %{_infodir}/gnat_ugn%{binsuffix}.info.gz
+%endif
+
+%postun info
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/cpp%{binsuffix}.info.gz
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/cppinternals%{binsuffix}.info.gz
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcc%{binsuffix}.info.gz
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/gccint%{binsuffix}.info.gz
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/gccinstall%{binsuffix}.info.gz
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/libgomp%{binsuffix}.info.gz
+%if %{build_fortran}
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/gfortran%{binsuffix}.info.gz
+%ifarch %quadmath_arch
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/libquadmath%{binsuffix}.info.gz
+%endif
+%endif
+%if %{build_java}
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcj%{binsuffix}.info.gz
+%endif
+%if %{build_ada}
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnat-style%{binsuffix}.info.gz
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnat_rm%{binsuffix}.info.gz
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnat_ugn%{binsuffix}.info.gz
+%endif
+
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%dir %{_libdir}/gcc
+%dir %{_libdir}/gcc/%{GCCDIST}
+%dir %{libsubdir}
+%dir %{libsubdir}/include
+%dir %{libsubdir}/include-fixed
+%if %{biarch}
+%if %{build_primary_64bit}
+%dir %{libsubdir}/32
+%else
+%dir %{libsubdir}/64
+%endif
+%endif
+%if %{build_nof}
+%dir %{libsubdir}/nof
+%endif
+%{_prefix}/bin/gcc%{binsuffix}
+%{_prefix}/bin/gcov%{binsuffix}
+%{_prefix}/bin/gcc-ar%{binsuffix}
+%{_prefix}/bin/gcc-nm%{binsuffix}
+%{_prefix}/bin/gcc-ranlib%{binsuffix}
+%{libsubdir}/collect2
+%{libsubdir}/lto1
+%{libsubdir}/lto-wrapper
+%{libsubdir}/liblto_plugin.so*
+%{libsubdir}/include-fixed/README
+%{libsubdir}/include-fixed/limits.h
+%{libsubdir}/include-fixed/syslimits.h
+%{libsubdir}/include/omp.h
+%{libsubdir}/include/float.h
+%{libsubdir}/include/iso646.h
+%{libsubdir}/include/stdarg.h
+%{libsubdir}/include/stdbool.h
+%{libsubdir}/include/stdfix.h
+%{libsubdir}/include/stddef.h
+%{libsubdir}/include/unwind.h
+%{libsubdir}/include/varargs.h
+%{libsubdir}/include/stdint.h
+%{libsubdir}/include/stdint-gcc.h
+%{libsubdir}/include/stdnoreturn.h
+%{libsubdir}/include/stdalign.h
+%ifarch %arm
+%{libsubdir}/include/mmintrin.h
+%{libsubdir}/include/arm_neon.h
+%{libsubdir}/include/unwind-arm-common.h
+%endif
+%ifarch %ix86 x86_64
+%{libsubdir}/include/cross-stdarg.h
+%{libsubdir}/include/cpuid.h
+%{libsubdir}/include/mm3dnow.h
+%{libsubdir}/include/mmintrin.h
+%{libsubdir}/include/ammintrin.h
+%{libsubdir}/include/bmmintrin.h
+%{libsubdir}/include/emmintrin.h
+%{libsubdir}/include/immintrin.h
+%{libsubdir}/include/avxintrin.h
+%{libsubdir}/include/pmmintrin.h
+%{libsubdir}/include/xmmintrin.h
+%{libsubdir}/include/tmmintrin.h
+%{libsubdir}/include/nmmintrin.h
+%{libsubdir}/include/smmintrin.h
+%{libsubdir}/include/wmmintrin.h
+%{libsubdir}/include/x86intrin.h
+%{libsubdir}/include/ia32intrin.h
+%{libsubdir}/include/mm_malloc.h
+%{libsubdir}/include/fma4intrin.h
+%{libsubdir}/include/xopintrin.h
+%{libsubdir}/include/lwpintrin.h
+%{libsubdir}/include/popcntintrin.h
+%{libsubdir}/include/bmiintrin.h
+%{libsubdir}/include/tbmintrin.h
+%{libsubdir}/include/avx2intrin.h
+%{libsubdir}/include/bmi2intrin.h
+%{libsubdir}/include/fmaintrin.h
+%{libsubdir}/include/lzcntintrin.h
+%{libsubdir}/include/f16cintrin.h
+%endif
+%if %{build_with_mudflap}
+%{libsubdir}/include/mf-runtime.h
+%endif
+%versmainlib *crt*.o
+%versmainlib libgcc*.a
+%versmainlib libgcov.a
+%versmainlib libgcc_s*.so
+%if %{build_with_mudflap}
+%versmainlib libmudflap.a
+%versmainlib libmudflap.so
+%versmainlib libmudflapth.a
+%versmainlib libmudflapth.so
+%endif
+%versmainlib libgomp.so
+%versmainlib libgomp.a
+%versmainlib libgomp.spec
+%doc %{_mandir}/man1/gcc%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gcov%{binsuffix}.1.gz
+%if 0%{?build_optional_compiler:1}
+%{libsubdir}/defaults.spec
+%endif
+
+%if %{separate_biarch}
+%files -n gcc47%{separate_biarch_suffix}
+%defattr(-,root,root)
+%versbiarchlib *crt*.o
+%versbiarchlib libgcc*.a
+%versbiarchlib libgcov.a
+%versbiarchlib libgcc_s*.so
+%if %{build_with_mudflap}
+%versbiarchlib libmudflap.a
+%versbiarchlib libmudflap.so
+%versbiarchlib libmudflapth.a
+%versbiarchlib libmudflapth.so
+%endif
+%versbiarchlib libgomp.so
+%versbiarchlib libgomp.a
+%versbiarchlib libgomp.spec
+%endif
+
+%files locale -f gcc47-locale.lang
+
+%if %{build_cp}
+%files c++
+%defattr(-,root,root)
+%dir %{_libdir}/gcc
+%dir %{_libdir}/gcc/%{GCCDIST}
+%dir %{libsubdir}
+%{_prefix}/bin/g++%{binsuffix}
+%doc %{_mandir}/man1/g++%{binsuffix}.1.gz
+%{libsubdir}/cc1plus
+
+%files -n libstdc++47
+%defattr(-,root,root)
+%if %{build_nof}
+%dir %{noflibdir}
+%endif
+%mainlib libstdc++.so.*
+
+%if %{separate_biarch}
+%files -n libstdc++47%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libstdc++.so.*
+%endif
+
+%files -n libstdc++47-devel -f c++-headers
+%defattr(-,root,root)
+%versmainlib libstdc++.a
+%versmainlib libstdc++.so
+%versmainlib libsupc++.a
+%dir %{_datadir}/gdb
+%dir %{_datadir}/gdb/auto-load
+%dir %{_datadir}/gdb/auto-load%{_prefix}
+%dir %{_datadir}/gdb/auto-load/%{mainlibdir}
+%{_datadir}/gdb/auto-load/%{mainlibdir}/libstdc++.so.*-gdb.py
+%{_datadir}/gcc%{binsuffix}
+
+%if %{separate_biarch}
+%files -n libstdc++47-devel%{separate_biarch_suffix}
+%defattr(-,root,root)
+%versbiarchlib libstdc++.a
+%versbiarchlib libstdc++.so
+%versbiarchlib libsupc++.a
+%dir %{_datadir}/gdb/auto-load/%{mainlibdirbi}
+%{_datadir}/gdb/auto-load/%{mainlibdirbi}/libstdc++.so.*-gdb.py
+%endif
+
+%files -n libstdc++47-doc
+%defattr(-,root,root)
+%doc libstdc++-v3/doc/html
+%endif
+
+%files -n libgcc47
+%defattr(-,root,root)
+%if 0%{!?build_optional_compiler:1}
+/%{_lib}/libgcc_s.so.%{libgcc_s}
+%if %{build_nof}
+%dir /lib/nof
+/lib/nof/libgcc_s.so.%{libgcc_s}
+%endif
+%if %{biarch}
+%if %{build_primary_64bit}
+%if !%{separate_bi32}
+/lib/libgcc_s.so.%{libgcc_s}
+%endif
+%else
+%if !%{separate_bi64}
+/lib64/libgcc_s.so.%{libgcc_s}
+%endif
+%endif
+%endif
+%else
+%versmainlib libgcc_s.so.%{libgcc_s}
+%endif
+
+%if %{separate_bi64}
+%files -n libgcc47-64bit
+%defattr(-,root,root)
+%if 0%{!?build_optional_compiler:1}
+/lib64/libgcc_s.so.%{libgcc_s}
+%else
+%versbiarchlib libgcc_s.so.%{libgcc_s}
+%endif
+%endif
+
+%if %{separate_bi32}
+%files -n libgcc47-32bit
+%defattr(-,root,root)
+%if 0%{!?build_optional_compiler:1}
+/lib/libgcc_s.so.%{libgcc_s}
+%else
+%versbiarchlib libgcc_s.so.%{libgcc_s}
+%endif
+%endif
+
+
+%files -n libgomp47
+%defattr(-,root,root)
+%mainlib libgomp.so.1*
+
+%if %{separate_biarch}
+%files -n libgomp47%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libgomp.so.1*
+%endif
+
+
+%if %{build_fortran}
+%files fortran
+%defattr(-,root,root)
+%dir %{libsubdir}/finclude
+%{_prefix}/bin/gfortran%{binsuffix}
+%{libsubdir}/f951
+%{libsubdir}/finclude/*
+%versmainlib libgfortran.a
+%versmainlib libgfortran.so
+%versmainlib libgfortran.spec
+%versmainlib libgfortranbegin.a
+%versmainlib libcaf_single.a
+%ifarch %quadmath_arch
+%{libsubdir}/include/quadmath.h
+%{libsubdir}/include/quadmath_weak.h
+%versmainlib libquadmath.a
+%versmainlib libquadmath.so
+%endif
+%doc %{_mandir}/man1/gfortran%{binsuffix}.1.gz
+
+%if %{separate_biarch}
+%files fortran%{separate_biarch_suffix}
+%defattr(-,root,root)
+%versbiarchlib libgfortran.a
+%versbiarchlib libgfortran.so
+%versbiarchlib libgfortran.spec
+%versbiarchlib libgfortranbegin.a
+%versbiarchlib libcaf_single.a
+%ifarch %quadmath_arch
+%versbiarchlib libquadmath.a
+%versbiarchlib libquadmath.so
+%endif
+%endif
+
+%files -n libgfortran47
+%defattr(-,root,root)
+%mainlib libgfortran.so.*
+
+%if %{separate_biarch}
+%files -n libgfortran47%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libgfortran.so.*
+%endif
+
+%ifarch %quadmath_arch
+%files -n libquadmath47
+%defattr(-,root,root)
+%mainlib libquadmath.so.*
+
+%if %{separate_biarch}
+%files -n libquadmath47%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libquadmath.so.*
+%endif
+%endif
+%endif
+
+%if %{build_with_mudflap}
+%files -n libmudflap47
+%defattr(-,root,root)
+%mainlib libmudflap.so.0*
+%mainlib libmudflapth.so.0*
+
+%if %{separate_biarch}
+%files -n libmudflap47%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libmudflap.so.0*
+%biarchlib libmudflapth.so.0*
+%endif
+%endif
+
+%files info
+%defattr(-,root,root)
+%doc %{_infodir}/*.gz
+
+%files -n cpp47
+%defattr(-,root,root)
+%dir %{_libdir}/gcc
+%dir %{_libdir}/gcc/%{GCCDIST}
+%dir %{libsubdir}
+%{_prefix}/bin/cpp%{binsuffix}
+%{libsubdir}/cc1
+#%{libsubdir}/specs
+%doc %{_mandir}/man1/cpp%{binsuffix}.1.gz
+
+%if %{build_objc}
+%files objc
+%defattr(-,root,root)
+%{libsubdir}/cc1obj
+%{libsubdir}/include/objc
+%versmainlib libobjc.a
+%versmainlib libobjc.so
+
+%if %{separate_biarch}
+%files objc%{separate_biarch_suffix}
+%defattr(-,root,root)
+%versbiarchlib libobjc.a
+%versbiarchlib libobjc.so
+%endif
+
+%files -n libobjc47
+%defattr(-,root,root)
+%mainlib libobjc.so.*
+
+%if %{separate_biarch}
+%files -n libobjc47%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libobjc.so.*
+%endif
+%endif
+
+
+%if %{build_objcp}
+%files obj-c++
+%defattr(-,root,root)
+%{libsubdir}/cc1objplus
+%endif
+
+
+%if %{build_ada}
+%files ada
+%defattr(-,root,root)
+%dir %{_libdir}/gcc
+%dir %{_libdir}/gcc/%{GCCDIST}
+%dir %{libsubdir}
+%{_prefix}/bin/gnat*
+%dir %{versmainlibdir}/adainclude
+%dir %{versmainlibdir}/adalib
+%{versmainlibdir}/adainclude
+%{versmainlibdir}/adalib/*.ali
+%{versmainlibdir}/adalib/*.a
+%{versmainlibdir}/adalib/libgnarl.so
+%{versmainlibdir}/adalib/libgnat.so
+%{versmainlibdir}/gnat1
+
+%if %{separate_biarch}
+%files ada%{separate_biarch_suffix}
+%defattr(-,root,root)
+%dir %{versmainlibdirbi}/adainclude
+%dir %{versmainlibdirbi}/adalib
+%{versmainlibdirbi}/adainclude
+%{versmainlibdirbi}/adalib/*.ali
+%{versmainlibdirbi}/adalib/*.a
+%{versmainlibdirbi}/adalib/libgnarl.so
+%{versmainlibdirbi}/adalib/libgnat.so
+%endif
+
+%files -n libada47
+%defattr(-,root,root)
+%mainlib libgnarl-*.so
+%mainlib libgnat-*.so
+
+%if %{separate_biarch}
+%files -n libada47%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libgnarl-*.so
+%biarchlib libgnat-*.so
+%endif
+%endif
+# LIBJAVA-DELETE-END
+
+
+%if %{build_java}
+%if 0%{?building_libjava:1}
+%files -n gcc47-java
+%defattr(-,root,root)
+%{_prefix}/bin/gcj%{binsuffix}
+%{_prefix}/bin/gcjh%{binsuffix}
+%{_prefix}/bin/gcj-dbtool%{binsuffix}
+%{_prefix}/bin/jcf-dump%{binsuffix}
+%{_prefix}/bin/jv-convert%{binsuffix}
+%{_prefix}/bin/gc-analyze%{binsuffix}
+%{_prefix}/bin/aot-compile%{binsuffix}
+%{_prefix}/bin/rebuild-gcj-db%{binsuffix}
+%{libsubdir}/jc1
+%{libsubdir}/jvgenmain
+%{libsubdir}/ecj.jar
+%{libsubdir}/ecj1
+%doc %{_mandir}/man1/gcj%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gcjh%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gcj-dbtool%{binsuffix}.1.gz
+%doc %{_mandir}/man1/jcf-dump%{binsuffix}.1.gz
+%doc %{_mandir}/man1/jv-convert%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gc-analyze%{binsuffix}.1.gz
+%doc %{_mandir}/man1/aot-compile%{binsuffix}.1.gz
+%doc %{_mandir}/man1/rebuild-gcj-db%{binsuffix}.1.gz
+%endif
+%endif
+
+%if %{build_java}
+%if %{build_libjava}
+%files -n libgcj47
+%defattr(-,root,root)
+%dir %{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover}
+%dir %{_libdir}/gcc
+%dir %{_libdir}/gcc/%{GCCDIST}
+%dir %{libsubdir}
+%{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover}/classmap.db
+# We usually do not multilib libjava
+%if %{biarch_libjava}
+%versbiarchlib libgcj.la
+%biarchlib libgcj.so.*
+%biarchlib libgij.so.*
+%biarchlib libgcj-tools.so.*
+%else
+%versmainlib libgcj.la
+%mainlib libgcj.so.*
+%mainlib libgij.so.*
+%mainlib libgcj-tools.so.*
+%endif
+%{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover}/libjvm.la
+%{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover}/libjvm.so
+%{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover}/libjavamath.la
+%{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover}/libjavamath.so
+
+%files -n libgcj_bc47
+%defattr(-,root,root)
+%if %{biarch_libjava}
+%biarchlib libgcj_bc.so.*
+%else
+%mainlib libgcj_bc.so.*
+%endif
+
+%files -n libgcj47-jar
+%defattr(-,root,root)
+%{_prefix}/share/java/libgcj-%{gcc_dir_version}.jar
+%{_prefix}/share/java/libgcj-tools-%{gcc_dir_version}.jar
+
+%files -n libgcj47-devel
+%defattr(-,root,root)
+%dir %{_prefix}/include/c++
+%dir %{libsubdir}
+%dir %{libsubdir}/include
+%dir %{gxxinclude}
+%{_libdir}/pkgconfig/libgcj%{binsuffix}.pc
+%{libsubdir}/include/jawt.h
+%{libsubdir}/include/jawt_md.h
+%{libsubdir}/include/jni.h
+%{libsubdir}/include/jni_md.h
+%{libsubdir}/include/jvmpi.h
+%{gxxinclude}/gnu
+%{gxxinclude}/gcj
+%{gxxinclude}/java
+%{gxxinclude}/javax
+%{gxxinclude}/org
+%{gxxinclude}/sun
+%{libsubdir}/include/gcj
+%if %{biarch_libjava}
+%versbiarchlib libgcj.so
+%versbiarchlib libgcj.spec
+%versbiarchlib libgcj-tools.so
+%versbiarchlib libgij.so
+%versbiarchlib libgcj_bc.so
+%else
+%versmainlib libgcj.so
+%versmainlib libgcj.spec
+%versmainlib libgcj-tools.so
+%versmainlib libgij.so
+%versmainlib libgcj_bc.so
+%endif
+
+%files -n gcc47-gij
+%defattr(-,root,root)
+%{_prefix}/bin/gij%{binsuffix}
+%{_prefix}/bin/gappletviewer%{binsuffix}
+%{_prefix}/bin/gjar%{binsuffix}
+%{_prefix}/bin/gjarsigner%{binsuffix}
+%{_prefix}/bin/gjavah%{binsuffix}
+%{_prefix}/bin/gkeytool%{binsuffix}
+%{_prefix}/bin/gnative2ascii%{binsuffix}
+%{_prefix}/bin/gorbd%{binsuffix}
+%{_prefix}/bin/grmic%{binsuffix}
+%{_prefix}/bin/grmid%{binsuffix}
+%{_prefix}/bin/grmiregistry%{binsuffix}
+%{_prefix}/bin/gserialver%{binsuffix}
+%{_prefix}/bin/gtnameserv%{binsuffix}
+%doc %{_mandir}/man1/gij%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gappletviewer%{binsuffix}.1.gz
+%doc %{_mandir}/man1/grmic%{binsuffix}.1.gz
+%doc %{_mandir}/man1/grmid%{binsuffix}.1.gz
+%doc %{_mandir}/man1/grmiregistry%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gkeytool%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gjar%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gjarsigner%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gjavah%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gnative2ascii%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gorbd%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gserialver%{binsuffix}.1.gz
+%doc %{_mandir}/man1/gtnameserv%{binsuffix}.1.gz
+%endif
+%endif
+# LIBFFI-DELETE-END
+
+%if %{build_java}
+%if 0%{?building_libffi:1}
+%files -n libffi47
+%defattr(-,root,root)
+%mainlib libffi.so.*
+
+%if %{separate_biarch}
+%files -n libffi47%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libffi.so.*
+%endif
+
+%files -n libffi47-devel
+%defattr(-,root,root)
+%{_prefix}/include/ffi.h
+%{_prefix}/include/ffitarget.h
+%mainlib libffi.so
+%mainlib libffi.a
+%{_libdir}/pkgconfig/libffi.pc
+%doc %{_mandir}/man3/ffi%{binsuffix}.3.gz
+%doc %{_mandir}/man3/ffi_call%{binsuffix}.3.gz
+%doc %{_mandir}/man3/ffi_prep_cif%{binsuffix}.3.gz
+
+%if %{separate_biarch}
+%files -n libffi47-devel%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libffi.so
+%biarchlib libffi.a
+%endif
+%endif
+%endif
+# GCC-TESTSUITE-DELETE-END
+
+%if 0%{?run_tests:1}
+%files -n gcc47-testresults
+%defattr(-,root,root)
+%doc testresults/test_summary.txt
+%doc testresults/*.sum
+%doc testresults/*.log
+%endif
+
+
+%changelog
--- /dev/null
+#sbs-git:slp/pkgs/g/gconf-dbus gconf-dbus 2.16.0 00a1761211cf288653a387587d6abc2bfc4d5626
+Name: gconf-dbus
+Version: 2.16.0
+Release: 2
+License: LGPLv2+
+Summary: A process-transparent configuration system
+Url: http://www.gnome.org
+Group: System/Base
+Source: ftp://ftp.gnome.org/pub/GNOME/mobile/2.23/2.23.92/sources/%{name}-%{version}.tar.gz
+Patch0: 01_removePopt.dpatch
+Patch1: 02_poweroff.dpatch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig(dbus-1),
+BuildRequires: pkgconfig(dbus-glib-1) >= 0.60
+BuildRequires: pkgconfig(glib-2.0) > 2.8.0
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: intltool
+Requires: %{name} = %{version}-%{release}
+Requires: dbus
+
+%description
+GConf-dbus is a process-transparent configuration database API used to
+store user preferences. It has pluggable backends and features to
+support workgroup administration.
+
+%package devel
+Summary: Headers and libraries for GConf development
+Group: Development/Libraries
+Requires: %{name} = %{version}
+# we install an automake macro
+Requires: automake
+Requires: pkgconfig(dbus-1),
+Requires: pkgconfig(dbus-glib-1)
+Requires: pkgconfig(glib-2.0) > 2.8.0
+Requires: pkgconfig(libxml-2.0)
+
+%description devel
+GConf-dbus development package. Contains files needed for doing
+development using GConf.
+
+%package utils
+Summary: gconf-dbus system tools
+Group: System/Libraries
+Requires: %{name} = %{version}
+Requires: dbus
+
+%description utils
+GConf-dbus development package. Contains files needed for doing
+development using GConf.
+
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+%configure --disable-static --disable-gtk-doc --disable-defaults-service --disable-gtk --disable-nls --enable-system-bus
+make
+
+%install
+rm -fr %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}/usr/share/license
+install COPYING %{buildroot}/usr/share/license/%{name}
+
+%find_lang GConf2
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files utils
+%{_bindir}/gconf-merge-tree
+%{_bindir}/gconftool-2
+%manifest gconf-dbus.manifest
+
+
+%files -f GConf2.lang
+%doc COPYING
+%doc %{_datadir}/sgml/gconf/*
+%config(noreplace) %{_sysconfdir}/gconf/2/path
+%dir %{_sysconfdir}/gconf
+%dir %{_sysconfdir}/gconf/2
+%dir %{_sysconfdir}/gconf/gconf.xml.defaults
+%dir %{_sysconfdir}/gconf/gconf.xml.mandatory
+%{_libexecdir}/*
+%{_libdir}/*.so.*
+%dir %{_libdir}/GConf-dbus
+%dir %{_libdir}/GConf-dbus/2
+%{_libdir}/GConf-dbus/2/*.so
+%{_datadir}/dbus-1/services/gconf.service
+%{_sysconfdir}/dbus-1/system.d/gconfd.conf
+%manifest gconf-dbus.manifest
+/usr/share/license/%{name}
+
+%files devel
+%doc %{_datadir}/gtk-doc/html/gconf/*
+%doc %{_mandir}/man1/*
+%{_libdir}/*.so
+%{_includedir}/gconf
+%{_datadir}/aclocal/*.m4
+%{_libdir}/pkgconfig/*
+
--- /dev/null
+Name: gdb
+Version: 7.5
+Release: 0
+License: GPL-3.0+
+Summary: A GNU source-level debugger for C, C++, Java and other languages
+Url: http://gnu.org/software/gdb/
+Group: Development/Debuggers
+Source: ftp://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.bz2
+%define gdb_src gdb-%{version}
+%define gdb_build build-%{_target_platform}
+
+BuildRequires: bison
+BuildRequires: expat-devel
+BuildRequires: flex
+BuildRequires: gettext
+BuildRequires: python-devel
+BuildRequires: gcc-c++
+BuildRequires: ncurses-devel
+BuildRequires: readline-devel
+BuildRequires: rpm-devel
+BuildRequires: makeinfo
+
+%description
+GDB, the GNU debugger, allows you to debug programs written in C, C++,
+Java, and other languages, by executing them in a controlled fashion
+and printing their data.
+
+%package devel
+Summary: Development files for gdb
+Group: Development
+
+%description devel
+Development files for gdb.
+
+%package server
+Summary: A standalone server for GDB (the GNU source-level debugger)
+Group: Development/Debuggers
+
+%description server
+GDB, the GNU debugger, allows you to debug programs written in C, C++,
+Java, and other languages, by executing them in a controlled fashion
+and printing their data.
+
+This package provides a program that allows you to run GDB on a different machine than the one which is running the program being debugged.
+
+%prep
+%setup -q
+
+# Files have `# <number> <file>' statements breaking VPATH / find-debuginfo.sh .
+#rm -f gdb/ada-exp.c gdb/ada-lex.c gdb/c-exp.c gdb/cp-name-parser.c gdb/f-exp.c
+#rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
+
+# Remove the info and other generated files added by the FSF release
+# process.
+rm -f libdecnumber/gstdint.h
+rm -f bfd/doc/*.info
+rm -f bfd/doc/*.info-*
+rm -f gdb/doc/*.info
+rm -f gdb/doc/*.info-*
+
+%build
+%configure \
+ --with-gdb-datadir=%{_datadir}/gdb \
+ --enable-gdb-build-warnings=,-Wno-unused \
+ --disable-werror \
+ --with-separate-debug-dir=/usr/lib/debug \
+ --disable-sim \
+ --disable-rpath \
+ --with-system-readline \
+ --with-expat \
+ --disable-tui \
+ --enable-64-bit-bfd \
+ --enable-static --disable-shared --enable-debug \
+ %{_target_platform}
+
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+%find_lang opcodes
+%find_lang bfd
+mv opcodes.lang %{name}.lang
+cat bfd.lang >> %{name}.lang
+
+%docs_package
+
+%lang_package
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.LIB
+%{_bindir}/*
+%{_datadir}/gdb
+
+%files server
+%defattr(-,root,root)
+%{_bindir}/gdbserver
+%{_mandir}/*/gdbserver.1*
+%ifarch %{ix86} x86_64
+%{_libdir}/libinproctrace.so
+%endif
+
+%files devel
+%{_includedir}/*.h
+%{_includedir}/gdb/*.h
--- /dev/null
+%define keepstatic 1
+
+Name: gdbm
+%define lname libgdbm
+Url: http://directory.fsf.org/GNU/gdbm.html
+Version: 1.10
+Release: 0
+License: GPL-2.0+
+Summary: GNU dbm key/data database
+Group: System/Libraries
+Source: ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.gz
+Source2: baselibs.conf
+BuildRequires: libtool
+
+%description
+GNU dbm is a library of database functions that use extensible
+hashing and work similar to the standard UNIX dbm. These routines are
+provided to a programmer needing to create and manipulate a hashed
+database.
+
+The basic use of GDBM is to store key/data pairs in a data file. Each
+key must be unique and each key is paired with only one data item.
+
+The library provides primitives for storing key/data pairs, searching
+and retrieving the data by its key and deleting a key along with its
+data. It also supports sequential iteration over all key/data pairs in
+a database.
+
+For compatibility with programs using old UNIX dbm functions, the
+package also provides traditional dbm and ndbm interfaces.
+
+%package -n %lname
+License: GPL-2.0+
+Summary: GNU dbm key/data database
+Group: System/Libraries
+Obsoletes: gdbm < %{version}-%{release}
+Provides: gdbm = %{version}-%{release}
+
+%description -n %lname
+GNU dbm is a library of database functions that use extensible
+hashing and work similar to the standard UNIX dbm. These routines are
+provided to a programmer needing to create and manipulate a hashed
+database.
+
+The basic use of GDBM is to store key/data pairs in a data file. Each
+key must be unique and each key is paired with only one data item.
+
+The library provides primitives for storing key/data pairs, searching
+and retrieving the data by its key and deleting a key along with its
+data. It also supports sequential iteration over all key/data pairs in
+a database.
+
+For compatibility with programs using old UNIX dbm functions, the
+package also provides traditional dbm and ndbm interfaces.
+
+%package devel
+License: GPL-2.0+ ; LGPL-2.1+
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries/C and C++
+Requires: gdbm = %{version}
+Provides: gdbm:/usr/lib/libgdbm.so
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="%{optflags} -Wa,--noexecstack"
+%configure --enable-libgdbm-compat --disable-nls
+make %{?_smp_mflags};
+
+%install
+%make_install
+echo "/* GNU ld script
+ Use the shared library, but some functions are only in
+ the static library, so try that secondarily. */
+GROUP ( %{_libdir}/libgdbm.so %{_libdir}/libgdbm_compat.so )" > %{buildroot}/%{_libdir}/libndbm.so
+echo "/* GNU ld script
+ Use the shared library, but some functions are only in
+ the static library, so try that secondarily. */
+GROUP ( %{_libdir}/libgdbm.a %{_libdir}/libgdbm_compat.a )" > %{buildroot}/%{_libdir}/libndbm.a
+
+%post -n %lname -p /sbin/ldconfig
+
+%postun -n %lname -p /sbin/ldconfig
+
+%files -n %lname
+%defattr(-,root,root)
+%doc COPYING
+%{_libdir}/libgdbm.so.4
+%{_libdir}/libgdbm.so.4.0.0
+%{_libdir}/libgdbm_compat.so.4
+%{_libdir}/libgdbm_compat.so.4.0.0
+
+%files devel
+%defattr(-,root,root)
+%{_bindir}/testgdbm
+%{_includedir}/dbm.h
+%{_includedir}/gdbm.h
+%{_includedir}/ndbm.h
+%{_infodir}/gdbm.info.gz
+%{_libdir}/libgdbm.a
+%{_libdir}/libgdbm.so
+%{_libdir}/libgdbm_compat.a
+%{_libdir}/libgdbm_compat.so
+%{_libdir}/libndbm.a
+%{_libdir}/libndbm.so
+%{_mandir}/man3/gdbm.3.gz
+
--- /dev/null
+%define gdk_pixbuf_binary_version 2.10.0
+%bcond_with introspection
+Name: gdk-pixbuf
+Version: 2.28.1
+Release: 0
+Summary: An image loading library
+License: LGPL-2.1+
+Group: Multimedia/Image Library
+Source: http://download.gnome.org/sources/gdk-pixbuf/2.27/%{name}-%{version}.tar.xz
+Source1: macros.gdk-pixbuf
+Source98: baselibs.conf
+BuildRequires: gettext-tools
+Url: http://developer.gnome.org/
+BuildRequires: libjasper-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libtiff-devel
+BuildRequires: pkgconfig(glib-2.0) >= 2.31.0
+%if %{with introspection}
+BuildRequires: pkgconfig(gobject-introspection-1.0)
+%endif
+BuildRequires: pkgconfig(libpng)
+BuildRequires: pkgconfig(x11)
+Requires(post): gdk-pixbuf-query-loaders
+
+%description
+gdk-pixbuf is an image loading library that can be extended by loadable
+modules for new image formats. It is used by toolkits such as GTK+ or
+Clutter.
+
+%package -n typelib-GdkPixbuf
+Summary: An image loading library -- Introspection bindings
+Group: Multimedia/Image Library
+
+%description -n typelib-GdkPixbuf
+gdk-pixbuf is an image loading library that can be extended by loadable
+modules for new image formats. It is used by toolkits such as GTK+ or
+Clutter.
+
+This package provides the GObject Introspection bindings for gdk-pixbuf.
+
+%package query-loaders
+Summary: An image loading library - Utility to create loaders cache
+Group: Multimedia/Image Library
+
+%description query-loaders
+gdk-pixbuf is an image loading library that can be extended by loadable
+modules for new image formats. It is used by toolkits such as GTK+ or
+Clutter.
+
+This package contains the utility to create the cache file needed for
+loadable modules.
+
+%package devel
+Summary: An image loading library - Development Files
+Group: Development/Libraries
+Requires: gdk-pixbuf = %{version}
+%if %{with introspection}
+Requires: typelib-GdkPixbuf = %{version}
+%endif
+
+%description devel
+gdk-pixbuf is an image loading library that can be extended by loadable
+modules for new image formats. It is used by toolkits such as GTK+ or
+Clutter.
+
+This package contains development files for gdk-pixbuf.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS=`echo $RPM_OPT_FLAGS |sed -e 's/atom/i686/g'`
+%configure \
+ --disable-static \
+%if %{with introspection}
+ --enable-introspection \
+%endif
+ --with-libjasper \
+ --with-x11
+%{__make} %{?_smp_mflags}
+
+%install
+%make_install
+%find_lang %{name}
+touch %{buildroot}%{_libdir}/gdk-pixbuf-2.0/%{gdk_pixbuf_binary_version}/loaders.cache
+%if "%_lib" == "lib64"
+ mv %{buildroot}%{_bindir}/gdk-pixbuf-query-loaders %{buildroot}%{_bindir}/gdk-pixbuf-query-loaders-64
+ mv %{buildroot}%{_mandir}/man1/gdk-pixbuf-query-loaders.1 %{buildroot}%{_mandir}/man1/gdk-pixbuf-query-loaders-64.1
+%endif
+# Install rpm macros
+mkdir -p %{buildroot}%{_sysconfdir}/rpm
+cp %{S:1} %{buildroot}%{_sysconfdir}/rpm
+
+###########################################################################
+# Note: when updating scriptlets, don't forget to also update baselibs.conf
+###########################################################################
+
+# Convenient define for the scriplets
+%if "%_lib" == "lib64"
+%define _gdk_pixbuf_query_loaders %{_bindir}/gdk-pixbuf-query-loaders-64
+%else
+%define _gdk_pixbuf_query_loaders %{_bindir}/gdk-pixbuf-query-loaders
+%endif
+%define _gdk_pixbuf_query_loaders_update_cache %{_gdk_pixbuf_query_loaders} --update-cache
+
+%lang_package
+
+%post -n gdk-pixbuf
+/sbin/ldconfig
+if test -f %{_gdk_pixbuf_query_loaders}; then
+ %{_gdk_pixbuf_query_loaders_update_cache}
+fi
+
+%post query-loaders
+if [ $1 == 1 ]; then
+ test -d %{_libdir}/gdk-pixbuf-2.0/%{gdk_pixbuf_binary_version}
+ if test $? -eq 0; then
+ %{_gdk_pixbuf_query_loaders_update_cache}
+ fi
+fi
+
+%postun -n gdk-pixbuf -p /sbin/ldconfig
+
+%files -n gdk-pixbuf
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/libgdk_pixbuf-2.0.so.0*
+%{_libdir}/libgdk_pixbuf_xlib-2.0.so.0*
+%dir %{_libdir}/gdk-pixbuf-2.0
+%dir %{_libdir}/gdk-pixbuf-2.0/%{gdk_pixbuf_binary_version}
+%dir %{_libdir}/gdk-pixbuf-2.0/%{gdk_pixbuf_binary_version}/loaders
+%{_libdir}/gdk-pixbuf-2.0/%{gdk_pixbuf_binary_version}/loaders/*.so
+%ghost %{_libdir}/gdk-pixbuf-2.0/%{gdk_pixbuf_binary_version}/loaders.cache
+
+%if %{with introspection}
+%files -n typelib-GdkPixbuf
+%defattr(-,root,root)
+%{_libdir}/girepository-1.0/GdkPixbuf-2.0.typelib
+%endif
+
+%files query-loaders
+%defattr(-, root, root)
+%{_bindir}/gdk-pixbuf-query-loaders*
+%{_mandir}/man1/gdk-pixbuf-query-loaders*.1*
+
+%files devel
+%defattr(-, root, root)
+%{_bindir}/gdk-pixbuf-csource
+%{_bindir}/gdk-pixbuf-pixdata
+%{_mandir}/man1/gdk-pixbuf-csource.1*
+%{_includedir}/gdk-pixbuf-2.0
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so
+%if %{with introspection}
+%{_datadir}/gir-1.0/GdkPixbuf-2.0.gir
+%endif
+%doc %{_datadir}/gtk-doc/html/gdk-pixbuf
+%{_sysconfdir}/rpm/macros.gdk-pixbuf
--- /dev/null
+Name: geoclue
+Summary: Geoinformation service
+Version: 0.12.0_28
+Release: 0
+Group: Location/Service
+Source0: geoclue-%{version}.tar.gz
+License: GPL-2.0
+BuildRequires: which
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(gconf-2.0)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(libxslt)
+
+
+%description
+Geographic information framework GeoClue provides applications access to various geographical information
+ sources using a D-Bus API or a C library.
+ .
+ This package contains the master server for GeoClue.
+
+%package -n libgeoclue
+Summary: C API for GeoClue
+Requires: %{name} = %{version}-%{release}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description -n libgeoclue
+libgeoclue is a convenience wrapper for the GeoClue service, and
+the recommended way to use GeoClue in the C language.
+
+%package -n libgeoclue-devel
+Summary: C API for GeoClue (development files)
+Requires: libgeoclue = %{version}-%{release}
+
+%description -n libgeoclue-devel
+libgeoclue is a convenience wrapper for the GeoClue service, and
+the recommended way to use GeoClue in the C language.
+
+%package -n geoclue-nominatim
+Summary: Geocode server for GeoClue (OpenStreetMap)
+Requires: %{name} = %{version}-%{release}
+
+%description -n geoclue-nominatim
+GeoClue provides applications access to various geographical information
+sources using a D-Bus API or a C library.
+.
+This package provides a tool to search osm data by name and address and to generate synthetic addresses of osm points (reverse geocoding)
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+export CFLAGS+=" -Wall -g -fPIC"
+
+%autogen
+%configure --enable-system-bus=yes --disable-gypsy --disable-lbs --disable-xps
+
+make
+
+%install
+%make_install
+rm -rf %{buildroot}/usr/bin/geoclue-test-gui
+
+
+%post -n libgeoclue -p /sbin/ldconfig
+
+%postun -n libgeoclue -p /sbin/ldconfig
+
+%files
+/usr/libexec/geoclue-master
+/usr/share/dbus-1/services/org.freedesktop.Geoclue.Master.service
+
+%files -n libgeoclue
+%manifest libgeoclue.manifest
+%{_libdir}/libgeoclue.so*
+
+%files -n libgeoclue-devel
+/usr/include/*
+%{_libdir}/pkgconfig/*
+
+%files -n geoclue-nominatim
+/usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Nominatim.service
+/usr/share/geoclue-providers/geoclue-nominatim.provider
+/usr/libexec/geoclue-nominatim
--- /dev/null
+Name: capi-location-geocoder
+Summary: A Geocoder library in Tizen Native API
+Version: 0.1.2
+Release: 1
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(location)
+BuildRequires: pkgconfig(capi-base-common)
+
+%description
+A Geocoder library in Tizen Native API.
+
+
+%package devel
+Summary: A Geocoder library in Tizen Native API (Development)
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+A Geocoder library in Tizen Native API (Development).
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE
+%{_libdir}/libcapi-location-geocoder.so*
+%manifest capi-location-geocoder.manifest
+
+%files devel
+%{_includedir}/location/geocoder.h
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+# The split of gettext into two packages is suggested by upstream (see
+# the PACKAGING file). Here we name gettext-runtime as
+# gettext-lib. Please be noted that gettext-runtime is LGPL while the
+# others parts are of GPL. You should be careful of the license when
+# adding files into these sub-packages.
+
+
+%define enable_testing 0
+
+Name: gettext
+Version: 0.18.1.1
+Release: 2
+License: GPLv3+ and LGPLv2+
+Summary: GNU libraries and utilities for producing multi-lingual messages
+Url: http://www.gnu.org/software/gettext/
+Group: Development/Tools
+Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.bz2
+Source2: msghack.py
+Source1001: packaging/gettext.manifest
+
+BuildRequires: autoconf >= 2.5
+BuildRequires: bison
+# need expat for xgettext on glade
+BuildRequires: expat-devel
+BuildRequires: gcc-c++
+BuildRequires: libtool
+#needed for ANSI to UTF8 conversion using msgconn
+BuildRequires: libunistring
+
+%description
+The GNU gettext package provides a set of tools and documentation for
+producing multi-lingual messages in programs. Tools include a set of
+conventions about how programs should be written to support message
+catalogs, a directory and file naming organization for the message
+catalogs, a runtime library which supports the retrieval of translated
+messages, and stand-alone programs for handling the translatable and
+the already translated strings. Gettext provides an easy to use
+library and tools for creating, using, and modifying natural language
+catalogs and is a powerful and simple method for internationalizing
+programs.
+
+MeeGo's gettext is split into two packages: gettext-libs and
+gettext-devel. gettext-libs is an LGPLv2+ package that contains
+libraries and runtime needed by i18n programs; gettext-devel is used
+only for development and building -- and shouldn't be needed by end
+users. This gettext package is a meta-package that depends on
+gettext-devel for transition.
+
+%package tools
+License: GPL-3.0+
+Summary: Development files for %{name}
+Group: Development/Tools
+Requires: %{name}-runtime = %{version}
+Obsoletes: gettext-devel <= 0.18.1.1-1.15
+Provides: gettext-devel
+
+%description tools
+This package contains all development related files necessary for
+developing or compiling applications/libraries that needs
+internationalization capability. You also need this package if you
+want to add gettext support for your project.
+
+%package runtime
+License: LGPL-2.0+
+Summary: Libraries for %{name}
+Group: System/Libraries
+Obsoletes: gettext-libs <= 0.18.1.1-1.15
+Provides: gettext-libs
+
+%description runtime
+This package contains libraries used internationalization support.
+
+%prep
+%setup -q
+
+
+%build
+cp %{SOURCE1001} .
+[ -f %{_datadir}/automake/depcomp ] && cp -f %{_datadir}/automake/{depcomp,ylwrap} .
+
+%ifarch %arm
+# We add a compile flag for ARM to deal with a bug in qemu (msgmerge using pthread/gomp)
+# msgmerge will lockup during execution.
+%define addconfflag --without-libpth-prefix --disable-openmp
+%else
+%endif
+
+%reconfigure --without-included-gettext --enable-nls --disable-static \
+ --enable-shared --with-pic-=yes --disable-csharp --without-libpth-prefix --disable-openmp
+make %{?_smp_mflags} GCJFLAGS="-findirect-dispatch"
+
+%check
+make check
+
+%install
+make install DESTDIR=%{buildroot} INSTALL="install -p" \
+ lispdir=%{_datadir}/emacs/site-lisp \
+ aclocaldir=%{_datadir}/aclocal EXAMPLESFILES=""
+
+install -pm 755 %{SOURCE2} %{buildroot}%{_bindir}/msghack
+
+# make preloadable_libintl.so executable
+chmod 755 %{buildroot}%{_libdir}/preloadable_libintl.so
+
+rm -f %{buildroot}%{_infodir}/dir
+
+# doc relocations
+for i in gettext-runtime/man/*.html; do
+ rm %{buildroot}%{_datadir}/doc/gettext/`basename $i`
+done
+rm -r %{buildroot}%{_datadir}/doc/gettext/javadoc*
+
+rm -rf %{buildroot}%{_datadir}/doc/gettext/examples
+
+rm -rf htmldoc
+mkdir htmldoc
+mv %{buildroot}%{_datadir}/doc/gettext/* %{buildroot}%{_datadir}/doc/libasprintf/* htmldoc
+rm -r %{buildroot}%{_datadir}/doc/libasprintf
+rm -r %{buildroot}%{_datadir}/doc/gettext
+
+# remove unpackaged files from the buildroot
+rm -rf %{buildroot}%{_datadir}/emacs
+rm %{buildroot}%{_libdir}/lib*.la
+
+
+%find_lang %{name}-runtime
+%find_lang %{name}-tools
+cat %{name}-*.lang > %{name}.lang
+
+%docs_package
+
+%post runtime -p /sbin/ldconfig
+
+%postun runtime -p /sbin/ldconfig
+
+
+%files tools -f %{name}.lang
+%manifest gettext.manifest
+%defattr(-,root,root,-)
+%doc COPYING
+%{_datadir}/%{name}/projects/*
+%{_datadir}/%{name}/config.rpath
+%{_datadir}/%{name}/*.h
+%{_datadir}/%{name}/intl
+%{_datadir}/%{name}/po
+%{_datadir}/%{name}/msgunfmt.tcl
+%{_datadir}/aclocal/*
+%{_includedir}/*
+%{_libdir}/libasprintf.so
+%{_libdir}/libgettextpo.so
+%{_libdir}/libgettextlib*.so
+%{_libdir}/libgettextsrc*.so
+%{_libdir}/preloadable_libintl.so
+%{_libdir}/gettext/hostname
+%{_libdir}/gettext/project-id
+%{_libdir}/gettext/urlget
+%{_libdir}/gettext/user-email
+%{_libdir}/libgettextpo.so.*
+%{_datadir}/%{name}/javaversion.class
+%{_datadir}/%{name}/archive*.tar.gz
+%{_datadir}/%{name}/styles
+%{_bindir}/autopoint
+%{_bindir}/gettextize
+%{_bindir}/msgattrib
+%{_bindir}/msgcat
+%{_bindir}/msgcmp
+%{_bindir}/msgcomm
+%{_bindir}/msgconv
+%{_bindir}/msgen
+%{_bindir}/msgexec
+%{_bindir}/msgfilter
+%{_bindir}/msgfmt
+%{_bindir}/msggrep
+%{_bindir}/msghack
+%{_bindir}/msginit
+%{_bindir}/msgmerge
+%{_bindir}/msgunfmt
+%{_bindir}/msguniq
+%{_bindir}/recode-sr-latin
+%{_bindir}/xgettext
+
+# Don't include language files here since that may inadvertently
+# involve unneeded files. If you need to include a file in -libs, list
+# it here explicitly
+%files runtime
+%manifest gettext.manifest
+%defattr(-,root,root,-)
+# Files listed here should be of LGPL license only, refer to upstream
+# statement in PACKAGING file
+%doc gettext-runtime/intl/COPYING*
+%doc %{_datadir}/gettext/ABOUT-NLS
+%{_bindir}/gettext
+%{_bindir}/ngettext
+%{_bindir}/envsubst
+%{_bindir}/gettext.sh
+%{_libdir}/libasprintf.so.*
--- /dev/null
+Name: giflib
+Version: 4.1.6
+Release: 9
+License: MIT
+Summary: Library for manipulating GIF format image files
+Url: http://sourceforge.net/projects/giflib/
+Group: System/Libraries
+Source0: http://downloads.sourceforge.net/giflib/%{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig(ice)
+BuildRequires: pkgconfig(sm)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xv)
+
+%description
+The giflib package contains a shared library of functions for
+loading and saving GIF format image files. It is API and ABI compatible
+with libungif, the library which supported uncompressed GIFs while the
+Unisys LZW patent was in effect.
+
+Install the giflib package if you need to write programs that use GIF files.
+You should also install the giflib-utils package if you need some simple
+utilities to manipulate GIFs.
+
+%package devel
+Summary: Development tools for programs which will use the libungif library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+This package contains the static libraries, header files and
+documentation necessary for development of programs that will use the
+giflib library to load and save GIF format image files.
+
+You should install this package if you need to develop programs which
+will use giflib library functions. You'll also need to install the
+giflib package.
+
+%package utils
+Summary: Programs for manipulating GIF format image files
+Group: Applications/Multimedia
+Requires: %{name} = %{version}
+
+%description utils
+The giflib-utils package contains various programs for manipulating
+GIF format image files.
+
+Install this package if you need to manipulate GIF format image files.
+You'll also need to install the giflib package.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags} all
+
+MAJOR=`echo '%{version}' | sed 's/\([0-9]\+\)\..*/\1/'`
+gcc %{optflags} -shared -Wl,-soname,libungif.so.$MAJOR -Llib/.libs -lgif -o libungif.so.%{version}
+
+%install
+%make_install
+
+install -m 0755 -p libungif.so.%{version} %{buildroot}%{_libdir}
+ln -sf libungif.so.%{version} %{buildroot}%{_libdir}/libungif.so.4
+ln -sf libungif.so.4 %{buildroot}%{_libdir}/libungif.so
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%{_libdir}/lib*.so.*
+
+%files devel
+%{_libdir}/lib*.so
+%{_includedir}/*.h
+
+%files utils
+%{_bindir}/*
--- /dev/null
+%define gitexecdir %{_libexecdir}/git
+
+Name: git
+Version: 1.8.1.3
+Release: 0
+License: GPL-2.0
+Summary: Fast, scalable, distributed revision control system
+Url: http://git-scm.com
+Group: Development/Tools
+Source: %{name}-%{version}.tar.gz
+BuildRequires: asciidoc
+BuildRequires: curl
+BuildRequires: expat-devel
+BuildRequires: fdupes
+BuildRequires: gettext-tools
+BuildRequires: libcurl-devel
+BuildRequires: libopenssl-devel
+BuildRequires: perl-Error
+BuildRequires: python
+BuildRequires: xmlto
+Requires: git-core = %{version}
+
+%description
+Git is a fast, scalable, distributed revision control system with an
+unusually rich command set that provides both high-level operations and
+full access to internals.
+
+This package itself only provides the README of git but with the
+packages it requires, it brings you a complete Git environment
+including GTK and email interfaces and tools for importing source code
+repositories from other revision control systems such as subversion,
+CVS, and GNU arch.
+
+%package core
+Summary: Core git tools
+Group: Development/Tools
+Requires: less
+Requires: openssh
+Requires: perl-Error
+Requires: perl = %{perl_version}
+Requires: rsync
+
+%description core
+Git is a fast, scalable, distributed revision control system with an
+unusually rich command set that provides both high-level operations and
+full access to internals.
+
+These are the core tools with minimal dependencies.
+
+%package svn
+Summary: Git tools for importing Subversion repositories
+Group: Development/Tools
+Requires: git-core = %{version}
+Requires: subversion
+Requires: subversion-perl
+
+%description svn
+Tools for importing Subversion repositories to the Git version control
+system.
+
+%package cvs
+Summary: Git tools for importing CVS repositories
+Group: Development/Tools
+Requires: cvs
+Requires: cvsps
+Requires: git-core = %{version}
+Requires: perl-DBD-SQLite
+
+%description cvs
+Tools for importing CVS repositories to the Git version control system.
+
+%package arch
+Summary: Git tools for importing Arch repositories
+Group: Development/Tools
+Requires: git-core = %{version}
+# Requires: tla
+
+%description arch
+Tools for importing GNU Arch repositories to the GIT version control
+system.
+
+%package email
+Summary: Git tools for sending email
+Group: Development/Tools
+Requires: git-core = %{version}
+# For sending mails over secure SMTP:
+Recommends: perl-Authen-SASL
+Recommends: perl-Net-SMTP-SSL
+
+%description email
+Email interface for the GIT version control system.
+
+%package daemon
+Summary: Simple Server for Git Repositories
+Group: Development/Tools
+Requires(pre): /usr/sbin/useradd
+Requires: git-core = %{version}
+
+%description daemon
+A really simple TCP git daemon. In the default configuration it allows
+read only access to repositories in /srv/git/ that contain the
+'git-daemon-export-ok' file.
+%package -n gitk
+Summary: Git revision tree visualiser
+Group: Development/Tools
+Requires: git-core = %{version}
+Requires: tk >= 8.4
+Supplements: packageand(git-core:tk)
+
+%description -n gitk
+Grapical tool for visualization of revision trees of projects
+maintained in the Git version control system. It name gitk indicates
+that it's written using the Tk Widget set.
+
+A simple Tk based graphical interface for common Git operations is
+found in the package git-gui.
+
+%package gui
+Summary: Grapical tool for common git operations
+Group: Development/Tools
+Requires: git-core = %{version}
+Requires: tk >= 8.4
+Supplements: packageand(git-core:tk)
+
+%description gui
+A Tcl/Tk based graphical user interface to Git. git-gui focuses on
+allowing users to make changes to their repository by making new
+commits, amending existing ones, creating branches, performing local
+merges, and fetching/pushing to remote repositories.
+
+Unlike gitk, git-gui focuses on commit generation and single file
+annotation, and does not show project history. It does however supply
+menu actions to start a gitk session from within git-gui.
+
+%package web
+Summary: Git Web Interface
+Group: Development/Tools
+Requires: git-core = %{version}
+Supplements: packageand(git-core:apache2)
+
+%description web
+CGI script that allows browsing git repositories via web interface.
+
+The apache2 configuration contained in this package installs a virtual
+directory /git/ that calls the cgi script.
+
+%package remote-helpers
+Summary: Python package for remote helper scripts
+Group: Development/Tools
+Requires: git-core = %{version}
+Requires: python
+
+%description remote-helpers
+This package contains the building blocks for remote helpers written in Python.
+
+%prep
+%setup -q
+
+%build
+cat > .make <<'EOF'
+#!/bin/bash
+make %{?_smp_mflags} CFLAGS="%{optflags}" \
+ GITWEB_CONFIG="/etc/gitweb.conf" \
+ GITWEB_PROJECTROOT="/srv/git" \
+ WITH_OWN_SUBPROCESS_PY=YesPlease \
+ DESTDIR=%{buildroot} \
+ NO_CROSS_DIRECTORY_HARDLINKS=1 \
+ V=1 \
+ prefix=%{_prefix} mandir=%{_mandir} \
+ gitexecdir=%{gitexecdir} \
+ htmldir=%{_docdir}/git-core \
+ "$@"
+EOF
+#
+chmod 755 .make
+./.make all %{?_smp_mflags}
+./.make doc
+
+%check
+make %{?_smp_mflags} test
+
+%install
+./.make install install-doc
+###
+(find %{buildroot}%{_bindir} -type f | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^%{buildroot}@@) > bin-man-doc-files
+(find %{buildroot}%{gitexecdir} -mindepth 1 | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^%{buildroot}@@) >> bin-man-doc-files
+(find %{buildroot}%{_mandir} %{buildroot}/Documentation -type f | grep -vE "archimport|svn|git-cvs|email|gitk|daemon|gui" | sed -e s@^%{buildroot}@@ -e 's/$/*/' ) >> bin-man-doc-files
+( pushd perl
+ perl Makefile.PL
+ make -f perl.mak DESTDIR=%{buildroot} install_vendor
+)
+rm -rf %{buildroot}/usr/lib/perl5/site_perl
+%perl_process_packlist
+find %{buildroot}/%{_mandir} -type f -print0 | xargs -0 chmod 644
+find %{buildroot}/%python_sitelib/ -type f -name *.pyc -print0 | xargs -0 rm
+install -m 644 -D contrib/completion/git-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/git.sh
+sed -i "s#$RPM_BUILD_ROOT##g" %{buildroot}/%{gitexecdir}/git-remote-testgit
+%find_lang %{name}
+cat %{name}.lang >>bin-man-doc-files
+# use symlinks instead of hardlinks in sub-commands
+
+
+rm -rf %{buildroot}/%{_datadir}/gitweb
+rm -rf %{buildroot}/Documentation/*.html
+rm -rf %{buildroot}/Documentation/*.txt
+
+%fdupes -s %{buildroot}
+
+
+%files
+%doc README
+
+%files svn
+%{gitexecdir}/*svn*
+%{_mandir}/man1/*svn*.1*
+
+%files cvs
+%{_bindir}/git-cvs*
+%{gitexecdir}/*cvs*
+%{_mandir}/man1/*cvs*.1*
+
+%files arch
+%{gitexecdir}/git-archimport
+%{_mandir}/man1/git-archimport.1*
+
+%files email
+%{gitexecdir}/*email*
+%{_mandir}/man1/*email*.1*
+
+%files daemon
+%{gitexecdir}/*daemon*
+%{_mandir}/man1/*daemon*.1*
+
+%files -n gitk
+%{_bindir}/gitk
+%{_datadir}/gitk
+%{_mandir}/man1/*gitk*.1*
+
+%files gui
+%{gitexecdir}/git-gui*
+%{_datadir}/git-gui
+%{_mandir}/man1/*gui*.1*
+
+%files remote-helpers
+%python_sitelib/*
+
+%files core -f bin-man-doc-files
+%license COPYING
+%{_bindir}/git
+%{_datadir}/git-core/
+%dir %{gitexecdir}
+%{perl_vendorlib}/Git.pm
+%{perl_vendorlib}/Git/
+%{perl_vendorlib}/Git/*.pm
+%{perl_vendorarch}/auto/Git/
+%attr(0644, root, root) %{_sysconfdir}/bash_completion.d/git.sh
+
+%changelog
--- /dev/null
+%bcond_with libproxy
+Name: glib-networking
+Version: 2.36.2
+Release: 0
+License: LGPL-2.1+
+Summary: Network-related GIO modules for glib
+Group: System/Libraries
+Source: http://download.gnome.org/sources/glib-networking/2.35/%{name}-%{version}.tar.xz
+Source99: baselibs.conf
+Url: http://www.gnome.org
+BuildRequires: intltool
+BuildRequires: libgcrypt-devel
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(gio-2.0) >= 2.31.6
+BuildRequires: pkgconfig(gnutls) >= 2.11.0
+BuildRequires: pkgconfig(p11-kit-1) >= 0.8
+%if %{with libproxy}
+BuildRequires: pkgconfig(libproxy-1.0)
+%endif
+
+%description
+This package contains network-related GIO modules for glib.
+
+Currently, there is only a proxy module based on libproxy.
+
+%lang_package
+
+%prep
+%setup -q
+
+%build
+NOCONFIGURE=1 ./autogen.sh
+%configure \
+ --disable-static \
+%if %{with libproxy}
+ --with-libproxy \
+%endif
+ --with-ca-certificates=/etc/ssl/ca-bundle.pem
+make %{?_smp_mflags} V=1
+
+%install
+%make_install
+%find_lang %{name}
+
+%post
+%glib2_gio_module_post
+
+%postun
+%glib2_gio_module_postun
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/gio/modules/libgiognutls.so
+
+%if %{with libproxy}
+%{_libdir}/gio/modules/libgiolibproxy.so
+%{_libexecdir}/glib-pacrunner
+%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
+%endif
+
+
+%changelog
--- /dev/null
+%define with_systemtap 0
+%define keepstatic 1
+
+Name: glib2
+Version: 2.36.1
+Release: 0
+# FIXME: find out if tapsets should really be in devel package or in main package
+Summary: General-Purpose Utility Library
+License: LGPL-2.1+
+Group: System/Libraries
+Url: http://www.gtk.org/
+Source: http://download.gnome.org/sources/glib/2.32/%{name}-%{version}.tar.xz
+Source1: glib2.sh
+Source2: glib2.csh
+# Not upstream file. Only proposes upstream packages:
+Source4: glib2-upstream-gnome_defaults.conf
+Source6: macros.glib2
+# Not depending on gtk-doc shortens bootstrap compilation path.
+# Please update this file from the latest gtk-doc package:
+Source7: gtk-doc.m4
+Source99: baselibs.conf
+BuildRequires: automake
+BuildRequires: fdupes
+BuildRequires: gcc-c++
+BuildRequires: pkg-config
+BuildRequires: python
+BuildRequires: gettext-tools
+# gdbus-codegen is run during the build, so we need python-xml
+BuildRequires: python-xml
+%if 0%{?with_systemtap}
+BuildRequires: systemtap-sdt-devel
+%endif
+# Needed for gresource
+BuildRequires: pkgconfig(libelf) >= 0.8.12
+BuildRequires: pkgconfig(libffi)
+BuildRequires: pkgconfig(libpcre)
+BuildRequires: pkgconfig(zlib)
+
+%description
+GLib is a general-purpose utility library, which provides many useful
+data types, macros, type conversions, string utilities, file utilities,
+a main loop abstraction, and so on.
+
+%package tools
+Summary: General-Purpose Utility Library -- Tools
+Group: Development/Libraries
+
+%description tools
+GLib is a general-purpose utility library, which provides many useful
+data types, macros, type conversions, string utilities, file utilities,
+a main loop abstraction, and so on.
+
+%package -n gio-branding-upstream
+Summary: Upstream definitions of default settings and applications
+Group: System/Libraries
+Requires: libgio = %{version}
+Provides: %{name}-branding-upstream = %{version}
+Obsoletes: %{name}-branding-upstream < %{version}
+Provides: gio-branding = %{version}
+Conflicts: otherproviders(gio-branding)
+Supplements: packageand(libgio:branding-upstream)
+BuildArch: noarch
+#BRAND: The /etc/gnome_defaults.conf allows to define arbitrary
+#BRAND: applications as preferred defaults.
+#BRAND: A /usr/share/glib-2.0/schemas/$NAME.gschema.override file can
+#BRAND: be used to override the default value for GSettings keys. See
+#BRAND: README.Gsettings-overrides for more details. The branding
+#BRAND: package should then have proper Requires for features changed
+#BRAND: with such an override file.
+# NOTE: gnome_defaults is not an upstream feature, but a SuSE
+# enhancement, but to conform branding conventions, the package is named
+# as gio-branding-upstream.
+
+%description -n gio-branding-upstream
+This package provides upstream defaults for settings stored with
+GSettings and applications used by the MIME system.
+
+%package devel
+#'
+Requires: %{name} = %{version}
+Requires: glibc-devel
+Requires: pkg-config
+# Now require the subpackages too
+Requires: glib2-tools = %{version}
+Requires: libgio = %{version}
+Requires: libglib = %{version}
+Requires: libgmodule = %{version}
+Requires: libgobject = %{version}
+Requires: libgthread = %{version}
+# Required by gdbus-codegen
+Requires: python-xml
+Provides: glib2-doc = 2.19.6
+Obsoletes: glib2-doc < 2.19.6
+Summary: General-Purpose Utility Library -- Development Files
+Group: Development/Libraries
+
+%description devel
+GLib is a general-purpose utility library, which provides many useful
+data types, macros, type conversions, string utilities, file utilities,
+a main loop abstraction, and so on.
+
+This package contains the development files for GLib.
+
+%package devel-static
+Requires: %{name}-devel = %{version}
+Summary: General-Purpose Utility Library -- Static Libraries
+Group: Development/Libraries
+
+%description devel-static
+GLib is a general-purpose utility library, which provides many useful
+data types, macros, type conversions, string utilities, file utilities,
+a main loop abstraction, and so on.
+
+This package contains static versions of the GLib libraries.
+
+%package -n libglib
+Summary: General-Purpose Utility Library
+Group: System/Libraries
+Provides: %{name} = %{version}
+Obsoletes: %{name} < %{version}
+
+%description -n libglib
+GLib is a general-purpose utility library, which provides many useful
+data types, macros, type conversions, string utilities, file utilities,
+a main loop abstraction, and so on.
+
+%package -n libgmodule
+Summary: General-Purpose Utility Library -- Library for Modules
+Group: System/Libraries
+
+%description -n libgmodule
+GLib is a general-purpose utility library, which provides many useful
+data types, macros, type conversions, string utilities, file utilities,
+a main loop abstraction, and so on.
+
+The libgmodule library provides a portable way to dynamically load
+object files (commonly known as 'plug-ins').
+
+%package -n libgio
+Summary: General-Purpose Utility Library -- Library for VFS
+Group: System/Libraries
+Requires: gio-branding = %{version}
+# bnc#555605: shared-mime-info is required by libgio to properly detect mime types.
+Requires: shared-mime-info
+# bnc#678518: libgio interacts with others by means of dbus-launch
+#Requires: dbus-1-x11
+Provides: gio = %{version}
+
+%description -n libgio
+GLib is a general-purpose utility library, which provides many useful
+data types, macros, type conversions, string utilities, file utilities,
+a main loop abstraction, and so on.
+
+GIO provides a modern, easy-to-use VFS API.
+
+
+%package -n libgthread
+Summary: General-Purpose Utility Library -- Library for Threads
+Group: System/Libraries
+
+%description -n libgthread
+GLib is a general-purpose utility library, which provides many useful
+data types, macros, type conversions, string utilities, file utilities,
+a main loop abstraction, and so on.
+
+The libgthread library provides a portable way to write multi-threaded
+software.
+
+%package -n libgobject
+Summary: General-Purpose Utility Library -- Object-Oriented Framework for C
+Group: System/Libraries
+
+%description -n libgobject
+GLib is a general-purpose utility library, which provides many useful
+data types, macros, type conversions, string utilities, file utilities,
+a main loop abstraction, and so on.
+
+The GObject library provides an object-oriented framework for C.
+
+%prep
+%setup -q -n %{name}-%{version}
+cp -a %{S:1} %{S:2} .
+cp -a %{S:4} gnome_defaults.conf
+if ! test -f %{_datadir}/aclocal/gtk-doc.m4 ; then
+ cp -a %{S:7} m4macros/
+fi
+
+%build
+NOCONFIGURE=1 ./autogen.sh
+%configure \
+ --enable-static \
+%if 0%{?with_systemtap}
+ --enable-systemtap \
+%endif
+ --with-pcre=system
+
+%{__make} %{?_smp_mflags} V=1
+
+
+%install
+%make_install
+%find_lang glib20 %{?no_lang_C}
+
+mkdir -p %{buildroot}%{_sysconfdir}/profile.d
+install -D -m0644 glib2.sh %{buildroot}%{_sysconfdir}/profile.d/zzz-glib2.sh
+install -D -m0644 glib2.csh %{buildroot}%{_sysconfdir}/profile.d/zzz-glib2.csh
+install -D -m0644 gnome_defaults.conf %{buildroot}%{_sysconfdir}/gnome_defaults.conf
+# default apps magic
+mkdir -p %{buildroot}%{_localstatedir}/cache/gio-2.0 %{buildroot}%{_datadir}/applications
+touch %{buildroot}%{_localstatedir}/cache/gio-2.0/gnome-defaults.list
+touch %{buildroot}%{_localstatedir}/cache/gio-2.0/xfce-defaults.list
+touch %{buildroot}%{_localstatedir}/cache/gio-2.0/lxde-defaults.list
+ln -s %{_localstatedir}/cache/gio-2.0/gnome-defaults.list %{buildroot}%{_datadir}/applications/defaults.list
+# gio-querymodules magic
+%if "%{_lib}" == "lib64"
+mv %{buildroot}%{_bindir}/gio-querymodules %{buildroot}%{_bindir}/gio-querymodules-64
+%endif
+touch %{buildroot}%{_libdir}/gio/modules/giomodule.cache
+# gsettings magic
+touch %{buildroot}%{_datadir}/glib-2.0/schemas/gschemas.compiled
+# remove files we don't care about
+find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
+# Install rpm macros
+mkdir -p %{buildroot}%{_sysconfdir}/rpm
+cp %{S:6} %{buildroot}%{_sysconfdir}/rpm
+%fdupes %{buildroot}
+
+
+%post -n libglib -p /sbin/ldconfig
+
+%post -n libgobject -p /sbin/ldconfig
+
+%post -n libgthread -p /sbin/ldconfig
+
+%post -n libgio -p /sbin/ldconfig
+
+%post -n libgmodule -p /sbin/ldconfig
+
+%postun -n libglib -p /sbin/ldconfig
+
+%postun -n libgobject -p /sbin/ldconfig
+
+%postun -n libgthread -p /sbin/ldconfig
+
+%postun -n libgio -p /sbin/ldconfig
+
+%postun -n libgmodule -p /sbin/ldconfig
+
+
+%files tools
+%defattr(-,root,root)
+%dir %{_datadir}/bash-completion
+%dir %{_datadir}/bash-completion/completions
+%{_datadir}/bash-completion/completions/gresource
+%{_datadir}/bash-completion/completions/gsettings
+%{_bindir}/gdbus
+%{_bindir}/gio-querymodules*
+%{_bindir}/glib-compile-schemas
+%{_bindir}/gresource
+%{_bindir}/gsettings
+# We put those files here, but they don't really belong here. They just don't
+# have a better home... The zzz-glib2 scripts could arguably be in
+# libglib but that would break the shared library policy.
+%{_sysconfdir}/profile.d/zzz-glib2.*
+
+%files -n gio-branding-upstream
+%defattr(-,root,root)
+%config (noreplace) %{_sysconfdir}/gnome_defaults.conf
+
+%files -n libglib
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/libglib*.so.*
+
+%files -n libgmodule
+%defattr(-, root, root)
+%{_libdir}/libgmodule*.so.*
+
+%files -n libgobject
+%defattr(-, root, root)
+%{_libdir}/libgobject*.so.*
+
+%files -n libgthread
+%defattr(-, root, root)
+%{_libdir}/libgthread*.so.*
+
+%files -n libgio
+%defattr(-, root, root)
+%{_libdir}/libgio*.so.*
+%dir %{_libdir}/gio
+%dir %{_libdir}/gio/modules
+%ghost %{_libdir}/gio/modules/giomodule.cache
+%dir %{_datadir}/glib-2.0/
+%dir %{_datadir}/glib-2.0/schemas/
+%ghost %{_datadir}/glib-2.0/schemas/gschemas.compiled
+%{_datadir}/applications/defaults.list
+%dir %{_localstatedir}/cache/gio-2.0
+%ghost %{_localstatedir}/cache/gio-2.0/gnome-defaults.list
+%ghost %{_localstatedir}/cache/gio-2.0/xfce-defaults.list
+%ghost %{_localstatedir}/cache/gio-2.0/lxde-defaults.list
+
+
+%lang_package -f glib20
+
+%docs_package
+
+%files devel
+%defattr(-,root,root)
+
+%{_bindir}/gdbus-codegen
+%{_datadir}/bash-completion/completions/*
+%_datadir/glib-2.0/codegen
+
+%{_bindir}/glib-compile-resources
+%{_bindir}/glib-genmarshal
+%{_bindir}/glib-gettextize
+%{_bindir}/glib-mkenums
+%{_bindir}/gobject-query
+%{_bindir}/gtester
+%{_bindir}/gtester-report
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/glib-2.0.m4
+%{_datadir}/aclocal/glib-gettext.m4
+%{_datadir}/aclocal/gsettings.m4
+%dir %{_datadir}/glib-2.0/
+%{_datadir}/glib-2.0/gdb/
+%{_datadir}/glib-2.0/gettext/
+%{_datadir}/glib-2.0/schemas/gschema.dtd
+%{_includedir}/glib-2.0
+%{_includedir}/gio-unix-2.0
+%{_libdir}/lib*.so
+%dir %{_libdir}/glib-2.0/
+%{_libdir}/glib-2.0/include/
+%{_libdir}/pkgconfig/*.pc
+%{_datadir}/gdb/auto-load/%{_libdir}/*-gdb.py
+%if 0%{?with_systemtap}
+%{_datadir}/systemtap/tapset/*.stp
+%endif
+%{_sysconfdir}/rpm/macros.glib2
+# Own these directories to not depend on gdb
+%dir %{_datadir}/gdb
+%dir %{_datadir}/gdb/auto-load
+%dir %{_datadir}/gdb/auto-load%{_prefix}
+%dir %{_datadir}/gdb/auto-load%{_libdir}
+
+%files devel-static
+%defattr(-,root,root)
+%{_libdir}/lib*.a
+
+%changelog
--- /dev/null
+#
+# spec file for package glibc
+#
+# Copyright (c) 2012 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.
+
+#
+
+# Run with osc --with=fast_build to have a shorter turnaround
+# It will avoid building some parts of glibc
+%bcond_with fast_build
+
+%define crypt_bf_version 1.2
+
+Name: glibc
+%define testsuite_build ("%{name}" == "glibc-testsuite")
+Summary: Standard Shared Libraries (from the GNU C Library)
+License: LGPL-2.1+ and SUSE-LGPL-2.1+-with-GCC-exception and GPL-2.0+
+Group: Base/Libraries
+BuildRequires: fdupes
+BuildRequires: makeinfo
+BuildRequires: xz
+BuildRequires: gcc-c++
+BuildRequires: gettext-tools
+BuildRequires: libstdc++-devel
+#BuildRequires: pkgconfig(systemd)
+
+%define _filter_GLIBC_PRIVATE 1
+%if %_target_cpu == "i686"
+# For i686 let's only build what's different from i586, so
+# no need to build documentation
+%define build_profile 1
+%define build_locales 1
+%define build_html 0
+%else
+%if %{with fast_build}
+%define build_profile 0
+%define build_locales 0
+%define build_html 0
+%else
+# Default:
+%define build_profile 1
+%define build_locales 1
+%define build_html 1
+%endif
+%endif
+
+%define disable_assert 0
+%define enable_stackguard_randomization 1
+
+
+%ifarch x86_64
+%define enablekernel 2.6.16
+%else
+%define enablekernel 2.6.16
+%endif
+Conflicts: kernel < %{enablekernel}
+%ifarch armv7l armv7hl
+# The old runtime linker link gets not provided by rpm find.provides, but it exists
+Provides: ld-linux.so.3
+Provides: ld-linux.so.3(GLIBC_2.4)
+%endif
+Version: 2.17
+Release: 0
+%define glibc_major_version 2.17
+%define git_id c758a6861537
+Url: http://www.gnu.org/software/libc/libc.html
+Source: glibc-%{version}.tar.xz
+Source5: nsswitch.conf
+Source7: bindresvport.blacklist
+Source8: glibc_post_upgrade.c
+Source9: glibc.rpmlintrc
+Source10: baselibs.conf
+# For systemd
+Source20: nscd.conf
+Source21: nscd.service
+
+Requires(pre): filesystem
+Provides: rtld(GNU_HASH)
+
+%description
+The GNU C Library provides the most important standard libraries used
+by nearly all programs: the standard C library, the standard math
+library, and the POSIX thread library. A system is not functional
+without these libraries.
+
+%package info
+Summary: Info Files for the GNU C Library
+License: GFDL-1.1
+Group: Documentation
+BuildArch: noarch
+
+%description info
+This package contains the documentation for the GNU C library stored as
+info files. Due to a lack of resources, this documentation is not
+complete and is partially out of date.
+
+%package html
+Summary: HTML Documentation for the GNU C Library
+License: GFDL-1.1
+Group: Documentation
+BuildArch: noarch
+
+%description html
+This package contains the HTML documentation for the GNU C library. Due
+to a lack of resources, this documentation is not complete and is
+partially out of date.
+
+%package i18ndata
+Summary: Database Sources for 'locale'
+License: GPL-2.0+ and MIT
+Group: Base/Libraries
+BuildArch: noarch
+
+%description i18ndata
+This package contains the data needed to build the locale data files to
+use the internationalization features of the GNU libc. It is normally
+not necessary to install this packages, the data files are already
+created.
+
+%package locale
+Summary: Locale Data for Localized Programs
+License: GPL-2.0+ and MIT and LGPL-2.1+
+Group: Base/Libraries
+Requires(post): /usr/bin/cat
+Requires: glibc = %{version}
+
+%description locale
+Locale data for the internationalisation features of the GNU C library.
+
+%package -n nscd
+Summary: Name Service Caching Daemon
+License: GPL-2.0+
+Group: System/Services
+Provides: glibc:/usr/sbin/nscd
+Requires: glibc = %{version}
+
+%description -n nscd
+Nscd caches name service lookups and can dramatically improve
+performance with NIS, NIS+, and LDAP.
+
+%package profile
+Summary: Libc Profiling and Debugging Versions
+License: LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
+Group: Development/Libraries
+Requires: glibc = %{version}
+
+%description profile
+This package contains special versions of the GNU C library which are
+necessary for profiling and debugging.
+
+%package devel
+Summary: Include Files and Libraries Mandatory for Development
+License: BSD-3-Clause and LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
+Group: Development/Libraries
+Requires: glibc = %{version}
+Requires: linux-kernel-headers
+
+%description devel
+These libraries are needed to develop programs which use the standard C
+library.
+
+%package devel-static
+Summary: C library static libraries for -static linking
+License: BSD-3-Clause and LGPL-2.1+ and SUSE-LGPL-2.1+-with-GCC-exception and GPL-2.0+
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}
+# Provide Fedora name for package to make packaging easier
+Provides: %{name}-static = %version
+
+%description devel-static
+The glibc-devel-static package contains the C library static libraries
+for -static linking. You don't need these, unless you link statically,
+which is highly discouraged.
+
+%package utils
+Summary: Development utilities from GNU C library
+License: LGPL-2.1+
+Group: Development/Languages
+Requires: glibc = %{version}
+
+%description utils
+The glibc-utils package contains mtrace, a memory leak tracer and
+xtrace, a function call tracer which can be helpful during program
+debugging.
+
+If you are unsure if you need this, don't install this package.
+
+%package extra
+Summary: Extra binaries from GNU C Library
+License: LGPL-2.1+
+Group: Development/Languages
+Requires: glibc = %{version}
+
+%description extra
+The glibc-extra package contains some extra binaries for glibc that
+are not essential but recommend to use.
+
+makedb: A program to create a database for nss
+
+%package obsolete
+Summary: Obsolete Shared Libraries from the GNU C Library
+License: LGPL-2.0+
+Group: System/Libraries
+Requires: glibc = %{version}
+
+%description obsolete
+This package provides some old libraries from the GNU C Library which
+are no longer supported. Additional it provides a compatibility library
+for old binaries linked against glibc 2.0.
+
+Install this package if you need one of this libraries to get old
+binaries working, but since this libraries are not supported and there
+is no gurantee that they work for you, you should try to get newer
+versions of your software.
+
+%prep
+%setup -n glibc-%{version} -q
+
+%build
+if [ -x /bin/uname.bin ]; then
+ /bin/uname.bin -a
+else
+ uname -a
+fi
+uptime || :
+ulimit -a
+nice
+# We do not want configure to figure out the system its building one
+# to support a common ground and thus set build and host to the
+# target_cpu.
+%ifarch %arm
+%define target %{_target_cpu}-tizen-linux-gnueabi
+%else
+%define target %{_target_cpu}-tizen-linux
+%endif
+# Don't use as-needed, it breaks glibc assumptions
+# Before enabling it, run the testsuite and verify that it
+# passes completely
+export LD_AS_NEEDED=0
+# Adjust glibc version.h
+echo "#define CONFHOST \"%{target}\"" >> version.h
+echo "#define GITID \"%{git_id}\"" >> version.h
+#
+# Default CFLAGS and Compiler
+#
+BuildFlags=$(echo %{optflags} | sed -e "s/-Wp,-D_FORTIFY_SOURCE=2//g" | sed -e "s/-ffast-math//" | sed -e "s/atom/i686/g" | sed -e "s/-mthumb//" | sed -e "s/-fexceptions//" )
+BuildFlags="$BuildFlags -O2 -g -U_FORTIFY_SOURCE"
+BuildFlags="$(echo $BuildFlags | sed -e 's#-fstack-protector##' -e 's#-ffortify=[0-9]*##')"
+BuildCC="%__cc"
+BuildCCplus="%__cxx"
+add_ons=",libidn"
+
+
+BuildFlags="$BuildFlags -g"
+%if %{disable_assert}
+ BuildFlags="$BuildFlags -DNDEBUG=1"
+%endif
+%ifarch %ix86
+ add_ons=$add_ons
+%endif
+%ifarch %arm
+ add_ons=$add_ons,ports
+%endif
+%ifarch %arm
+ # fails to build otherwise - need to recheck and fix
+ %define enable_stackguard_randomization 0
+%endif
+
+configure_and_build_glibc() {
+ local dirname="$1"; shift
+ local cflags="$1"; shift
+ local addons="$1"; shift
+ mkdir "cc-$dirname"
+ cd "cc-$dirname"
+%ifarch %arm
+ # remove asynchronous-unwind-tables during configure as it causes
+ # some checks to fail spuriously on arm
+ conf_cflags="${cflags/-fasynchronous-unwind-tables/}"
+ conf_cflags="${conf_cflags/-funwind-tables/}"
+%else
+ conf_cflags="$cflags"
+%endif
+
+ profile="--disable-profile"
+%if %{build_profile}
+ if [ "$dirname" = "base" ] ; then
+ profile="--enable-profile"
+ fi
+%endif
+ CFLAGS="$conf_cflags" BUILD_CFLAGS="$conf_cflags" \
+ CC="$BuildCC" CXX="$BuildCCplus" ../configure \
+ --prefix=%{_prefix} \
+ --libexecdir=%{_libexecdir} --infodir=%{_infodir} \
+ --enable-add-ons=nptl$addons \
+ $profile \
+ "$@" \
+%if %{enable_stackguard_randomization}
+ --enable-stackguard-randomization \
+%endif
+ --build=%{target} --host=%{target} \
+%ifarch %{ix86} x86_64
+ --enable-multi-arch \
+%endif
+ --enable-kernel=%{enablekernel} \
+ --enable-bind-now --enable-obsolete-rpc
+ # explicitly set CFLAGS to use the full CFLAGS (not the reduced one for configure)
+ make %{?_smp_mflags} #CFLAGS="$cflags" BUILD_CFLAGS="$cflags"
+ cd ..
+}
+
+ #
+ # Build base glibc
+ #
+ configure_and_build_glibc base "$BuildFlags" "$add_ons"
+
+#
+# Build html documentation
+#
+%if %{build_html}
+make -C cc-base html
+%endif
+
+#
+# Build glibc_post_upgrade binary
+#
+$BuildCC -static %{optflags} -Os $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_post_upgrade \
+ -Lcc-base -Bcc-base/csu \
+ '-DREMOVE_TLS_DIRS' '-DREMOVE_PPC_OPTIMIZE_POWER5' \
+ '-DLIBDIR="/%{_lib}"' '-DGCONV_MODULES_DIR="%{_libdir}/gconv"'
+
+
+#######################################################################
+###
+### CHECK
+###
+#######################################################################
+
+%check
+# The testsuite will fail if asneeded is used
+export LD_AS_NEEDED=0
+%if %{testsuite_build}
+# Increase timeout
+export TIMEOUTFACTOR=16
+%ifarch %ix86 x86_64
+ make %{?_smp_mflags} -C cc-base -k check || echo make check failed
+%else
+ make %{?_smp_mflags} -C cc-base check
+%endif
+%endif
+# This has to pass on all platforms!
+# Exceptions:
+# None!
+make %{?_smp_mflags} -C cc-base check-abi
+
+#######################################################################
+###
+### INSTALL
+###
+#######################################################################
+
+%install
+%if !%{testsuite_build}
+# We don't want to strip the .symtab from our libraries in find-debuginfo.sh,
+# certainly not from libpthread.so.* because it is used by libthread_db to find
+# some non-exported symbols in order to detect if threading support
+# should be enabled. These symbols are _not_ exported, and we can't easily
+# export them retroactively without changing the ABI. So we have to
+# continue to "export" them via .symtab, instead of .dynsym :-(
+# But we also want to keep .symtab and .strtab of other libraries since some
+# debugging tools currently require these sections directly inside the main
+# files - specifically valgrind and PurifyPlus.
+export STRIP_KEEP_SYMTAB=*.so*
+
+# Make sure we will create the gconv-modules.cache
+mkdir -p %{buildroot}%{_libdir}/gconv
+touch %{buildroot}%{_libdir}/gconv/gconv-modules.cache
+
+# Install base glibc
+make %{?_smp_mflags} install_root=%{buildroot} install -C cc-base
+
+install_optimized_variant() {
+ local dirname="$1"; shift
+ local subdir="$1"; shift
+ local subdir_up="$1"; shift
+
+cd "cc-$dirname"
+destdir=$RPM_BUILD_ROOT/%{_lib}/$subdir
+mkdir -p $destdir
+# Don't run a complete make install, we know which libraries
+# we want
+for lib in libc math/libm nptl/libpthread rt/librt nptl_db/libthread_db
+do
+ libbase=${lib#*/}
+ libbaseso=$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}-*.so)
+ # Only install if different from base lib
+ if cmp -s ${lib}.so ../cc-base/${lib}.so; then
+ ln -sf $subdir_up/$libbaseso $destdir/$libbaseso
+ else
+ cp -a ${lib}.so $destdir/$libbaseso
+ fi
+ # Emulate ldconfig
+ ln -sf $libbaseso $destdir/$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}.so.*)
+done
+cd ..
+}
+
+
+# Install locales
+%if %{build_locales}
+ # XXX Do not install locales in parallel!
+ cd cc-base
+ # localedef creates hardlinks to other locales if possible
+ # this will not work if we generate them in parallel.
+ # thus we need to run fdupes on /usr/lib/locale/
+ # Still, on my system this is a speed advantage:
+ # non-parallel build for install-locales: 9:34mins
+ # parallel build with fdupes: 7:08mins
+ make %{?_smp_mflags} install_root=%{buildroot} localedata/install-locales
+ %fdupes %{buildroot}/usr/lib/locale
+ cd ..
+%endif
+# Create file list for glibc-locale package
+%{find_lang} libc
+
+# Prepare obsolete/, used only on some architectures:
+export RPM_BUILD_ROOT
+%ifarch %ix86
+mkdir -p %{buildroot}/%{_lib}/obsolete
+%endif
+
+# NPTL <bits/stdio-lock.h> is not usable outside of glibc, so include
+# the generic one (RH#162634)
+cp -av bits/stdio-lock.h %{buildroot}%{_includedir}/bits/stdio-lock.h
+
+
+# Miscelanna:
+
+install -m 0700 glibc_post_upgrade %{buildroot}%{_sbindir}
+
+install -m 644 %{SOURCE7} %{buildroot}/etc
+install -m 644 %{SOURCE5} %{buildroot}/etc
+install -m 644 posix/gai.conf %{buildroot}/etc
+
+mkdir -p %{buildroot}/etc/default
+install -m 644 nis/nss %{buildroot}/etc/default/
+
+mkdir -p %{buildroot}%{_includedir}/resolv
+install -m 0644 resolv/mapv4v6addr.h %{buildroot}%{_includedir}/resolv/
+install -m 0644 resolv/mapv4v6hostent.h %{buildroot}%{_includedir}/resolv/
+
+%if %{build_html}
+mkdir -p %{buildroot}%{_datadir}/doc/glibc
+cp -p cc-base/manual/libc/*.html %{buildroot}%{_datadir}/doc/glibc
+%endif
+
+
+# nscd tools:
+
+cp nscd/nscd.conf %{buildroot}/etc
+mkdir -p %{buildroot}/etc/init.d
+ln -sf /sbin/service %{buildroot}/usr/sbin/rcnscd
+mkdir -p %{buildroot}/var/run/nscd
+touch %{buildroot}/var/run/nscd/{passwd,group,hosts}
+touch %{buildroot}/var/run/nscd/{socket,nscd.pid}
+
+#
+# Create ld.so.conf
+#
+cat > %{buildroot}/etc/ld.so.conf <<EOF
+%ifarch x86_64
+/usr/local/lib64
+%endif
+/usr/local/lib
+include /etc/ld.so.conf.d/*.conf
+# /lib64, /lib, /usr/lib64 and /usr/lib gets added
+# automatically by ldconfig after parsing this file.
+# So, they do not need to be listed.
+EOF
+# Add ldconfig cache directory for directory ownership
+mkdir -p %{buildroot}/var/cache/ldconfig
+# Empty the ld.so.cache:
+rm -f %{buildroot}/etc/ld.so.cache
+touch %{buildroot}/etc/ld.so.cache
+
+# Don't look at ldd! We don't wish a /bin/sh requires
+chmod 644 %{buildroot}%{_bindir}/ldd
+
+# Remove timezone data, now coming in standalone package:
+for i in sbin/sln usr/bin/tzselect usr/sbin/zic usr/sbin/zdump etc/localtime; do
+ rm -f %{buildroot}/$i
+done
+rm -rf %{buildroot}%{_datadir}/zoneinfo
+
+# Remove the buildflags tracking section and the build-id
+#for o in %{buildroot}/%{_libdir}/crt[1in].o %{buildroot}/%{_libdir}/lib*_nonshared.a; do
+# objcopy -R ".comment.SUSE.OPTs" -R ".note.gnu.build-id" $o
+#done
+
+mkdir -p %{buildroot}/usr/lib/tmpfiles.d/
+install -m 644 %{SOURCE20} %{buildroot}/usr/lib/tmpfiles.d/
+mkdir -p %{buildroot}/usr/lib/systemd/system
+install -m 644 %{SOURCE21} %{buildroot}/usr/lib/systemd/system
+
+%ifarch armv7l armv7hl
+# Provide compatibility link
+ln -s ld-%{glibc_major_version}.so %{buildroot}/lib/ld-linux.so.3
+%endif
+
+# Move getconf to %{_libexecdir}/getconf/ to avoid cross device link
+mv %{buildroot}%{_bindir}/getconf %{buildroot}%{_libexecdir}/getconf/getconf
+ln -s %{_libexecdir}/getconf/getconf %{buildroot}%{_bindir}/getconf
+%endif # !%{testsuite_build}
+
+#######################################################################
+###
+### ...
+###
+#######################################################################
+
+# Note: glibc_post_upgrade does:
+# %%set_permissions %%{_libexecdir}/pt_chown
+# since we cannot do it in our own post section
+
+%post -p %{_sbindir}/glibc_post_upgrade
+
+%if 0
+# Enabling the following lines will generate a
+# requires on /bin/sh but glibc should not require any other binary
+# packages. Therefore we do the change with the built-in lua:
+# %%verifyscript
+# %%verify_permissions -e %%{_libexecdir}/pt_chown
+%endif
+
+%verifyscript -p <lua>
+os.execute("/usr/bin/chkstat -n --warn --system -e %{_libexecdir}/pt_chown")
+
+%postun -p /sbin/ldconfig
+
+%post locale
+for l in /usr/share/locale/locale.alias %{_libdir}/gconv/gconv-modules; do
+ [ -d "$l.d" ] || continue
+ echo "###X# The following is autogenerated from extra files in the .d directory:" >>"$l"
+ cat "$l.d"/* >>"$l"
+done
+/usr/sbin/iconvconfig
+
+%post info
+%install_info --info-dir=%{_infodir} %{_infodir}/libc.info.gz
+
+%postun info
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
+
+%post -n nscd
+mkdir -p /var/run/nscd
+exit 0
+
+
+%if !%{testsuite_build}
+%files
+#######################################################################
+###
+### FILES
+###
+#######################################################################
+
+# glibc
+%defattr(-,root,root)
+%doc LICENSES
+%config(noreplace) /etc/bindresvport.blacklist
+%config /etc/ld.so.conf
+%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
+%config(noreplace) /etc/rpc
+%verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
+%verify(not md5 size mtime) %config(noreplace) /etc/gai.conf
+%config(noreplace) /etc/default/nss
+/%{_lib}/ld-%{glibc_major_version}.so
+
+# Each architecture has a different name for the dynamic linker:
+%ifarch %arm
+%ifarch armv7l armv7hl
+/%{_lib}/ld-linux-armhf.so.3
+# Keep compatibility link
+/%{_lib}/ld-linux.so.3
+%else
+/%{_lib}/ld-linux.so.3
+%endif
+%endif
+%ifarch x86_64
+/%{_lib}/ld-linux-x86-64.so.2
+%endif
+%ifarch %ix86 %sparc
+/%{_lib}/ld-linux.so.2
+%endif
+
+/%{_lib}/libBrokenLocale-%{glibc_major_version}.so
+/%{_lib}/libBrokenLocale.so.1
+/%{_lib}/libSegFault.so
+/%{_lib}/libanl-%{glibc_major_version}.so
+/%{_lib}/libanl.so.1
+/%{_lib}/libc-%{glibc_major_version}.so
+/%{_lib}/libc.so.6*
+/%{_lib}/libcidn-%{glibc_major_version}.so
+/%{_lib}/libcidn.so.1
+/%{_lib}/libcrypt-%{glibc_major_version}.so
+/%{_lib}/libcrypt.so.1
+/%{_lib}/libdl-%{glibc_major_version}.so
+/%{_lib}/libdl.so.2*
+/%{_lib}/libm-%{glibc_major_version}.so
+/%{_lib}/libm.so.6*
+/%{_lib}/libnsl-%{glibc_major_version}.so
+/%{_lib}/libnsl.so.1
+/%{_lib}/libnss_compat-%{glibc_major_version}.so
+/%{_lib}/libnss_compat.so.2
+/%{_lib}/libnss_db-%{glibc_major_version}.so
+/%{_lib}/libnss_db.so.2
+/%{_lib}/libnss_dns-%{glibc_major_version}.so
+/%{_lib}/libnss_dns.so.2
+/%{_lib}/libnss_files-%{glibc_major_version}.so
+/%{_lib}/libnss_files.so.2
+/%{_lib}/libnss_hesiod-%{glibc_major_version}.so
+/%{_lib}/libnss_hesiod.so.2
+/%{_lib}/libnss_nis-%{glibc_major_version}.so
+/%{_lib}/libnss_nis.so.2
+/%{_lib}/libnss_nisplus-%{glibc_major_version}.so
+/%{_lib}/libnss_nisplus.so.2
+/%{_lib}/libpthread-%{glibc_major_version}.so
+/%{_lib}/libpthread.so.0
+/%{_lib}/libresolv-%{glibc_major_version}.so
+/%{_lib}/libresolv.so.2
+/%{_lib}/librt-%{glibc_major_version}.so
+/%{_lib}/librt.so.1
+/%{_lib}/libthread_db-1.0.so
+/%{_lib}/libthread_db.so.1
+/%{_lib}/libutil-%{glibc_major_version}.so
+/%{_lib}/libutil.so.1
+%define optimized_libs() \
+ %dir %attr(0755,root,root) /%{_lib}/%1\
+ /%{_lib}/%1/libc-%{glibc_major_version}.so\
+ /%{_lib}/%1/libc.so.6*\
+ /%{_lib}/%1/libm-%{glibc_major_version}.so\
+ /%{_lib}/%1/libm.so.6*\
+ /%{_lib}/%1/libpthread-%{glibc_major_version}.so\
+ /%{_lib}/%1/libpthread.so.0\
+ /%{_lib}/%1/librt-%{glibc_major_version}.so\
+ /%{_lib}/%1/librt.so.1\
+ /%{_lib}/%1/libthread_db-1.0.so\
+ /%{_lib}/%1/libthread_db.so.1
+
+%dir %attr(0700,root,root) /var/cache/ldconfig
+/sbin/ldconfig
+%{_bindir}/gencat
+%{_bindir}/getconf
+%{_bindir}/getent
+%{_bindir}/iconv
+%attr(755,root,root) %{_bindir}/ldd
+%ifarch %ix86 sparc sparcv9
+ %{_bindir}/lddlibc4
+%endif
+%{_bindir}/locale
+%{_bindir}/localedef
+%verify(not mode caps) %attr(4755,root,root) %{_libexecdir}/pt_chown
+%dir %attr(0755,root,root) %{_libexecdir}/getconf
+%{_libexecdir}/getconf/*
+%{_sbindir}/glibc_post_upgrade
+%{_sbindir}/iconvconfig
+
+%ifarch %ix86
+
+%files obsolete
+%defattr (755,root,root,755)
+%dir /%{_lib}/obsolete/
+ #%dir /%{_lib}/obsolete/noversion
+ #/%{_lib}/obsolete/noversion/libNoVersion-%{glibc_major_version}.so
+ #/%{_lib}/obsolete/noversion/libNoVersion.so.1
+%endif
+
+%files locale -f libc.lang
+%defattr(-,root,root)
+%{_datadir}/locale/locale.alias
+%if %{build_locales}
+/usr/lib/locale/*
+%endif
+%{_libdir}/gconv
+
+%files devel
+%defattr(-,root,root)
+%doc COPYING COPYING.LIB NEWS README BUGS CONFORMANCE
+%{_bindir}/catchsegv
+%{_bindir}/rpcgen
+%{_bindir}/sprof
+%{_includedir}/*
+%{_libdir}/*.o
+%{_libdir}/*.so
+# These static libraries are needed even for shared builds
+%{_libdir}/libbsd-compat.a
+%{_libdir}/libc_nonshared.a
+%{_libdir}/libg.a
+%{_libdir}/libieee.a
+%ifarch ppc ppc64 s390 s390x sparc sparcv8 sparcv9 sparcv9v
+# This is not built on sparc64.
+ %{_libdir}/libnldbl_nonshared.a
+%endif
+%{_libdir}/libmcheck.a
+%{_libdir}/libpthread_nonshared.a
+%{_libdir}/librpcsvc.a
+
+%files devel-static
+%defattr(-,root,root)
+%{_libdir}/libBrokenLocale.a
+%{_libdir}/libanl.a
+%{_libdir}/libc.a
+%{_libdir}/libcrypt.a
+%{_libdir}/libdl.a
+%{_libdir}/libm.a
+%{_libdir}/libnsl.a
+%{_libdir}/libpthread.a
+%{_libdir}/libresolv.a
+%{_libdir}/librt.a
+%{_libdir}/libutil.a
+
+%files info
+%defattr(-,root,root)
+%doc %{_infodir}/libc.info.gz
+%doc %{_infodir}/libc.info-?.gz
+%doc %{_infodir}/libc.info-??.gz
+
+%if %{build_html}
+%files html
+%defattr(-,root,root)
+%doc %{_prefix}/share/doc/glibc
+%endif
+
+%files i18ndata
+%defattr(-,root,root)
+%{_prefix}/share/i18n
+
+%files -n nscd
+%defattr(-,root,root)
+%config(noreplace) /etc/nscd.conf
+%{_sbindir}/nscd
+%{_sbindir}/rcnscd
+/usr/lib/systemd/system/nscd.service
+%dir /usr/lib/tmpfiles.d
+/usr/lib/tmpfiles.d/nscd.conf
+%dir %attr(0755,root,root) %ghost /var/run/nscd
+%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/nscd.pid
+%attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/socket
+%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/passwd
+%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group
+%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts
+
+%if %{build_profile}
+%files profile
+%defattr(-,root,root)
+%{_libdir}/libc_p.a
+%{_libdir}/libBrokenLocale_p.a
+%{_libdir}/libanl_p.a
+%{_libdir}/libm_p.a
+%{_libdir}/libcrypt_p.a
+%{_libdir}/libpthread_p.a
+%{_libdir}/libresolv_p.a
+%{_libdir}/libnsl_p.a
+%{_libdir}/librt_p.a
+%{_libdir}/librpcsvc_p.a
+%{_libdir}/libutil_p.a
+%{_libdir}/libdl_p.a
+%endif
+
+%files utils
+%defattr(-,root,root)
+/%{_lib}/libmemusage.so
+/%{_lib}/libpcprofile.so
+%dir /%{_libdir}/audit
+/%{_libdir}/audit/sotruss-lib.so
+# These need gd-devel for building
+# %%{_bindir}/memusage
+# %%{_bindir}/memusagestat
+%{_bindir}/mtrace
+%{_bindir}/pcprofiledump
+%{_bindir}/sotruss
+%{_bindir}/xtrace
+%{_bindir}/pldd
+
+%files extra
+%defattr(-,root,root)
+%{_bindir}/makedb
+/var/lib/misc/Makefile
+
+%endif # !%{testsuite_build}
+
+%docs_package
--- /dev/null
+Name: glproto
+Summary: X.Org X11 Protocol glproto
+Version: 1.4.16
+Release: 1
+Group: Development/System
+License: MIT
+URL: http://www.x.org
+Source0: http://xorg.freedesktop.org/releases/individual/proto/glproto-%{version}.tar.bz2
+
+
+%description
+glproto is the protocol for the client to send 3D rendering commands to the X server.
+
+
+%prep
+%setup -q
+
+%build
+
+%configure --libdir=%{_datadir}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_datadir}/pkgconfig/glproto.pc
+%{_includedir}/GL/glxmd.h
+%{_includedir}/GL/glxtokens.h
+%{_includedir}/GL/glxproto.h
+%{_includedir}/GL/internal
+%{_includedir}/GL/internal/glcore.h
+%{_includedir}/GL/glxint.h
+
--- /dev/null
+%define keepstatic 1
+Name: gmp
+Version: 5.0.5
+Release: 0
+License: GPL-3.0+ ; LGPL-3.0+
+Summary: The GNU MP Library
+Url: http://gmplib.org/
+Group: System/Libraries
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: gcc-c++
+
+%description
+A library for calculating huge numbers (integer and floating point).
+
+%package -n libgmp
+Summary: Shared library for the GNU MP Library
+Group: System/Libraries
+
+%description -n libgmp
+Shared library for the GNU MP Library.
+
+%package -n libgmpxx
+Summary: C++ bindings for the GNU MP Library
+Group: System/Libraries
+Requires: libgmp = %{version}
+
+%description -n libgmpxx
+C++ bindings for the GNU MP Library.
+
+%package -n libmp
+Summary: BSD libmp bindings for the GNU MP Library
+Group: System/Libraries
+Requires: libgmp = %{version}
+
+%description -n libmp
+BSD libmp bindings for the GNU MP Library.
+
+%package devel
+Summary: Include Files and Libraries for Development with the GNU MP Library
+Group: Development/Languages/C and C++
+Requires: libgmp = %{version}
+Requires: libgmpxx = %{version}
+Requires: libmp = %{version}
+
+%description devel
+These libraries are needed to develop programs which calculate with
+huge numbers (integer and floating point).
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="%{optflags} -fexceptions";
+./configure --build=%{_build} --host=%{_host} \
+ --program-prefix=%{?_program_prefix} \
+ --prefix=%{_prefix} \
+ --exec-prefix=%{_exec_prefix} \
+ --bindir=%{_bindir} \
+ --sbindir=%{_sbindir} \
+ --sysconfdir=%{_sysconfdir} \
+ --datadir=%{_datadir} \
+ --includedir=%{_includedir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libexecdir} \
+ --localstatedir=%{_localstatedir} \
+ --sharedstatedir=%{_sharedstatedir} \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} \
+ --enable-mpbsd --enable-cxx
+make %{?_smp_mflags}
+
+%check
+# do not disable "make check", FIX THE BUGS!
+make check
+
+%install
+%make_install
+
+%post -n libgmp -p /sbin/ldconfig
+
+%post -n libgmpxx -p /sbin/ldconfig
+
+%post -n libmp -p /sbin/ldconfig
+
+
+%postun -n libgmp -p /sbin/ldconfig
+
+%postun -n libgmpxx -p /sbin/ldconfig
+
+%postun -n libmp -p /sbin/ldconfig
+
+%files
+%license COPYING
+%doc AUTHORS README NEWS
+
+%files -n libgmp
+%defattr(-,root,root)
+%{_libdir}/libgmp.so.10*
+
+%files -n libgmpxx
+%defattr(-,root,root)
+%{_libdir}/libgmpxx.so.4*
+
+%files -n libmp
+%defattr(-,root,root)
+%{_libdir}/libmp.so.3*
+
+%files devel
+%defattr(-,root,root)
+%doc AUTHORS README NEWS
+%doc %{_infodir}/gmp.info*.gz
+%{_libdir}/libgmp.a
+%{_libdir}/libmp.a
+%{_libdir}/libgmpxx.a
+%{_libdir}/libgmp.so
+%{_libdir}/libgmpxx.so
+%{_libdir}/libmp.so
+/usr/include/gmp.h
+/usr/include/gmpxx.h
+/usr/include/mp.h
+
+%changelog
--- /dev/null
+Name: gnome-common
+Version: 3.7.4
+BuildRequires: pkg-config
+Requires: autoconf
+Requires: automake
+Requires: gettext-tools
+Requires: glib2-devel
+Requires: intltool
+Requires: libtool
+Requires: pkg-config
+Summary: Common Files to Build GNOME
+License: GPL-2.0+
+Group: System/GUI/GNOME
+Release: 0
+Source: http://download.gnome.org/sources/gnome-common/3.4/%{name}-%{version}.tar.xz
+Url: http://www.gnome.org/
+BuildArch: noarch
+
+%description
+Gnome-common includes files used by to build GNOME and GNOME applications.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr (-, root, root)
+#%license COPYING
+%{_bindir}/gnome-autogen.sh
+%{_bindir}/gnome-doc-common
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/gnome-common.m4
+%{_datadir}/aclocal/gnome-compiler-flags.m4
+%{_datadir}/aclocal/gnome-code-coverage.m4
+%{_datadir}/gnome-common/
--- /dev/null
+Name: gnu-efi
+Version: 3.0
+Release: 1
+License: BSD-3-Clause
+Summary: EFI development environment
+Url: http://sourceforge.net/projects/gnu-efi/
+Group: System/Boot
+Source0: http://download.sourceforge.net/%{name}/%{name}_%{version}.orig.tar.gz
+BuildRequires: pciutils
+ExclusiveArch: %ix86 x86_64
+
+
+%description
+gnu-efi is a library for building EFI applications
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+make
+
+%install
+make install PREFIX=%{_prefix} INSTALLROOT=%{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_includedir}/efi/*
+%{_prefix}/lib/*
--- /dev/null
+%define gnutls_sover 28
+%define gnutlsxx_sover 28
+%define gnutls_ossl_sover 27
+
+Name: gnutls
+Version: 3.0.21
+Release: 0
+Summary: The GNU Transport Layer Security Library
+License: LGPL-3.0+ and GPL-3.0+
+Group: Security/Crypto Libraries
+Url: http://www.gnutls.org/
+Source0: http://ftp.gnu.org/gnu/gnutls/%{name}-%{version}.tar.xz
+Source1: baselibs.conf
+BuildRequires: automake
+BuildRequires: gcc-c++
+BuildRequires: libidn-devel
+BuildRequires: pkgconfig(nettle)
+BuildRequires: libtasn1-devel
+BuildRequires: gettext-tools
+BuildRequires: libtool
+BuildRequires: p11-kit-devel >= 0.11
+BuildRequires: pkg-config
+BuildRequires: xz
+BuildRequires: zlib-devel
+
+%description
+The GnuTLS project aims to develop a library that provides a secure
+layer over a reliable transport layer. Currently the GnuTLS library
+implements the proposed standards of the IETF's TLS working group.
+
+%package -n libgnutls
+Summary: The GNU Transport Layer Security Library
+License: LGPL-3.0+
+Group: Security/Crypto Libraries
+
+%description -n libgnutls
+The GnuTLS project aims to develop a library that provides a secure
+layer over a reliable transport layer. Currently the GnuTLS library
+implements the proposed standards of the IETF's TLS working group.
+
+%package -n libgnutlsxx
+Summary: The GNU Transport Layer Security Library
+License: LGPL-3.0+
+Group: Security/Crypto Libraries
+
+%description -n libgnutlsxx
+The GnuTLS project aims to develop a library that provides a secure
+layer over a reliable transport layer. Currently the GnuTLS library
+implements the proposed standards of the IETF's TLS working group.
+
+
+%package -n libgnutls-openssl
+Summary: The GNU Transport Layer Security Library
+License: GPL-3.0+
+Group: Security/Crypto Libraries
+
+%description -n libgnutls-openssl
+The GnuTLS project aims to develop a library that provides a secure
+layer over a reliable transport layer. Currently the GnuTLS library
+implements the proposed standards of the IETF's TLS working group.
+
+
+%package -n libgnutls-devel
+Summary: Development package for gnutls
+License: LGPL-3.0+
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libgnutls = %{version}
+Provides: gnutls-devel = %{version}-%{release}
+
+%description -n libgnutls-devel
+Files needed for software development using gnutls.
+
+%package -n libgnutlsxx-devel
+Summary: Development package for gnutls
+License: LGPL-3.0+
+Group: Development/Libraries
+Requires: libgnutls-devel = %{version}
+Requires: libgnutlsxx = %{version}
+Requires: libstdc++-devel
+
+%description -n libgnutlsxx-devel
+Files needed for software development using gnutls.
+
+
+%package -n libgnutls-openssl-devel
+Summary: Development package for gnutls
+License: GPL-3.0+
+Group: Development/Libraries
+Requires: libgnutls-devel = %{version}
+Requires: libgnutls-openssl = %{version}
+
+%description -n libgnutls-openssl-devel
+Files needed for software development using gnutls.
+
+
+%prep
+%setup -q
+echo %{_includedir}/%{name}/abstract.h
+
+%build
+autoreconf -if
+%configure \
+ --disable-static \
+ --with-pic \
+ --disable-rpath \
+ --disable-silent-rules \
+ --with-default-trust-store-dir=/etc/ssl/certs \
+ --with-sysroot=/%{?_sysroot}
+make %{?_smp_mflags}
+
+# 17-ago-2011, Test suite passes in factory, just not
+#in the build system due to some broken code requiring both networking
+#and fixes.
+#make check
+
+%install
+%make_install
+rm -rf doc/examples/.deps doc/examples/.libs doc/examples/*.{o,lo,la} doc/examples/Makefile{,.in}
+find doc/examples -perm -111 -exec rm {} \;
+rm -rf %{buildroot}%{_datadir}/locale/en@{,bold}quot
+# Do not package static libs and libtool files
+rm -f %{buildroot}%{_libdir}/*.la
+%find_lang libgnutls --all-name
+
+%post -n libgnutls -p /sbin/ldconfig
+
+%postun -n libgnutls -p /sbin/ldconfig
+
+%post -n libgnutlsxx -p /sbin/ldconfig
+
+%postun -n libgnutlsxx -p /sbin/ldconfig
+
+%post -n libgnutls-openssl -p /sbin/ldconfig
+
+%postun -n libgnutls-openssl -p /sbin/ldconfig
+
+%files -f libgnutls.lang
+%defattr(-, root, root)
+%license COPYING
+%{_bindir}/certtool
+%{_bindir}/crywrap
+%{_bindir}/gnutls-cli
+%{_bindir}/gnutls-cli-debug
+%{_bindir}/gnutls-serv
+%{_bindir}/ocsptool
+%{_bindir}/psktool
+%{_bindir}/p11tool
+%{_bindir}/srptool
+%{_mandir}/man1/*
+
+%files -n libgnutls
+%defattr(-,root,root)
+%{_libdir}/libgnutls.so.*
+
+%files -n libgnutls-openssl
+%defattr(-,root,root)
+%{_libdir}/libgnutls-openssl.so.*
+
+%files -n libgnutlsxx
+%defattr(-,root,root)
+%{_libdir}/libgnutlsxx.so.*
+
+%files -n libgnutls-devel
+%defattr(-, root, root)
+%dir %{_includedir}/%{name}
+%{_includedir}/%{name}/abstract.h
+%{_includedir}/%{name}/crypto.h
+%{_includedir}/%{name}/compat.h
+%{_includedir}/%{name}/dtls.h
+%{_includedir}/%{name}/gnutls.h
+%{_includedir}/%{name}/openpgp.h
+%{_includedir}/%{name}/ocsp.h
+%{_includedir}/%{name}/pkcs11.h
+%{_includedir}/%{name}/pkcs12.h
+%{_includedir}/%{name}/x509.h
+%{_libdir}/libgnutls.so
+%{_libdir}/pkgconfig/gnutls.pc
+%{_mandir}/man3/*
+%{_infodir}/*.*
+%doc doc/examples doc/gnutls.html doc/*.png doc/gnutls.pdf doc/reference/html/*
+
+%files -n libgnutlsxx-devel
+%defattr(-, root, root)
+%{_libdir}/libgnutlsxx.so
+%dir %{_includedir}/%{name}
+%{_includedir}/%{name}/gnutlsxx.h
+
+%files -n libgnutls-openssl-devel
+%defattr(-, root, root)
+%{_libdir}/libgnutls-openssl.so
+%dir %{_includedir}/%{name}
+%{_includedir}/%{name}/openssl.h
+
+%changelog
--- /dev/null
+Name: gobject-introspection
+Version: 1.36.0
+Release: 0
+Summary: GObject Introspection Tools
+License: LGPL-2.1+ and GPL-2.0+
+Group: Development/Libraries
+Url: http://live.gnome.org/GObjectIntrospection
+Source0: http://download.gnome.org/sources/gobject-introspection/1.34/%{name}-%{version}.tar.xz
+Source1: gi-find-deps.sh
+Source2: gobjectintrospection.attr
+Source3: gobject-introspection-typelib.template
+Source99: %{name}-rpmlintrc
+BuildRequires: bison
+BuildRequires: fdupes
+BuildRequires: flex
+BuildRequires: libffi-devel
+BuildRequires: libtool
+BuildRequires: python-devel
+BuildRequires: python-xml
+BuildRequires: pkgconfig(cairo)
+BuildRequires: pkgconfig(cairo-gobject)
+BuildRequires: pkgconfig(gobject-2.0)
+#BuildRequires: pkgconfig(gtk-doc)
+Requires: libgirepository = %{version}
+Requires: python-xml
+
+%description
+The goal of the project is to describe the APIs and collect them in
+a uniform, machine readable format.
+
+%package -n libgirepository
+Summary: GObject Introspection Library
+License: LGPL-2.1+
+Group: System/Libraries
+Requires: girepository >= %{version}
+
+%description -n libgirepository
+The goal of the project is to describe the APIs and collect them in
+a uniform, machine readable format.
+
+%package -n girepository
+Summary: Base GObject Introspection Bindings
+License: LGPL-2.1+
+Group: System/Libraries
+Requires: libgirepository >= %{version}
+%(cat %{S:3} | awk '{ print "Provides: " $0}')
+
+%description -n girepository
+The goal of the project is to describe the APIs and collect them in
+a uniform, machine readable format.
+
+%package devel
+Summary: GObject Introspection Development Files
+License: LGPL-2.1+
+Group: Development/Libraries
+# Note: the devel package requires the binaries, not just the library
+Requires: %{name} = %{version}
+Requires: libffi-devel
+
+%description devel
+The goal of the project is to describe the APIs and collect them in
+a uniform, machine readable format.
+
+%prep
+%setup -q
+
+%build
+[ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
+#autoreconf -fi
+%configure \
+ --disable-gtk-doc
+%__make %{?_smp_mflags} V=1
+
+%install
+%make_install
+install -D %{S:1} %{buildroot}%{_rpmconfigdir}/gi-find-deps.sh
+install -D %{S:2} -m 0644 %{buildroot}%{_rpmconfigdir}/fileattrs/gobjectintrospection.attr
+# comparing, if we provide all the symbols expected.
+ls %{buildroot}%{_libdir}/girepository-1.0/*.typelib | sh %{S:1} -P > gobject-introspection-typelib.installed
+diff -s %{S:3} gobject-introspection-typelib.installed
+%fdupes %{buildroot}
+
+
+%post -n libgirepository -p /sbin/ldconfig
+
+%postun -n libgirepository -p /sbin/ldconfig
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%license COPYING COPYING.GPL
+%{_bindir}/g-ir-annotation-tool
+%{_bindir}/g-ir-compiler
+%{_bindir}/g-ir-dep-tool
+%{_bindir}/g-ir-generate
+%{_bindir}/g-ir-scanner
+%{_datadir}/aclocal/introspection.m4
+%{_datadir}/gir-1.0/*.gir
+%dir %{_libdir}/gobject-introspection
+%{_libdir}/gobject-introspection/giscanner/
+%dir %{_datadir}/gobject-introspection-1.0
+%{_datadir}/gobject-introspection-1.0/Makefile.introspection
+%{_datadir}/gobject-introspection-1.0/tests/
+%{_datadir}/gobject-introspection-1.0/gdump.c
+%{_rpmconfigdir}/gi-find-deps.sh
+%{_rpmconfigdir}/fileattrs/gobjectintrospection.attr
+
+%files -n libgirepository
+%defattr(-,root,root)
+%doc COPYING.LGPL
+%dir %{_datadir}/gir-1.0
+%{_libdir}/libgirepository-1.0.so.*
+%dir %{_libdir}/girepository-1.0
+
+%files -n girepository
+%defattr(-,root,root)
+%{_libdir}/girepository-1.0/*.typelib
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/gobject-introspection-1.0/
+%{_libdir}/libgirepository-1.0.so
+%{_libdir}/pkgconfig/gobject-introspection-1.0.pc
+%{_libdir}/pkgconfig/gobject-introspection-no-export-1.0.pc
--- /dev/null
+%define _fontsdir %{_datadir}/fonts
+%define _ttffontsdir %{_fontsdir}/truetype
+%define _miscfontsdir %{_fontsdir}/misc
+%define _fontsconfdir %{_sysconfdir}/fonts
+%define _fontsconfddir %{_fontsconfdir}/conf.d
+%define _fontsconfavaildir %{_datadir}/%{name}/conf.avail
+
+Name: google-droid-fonts
+Version: 20121209
+Release: 0
+License: Apache-2.0
+Summary: Fonts With Extensive Style and Language Support Developed for Android
+Url: http://www.ascendercorp.com/pr/2007-11-12/
+Group: System/Fonts
+Source: %{name}-%{version}.tar.xz
+BuildArch: noarch
+Requires(post): %{_bindir}/fc-cache
+
+%description
+The Droid family of fonts consists of Droid Sans, Droid Sans Mono and
+Droid Serif. Each contains extensive character set coverage including
+Western Europe, Eastern/Central Europe, Baltic, Cyrillic, Greek and
+Turkish support. The Droid Sans regular font also includes support for
+Simplified and Traditional Chinese, Japanese and Korean support for the
+GB2312, Big 5, JIS 0208 and KSC 5601 character sets respectively.
+
+Droid was designed by Ascender's Steve Matteson to provide optimal quality
+and comfort on a mobile handset when rendered in application menus, web
+browsers and for other screen text. - Ascender Press Release,
+http://www.ascendercorp.com/pr/2007-11-12/
+
+%prep
+%setup -q
+
+%build
+
+%install
+mkdir -p %{buildroot}%{_ttffontsdir}
+install -m 0644 *.ttf %{buildroot}%{_ttffontsdir}/
+
+%post
+if [ -x %{_bindir}/fc-cache ]; then
+ %{_bindir}/fc-cache %{_ttffontsdir} || :
+fi
+
+%postun
+if [ -x %{_bindir}/fc-cache ]; then
+ %{_bindir}/fc-cache %{_ttffontsdir} || :
+fi
+
+%files
+%defattr(-,root,root)
+%license README.txt
+%{_ttffontsdir}
+
--- /dev/null
+Name: gperf
+Version: 3.0.4
+Release: 1
+License: GPL-2.0+
+Summary: A perfect hash function generator
+Url: http://www.gnu.org/software/gperf/
+Group: Development/Tools
+Source0: ftp://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz
+BuildRequires: gcc-c++
+
+%description
+GNU gperf is a perfect hash function generator. For a given list of strings, it
+produces a hash function and hash table, in form of C or C++ code, for looking
+up a value depending on the input string. The hash function is perfect, which
+means that the hash table has no collisions, and the hash table lookup needs
+a single string comparison only.
+
+%prep
+%setup -q
+
+
+%build
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+rm -f %{buildroot}%{_datadir}/doc/gperf.html
+
+
+
+
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%doc NEWS README doc/gperf.html
+%doc %{_mandir}/man1/gperf.1*
+%doc %{_infodir}/gperf.info*
+%{_bindir}/%{name}
+
+
--- /dev/null
+Name: gpg2
+Version: 2.0.19
+Release: 0
+License: GPL-3.0+
+Summary: GnuPG 2
+Url: http://www.gnupg.org/aegypten2/
+Group: Security/Certificate Management
+Source: gnupg-%{version}.tar.bz2
+BuildRequires: automake
+BuildRequires: expect
+BuildRequires: fdupes
+BuildRequires: gettext-tools
+BuildRequires: libadns-devel
+BuildRequires: libassuan-devel >= 2.0.0
+BuildRequires: libcurl-devel >= 7.10
+BuildRequires: libgcrypt-devel >= 1.4.0
+BuildRequires: libgpg-error-devel >= 1.7
+BuildRequires: libksba-devel >= 1.0.7
+BuildRequires: libpth-devel >= 1.3.7
+BuildRequires: readline-devel
+BuildRequires: pkgconfig(libusb-1.0)
+BuildRequires: pkgconfig(zlib)
+Provides: gnupg = %{version}
+Provides: gpg = 1.4.9
+Provides: newpg
+Provides: gpg2_signd_support
+Obsoletes: gpg < 1.4.9
+
+%description
+GnuPG 2 is the successor of "GnuPG" or GPG. It provides: GPGSM,
+gpg-agent, and a keybox library.
+
+%prep
+%setup -q -n gnupg-%{version}
+
+%build
+autoreconf -fi
+# build PIEs (position independent executables) for address space randomisation:
+PIE="-fpie"
+export CFLAGS="%{optflags} ${PIE}"
+export LDFLAGS=-pie
+%configure \
+ --libexecdir=%{_libdir} \
+ --docdir=%{_docdir}/%{name} \
+ --with-agent-pgm=%{_bindir}/gpg-agent \
+ --with-scdaemon-pgm=%{_bindir}/scdaemon \
+ --enable-gpgsm=yes \
+ --enable-gpg \
+ --with-gnu-ld
+
+make %{?_smp_mflags}
+
+%check
+%if ! 0%{?qemu_user_space_build}
+make check
+%{buildroot}%{_bindir}/gpgsplit -v -p pubsplit- --uncompress <tests/openpgp/pubring.gpg
+%{buildroot}%{_bindir}/gpgsplit -v -p secsplit- --secret-to-public --uncompress <tests/openpgp/secring.gpg
+%endif
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_sysconfdir}/gnupg/
+
+install -m 644 doc/examples/gpgconf.conf %{buildroot}%{_sysconfdir}/gnupg
+
+rm -rf %{buildroot}%{_datadir}/doc/packages/gpg2/examples/gpgconf.conf
+
+ln -sf gpg2 %{buildroot}%{_bindir}/gpg
+ln -sf gpgv2 %{buildroot}%{_bindir}/gpgv
+ln -sf gpg2.1 %{buildroot}%{_mandir}/man1/gpg.1
+ln -sf gpgv2.1 %{buildroot}%{_mandir}/man1/gpgv.1
+
+rm -rf %{buildroot}/%{_datadir}/locale/en@{bold,}quot
+
+%find_lang gnupg2
+
+%fdupes %{buildroot}
+
+
+
+%files -f gnupg2.lang
+%defattr(-,root,root)
+%license COPYING.LIB COPYING
+%doc %{_infodir}/gnupg*
+%doc %{_docdir}/%{name}
+%{_mandir}/man*/*
+%{_bindir}/*
+%{_libdir}/[^d]*
+%{_sbindir}/addgnupghome
+%{_sbindir}/applygnupgdefaults
+%{_datadir}/gnupg
+%dir %{_sysconfdir}/gnupg
+%config(noreplace) %{_sysconfdir}/gnupg/gpgconf.conf
+
--- /dev/null
+#
+# spec file for package gpgme
+#
+# Copyright (c) 2012 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.
+
+Name: gpgme
+BuildRequires: gpg2 >= 2.0.10
+Version: 1.3.2
+Release: 0
+Summary: A Library Designed to Give Applications Easy Access to GnuPG
+License: GPL-2.0+
+Group: Productivity/Security
+Url: http://www.gnupg.org/related_software/gpgme/
+Source: ftp://ftp.gnupg.org/gcrypt/gpgme/%{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: automake
+BuildRequires: libassuan-devel >= 2.0.2
+BuildRequires: libgpg-error-devel >= 1.8
+
+%description
+GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
+easier for applications. It provides a high-level Crypto API for
+encryption, decryption, signing, signature verification, and key
+management. Currently it uses GnuPG as its back-end, but the API is not
+restricted to this engine.
+
+Because the direct use of GnuPG from an application can be a
+complicated programming task, it is suggested that all software should
+try to use GPGME instead. This way bug fixes or improvements can be
+done at a central place and every application benefits from this.
+Authors of MUAs should especially consider using GPGME. Creating a set
+of standard widgets for common key selection tasks is even planned.
+
+%package -n libgpgme
+Summary: A Library Designed to give Applications easy Access to GnuPG
+Group: Development/Libraries
+Requires: gpg2
+
+%description -n libgpgme
+GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
+easier for applications. It provides a high-level Crypto API for
+encryption, decryption, signing, signature verification, and key
+management. Currently it uses GnuPG as its back-end, but the API is not
+restricted to this engine.
+
+Who Should use GPGME?
+
+Because the direct use of GnuPG from an application can be a
+complicated programming task, it is suggested that all software should
+try to use GPGME instead. This way bug fixes or improvements can be
+done at a central place and every application benefits from this.
+Authors of MUAs should especially consider using GPGME. Creating a set
+of standard widgets for common key selection tasks is even planned.
+
+%package -n libgpgme-devel
+Summary: A Library Designed to give Applications easy Access to GnuPG
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libgpg-error-devel
+Requires: libgpgme = %{version}
+
+%description -n libgpgme-devel
+GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
+easier for applications. It provides a high-level Crypto API for
+encryption, decryption, signing, signature verification, and key
+management. Currently it uses GnuPG as its back-end, but the API is not
+restricted to this engine.
+
+Who Should use GPGME?
+
+Because the direct use of GnuPG from an application can be a
+complicated programming task, it is suggested that all software should
+try to use GPGME instead. This way bug fixes or improvements can be
+done at a central place and every application benefits from this.
+Authors of MUAs should especially consider using GPGME. Creating a set
+of standard widgets for common key selection tasks is even planned.
+
+%prep
+%setup -q
+
+%build
+sh autogen.sh
+# Ensure that a (re)build uses fixed binaries with minimum version because
+# in case configure picks GnuPG-1.x, e.g. from /usr/local, this would cause
+# testsuite failures:
+%configure --without-pth --disable-static \
+ --with-gpg-version=2.0.10 \
+ --with-gpgsm-version=2.0.10 \
+ --with-gpgconf-version=2.0.10 \
+ --with-gpg=%{_bindir}/gpg2 \
+ --with-gpgsm=%{_bindir}/gpgsm \
+ --with-gpgconf=%{_bindir}/gpgconf
+
+%check
+%if ! 0%{?qemu_user_space_build}
+make check
+%endif
+
+%install
+%make_install
+
+
+%post -n libgpgme -p /sbin/ldconfig
+
+%postun -n libgpgme -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_datadir}/common-lisp
+%{_infodir}/gpgme*
+
+%files -n libgpgme
+%defattr(-,root,root)
+%{_libdir}/libgpgme.so.*
+%{_libdir}/libgpgme-pthread.so.*
+
+%files -n libgpgme-devel
+%defattr(-,root,root)
+%{_libdir}/libgpgme.so
+%{_libdir}/libgpgme-pthread.so
+%{_bindir}/gpgme-config
+%{_datadir}/aclocal/gpgme.m4
+%{_includedir}/gpgme.h
+
+%changelog
--- /dev/null
+Name: gps-manager
+Summary: GPS Manager for Tizen
+Version: 0.2.44
+Release: 1
+Group: TO_BE/FILLED_IN
+License: TO_BE/FILLED_IN
+Source0: %{name}-%{version}.tar.gz
+Source1: gps-manager.service
+Source2: gps-manager.conf
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(network)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(msg-service)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(location)
+BuildRequires: pkgconfig(lbs-dbus)
+BuildRequires: pkgconfig(gio-unix-2.0)
+Requires: sys-assert
+
+%description
+GPS Manager for Tizen
+
+
+%package -n location-gps-manager
+Summary: GPS Manager for Tizen
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description -n location-gps-manager
+GPS Manager for Tizen
+
+
+%package -n gps-manager-plugin-devel
+Summary: GPS Manager for Tizen (development files)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description -n gps-manager-plugin-devel
+GPS Manager for Tizen (development files)
+
+
+%prep
+%setup -q
+
+%ifarch %{arm}
+%define GPS_ENABLER --enable-gps
+%define ARCH armel
+%else
+%define GPS_ENABLER --enable-gps
+%define ARCH x86
+%endif
+
+./autogen.sh
+./configure --prefix=%{_prefix} %{GPS_ENABLER}
+
+
+%build
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants
+install -m 644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system/gps-manager.service
+ln -s ../gps-manager.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/gps-manager.service
+
+# temoprary HW configuration. it should be seperated.
+mkdir -p %{buildroot}/etc/sysconfig
+install -m 644 %{SOURCE2} %{buildroot}/etc/sysconfig/gps-manager
+
+%clean
+rm -rf %{buildroot}
+
+
+%post
+#GPS Indicator value
+vconftool set -t int memory/location/position/state "0" -i
+vconftool set -t int memory/location/gps/state "0" -i
+vconftool set -t int memory/location/wps/state "0" -i
+
+#GPS_SETTING
+vconftool set -t int db/location/gps/Operation "1" -f
+vconftool set -t int db/location/gps/Starting "0" -f
+vconftool set -t int db/location/gps/Session "1" -f
+
+#SUPL_SETTING
+vconftool set -t int db/location/supl/ServerFQDNType "0" -f
+vconftool set -t string db/location/supl/Server "bcmls2.glpals.com" -f
+vconftool set -t int db/location/supl/Port "7275" -f
+vconftool set -t int db/location/supl/SslEnabled "0" -f
+
+#NMEA_SETTING
+vconftool set -t int db/location/nmea/LoggingEnabled "0" -f
+
+#REPLAY_SETTING
+vconftool set -t string db/location/replay/FileName "nmea_replay.log" -f
+%ifarch %arm
+ vconftool set -t int db/location/replay/ReplayEnabled "0" -f
+ vconftool set -t int db/location/replay/ReplayMode "1" -f
+%else
+ vconftool set -t int db/location/replay/ReplayEnabled "1" -f
+ vconftool set -t int db/location/replay/ReplayMode "0" -f
+%endif
+vconftool set -t double db/location/replay/ManualLatitude "0.0" -f
+vconftool set -t double db/location/replay/ManualLongitude "0.0" -f
+vconftool set -t double db/location/replay/ManualAltitude "0.0" -f
+
+%post -n location-gps-manager
+%ifnarch %arm
+ cp -f /usr/lib/location/module/libgps.so /usr/lib/location/module/libwps0.so
+%endif
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest gps-manager.manifest
+%defattr(-,root,root,-)
+/usr/libexec/gps-manager
+/usr/share/dbus-1/services/org.tizen.lbs.Providers.GpsManager.service
+/usr/share/lbs/gps-manager.provider
+/etc/rc.d/init.d/gps-manager
+/etc/rc.d/rc3.d/S90gps-manager
+/etc/rc.d/rc5.d/S90gps-manager
+/usr/lib/systemd/system/gps-manager.service
+/usr/lib/systemd/system/multi-user.target.wants/gps-manager.service
+# temoprary HW configuration. it should be seperated.
+/etc/sysconfig/gps-manager
+
+%files -n location-gps-manager
+%manifest location-gps-manager.manifest
+%defattr(-,root,root,-)
+%{_libdir}/location/module/libgps.so*
+
+%files -n gps-manager-plugin-devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/gps-manager-plugin.pc
+%{_includedir}/gps-manager-plugin/*.h
+
--- /dev/null
+Name: gptfdisk
+Version: 0.8.5
+Release: 0
+Summary: GPT partitioning and MBR repair software
+License: GPL-2.0
+Group: Base/System
+Url: http://rodsbooks.com/gdisk
+
+Source: %name-%version.tar.xz
+BuildRequires: gcc-c++
+BuildRequires: ncurses-devel
+BuildRequires: xz
+BuildRequires: pkgconfig(icu-io)
+BuildRequires: pkgconfig(icu-uc)
+BuildRequires: pkgconfig(popt)
+BuildRequires: pkgconfig(uuid)
+
+%description
+Partitioning software for GPT disks and to repair MBR disks. The
+gdisk, cgdisk, and sgdisk utilities (in the gdisk package) are
+GPT-enabled partitioning tools; the fixparts utility (in the fixparts
+package) fixes some problems with MBR disks that can be created by
+buggy partitioning software.
+
+%package fixparts
+Summary: A tool for repairing certain types of damage to MBR disks
+Group: Applications/System
+
+%description fixparts
+A program that corrects errors that can creep into MBR-partitioned
+disks. Removes stray GPT data, fixes mis-sized extended partitions,
+and enables changing primary vs. logical partition status. Also
+provides a few additional partition manipulation features.
+
+%prep
+%setup -q
+
+%build
+CFLAGS="%optflags" CXXFLAGS="%optflags" make %{?_smp_mflags}
+
+%install
+b="%buildroot";
+mkdir -p "$b/%_sbindir" "$b/%_mandir/man8";
+install -pm0755 fixparts {,c,s}gdisk "$b/%_sbindir/";
+install -pm0644 *.8 "$b/%_mandir/man8/";
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%_sbindir/gdisk
+%_sbindir/sgdisk
+%_sbindir/cgdisk
+%_mandir/man8/gdisk.8*
+%_mandir/man8/cgdisk.8*
+%_mandir/man8/sgdisk.8*
+
+%files fixparts
+%defattr(-,root,root)
+%license COPYING
+%_sbindir/fixparts
+%_mandir/man8/fixparts.8*
+
+%changelog
--- /dev/null
+Name: grep
+BuildRequires: automake
+BuildRequires: pcre-devel
+Url: http://www.gnu.org/software/grep/
+Version: 2.14
+Release: 0
+Summary: Print lines matching a pattern
+License: GPL-3.0+
+Group: Base/Tools
+Source0: grep-%{version}.tar.xz
+Provides: base:/usr/bin/grep
+Provides: /bin/grep
+
+%description
+The grep command searches one or more input files for lines
+containing a match to a specified pattern. By default, grep prints
+the matching lines.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-silent-rules --without-included-regex
+%{__make} %{?_smp_mflags}
+
+%check
+make check VERBOSE=1
+
+%install
+%make_install
+%find_lang %name
+
+
+%docs_package
+
+%lang_package
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/*
+
+%changelog
--- /dev/null
+Name: groff
+Version: 1.21
+Release: 1
+License: GPLv3+ and GFDL and BSC and MIT
+Summary: A document formatting system
+Url: http://groff.ffii.org
+Group: Applications/Publishing
+Source: %{name}-%{version}.tar.gz
+BuildRequires: bison
+BuildRequires: zlib-devel
+Requires: /usr/bin/mktemp
+
+%description
+Groff is a document formatting system. Groff takes standard text and
+formatting commands as input and produces formatted output. The
+created documents can be shown on a display or printed on a printer.
+Groff's formatting commands allow you to specify font type and size,
+bold type, italic type, the number and size of columns on a page, and
+more.
+
+Groff can also be used to format man pages. If you are going to use
+groff with the X Window System, you will also need to install the
+groff-gxditview package.
+
+%package perl
+Summary: Parts of the groff formatting system that require Perl
+Group: Applications/Publishing
+
+%description perl
+The groff-perl package contains the parts of the groff text processor
+package that require Perl. These include the afmtodit font processor
+for creating PostScript font files, the grog utility that can be used
+to automatically determine groff command-line options, and the
+troff-to-ps print filter.
+
+
+
+%prep
+%setup -q
+
+%build
+%configure --enable-multibyte
+make
+
+%install
+mkdir -p %{buildroot}%{_prefix} %{buildroot}%{_infodir}
+make install manroot=%{buildroot}%{_mandir} \
+ bindir=%{buildroot}%{_bindir} \
+ mandir=%{buildroot}%{_mandir} \
+ prefix=%{buildroot}/usr \
+ exec_prefix=%{buildroot}/usr \
+ sbindir=%{buildroot}%{_exec_prefix}/sbin \
+ sysconfdir=%{buildroot}/etc \
+ datadir=%{buildroot}/usr/share \
+ infodir=%{buildroot}/%{_prefix}/info \
+ sysconfdir=%{buildroot}/etc \
+ includedir=%{buildroot}/usr/include \
+ libdir=%{buildroot}/%{_libdir} \
+ libexecdir=%{buildroot}/usr/libexec \
+ localstatedir=%{buildroot}/var \
+ sharedstatedir=%{buildroot}/usr/com \
+ infodir=%{buildroot}/usr/share/info
+
+#install -m 644 doc/groff.info* %{buildroot}/%{_infodir}
+ln -s s.tmac %{buildroot}%{_datadir}/groff/%{version}/tmac/gs.tmac
+ln -s mse.tmac %{buildroot}%{_datadir}/groff/%{version}/tmac/gmse.tmac
+ln -s m.tmac %{buildroot}%{_datadir}/groff/%{version}/tmac/gm.tmac
+ln -s troff %{buildroot}%{_bindir}/gtroff
+ln -s tbl %{buildroot}%{_bindir}/gtbl
+ln -s pic %{buildroot}%{_bindir}/gpic
+ln -s eqn %{buildroot}%{_bindir}/geqn
+ln -s neqn %{buildroot}%{_bindir}/gneqn
+ln -s refer %{buildroot}%{_bindir}/grefer
+ln -s lookbib %{buildroot}%{_bindir}/glookbib
+ln -s indxbib %{buildroot}%{_bindir}/gindxbib
+ln -s soelim %{buildroot}%{_bindir}/gsoelim
+ln -s soelim %{buildroot}%{_bindir}/zsoelim
+ln -s nroff %{buildroot}%{_bindir}/gnroff
+
+
+find %{buildroot}%{_bindir} -type f -o -type l | \
+ grep -v afmtodit | grep -v grog | grep -v mdoc.samples |\
+ grep -v mmroff |\
+ grep -v gxditview |\
+ sed "s|%{buildroot}||g" | sed "s|\.[0-9]|\.*|g" > groff-files
+
+ln -sf doc.tmac %{buildroot}%{_datadir}/groff/%{version}/tmac/docj.tmac
+# installed, but not packaged in rpm
+mkdir -p %{buildroot}%{_datadir}/groff/%{version}/groffer/
+chmod 755 %{buildroot}%{_libdir}/groff/groffer/version.sh
+mv %{buildroot}%{_libdir}/groff/groffer/* %{buildroot}/%{_datadir}/groff/%{version}/groffer/
+
+
+%remove_docs
+
+%files -f groff-files
+%defattr(-,root,root,-)
+%{_datadir}/groff
+
+%files perl
+%defattr(-,root,root,-)
+%{_bindir}/grog
+%{_bindir}/mmroff
+%{_bindir}/afmtodit
--- /dev/null
+# define used dbus type [p2p, session, system]
+%define dbus_type p2p
+# enable debug features such as control environment variables
+# WARNING! do not use for production builds as it will break security
+%define debug_build 0
+
+Name: gsignond
+Summary: GLib based Single Sign-On daemon
+Version: 0.0.2
+Release: 9
+Group: System/Daemons
+License: LGPL
+Source: %{name}-%{version}.tar.gz
+%if %{dbus_type} != "p2p"
+Requires: dbus-1
+%endif
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0) >= 2.30
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(gio-unix-2.0)
+BuildRequires: pkgconfig(gmodule-2.0)
+BuildRequires: pkgconfig(sqlite3)
+
+
+%description
+%{summary}.
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+if [ -f = "gtk-doc.make" ]
+then
+rm gtk-doc.make
+fi
+touch gtk-doc.make
+autoreconf -f -i
+
+
+%build
+%if %{debug_build} == 1
+%configure --enable-dbus-type=%{dbus_type} --enable-debug
+%else
+%configure --enable-dbus-type=%{dbus_type}
+%endif
+
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%post
+/sbin/ldconfig
+chmod u+s %{_bindir}/%{name}
+
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.LIB INSTALL NEWS README
+%{_bindir}/%{name}
+%{_bindir}/%{name}-plugind
+%{_libdir}/lib%{name}-*.so.*
+%{_libdir}/%{name}/extensions/*.so*
+%{_libdir}/%{name}/plugins/*.so*
+%if %{dbus_type} != "p2p"
+%{_datadir}/dbus-1/services/*SingleSignOn*.service
+%endif
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/*.h
+%{_libdir}/lib%{name}-*.so
+%{_libdir}/pkgconfig/%{name}.pc
+%if %{dbus_type} != "p2p"
+%{_datadir}/dbus-1/interfaces/*SSO*.xml
+%endif
+
--- /dev/null
+Name: gst-common
+Version: 20130618
+Release: 0
+License: LGPL-2.0
+Summary: Gstreamer Common Files
+Group: Multimedia/Development
+Source: %{name}-%{version}.tar.bz2
+
+%description
+Gstreamer Common Files.
+
+%prep
+%setup -q
+
+%build
+rm -rf .gitignore
+
+%install
+mkdir -p %{buildroot}/%{_datadir}/gst-common
+cp -a . %{buildroot}/%{_datadir}/gst-common
+
+%files
+%defattr(-,root,root)
+%{_datadir}/gst-common
+
+%changelog
--- /dev/null
+#sbs-git:slp/pkgs/g/gst-plugins-bad0.10 gst-plugins-bad 0.10.23 3e50f3f786fc9956e191c290b2169d52808cd441
+Name: gst-plugins-bad0.10
+Summary: GStreamer plugins from the "bad" set
+Version: 0.10.23
+Release: 12
+Group: Applications/Multimedia
+License: LGPLv2+
+Source0: %{name}-%{version}.tar.gz
+Patch0: gst-plugins-bad-disable-gtk-doc.patch
+BuildRequires: gettext
+BuildRequires: pkgconfig(gstreamer-0.10)
+BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libcrypto)
+
+%description
+GStreamer is a streaming media framework, based on graphs of filters
+which operate on media data. Applications using this library can do
+anything from real-time sound processing to playing videos, and just
+about anything else media-related. Its plugin-based architecture means
+that new data types or processing capabilities can be added simply by
+installing new plug-ins.
+.
+GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared
+to the rest. They might be close to being good quality, but they're missing
+something - be it a good code review, some documentation, a set of tests, a
+real live maintainer, or some actual wide use.
+
+
+%package devel
+Summary: Development tools for GStreamer bad plugins
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development files for the GStreamer media framework badplug-ins
+
+
+%prep
+%setup -q
+%patch0 -p1
+
+
+%build
+./autogen.sh
+
+export CFLAGS+=" -Wall -g -fPIC\
+ -DGST_EXT_HLS_MODIFICATION\
+ -DGST_H263PARSE_MODIFICATION\
+ -DGST_H264PARSE_MODIFICATION"
+
+%configure --prefix=%{_prefix}\
+ --disable-static\
+ --disable-nls\
+ --with-html-dir=/tmp/dump\
+ --disable-examples\
+ --disable-aiff\
+ --disable-amrparse\
+ --disable-asfmux\
+ --disable-bayer\
+ --disable-cdxaparse\
+ --disable-dccp\
+ --disable-dvdspu\
+ --disable-festival\
+ --disable-freeze\
+ --disable-frei0r\
+ --disable-hdvparse\
+ --disable-librfb\
+ --disable-modplug\
+ --disable-mpegpsmux\
+ --disable-mve\
+ --disable-mxf\
+ --disable-nsf\
+ --disable-nuvdemux\
+ --disable-pcapparse\
+ --disable-pnm\
+ --disable-qtmux\
+ --disable-real\
+ --disable-scaletempo\
+ --disable-shapewipe\
+ --disable-siren\
+ --disable-speed\
+ --disable-subenc\
+ --disable-stereo\
+ --disable-tta\
+ --disable-videomeasure\
+ --disable-videosignal\
+ --disable-vmnc\
+ --disable-directsound\
+ --disable-directdraw\
+ --disable-osx_video\
+ --disable-vcd\
+ --disable-assrender\
+ --disable-amrwb\
+ --disable-apexsink\
+ --disable-bz2\
+ --disable-cdaudio\
+ --disable-celt\
+ --disable-cog\
+ --disable-dc1394\
+ --disable-directfb\
+ --disable-dirac\
+ --disable-dts\
+ --disable-divx\
+ --disable-dvdnav\
+ --disable-faac\
+ --disable-faad\
+ --disable-fbdev\
+ --disable-gsm\
+ --disable-ivorbis\
+ --disable-jack\
+ --disable-jp2k\
+ --disable-kate\
+ --disable-ladspa\
+ --disable-lv2\
+ --disable-libmms\
+ --disable-modplug\
+ --disable-mimic\
+ --disable-mpeg2enc\
+ --disable-mplex\
+ --disable-musepack\
+ --disable-musicbrainz\
+ --disable-mythtv\
+ --disable-nas\
+ --disable-neon\
+ --disable-ofa\
+ --disable-timidity\
+ --disable-wildmidi\
+ --disable-sdl\
+ --disable-sdltest\
+ --disable-sndfile\
+ --disable-soundtouch\
+ --disable-spc\
+ --disable-gme\
+ --disable-swfdec\
+ --disable-theoradec\
+ --disable-xvid\
+ --disable-dvb\
+ --disable-oss4\
+ --disable-wininet\
+ --disable-acm\
+ --disable-vdpau\
+ --disable-schro\
+ --disable-vp8\
+ --disable-zbar\
+ --disable-dataurisrc\
+ --disable-shm\
+ --disable-coloreffects\
+ --disable-colorspace\
+ --disable-videomaxrate\
+ --disable-jp2kdecimator\
+ --disable-interlace\
+ --disable-gaudieffects\
+ --disable-y4m\
+ --disable-adpcmenc\
+ --disable-segmentclip\
+ --disable-geometrictransform\
+ --disable-inter\
+ --disable-dvbsuboverlay\
+ --disable-ivfparse\
+ --disable-gsettings\
+ --disable-opus\
+ --disable-openal\
+ --disable-snapdsp\
+ --disable-teletextdec\
+ --disable-audiovisualizers\
+ --disable-faceoverlay\
+ --disable-freeverb\
+ --disable-removesilence\
+ --disable-smooth\
+ --disable-avc\
+ --disable-d3dvideosink\
+ --disable-pvr2d
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+%files
+%manifest gst-plugins-bad.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libgstbasevideo-0.10.so.*
+%{_libdir}/libgstcodecparsers-0.10.so.*
+%{_libdir}/libgstbasecamerabinsrc-0.10.so.*
+%{_libdir}/libgstphotography-0.10.so.*
+%{_libdir}/libgstsignalprocessor-0.10.so.*
+%{_libdir}/gstreamer-0.10/libgst*.so
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libgst*.so
+%{_includedir}/gstreamer-0.10/gst/*
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+%bcond_with introspection
+%bcond_with cdparanoia
+
+Name: gst-plugins-base
+Version: 1.0.7
+Release: 0
+License: LGPL-2.1+ and GPL-2.0+
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+%define gst_branch 1.0
+Url: http://gstreamer.freedesktop.org/
+Group: Multimedia/Audio
+Source: http://download.gnome.org/sources/gst-plugins-base/1.0/%{name}-%{version}.tar.xz
+Source2: baselibs.conf
+BuildRequires: gettext-tools
+BuildRequires: gst-common
+BuildRequires: glib2-devel >= 2.32
+BuildRequires: gstreamer-devel >= 1.0.0
+BuildRequires: gstreamer-utils > 0.11
+BuildRequires: orc >= 0.4.16
+BuildRequires: python
+BuildRequires: update-desktop-files
+BuildRequires: pkgconfig(ice)
+BuildRequires: pkgconfig(sm)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xv)
+%if %{with introspection}
+BuildRequires: gobject-introspection-devel >= 1.31.1
+%endif
+%if %{with cdparanoia}
+BuildRequires: pkgconfig(cdparanoia-3)
+%endif
+BuildRequires: pkgconfig(alsa) >= 0.9.1
+BuildRequires: pkgconfig(freetype2) >= 2.0.9
+#BuildRequires: pkgconfig(iso-codes)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(ogg) >= 1.0
+BuildRequires: pkgconfig(pango) >= 1.22.0
+BuildRequires: pkgconfig(pangocairo) >= 1.22.0
+BuildRequires: pkgconfig(theoradec) >= 1.1
+BuildRequires: pkgconfig(theoraenc) >= 1.1
+BuildRequires: pkgconfig(vorbis) >= 1.0
+BuildRequires: pkgconfig(vorbisenc) >= 1.0
+BuildRequires: pkgconfig(zlib)
+Requires: gstreamer >= 1.0.0
+Supplements: gstreamer
+
+%description
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package -n libgstapp
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+# We want to have base modules installed:
+Requires: %{name}
+
+%description -n libgstapp
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package -n typelib-GstApp
+Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
+
+%description -n typelib-GstApp
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+This package provides the GObject Introspection bindings for GStreamer
+plug-ins.
+
+%package -n libgstaudio
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+Requires: %{name}
+
+%description -n libgstaudio
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package -n typelib-GstAudio
+Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
+
+%description -n typelib-GstAudio
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+This package provides the GObject Introspection bindings for GStreamer
+plug-ins.
+
+%package -n libgstfft
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+Requires: %{name}
+
+%description -n libgstfft
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package -n typelib-GstFft
+Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
+
+%description -n typelib-GstFft
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+This package provides the GObject Introspection bindings for GStreamer
+plug-ins.
+
+%package -n libgstpbutils
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+Requires: %{name}
+
+%description -n libgstpbutils
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package -n typelib-GstPbutils
+Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
+
+%description -n typelib-GstPbutils
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+This package provides the GObject Introspection bindings for GStreamer
+plug-ins.
+
+%package -n libgstriff
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+Requires: %{name}
+
+%description -n libgstriff
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package -n typelib-GstRiff
+Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
+
+%description -n typelib-GstRiff
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+This package provides the GObject Introspection bindings for GStreamer
+plug-ins.
+
+%package -n libgstrtp
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+# We want to have base modules installed:
+Requires: %{name}
+
+%description -n libgstrtp
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package -n typelib-GstRtp
+Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
+
+%description -n typelib-GstRtp
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+This package provides the GObject Introspection bindings for GStreamer
+plug-ins.
+
+%package -n libgstrtsp
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+# We want to have base modules installed:
+Requires: %{name}
+
+%description -n libgstrtsp
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package -n typelib-GstRtsp
+Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
+
+%description -n typelib-GstRtsp
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+This package provides the GObject Introspection bindings for GStreamer
+plug-ins.
+
+%package -n libgstsdp
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+# We want to have base modules installed:
+Requires: %{name}
+
+%description -n libgstsdp
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package -n typelib-GstSdp
+Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
+
+%description -n typelib-GstSdp
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+This package provides the GObject Introspection bindings for GStreamer
+plug-ins.
+
+%package -n libgsttag
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+# We want to have base modules installed:
+Requires: %{name}
+
+%description -n libgsttag
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package -n typelib-GstTag
+Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
+
+%description -n typelib-GstTag
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+This package provides the GObject Introspection bindings for GStreamer
+plug-ins.
+
+%package -n libgstvideo
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+# We want to have base modules installed:
+Requires: %{name}
+
+%description -n libgstvideo
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package -n typelib-GstVideo
+Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
+
+%description -n typelib-GstVideo
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+This package provides the GObject Introspection bindings for GStreamer
+plug-ins.
+
+%package devel
+Summary: Include files and Libraries
+Requires: libgstapp = %{version}
+Requires: libgstaudio = %{version}
+Requires: libgstfft = %{version}
+Requires: libgstpbutils = %{version}
+Requires: libgstriff = %{version}
+Requires: libgstrtp = %{version}
+Requires: libgstrtsp = %{version}
+Requires: libgstsdp = %{version}
+Requires: libgsttag = %{version}
+Requires: libgstvideo = %{version}
+%if %{with introspection}
+Requires: typelib-GstApp = %{version}
+Requires: typelib-GstAudio = %{version}
+Requires: typelib-GstFft = %{version}
+Requires: typelib-GstPbutils = %{version}
+Requires: typelib-GstRiff = %{version}
+Requires: typelib-GstRtp = %{version}
+Requires: typelib-GstRtsp = %{version}
+Requires: typelib-GstSdp = %{version}
+Requires: typelib-GstTag = %{version}
+Requires: typelib-GstVideo = %{version}
+%endif
+Provides: gst-plugins-base-devel = %{version}
+
+%description devel
+This package contains all necessary include files and libraries needed
+to compile and link applications that use gstreamer-plugins-base.
+
+
+%prep
+%setup -q
+rm -rf common
+cp -a %{_datadir}/gst-common common
+find common -exec touch {} \;
+
+%build
+# FIXME: GTKDOC_CFLAGS, GST_OBJ_CFLAGS:
+# Silently ignored compilation of uninstalled gtk-doc scanners without RPM_OPT_FLAGS.
+export V=1
+NOCONFIGURE=1 ./autogen.sh
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+%configure\
+ --disable-static\
+ --enable-experimental\
+ --disable-gtk-doc\
+%if %{with introspection}
+ --enable-introspection\
+%endif
+ --disable-examples
+make %{?_smp_mflags}
+
+%install
+%make_install
+%find_lang %{name}-%{gst_branch}
+mv %{name}-%{gst_branch}.lang %{name}.lang
+
+%post -n libgstapp -p /sbin/ldconfig
+
+%postun -n libgstapp -p /sbin/ldconfig
+
+%post -n libgstaudio -p /sbin/ldconfig
+
+%postun -n libgstaudio -p /sbin/ldconfig
+
+%post -n libgstfft -p /sbin/ldconfig
+
+%postun -n libgstfft -p /sbin/ldconfig
+
+%post -n libgstpbutils -p /sbin/ldconfig
+
+%postun -n libgstpbutils -p /sbin/ldconfig
+
+%post -n libgstriff -p /sbin/ldconfig
+
+%postun -n libgstriff -p /sbin/ldconfig
+
+%post -n libgstrtp -p /sbin/ldconfig
+
+%postun -n libgstrtp -p /sbin/ldconfig
+
+%post -n libgstrtsp -p /sbin/ldconfig
+
+%postun -n libgstrtsp -p /sbin/ldconfig
+
+%post -n libgstsdp -p /sbin/ldconfig
+
+%postun -n libgstsdp -p /sbin/ldconfig
+
+%post -n libgsttag -p /sbin/ldconfig
+
+%postun -n libgsttag -p /sbin/ldconfig
+
+%post -n libgstvideo -p /sbin/ldconfig
+
+%postun -n libgstvideo -p /sbin/ldconfig
+
+%lang_package
+
+%files
+%defattr(-, root, root)
+%license COPYING COPYING.LIB
+%{_bindir}/gst-discoverer-%{gst_branch}
+%{_libdir}/gstreamer-%{gst_branch}/libgstadder.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstalsa.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstapp.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstaudioconvert.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstaudioresample.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstaudiotestsrc.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstaudiorate.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstgio.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstogg.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstplayback.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstsubparse.so
+%{_libdir}/gstreamer-%{gst_branch}/libgsttcp.so
+%{_libdir}/gstreamer-%{gst_branch}/libgsttheora.so
+%{_libdir}/gstreamer-%{gst_branch}/libgsttypefindfunctions.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvideoconvert.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvideorate.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvideoscale.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvideotestsrc.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvolume.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvorbis.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstencodebin.so
+%doc %{_mandir}/man1/gst-discoverer-*
+
+%{_libdir}/gstreamer-%{gst_branch}/libgstpango.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstximagesink.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstxvimagesink.so
+%if %{with cdparanoia}
+%{_libdir}/gstreamer-%{gst_branch}/libgstcdparanoia.so
+%endif
+
+%files -n libgstapp
+%defattr(-, root, root)
+%{_libdir}/libgstapp*.so.*
+
+%files -n libgstaudio
+%defattr(-, root, root)
+%{_libdir}/libgstaudio*.so.*
+
+%files -n libgstfft
+%defattr(-, root, root)
+%{_libdir}/libgstfft*.so.*
+
+%if %{with introspection}
+%files -n typelib-GstApp
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/GstApp-*.typelib
+
+%files -n typelib-GstAudio
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/GstAudio-*.typelib
+
+%files -n typelib-GstFft
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/GstFft-*.typelib
+
+%files -n typelib-GstRiff
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/GstRiff-*.typelib
+
+%files -n typelib-GstRtp
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/GstRtp-*.typelib
+
+%files -n typelib-GstRtsp
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/GstRtsp-*.typelib
+
+%files -n typelib-GstSdp
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/GstSdp-*.typelib
+
+%files -n typelib-GstTag
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/GstTag-*.typelib
+
+%files -n typelib-GstVideo
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/GstVideo-*.typelib
+
+%files -n typelib-GstPbutils
+%defattr(-, root, root)
+%{_libdir}/girepository-1.0/GstPbutils-*.typelib
+
+%endif
+
+%files -n libgstpbutils
+%defattr(-, root, root)
+%{_libdir}/libgstpbutils*.so.*
+
+
+%files -n libgstriff
+%defattr(-, root, root)
+%{_libdir}/libgstriff*.so.*
+
+
+%files -n libgstrtp
+%defattr(-, root, root)
+%{_libdir}/libgstrtp*.so.*
+
+
+%files -n libgstrtsp
+%defattr(-, root, root)
+%{_libdir}/libgstrtsp*.so.*
+
+
+%files -n libgstsdp
+%defattr(-, root, root)
+%{_libdir}/libgstsdp*.so.*
+
+
+%files -n libgsttag
+%defattr(-, root, root)
+%{_libdir}/libgsttag*.so.*
+%dir %{_datadir}/gst-plugins-base/
+%dir %{_datadir}/gst-plugins-base/%{gst_branch}/
+%{_datadir}/gst-plugins-base/%{gst_branch}/license-translations.dict
+
+
+%files -n libgstvideo
+%defattr(-, root, root)
+%{_libdir}/libgstvideo*.so.*
+
+
+%files devel
+%defattr(-, root, root)
+%{_includedir}/gstreamer-%{gst_branch}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%if %{with introspection}
+%{_datadir}/gir-1.0/*.gir
+%endif
+
--- /dev/null
+Name: gst-plugins-good
+Version: 1.0.7
+Release: 0
+License: LGPL-2.1+
+%define gst_branch 1.0
+Summary: GStreamer Streaming-Media Framework Plug-Ins
+Url: http://gstreamer.freedesktop.org/
+Group: Multimedia/Audio
+Source0: http://download.gnome.org/sources/gst-plugins-good/1.0/%{name}-%{version}.tar.xz
+BuildRequires: gst-common
+BuildRequires: gcc-c++
+BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 2.31.14
+BuildRequires: gstreamer-devel >= 1.0.0
+BuildRequires: libjpeg-devel
+BuildRequires: orc >= 0.4.16
+BuildRequires: python
+BuildRequires: xsltproc
+BuildRequires: pkgconfig(bzip2)
+BuildRequires: pkgconfig(cairo) >= 1.0.0
+BuildRequires: pkgconfig(cairo-gobject) >= 1.10.0
+BuildRequires: pkgconfig(flac)
+BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.8.0
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.0.2
+BuildRequires: pkgconfig(gudev-1.0) >= 143
+BuildRequires: pkgconfig(ice)
+BuildRequires: pkgconfig(libpng) >= 1.2
+BuildRequires: pkgconfig(libpulse) >= 1.0
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(libxml-2.0) >= 2.4.9
+BuildRequires: pkgconfig(sm)
+BuildRequires: pkgconfig(speex) >= 1.1.6
+BuildRequires: pkgconfig(vpx) >= 1.1.0
+BuildRequires: pkgconfig(xdamage)
+BuildRequires: pkgconfig(xfixes)
+# used by libgstvideo4linux2.so
+BuildRequires: pkgconfig(xv)
+# TODO find where process.h comes from, not kernel-devel and not wxWidgets so far.
+BuildRequires: pkgconfig(zlib)
+Requires: gst-plugins-base >= 1.0.0
+Requires: gstreamer >= 1.0.5
+
+%description
+GStreamer is a streaming media framework based on graphs of filters
+that operate on media data. Applications using this library can do
+anything media-related, from real-time sound processing to playing
+videos. Its plug-in-based architecture means that new data types or
+processing capabilities can be added simply by installing new plug-ins.
+
+%package extra
+Summary: Complementary plugins for %{name}
+Group: Productivity/Multimedia/Other
+Requires: %{name} = %{version}
+Enhances: gst-plugins-good
+
+%description extra
+This package provides complementary plugins for
+%{name}.
+
+%prep
+chmod 0644 %{SOURCE0}
+%setup -q
+rm -rf common
+cp -a %{_datadir}/gst-common common
+find common -exec touch {} \;
+
+%build
+# FIXME:
+# warning: failed to load external entity "xml/element-v4l2src-details.xml"
+# warning: failed to load external entity "xml/plugin-video4linux2.xml"
+export V=1
+NOCONFIGURE=1 ./autogen.sh
+%configure\
+%if ! 0%{?ENABLE_AALIB}
+ --disable-aalib\
+%endif
+ --disable-gtk-doc\
+ --with-gtk=3.0\
+ --enable-experimental
+make %{?_smp_mflags}
+
+%install
+%make_install
+%find_lang %{name}-%{gst_branch}
+
+%lang_package -f %{name}-%{gst_branch}
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/gstreamer-%{gst_branch}/libgstalaw.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstalpha.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstalphacolor.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstapetag.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstaudiofx.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstaudioparsers.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstauparse.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstautodetect.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstavi.so
+# Not yet ported
+%{_libdir}/gstreamer-%{gst_branch}/libgstcutter.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstdebug.so
+# Not yet ported
+%{_libdir}/gstreamer-%{gst_branch}/libgstdeinterlace.so
+%{_libdir}/gstreamer-%{gst_branch}/libgsteffectv.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstequalizer.so
+%{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer10Bands.prs
+%{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer3Bands.prs
+%{_datadir}/gstreamer-%{gst_branch}/presets/GstVP8Enc.prs
+%{_libdir}/gstreamer-%{gst_branch}/libgstflv.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstflxdec.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstgdkpixbuf.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstgoom.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstgoom2k1.so
+%{_libdir}/gstreamer-%{gst_branch}/libgsticydemux.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstid3demux.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstimagefreeze.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstinterleave.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstisomp4.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstjpeg.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstlevel.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstmatroska.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstmonoscope.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstmulaw.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstmultifile.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstmultipart.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstnavigationtest.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstoss4audio.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstossaudio.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstpng.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstpulse.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstreplaygain.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstrtp.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstrtpmanager.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstrtsp.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstshapewipe.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstsmpte.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstspectrum.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstspeex.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstudp.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvideo4linux2.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvideobox.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvideocrop.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvideofilter.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvideomixer.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstwavenc.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstwavparse.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstximagesrc.so
+%{_libdir}/gstreamer-%{gst_branch}/libgsty4menc.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstcairo.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstsouphttpsrc.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstflac.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstvpx.so
+
+
+%if 0%{?ENABLE_AALIB}
+%files extra
+%defattr(-, root, root)
+%{_libdir}/gstreamer-%{gst_branch}/libgstaasink.so
+%endif
--- /dev/null
+Name: gst-plugins-ugly0.10
+Summary: GStreamer plugins from the "ugly" set
+Version: 0.10.19
+Release: 6
+Group: Applications/Multimedia
+License: LGPLv2+
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: gettext-tools
+BuildRequires: which
+BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
+BuildRequires: pkgconfig(gstreamer-0.10)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(opencore-amrnb)
+BuildRequires: pkgconfig(opencore-amrwb)
+
+%description
+ GStreamer is a streaming media framework, based on graphs of filters
+ which operate on media data. Applications using this library can do
+ anything from real-time sound processing to playing videos, and just
+ about anything else media-related. Its plugin-based architecture means
+ that new data types or processing capabilities can be added simply by
+ installing new plug-ins.
+ .
+ This packages contains plugins from the "ugly" set, a set of
+ good-quality plug-ins that might pose distribution problems.
+
+
+
+%prep
+%setup -q
+
+
+%build
+./autogen.sh
+%configure --prefix=%{_prefix}\
+ --disable-static\
+ --disable-nls\
+ --with-html-dir=/tmp/dump\
+ --disable-examples\
+ --disable-dvdlpcmdec\
+ --disable-dvdsub\
+ --disable-iec958\
+ --disable-mpegstream\
+ --disable-synaesthesia\
+ --disable-a52dec\
+ --disable-cdio\
+ --disable-dvdread\
+ --disable-dvdnav\
+ --disable-mad\
+ --disable-mpeg2dec\
+ --disable-sidplay\
+ --disable-twolame\
+ --disable-x264
+
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+
+
+%files
+%manifest gst-plugins-ugly.manifest
+%defattr(-,root,root,-)
+%{_libdir}/gstreamer-0.10/libgstmpegaudioparse.so
+%{_libdir}/gstreamer-0.10/libgstasf.so
+%{_libdir}/gstreamer-0.10/libgstamrnb.so
+%{_libdir}/gstreamer-0.10/libgstamrwbdec.so
+%{_libdir}/gstreamer-0.10/libgstrmdemux.so
+%exclude %{_datadir}/gstreamer-0.10/presets/GstAmrnbEnc.prs
+
--- /dev/null
+Name: gstreamer-vaapi
+Version: 0.5.3
+Release: 0
+Summary: VA-API based plugins for GStreamer and helper libraries
+Group: Multimedia/Multimedia Framework
+License: LGPL-2.1+ and GPL-2.0+
+URL: http://gitorious.org/vaapi/gstreamer-vaapi
+Source0: %{name}-%{version}.tar.bz2
+Source1001: gstreamer-vaapi.manifest
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(libva)
+BuildRequires: pkgconfig(gstreamer-1.0)
+BuildRequires: pkgconfig(gstreamer-basevideo-1.0)
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: which
+ExclusiveArch: %{ix86} x86_64
+
+%description
+Gstreamer-vaapi is a collection of VA-API based plugins for GStreamer
+and helper libraries. vaapidecode is used to decode MPEG-2, MPEG-4,
+H.264, VC-1, WMV3 videos to video/x-vaapi-surface surfaces, depending
+on the underlying HW capabilities. vaapiconvert is used to convert from
+video/x-raw-yuv pixels to video/x-vaapi-surface surfaces. vaapisink is
+used to display video/x-vaapi-surface surfaces to the screen.
+
+%package devel
+Summary: Development files for gstreamer-vaapi
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: pkgconfig
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+
+%configure --enable-encoders --with-gstreamer-api=1.0
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest gstreamer-vaapi.manifest
+%license COPYING.LIB
+%{_libdir}/*.so.*
+%{_libdir}/gstreamer-1.0/*.so
+
+%files devel
+%manifest gstreamer-vaapi.manifest
+%license COPYING.LIB
+%dir %{_includedir}/gstreamer-1.0/gst/vaapi
+%{_includedir}/gstreamer-1.0/gst/vaapi/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/%{name}*.pc
--- /dev/null
+Name: gstreamer0.10
+Summary: GStreamer streaming media framework runtime
+Version: 0.10.36
+Release: 6
+Group: Applications/Multimedia
+License: LGPLv2+
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(mm-ta)
+BuildRequires: bison
+BuildRequires: flex
+
+
+%description
+GStreamer is a streaming media framework, based on graphs of filters which
+operate on media data. Applications using this library can do anything
+from real-time sound processing to playing videos, and just about anything
+else media-related. Its plugin-based architecture means that new data
+types or processing capabilities can be added simply by installing new
+plugins.
+
+
+
+%package devel
+Summary: Development tools for GStreamer
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the libraries and includes files necessary to develop
+applications and plugins for GStreamer. If you plan to develop applications
+with GStreamer, consider installing the gstreamer-devel-docs package and the
+documentation packages for any plugins you intend to use.
+
+
+%package tools
+Summary: Common tools and files for GStreamer streaming media framework
+Group: Applications/Multimedia
+Requires: %{name} = %{version}-%{release}
+
+%description tools
+This package contains wrapper scripts for the command-line tools that work
+with different major/minor versions of GStreamer.
+
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+
+
+export CFLAGS+=" -Wall -g -fPIC\
+ -DGST_EXT_AV_RECORDING\
+ -DGST_EXT_QUEUE_ENHANCEMENT\
+ -DGST_EXT_CURRENT_BYTES\
+ -DGST_EXT_BASEPARSER_MODIFICATION\
+ -DGST_EXT_BASIC_MODIFICATION\
+ -DGST_EXT_MODIFIED_DQBUF"
+
+%configure --prefix=/usr\
+ --disable-valgrind\
+ --without-check\
+ --disable-static\
+ --disable-rpath\
+ --disable-libtool-lock\
+ --disable-alloc-trace\
+ --disable-gcov\
+ --disable-nls\
+ --disable-examples\
+ --disable-tests\
+ --disable-failing-tests\
+ --disable-docbook\
+ --disable-gtk-doc\
+ --disable-registry-update\
+ --disable-loadsave\
+ --with-html-dir=/tmp/dump
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+rm -rf %{buildroot}/tmp/dump
+rm -rf %{buildroot}/%{_libdir}/libgstnet*
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+
+
+
+
+
+
+%files
+%manifest gstreamer.manifest
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS README RELEASE TODO
+%{_libdir}/libgstreamer-0.10.so.*
+%{_libdir}/libgstbase-0.10.so.*
+%{_libdir}/libgstcontroller-0.10.so.*
+%{_libdir}/libgstdataprotocol-0.10.so.*
+#%exclude %{_libdir}/libgstnet-0.10.so.*
+%{_libdir}/libgstcheck-0.10.so.*
+%dir %{_libdir}/gstreamer-0.10
+%{_libdir}/gstreamer-0.10/libgstcoreelements.so
+%{_libdir}/gstreamer-0.10/libgstcoreindexers.so
+%dir %{_libexecdir}/gstreamer-0.10
+%{_libexecdir}/gstreamer-0.10/gst-plugin-scanner
+%{_bindir}/gst-feedback-0.10
+%{_bindir}/gst-inspect-0.10
+%{_bindir}/gst-launch-0.10
+%{_bindir}/gst-typefind-0.10
+%{_bindir}/gst-xmlinspect-0.10
+%doc %{_mandir}/man1/gst-feedback-0.10.*
+%doc %{_mandir}/man1/gst-inspect-0.10.*
+%doc %{_mandir}/man1/gst-launch-0.10.*
+%doc %{_mandir}/man1/gst-typefind-0.10.*
+%doc %{_mandir}/man1/gst-xmlinspect-0.10.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/gstreamer-0.10
+%dir %{_includedir}/gstreamer-0.10/gst
+%{_includedir}/gstreamer-0.10/gst/*.h
+%{_includedir}/gstreamer-0.10/gst/base
+%{_includedir}/gstreamer-0.10/gst/check
+%{_includedir}/gstreamer-0.10/gst/controller
+%{_includedir}/gstreamer-0.10/gst/dataprotocol
+%{_includedir}/gstreamer-0.10/gst/net
+%{_datadir}/aclocal/gst-element-check-0.10.m4
+%{_libdir}/libgstreamer-0.10.so
+%{_libdir}/libgstbase-0.10.so
+%{_libdir}/libgstcontroller-0.10.so
+%{_libdir}/libgstdataprotocol-0.10.so
+#%exclude %{_libdir}/libgstnet-0.10.so
+%{_libdir}/libgstcheck-0.10.so
+%{_libdir}/pkgconfig/gstreamer-0.10.pc
+%{_libdir}/pkgconfig/gstreamer-base-0.10.pc
+%{_libdir}/pkgconfig/gstreamer-controller-0.10.pc
+%{_libdir}/pkgconfig/gstreamer-check-0.10.pc
+%{_libdir}/pkgconfig/gstreamer-dataprotocol-0.10.pc
+%{_libdir}/pkgconfig/gstreamer-net-0.10.pc
+
+%files tools
+%manifest gstreamer-tools.manifest
+%defattr(-,root,root,-)
+%{_bindir}/gst-feedback
+%{_bindir}/gst-inspect
+%{_bindir}/gst-launch
+%{_bindir}/gst-typefind
+%{_bindir}/gst-xmlinspect
+#%{_bindir}/gst-xmllaunch
+
--- /dev/null
+Name: gtest
+Summary: gtest library
+Version: 1.2.1.0
+Release: 2
+License: TO_BE/FILLED_IN
+Vendor: TO_BE/FILLED_IN
+Group: TO_BE/FILLED_IN
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: pkgconfig(python)
+#BuildRequires: automake autoconf libtool
+Provides: libgtest_main.so.0 libgtest.so.0
+
+%description
+gtest library.
+
+%package devel
+Summary: gtest (Development)
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+gtest library (DEV)
+
+%prep
+%setup -q
+
+%build
+./configure --prefix=/usr
+make
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+[ ${RPM_BUILD_ROOT} != "/" ] && rm -rf ${RPM_BUILD_ROOT}
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+/usr/lib/libgtest_main.so.*
+/usr/lib/libgtest.so.*
+
+%files devel
+/usr/include/gtest/*.h
+/usr/include/gtest/internal/*.h
+/usr/lib/libgtest_main.so
+/usr/lib/libgtest.so
+/usr/lib/libgtest_main.la
+/usr/lib/libgtest_main.a
+/usr/lib/libgtest.la
+/usr/lib/libgtest.a
+/usr/share/aclocal/gtest.m4
+
+%changelog
--- /dev/null
+Name: gummiboot
+Version: 28
+Release: 1
+License: LGPL-2.1
+Summary: EFI Kernel loader
+Url: http://cgit.freedesktop.org/gummiboot/
+Group: System/Boot
+Source0: http://cgit.freedesktop.org/%{name}/snapshot/%{name}-%{version}.tar.gz
+Source1001: packaging/gummiboot.manifest
+BuildRequires: gnu-efi
+BuildRequires: pkgconfig(blkid)
+ExclusiveArch: %ix86 x86_64
+
+
+%description
+Gummiboot is a simple EFI bootloader.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+cp %{SOURCE1001} .
+%reconfigure
+make
+
+%install
+rm -fr %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root)
+%manifest gummiboot.manifest
+%{_bindir}/gummiboot
+%ifarch x86_64
+%{_prefix}/lib/gummiboot/gummibootx64.efi
+%else
+%{_prefix}/lib/gummiboot/gummibootia32.efi
+%endif
--- /dev/null
+Name: gzip
+Version: 1.5
+Release: 1
+License: GPL-3.0+
+Summary: The GNU data compression program
+Url: http://www.gzip.org/
+Group: Base/Tools
+Source0: ftp://alpha.gnu.org/gnu/gzip/gzip-%{version}.tar.xz
+Requires: /usr/bin/mktemp
+
+%description
+The gzip package contains the popular GNU gzip data compression
+program. Gzipped files have a .gz extension.
+
+Gzip should be installed on your system, because it is a
+very commonly used data compression program.
+
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --bindir=%{_bindir}
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%docs_package
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/gzip
+%{_bindir}/gunzip
+%{_bindir}/zcmp
+%{_bindir}/zegrep
+%{_bindir}/zforce
+%{_bindir}/znew
+%{_bindir}/gzexe
+%{_bindir}/zdiff
+%{_bindir}/zfgrep
+%{_bindir}/zgrep
+%{_bindir}/zmore
+%{_bindir}/zcat
+%{_bindir}/uncompress
+%{_bindir}/zless
+
--- /dev/null
+#sbs-git:slp/pkgs/d/devman devman 0.1.6 5bf2e95e0bb15c43ff928f7375e1978b0accb0f8
+Name: haptic-module-tizen
+Summary: Haptic Module library
+Version: 0.1.0
+Release: 9
+Group: System/Libraries
+License: APLv2
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(haptic-plugin)
+BuildRequires: pkgconfig(device-node)
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+
+%prep
+%setup -q
+
+%build
+%if 0%{?simulator}
+%cmake . -DSIMULATOR=yes
+%else
+%ifarch %{ix86}
+CFLAGS=`echo %{optflags} |sed 's/\-fexceptions//g'`
+%endif
+%cmake . -DSIMULATOR=no
+%endif
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%{_libdir}/libhaptic-module.so
--- /dev/null
+Name: capi-system-haptic
+Summary: A Haptic library in Tizen C API
+Version: 0.1.0
+Release: 23
+Group: System/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: capi-system-haptic.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(devman_haptic)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(dlog)
+
+%description
+A Haptic library in Tizen C API.
+
+
+%package devel
+Summary: A Haptic library in Tizen C API (Development)
+Group: Development/System
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+
+%build
+cp %{SOURCE1} .
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE
+%manifest capi-system-haptic.manifest
+%{_libdir}/libcapi-system-haptic.so.*
+
+%files devel
+%{_includedir}/system/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-system-haptic.so
+
+%changelog
--- /dev/null
+Summary: Create a tree of hardlinks
+Name: hardlink
+Version: 1.0
+Release: 1
+Group: Base/Tools
+URL: http://pkgs.fedoraproject.org/gitweb/?p=hardlink.git
+License: GPL+
+Source0: hardlink.c
+Source1: hardlink.1
+
+%description
+hardlink is used to create a tree of hard links.
+It's used by kernel installation to dramatically reduce the
+amount of diskspace used by each kernel package installed.
+
+%prep
+%setup -q -c -T
+install -pm 644 %{SOURCE0} hardlink.c
+
+%build
+gcc $RPM_OPT_FLAGS hardlink.c -o hardlink
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/hardlink.1
+install -D -m 755 hardlink $RPM_BUILD_ROOT%{_sbindir}/hardlink
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%{_sbindir}/hardlink
+%{_mandir}/man1/hardlink.1*
+
--- /dev/null
+Name: harfbuzz
+Version: 0.9.12
+Release: 0
+License: MIT
+Summary: An OpenType text shaping engine
+Url: http://www.freedesktop.org/wiki/Software/HarfBuzz
+Group: Graphics/Font Management
+Source: %{name}-%{version}.tar.bz2
+Source99: baselibs.conf
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig(cairo) >= 1.8.0
+BuildRequires: pkgconfig(cairo-ft)
+BuildRequires: pkgconfig(freetype2) >= 2.3.8
+BuildRequires: pkgconfig(glib-2.0) >= 2.16
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(gthread-2.0)
+BuildRequires: pkgconfig(icu-uc)
+
+%description
+HarfBuzz is an OpenType text shaping engine.
+
+%package -n libharfbuzz
+Summary: An OpenType text shaping engine
+Group: Graphics/Font Management
+
+%description -n libharfbuzz
+HarfBuzz is an OpenType text shaping engine.
+
+%package tools
+Summary: An OpenType text shaping engine -- Tools
+Group: Graphics/Font Management
+
+%description tools
+HarfBuzz is an OpenType text shaping engine.
+
+%package devel
+Summary: An OpenType text shaping engine -- Development Files
+Group: Development/Libraries
+Requires: libharfbuzz = %{version}
+
+%description devel
+HarfBuzz is an OpenType text shaping engine.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -n libharfbuzz -p /sbin/ldconfig
+
+%postun -n libharfbuzz -p /sbin/ldconfig
+
+%files -n libharfbuzz
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libharfbuzz.so.0*
+
+%files tools
+%defattr(-,root,root)
+%{_bindir}/hb-ot-shape-closure
+%{_bindir}/hb-shape
+%{_bindir}/hb-view
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/harfbuzz/
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/harfbuzz.pc
--- /dev/null
+Name: libheap-monitor
+Summary: Library for monitoring the heap usage
+Version: 0.0.12
+Release: 1
+Group: HomeTF/Livebox
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake, gettext-tools, coreutils
+BuildRequires: pkgconfig(dlog)
+
+%description
+Monitoring the heap usage to manage them safely.
+
+%package devel
+Summary: Files for implementaion of the heap monitor.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Monitoring the heap usage to manage them safely.(dev)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+CFLAGS+="${CFLAGS} -fvisibility=hidden -Wall -fno-builtin-malloc" make %{?jobs:-j%jobs}
+
+%install
+%make_install
+mkdir -p %{buildroot}/%{_datarootdir}/license
+
+%post
+
+%files
+%manifest libheap-monitor.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+%{_datarootdir}/license/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/heap-monitor/heap-monitor.h
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Name: help2man
+Version: 1.40.10
+Release: 0
+License: GPL-3.0+
+Summary: Create Simple Man Pages from --help Output
+Url: http://www.gnu.org/software/help2man/
+Group: Development/Tools/Doc Generators
+Source: %{name}-%{version}.tar.gz
+BuildRequires: gettext-tools
+BuildRequires: perl-gettext
+Requires: perl-gettext
+
+%description
+help2man is a script to create simple man pages from the --help and
+--version output of programs.
+
+Since most GNU documentation is now in info format, this provides a way
+to generate a placeholder man page pointing to that resource while
+still providing some useful information.
+
+%prep
+%setup -q
+
+%build
+%configure --enable-nls
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%find_lang %{name} --with-man
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc COPYING
+%{_bindir}/help2man
+%{_libdir}/help2man/
+%doc %{_infodir}/help2man.info%{ext_info}
+%doc %{_mandir}/man1/help2man.1%{ext_man}
+%dir %{_mandir}/??
+%dir %{_mandir}/??/man1
+
+%changelog
--- /dev/null
+#
+
+Name: heynoti
+Version: 0.0.2
+Release: 39
+License: Apache License, Version 2.0
+Summary: HEY (ligHt Easy speedy) notification library
+Group: System/Libraries
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(glib-2.0)
+
+%description
+lightweight notification library, service APIs
+
+%package devel
+Summary: Notification library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: heynoti
+
+%description devel
+heynoti API (devel)
+
+%prep
+%setup -q
+
+
+%build
+%cmake . -DCMAKE_BUILD_TYPE="Debug"
+
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/opt/share/noti
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest heynoti.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libheynoti.so.0
+%{_libdir}/libheynoti.so.0.0.2
+%{_bindir}/heynotitool
+%attr(1755,root,root) /opt/share/noti
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/heynoti/SLP_Heynoti_PG.h
+%{_includedir}/heynoti/heynoti.h
+%{_libdir}/pkgconfig/heynoti.pc
+%{_libdir}/libheynoti.so
+
--- /dev/null
+Name: hostname
+Version: 3.12
+Release: 0
+License: GPL-2.0+
+Summary: Utility to set/show the host name or domain name
+Url: http://packages.qa.debian.org/h/hostname.html
+Group: System/Base
+Source0: http://ftp.de.debian.org/debian/pool/main/h/hostname/hostname_%{version}.tar.gz
+
+%description
+This package provides commands which can be used to display the system's
+DNS name, and to display or set its hostname or NIS domain name.
+
+%prep
+%setup -q -n hostname
+
+%build
+make CFLAGS="%{optflags} $CFLAGS"
+
+%install
+make BASEDIR=%{buildroot} install
+# english is enough
+rm -rf %{buildroot}/usr/share/man/fr
+
+%files
+%license COPYRIGHT
+/bin/*
+%{_mandir}/man1/*
+
--- /dev/null
+Name: hunspell
+Version: 1.3.2
+Release: 0
+License: (GPL-2.0+ or LGPL-2.1+ or MPL-1.1+) and LGPL-2.1+
+Summary: Hunspell - a spell checker and morphological analyzer library
+Url: http://hunspell.sourceforge.net/
+Group: System/Libraries
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake
+BuildRequires: gcc-c++
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: ncurses-devel >= 5.0
+BuildRequires: pkg-config
+BuildRequires: readline-devel
+
+%description
+Hunspell is a spell checker and morphological analyzer library and
+program designed for languages with rich morphology and complex word
+compounding or character encoding. Hunspell interfaces: Ispell-like
+terminal interface using Curses library, Ispell pipe interface,
+LibreOffice or OpenOffice.org UNO module.
+
+%package tools
+Summary: Hunspell tools
+Group: Development/Libraries/Other
+Requires: %{name} = %{version}
+
+%description tools
+This package contains munch and unmunch programs.
+
+%package devel
+Summary: Files for developing with hunspell
+Group: Development/Libraries/Other
+Requires: %{name} = %{version}
+Requires: libstdc++-devel
+Requires: pkgconfig
+
+%description devel
+Includes and definitions for developing with hunspell.
+
+%package static
+Summary: Static hunspell library
+Group: Development/Libraries/Other
+Requires: %{name}-devel = %{version}
+
+%description static
+Static hunspell library.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --with-ui \
+ --with-readline
+make %{?_smp_mflags}
+
+%check
+make check
+%install
+%make_install
+rm -f %{buildroot}%{_bindir}/example
+install -m 644 src/tools/{,un}munch.h %{buildroot}%{_includedir}
+rm -rf %{buildroot}%{_mandir}/hu
+%find_lang %{name}
+
+
+%post -p /sbin/ldconfig -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig -p /sbin/ldconfig
+
+
+%docs_package
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc COPYING license.hunspell license.myspell
+%attr(755,root,root) %{_bindir}/hunspell
+%attr(755,root,root) %{_libdir}/libhunspell*.so*
+%exclude %{_libdir}/libhunspell*.so
+
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/analyze
+%attr(755,root,root) %{_bindir}/chmorph
+%attr(755,root,root) %{_bindir}/munch
+%attr(755,root,root) %{_bindir}/unmunch
+%attr(755,root,root) %{_bindir}/hunzip
+%attr(755,root,root) %{_bindir}/hzip
+%attr(755,root,root) %{_bindir}/affixcompress
+%attr(755,root,root) %{_bindir}/ispellaff2myspell
+%attr(755,root,root) %{_bindir}/makealias
+%attr(755,root,root) %{_bindir}/wordforms
+%attr(755,root,root) %{_bindir}/wordlist2hunspell
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libhunspell-*.so
+%{_includedir}/%{name}
+%{_includedir}/munch.h
+%{_includedir}/unmunch.h
+%{_libdir}/pkgconfig/hunspell.pc
+
--- /dev/null
+Name: hwdata
+Version: 0.234
+Release: 1
+License: GPL-2.0+
+Summary: Hardware identification and configuration data
+Group: System/Base
+Source0: %{name}-%{version}.tar.bz2
+Url: http://git.fedorahosted.org/git/hwdata.git
+BuildArch: noarch
+Provides: pciutils-ids
+Source1: pci.ids
+Source2: usb.ids
+
+%description
+hwdata contains various hardware identification and configuration data,
+such as the pci.ids database and MonitorsDb databases.
+
+%prep
+%setup -q
+
+%build
+# nothing to build
+
+%install
+%make_install
+cp %{S:1} %{buildroot}%{_datadir}/hwdata
+cp %{S:2} %{buildroot}%{_datadir}/hwdata
+
+%files
+%license COPYING
+%config(noreplace) %{_sysconfdir}/modprobe.d/blacklist.conf
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/*
--- /dev/null
+#
+# spec file for package icecream
+#
+# Copyright (c) 2011 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/
+#
+
+# norootforbuild
+# icecream 0
+
+
+Name: icecream
+BuildRequires: gcc-c++
+License: GPLv2+ ; LGPLv2.1+
+Group: Development/Tools/Building
+Summary: For Distributed Compile in the Network
+Requires: /bin/tar /usr/bin/bzip2
+%if 0%{?suse_version}
+PreReq: %fillup_prereq
+PreReq: %insserv_prereq
+%endif
+PreReq: /usr/sbin/useradd /usr/sbin/groupadd
+Requires: gcc-c++
+Version: 0.9.7
+Release: 1
+Source: ftp://ftp.suse.com/pub/projects/icecream/icecc-%{version}.tar.bz2
+
+%description
+icecream is the next generation distcc.
+
+%package -n libicecream-devel
+License: GPLv2+ ; LGPLv2.1+
+Summary: For Distributed Compile in the Network
+Group: Development/Tools/Building
+Summary: For Distributed Compile in the Network
+Requires: libstdc++-devel
+
+%description -n libicecream-devel
+icecream is the next generation distcc.
+
+%prep
+%setup -q -n icecc-%{version}
+
+%build
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$RPM_OPT_FLAGS"
+%configure
+make %{?jobs:-j %jobs}
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+mkdir -p $RPM_BUILD_ROOT/opt/icecream/bin
+for i in g++ gcc cc c++; do
+ ln -s /usr/bin/icecc $RPM_BUILD_ROOT/opt/icecream/bin/$i
+ rm -f $RPM_BUILD_ROOT/usr/bin/$i
+done
+#
+# Install icecream init script
+mkdir -p $RPM_BUILD_ROOT/etc/init.d/
+install -m 755 suse/init.icecream $RPM_BUILD_ROOT/etc/init.d/icecream
+ln -sf /etc/init.d/icecream $RPM_BUILD_ROOT%{_sbindir}/rcicecream
+mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
+install -m 644 suse/sysconfig.icecream $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.icecream
+mkdir -p $RPM_BUILD_ROOT/var/cache/icecream
+mkdir -p $RPM_BUILD_ROOT%_mandir/man{1,7}
+for i in mans/*.1 mans/*.7; do
+ install -m 644 $i $RPM_BUILD_ROOT%_mandir/man`echo $i | sed -e 's,.*\(.\)$,\1,'`/`basename $i`
+done
+install -m 644 -D suse/logrotate $RPM_BUILD_ROOT/etc/logrotate.d/icecream
+%if 0%{?suse_version} > 1020
+mkdir -p $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services
+install -m 644 suse/SuSEfirewall.iceccd $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/iceccd
+install -m 644 suse/SuSEfirewall.scheduler $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/icecream-scheduler
+%endif
+
+%preun
+%stop_on_removal icecream
+
+%pre
+/usr/sbin/groupadd -r icecream 2> /dev/null || :
+/usr/sbin/useradd -r -g icecream -s /bin/false -c "Icecream Daemon" -d /var/cache/icecream icecream 2> /dev/null || :
+%if 0%{?suse_version}
+
+%post
+%{fillup_and_insserv -n icecream icecream}
+%endif
+
+%postun
+%restart_on_update icecream
+%{insserv_cleanup}
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%defattr(-,root,root)
+%config /etc/logrotate.d/icecream
+%config /etc/init.d/icecream
+%_bindir/icecc
+%_bindir/icerun
+%_sbindir/scheduler
+%_libdir/icecc
+%_sbindir/iceccd
+%_sbindir/rcicecream
+%_mandir/man*/*
+/opt/icecream
+%if 0%{?suse_version} > 1020
+/etc/sysconfig/SuSEfirewall2.d/services/*
+%endif
+/var/adm/fillup-templates/sysconfig.icecream
+%attr(-,icecream,icecream) /var/cache/icecream
+
+%files -n libicecream-devel
+%defattr(-,root,root)
+%_includedir/icecc
+%_libdir/libicecc.*
+%_libdir/pkgconfig/icecc.pc
+
+%changelog
--- /dev/null
+Name: icu
+Version: 4.8.1.1
+Release: 1
+Summary: International Components for Unicode
+Group: Development/Tools
+License: ICU
+URL: http://www.icu-project.org/
+Source0: icu4c-4_8_1_1-src.tgz
+BuildRequires: doxygen
+BuildRequires: autoconf
+
+%description
+Tools and utilities for developing with icu.
+
+%package -n lib%{name}
+Summary: International Components for Unicode - libraries
+Group: System/i18n
+
+%description -n lib%{name}
+The International Components for Unicode (ICU) libraries provide
+robust and full-featured Unicode services on a wide variety of
+platforms. ICU supports the most current version of the Unicode
+standard, and they provide support for supplementary Unicode
+characters (needed for GB 18030 repertoire support).
+As computing environments become more heterogeneous, software
+portability becomes more important. ICU lets you produce the same
+results across all the various platforms you support, without
+sacrificing performance. It offers great flexibility to extend and
+customize the supplied services.
+
+%package -n lib%{name}-devel
+Summary: Development files for International Components for Unicode
+Group: Development/Libraries
+Requires: lib%{name} = %{version}-%{release}
+Requires: pkgconfig
+
+%description -n lib%{name}-devel
+Includes and definitions for developing with icu.
+
+%prep
+%setup -q -n %{name}
+
+%build
+cd source
+%configure ./runConfigureICU Linux --disable-renaming --prefix=%{_prefix}
+make
+
+%install
+cd source
+%make_install
+
+# bugs of rpmdeps
+chmod +x %{buildroot}/%{_libdir}/lib*.so.*
+
+%remove_docs
+
+
+%post -n lib%{name} -p /sbin/ldconfig
+
+%postun -n lib%{name} -p /sbin/ldconfig
+
+%files
+
+%files -n lib%{name}
+%{_libdir}/*.so*
+%{_bindir}/derb
+%{_bindir}/genbrk
+%{_bindir}/gencfu
+%{_bindir}/gencnval
+%{_bindir}/genctd
+%{_bindir}/genrb
+%{_bindir}/makeconv
+%{_bindir}/pkgdata
+%{_bindir}/uconv
+%{_bindir}/icuinfo
+%{_bindir}/icu-config
+%{_sbindir}/*
+%dir %{_datadir}/icu/4.8.1.1
+%{_datadir}/icu/4.8.1.1/config/mh-linux
+%{_datadir}/icu/4.8.1.1/install-sh
+%{_datadir}/icu/4.8.1.1/license.html
+%{_datadir}/icu/4.8.1.1/mkinstalldirs
+
+%files -n lib%{name}-devel
+%{_includedir}/layout
+%{_includedir}/unicode
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/icu-*.pc
+%{_libdir}/%{name}
--- /dev/null
+%define baseline tizen-3.0
+Summary: Create kickstart files for Tizen images
+Name: image-configurations
+Version: 101
+Release: 1
+License: GPLv2
+Group: System/Base
+URL: http://www.tizen.org
+Source: image-configurations-%{version}.tar.bz2
+
+BuildArch: noarch
+BuildRequires: kickstarter >= 0.15
+BuildRequires: meta-ivi
+BuildRequires: meta-common
+
+%description
+Create Configuration files to build Tizen IVI images
+
+%prep
+%setup -q
+
+
+%build
+kickstarter -c /usr/share/image-configurations/ivi/ivi.yaml \
+ -e /usr/share/image-configurations/ivi/configs \
+ -r /usr/share/image-configurations/ivi/ivi-repos.yaml -i image-configs.xml
+
+%install
+
+mkdir -p %{buildroot}/usr/share/image-configurations
+cp %{baseline}/*.ks %{buildroot}/usr/share/image-configurations
+cp image-configs.xml %{buildroot}/usr/share/image-configurations
+
+%files
+#%dir %_datadir/image-configurations
+%_datadir/image-configurations/*.ks
+%_datadir/image-configurations/image-configs.xml
--- /dev/null
+Name: capi-media-image-util
+Summary: A Image Utility library in Tizen Native API
+Version: 0.1.0
+Release: 21
+Group: Multimedia/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(mmutil-jpeg)
+BuildRequires: pkgconfig(mmutil-imgp)
+BuildRequires: pkgconfig(capi-base-common)
+
+BuildRequires: cmake
+BuildRequires: gettext-devel
+
+%description
+A Image Utility library in Tizen Native API
+
+
+%package devel
+Summary: A Image Utility library in Tizen Native API (Development)
+Group: Multimedia/Development
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(dlog)
+Requires: pkgconfig(mm-common)
+Requires: pkgconfig(mmutil-jpeg)
+Requires: pkgconfig(mmutil-imgp)
+Requires: pkgconfig(capi-base-common)
+
+%description devel
+A Image Utility library in Tizen Native API (Development)
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+make %{?jobs:-j%jobs}
+
+%install
+
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2.0
+%manifest capi-media-image-util.manifest
+%{_libdir}/lib*.so.*
+
+%files devel
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/media/*.h
+
--- /dev/null
+Name: org.tizen.image-viewer
+Summary: Image Viewer Application v1.0
+Version: 1.0.83
+Release: 1
+Group: misc
+License: Flora Software License
+
+Source0: %{name}-%{version}.tar.gz
+Requires: pkgmgr
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(sensor)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(capi-appfw-application)
+
+BuildRequires: cmake
+BuildRequires: edje-bin
+BuildRequires: embryo-bin
+
+%description
+Image Viewer Application v1.0.
+
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+
+cmake . -DCMAKE_INSTALL_PREFIX="/usr/apps/org.tizen.image-viewer" -DRESDIR="/usr/apps/org.tizen.image-viewer/res" -DDATADIR="/opt/usr/apps/org.tizen.image-viewer/data"
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+
+%files
+%defattr(-,root,root,-)
+%manifest org.tizen.image-viewer.manifest
+/opt/etc/smack/accesses.d/org.tizen.image-viewer.rule
+/usr/apps/org.tizen.image-viewer/*
+/usr/share/icons/default/small/org.tizen.image-viewer.png
+/usr/share/packages/org.tizen.image-viewer.xml
+
+/usr/share/license/%{name}
+
--- /dev/null
+Name: imake
+Version: 1.0.5
+Release: 0
+License: MIT
+Summary: C preprocessor interface to the make utility
+Url: http://xorg.freedesktop.org/
+Group: Development/Tools/Building
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto)
+# This was part of the xorg-x11-util-devel package up to version 7.6
+Requires: xorg-cf-files
+
+%description
+Imake is used to generate Makefiles from a template, a set of cpp macro
+functions, and a per-directory input file called an Imakefile.
+
+The X Window System used imake extensively up through the X11R6.9
+release, for both full builds within the source tree and external
+software. X has since moved to GNU autoconf and automake for its build
+system in X11R7.0 and later releases, but still maintains imake for
+building existing external software programs that have not yet
+converted.
+
+%prep
+%setup -q
+
+%build
+%configure --with-config-dir=%{_datadir}/X11/config
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING README
+%{_bindir}/ccmakedep
+%{_bindir}/cleanlinks
+%{_bindir}/imake
+%{_bindir}/makeg
+%{_bindir}/mergelib
+%{_bindir}/mkdirhier
+%{_bindir}/mkhtmlindex
+%{_bindir}/revpath
+%{_bindir}/xmkmf
+
+%docs_package
+
+%changelog
--- /dev/null
+Name: iniparser
+Version: 2.17
+Release: 3
+License: MIT
+Summary: Stand-alone ini file parsing library
+Url: http://ndevilla.free.fr/iniparser/
+Group: System/Libraries
+Source: http://ndevilla.free.fr/iniparser/iniparser-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+%description
+iniparser is a free stand-alone ini file parsing library.
+It is written in portable ANSI C and should compile anywhere.
+iniparser is distributed under an MIT license.
+
+%package devel
+Summary: Development tools for stand-alone ini file parsing library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+This package contains the header files and development documentation
+for %{name}. If you like to develop programs using %{name}, you will need
+to install %{name}-devel.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+make prefix=%{_prefix} %{?_smp_mflags} CFLAGS="%{optflags} -fPIC"
+
+%install
+
+mkdir -p %{buildroot}/%{_libdir}
+install -m 755 libiniparser.so.0 %{buildroot}/%{_libdir}
+ln -s libiniparser.so.0 %{buildroot}/%{_libdir}/libiniparser.so
+mkdir -p %{buildroot}/%{_includedir}
+install -m 644 src/*.h %{buildroot}/%{_includedir}
+install -m 644 src/*.h %{buildroot}/%{_includedir}
+mkdir -p %{buildroot}/%{_libdir}/pkgconfig
+cat > %{buildroot}/%{_libdir}/pkgconfig/%{name}.pc <<EOF
+prefix = %{_prefix}
+exec_prefix = %{_exec_prefix}
+libdir = %{_libdir}
+includedir = %{_includedir}
+
+Name : iniparser
+Description : a free stand-alone ini file parsing library.
+Version : %{version}
+Libs : -L\${libdir} -liniparser
+Cflags : -I\${includedir}
+
+EOF
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{_libdir}/*.so.*
+
+%files devel
+%{_includedir}/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Name: inputproto
+Version: 2.2
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: intltool
+Version: 0.50.2
+Release: 0
+License: GPL-2.0+
+Summary: Internationalization Tool Collection
+Url: https://edge.launchpad.net/intltool/
+Group: Development/Tools
+Source: %{name}-%{version}.tar.gz
+BuildRequires: perl-XML-Parser
+Requires: gettext-tools
+Requires: perl-XML-Parser
+Provides: xml-i18n-tools
+Obsoletes: xml-i18n-tools
+BuildArch: noarch
+Requires: perl-XML-Parser
+
+%description
+Some scripts to support translators working on GNOME and similar
+programs. Data available in XML files (.oaf, .desktop, .sheet, and
+more) can be extracted into PO files. After translation, the new
+information is written back into the XML files.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%defattr(-, root, root)
+%{_bindir}/intltool-*
+%{_bindir}/intltoolize
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/intltool.m4
+%{_datadir}/%{name}/
+%doc %{_mandir}/man8/intltool-*.8%{?ext_man}
+%doc %{_mandir}/man8/intltoolize.8%{?ext_man}
+
+%changelog
--- /dev/null
+Name: iproute2
+Version: 3.4.0
+Release: 0
+License: GPL-2.0
+Summary: Linux network configuration utilities
+Url: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
+Group: Productivity/Networking/Routing
+# Using GPL-2.0 instead of GPL-2.0+ because of tc_skbedit.h and tc/q_multiq.c
+
+#DL-URL: http://kernel.org/pub/linux/utils/net/iproute2/
+#Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2
+Source: %{name}-%{version}.tar.xz
+BuildRequires: bison
+BuildRequires: db4-devel
+BuildRequires: flex
+BuildRequires: libnl-devel
+BuildRequires: pkgconfig >= 0.21
+BuildRequires: xz
+BuildRequires: pkgconfig(libpng12)
+BuildRequires: pkgconfig(libtiff-4)
+BuildRequires: pkgconfig(xtables)
+Provides: iproute = %{version}
+
+%description
+This package provides the tools ip, tc, and rtmon needed to use the new
+and advanced routing options of the Linux kernel. The SUSE Linux
+distribution has used this package for network setup since SuSE Linux
+8.0.
+
+%package -n libnetlink-devel
+License: GPL-2.0+
+Summary: A Higher Level Interface to the Netlink Service
+Group: Development/Libraries/C and C++
+Provides: libnetlink = %{version}
+
+%description -n libnetlink-devel
+libnetlink provides a higher level interface to rtnetlink(7).
+
+%prep
+%setup -q
+find . -name *.orig -delete
+
+%build
+# build with -fPIC. For details see
+# https://bugzilla.novell.com/show_bug.cgi?id=388021
+./configure
+xtlibdir="$(pkg-config xtables --variable=xtlibdir)";
+make %{?_smp_mflags} LIBDIR=%{_libdir} CCOPTS="-D_GNU_SOURCE %{optflags} -Wstrict-prototypes -fPIC -DXT_LIB_DIR=\\\"$xtlibdir\\\""
+
+%install
+install -d %{buildroot}/{etc/,sbin/,usr/{sbin,share/man/man{3,8}}}
+install -d %{buildroot}/{/usr/include,%{_libdir},/usr/share}
+make install DESTDIR=%{buildroot} LIBDIR=%{_libdir} \
+ MODDESTDIR="%{buildroot}/%{_libdir}/tc"
+# We have m_xt
+rm -f "%{buildroot}/%{_libdir}/tc/m_ipt.so"
+install lib/libnetlink.a %{buildroot}/%{_libdir}
+chmod -x %{buildroot}/%{_libdir}/libnetlink.a
+install include/libnetlink.h %{buildroot}%{_includedir}
+chmod -x %{buildroot}%{_includedir}/libnetlink.h
+rm %{buildroot}%{_sbindir}/ifcfg
+%remove_docs
+
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_sbindir}/*
+%dir %{_sysconfdir}/iproute2
+%config(noreplace) %{_sysconfdir}/iproute2/*
+%{_libdir}/tc
+%dir %{_datadir}/tc
+%attr(644,root,root)%{_datadir}/tc/*
+
+
+%files -n libnetlink-devel
+%defattr(-,root,root)
+%{_includedir}/*
+%{_libdir}/lib*
+
+%docs_package
--- /dev/null
+Name: iptables
+%define lname_ipq libipq
+%define lname_iptc libiptc
+%define lname_xt libxtables
+Version: 1.4.14
+Release: 0
+License: GPL-2.0+
+Summary: IP Packet Filter Administration utilities
+Group: Security/Network
+
+Url: http://netfilter.org/
+Source: ftp://ftp.netfilter.org/pub/iptables/%{name}-%{version}.tar.bz2
+BuildRequires: fdupes
+BuildRequires: libtool
+BuildRequires: pkgconfig >= 0.21
+BuildRequires: pkgconfig(libnfnetlink) >= 1.0.0
+
+%description
+iptables is used to set up, maintain, and inspect the tables of IP
+packet filter rules in the Linux kernel. This version requires kernel
+2.4.0 or newer.
+
+%package -n %lname_ipq
+Summary: Library to interface with the (old) ip_queue kernel mechanism
+Group: Security/Network
+
+%description -n %lname_ipq
+The Netfilter project provides a mechanism (ip_queue) for passing
+packets out of the stack for queueing to userspace, then receiving
+these packets back into the kernel with a verdict specifying what to
+do with the packets (such as ACCEPT or DROP). These packets may also
+be modified in userspace prior to reinjection back into the kernel.
+
+ip_queue/libipq is obsoleted by nf_queue/libnetfilter_queue!
+
+%package -n libipq-devel
+Summary: Development files for the ip_queue kernel mechanism
+Group: Development/Libraries
+Requires: %lname_ipq = %{version}
+
+%description -n libipq-devel
+The Netfilter project provides a mechanism (ip_queue) for passing
+packets out of the stack for queueing to userspace, then receiving
+these packets back into the kernel with a verdict specifying what to
+do with the packets (such as ACCEPT or DROP). These packets may also
+be modified in userspace prior to reinjection back into the kernel.
+
+ip_queue/libipq is obsoleted by nf_queue/libnetfilter_queue!
+
+%package -n %lname_iptc
+Summary: Library for low-level ruleset generation and parsing
+Group: Security/Network
+
+%description -n %lname_iptc
+libiptc ("iptables cache") is used to retrieve from the kernel, parse,
+construct, and load new rulesets into the kernel.
+
+%package -n libiptc-devel
+Summary: Development files for libiptc, a packet filter ruleset library
+Group: Development/Libraries
+Requires: %lname_iptc = %{version}
+# NOT adding Obsoletes/Provides: iptables-devel, because that one has
+# been split into _two_ new pkgs (libxtables-devel, libiptc-devel).
+# NOTE: Please use pkgconfig(...) symbols for BuildRequires.
+
+%description -n libiptc-devel
+libiptc ("iptables cache") is used to retrieve from the kernel, parse,
+construct, and load new rulesets into the kernel.
+
+%package -n %lname_xt
+Summary: iptables extension interface
+Group: Security/Network
+
+%description -n %lname_xt
+This library contains all the iptables code shared between iptables,
+ip6tables, their extensions, and for external integration for e.g.
+iproute2's m_xt.
+
+%package -n libxtables-devel
+Summary: Libraries, Headers and Development Man Pages for iptables
+Group: Development/Libraries
+Requires: %lname_xt = %{version}
+
+%description -n libxtables-devel
+This library contains all the iptables code shared between iptables,
+ip6tables, their extensions, and for external integration for e.g.
+
+Link your extension (iptables plugins) with $(pkg-config xtables
+--libs) and place the plugin in the directory given by $(pkg-config
+xtables --variable=xtlibdir).
+
+%prep
+%setup -q
+
+%build
+# bnc#561793 - do not include unclean module in iptables manpage
+rm -f extensions/libipt_unclean.man
+# includedir is overriden on purpose to detect projects that
+# fail to include libxtables_CFLAGS
+%configure --includedir=%{_includedir}/%{name}-%{version} --enable-libipq
+make %{?_smp_mflags}
+
+%install
+%make_install
+# iptables-apply is not installed by upstream Makefile
+install -m0755 iptables/iptables-apply %{buildroot}%{_sbindir}/
+install -m0644 iptables/iptables-apply.8 %{buildroot}%{_mandir}/man8/
+rm -f "%{buildroot}/%{_libdir}"/*.la;
+%fdupes %{buildroot}
+
+%post -n %lname_ipq -p /sbin/ldconfig
+
+%postun -n %lname_ipq -p /sbin/ldconfig
+
+%post -n %lname_iptc -p /sbin/ldconfig
+
+%postun -n %lname_iptc -p /sbin/ldconfig
+
+%post -n %lname_xt -p /sbin/ldconfig
+
+%postun -n %lname_xt -p /sbin/ldconfig
+
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/iptables*
+%{_sbindir}/iptables*
+%{_sbindir}/ip6tables*
+%{_sbindir}/xtables*
+%{_sbindir}/nfnl_osf
+%{_libdir}/xtables
+%{_datadir}/xtables
+
+%files -n %lname_ipq
+%defattr(-,root,root)
+%{_libdir}/libipq.so.0*
+
+%files -n libipq-devel
+%defattr(-,root,root)
+%dir %{_includedir}/%{name}-%{version}
+%{_includedir}/%{name}-%{version}/libipq*
+%{_libdir}/libipq.so
+%{_libdir}/pkgconfig/libipq.pc
+
+%files -n %lname_iptc
+%defattr(-,root,root)
+%{_libdir}/libiptc.so.0*
+%{_libdir}/libip4tc.so.0*
+%{_libdir}/libip6tc.so.0*
+
+%files -n libiptc-devel
+%defattr(-,root,root)
+%dir %{_includedir}/%{name}-%{version}
+%{_includedir}/%{name}-%{version}/libiptc*
+%{_libdir}/libip*tc.so
+%{_libdir}/pkgconfig/libip*tc.pc
+
+%files -n %lname_xt
+%defattr(-,root,root)
+%{_libdir}/libxtables.so.7*
+
+%files -n libxtables-devel
+%defattr(-,root,root)
+%dir %{_includedir}/%{name}-%{version}
+%{_includedir}/%{name}-%{version}/xtables.h
+%{_libdir}/libxtables.so
+%{_libdir}/pkgconfig/xtables.pc
+
+%changelog
--- /dev/null
+Name: iputils
+#BuildRequires: docbook_3
+#BuildRequires: iso_ent
+BuildRequires: libopenssl-devel
+#BuildRequires: opensp
+#BuildRequires: perl-SGMLS
+BuildRequires: sysfsutils-devel
+BuildRequires: libcap-devel
+Summary: IPv4 and IPv6 Networking Utilities
+License: BSD-3-Clause ; GPL-2.0+
+Group: Productivity/Networking/Other
+Version: s20121126
+Release: 0
+Url: http://www.skbuff.net/iputils
+Source: http://www.skbuff.net/iputils/iputils-%{version}.tar.bz2
+
+%description
+This package contains some small network tools for IPv4 and IPv6 like
+rdisc, ping6, traceroute6, tracepath, and tracepath6.
+
+%prep
+%setup -q
+mkdir linux
+touch linux/autoconf.h
+
+%build
+make %{?_smp_mflags} KERNEL_INCLUDE=$PWD \
+ CCOPT='%optflags -fno-strict-aliasing -fpie -D_GNU_SOURCE' \
+ LDLIBS='-pie -lcap -lresolv' \
+ CAPABILITIES=1
+
+%install
+mkdir -p $RPM_BUILD_ROOT/%_sbindir
+mkdir -p $RPM_BUILD_ROOT/%_bindir
+install arping $RPM_BUILD_ROOT/%{_sbindir}
+install clockdiff $RPM_BUILD_ROOT/%{_sbindir}
+install rdisc $RPM_BUILD_ROOT/%{_sbindir}/in.rdisc
+install tracepath $RPM_BUILD_ROOT/%{_sbindir}
+install tracepath6 $RPM_BUILD_ROOT/%{_sbindir}
+install ping $RPM_BUILD_ROOT/%{_bindir}
+install ping6 $RPM_BUILD_ROOT/%{_bindir}
+install ipg $RPM_BUILD_ROOT/%{_bindir}
+
+%files
+%defattr(-,root,root)
+%{_sbindir}/arping
+%{_sbindir}/clockdiff
+%verify(not mode caps) %attr(4755,root,root) %{_bindir}/ping
+%verify(not mode caps) %attr(4755,root,root) %{_bindir}/ping6
+%{_bindir}/ipg
+%{_sbindir}/tracepath
+%{_sbindir}/tracepath6
+%{_sbindir}/in.rdisc
+
+%changelog
--- /dev/null
+Name: iso-codes
+Version: 3.13
+Release: 1
+License: LGPL-2.0+
+Summary: ISO code lists and translations
+Url: http://alioth.debian.org/projects/pkg-isocodes/
+Group: System/Base
+Source0: ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/iso-codes-%{version}.tar.bz2
+Source1001: iso-codes.manifest
+BuildRequires: gettext-tools >= 0.16
+BuildArch: noarch
+
+%description
+This package provides the ISO 639 Language code list, the ISO 4217
+Currency code list, the ISO 3166 Territory code list, and ISO 3166-2
+sub-territory lists, and all their translations in gettext format.
+
+%package devel
+Summary: Files for development using %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+This package contains the pkg-config files for development
+when building programs that use %{name}.
+
+%prep
+%setup -q
+
+
+%build
+cp %{SOURCE1001} .
+
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%find_lang iso-codes --all-name
+
+%files -f iso-codes.lang
+%manifest iso-codes.manifest
+%dir %{_datadir}/xml/iso-codes
+%{_datadir}/xml/iso-codes/*.xml
+
+
+%files devel
+%manifest iso-codes.manifest
+%{_datadir}/pkgconfig/iso-codes.pc
+
--- /dev/null
+Name: iso_ent
+BuildRequires: sgml-skel
+BuildRequires: unzip
+BuildArch: noarch
+Provides: iso-ent
+Provides: iso-entities
+%define regcat /usr/bin/sgml-register-catalog
+Requires(post): %{regcat}
+Version: 2000.11.03
+Release: 0
+Summary: Character Entity Sets for ISO 8879:1986
+License: SUSE-Permissive
+Group: Productivity/Publishing/SGML
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%define ke_pkg ISOEnts.zip
+Source0: http://www.oasis-open.org/cover/ISOEnts.zip
+
+%description
+Character entity sets for ISO 8879:1986.
+
+
+%define INSTALL install -m755 -s
+%define INSTALL_DIR install -d -m755
+%define INSTALL_DATA install -m644
+%define sgml_dir %{_datadir}/sgml
+%define sgml_config_dir /var/lib/sgml
+
+%prep
+%setup -q
+
+%build
+
+%install
+root=$RPM_BUILD_ROOT
+# sgml_dir=${root}%{_datadir}/sgml
+# sgml_dir_config=${root}/var/lib/sgml
+sgml_dir_iso=$RPM_BUILD_ROOT%{sgml_dir}/iso-ent
+sgml_dir_ISO=$RPM_BUILD_ROOT%{sgml_dir}/ISO_8879:1986/entities
+%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_config_dir}
+%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir}/iso-ent
+%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir}/{ISO_8879:1986,ISO_9573-15:1993}/entities
+%{INSTALL_DATA} ISO* $RPM_BUILD_ROOT%{sgml_dir}/iso-ent
+%{INSTALL_DATA} CATALOG $RPM_BUILD_ROOT%{sgml_config_dir}/CATALOG.iso_ent
+pushd $RPM_BUILD_ROOT%{sgml_dir}
+ln -sf ../../../var/lib/sgml/CATALOG.iso_ent CATALOG.iso_ent
+rm -f ISO_8879-1986
+ln -s ISO_8879:1986 ISO_8879-1986
+popd
+pushd ${sgml_dir_ISO}
+rm -f * 2>/dev/null
+ln -s ../../iso-ent/ISOamsa Added_Math_Symbols:_Arrow_Relations
+ln -s ../../iso-ent/ISOamsb Added_Math_Symbols:_Binary_Operators
+ln -s ../../iso-ent/ISOamsc Added_Math_Symbols:_Delimiters
+ln -s ../../iso-ent/ISOamsn Added_Math_Symbols:_Negated_Relations
+ln -s ../../iso-ent/ISOamso Added_Math_Symbols:_Ordinary
+ln -s ../../iso-ent/ISOamsr Added_Math_Symbols:_Relations
+ln -s ../../iso-ent/ISObox Box_and_Line_Drawing
+ln -s ../../iso-ent/ISOcyr1 Russian_Cyrillic
+ln -s ../../iso-ent/ISOcyr2 Non-Russian_Cyrillic
+ln -s ../../iso-ent/ISOdia Diacritical_Marks
+ln -s ../../iso-ent/ISOgrk1 Greek_Letters
+ln -s ../../iso-ent/ISOgrk2 Monotoniko_Greek
+ln -s ../../iso-ent/ISOgrk3 Greek_Symbols
+ln -s ../../iso-ent/ISOgrk4 Alternative_Greek_Symbols
+ln -s ../../iso-ent/ISOlat1 Added_Latin_1
+ln -s ../../iso-ent/ISOlat2 Added_Latin_2
+ln -s ../../iso-ent/ISOnum Numeric_and_Special_Graphic
+ln -s ../../iso-ent/ISOpub Publishing
+ln -s ../../iso-ent/ISOtech General_Technical
+popd
+pushd $RPM_BUILD_ROOT%{sgml_dir}
+rm -f ISO_9573-15-1993
+ln -s ISO_9573-15:1993 ISO_9573-15-1993
+popd
+pushd $RPM_BUILD_ROOT%{sgml_dir}/ISO_9573-15:1993/entities
+rm -f * 2>/dev/null
+ln -s ../../iso-ent/ISOgrk5 Extra_Classical_Greek_Letters
+popd
+
+%post
+if [ -x %{regcat} ]; then
+ for c in iso_ent; do
+ %{regcat} -a %{sgml_dir}/CATALOG.$c \
+ >/dev/null 2>&1 || true
+ done
+fi
+exit 0
+
+%postun
+if [ "$1" = "0" -a -x %{regcat} ]; then
+ for c in CATALOG.iso_ent; do
+ %{regcat} -r %{sgml_dir}/CATALOG.$c >/dev/null 2>&1 || :
+ done
+fi
+
+%clean
+rm -fr $RPM_BUILD_ROOT
+
+%files
+%defattr(-, root, root)
+# %doc README.SuSE
+%config /var/lib/sgml/CATALOG.iso_ent
+%{sgml_dir}/CATALOG.iso_ent
+%{sgml_dir}/iso-ent
+%{sgml_dir}/ISO_8879-1986
+%{sgml_dir}/ISO_8879:1986
+%{sgml_dir}/ISO_9573-15:1993
+%{sgml_dir}/ISO_9573-15-1993
+
+%changelog
--- /dev/null
+Name: ivi-repos
+Summary: Tizen IVI Repos
+Version: 1
+Release: 1
+Group: Base/Configuration
+BuildArch: noarch
+License: GPL-2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+
+%description
+This package installs the .repo files for Tizen IVI images
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}/etc/zypp/repos.d
+install -m 0644 ivi-snapshot.repo %{buildroot}/etc/zypp/repos.d
+install -m 0644 ivi-daily.repo %{buildroot}/etc/zypp/repos.d
+
+%files
+%defattr(-,root,root,-)
+%config /etc/zypp/repos.d/ivi-snapshot.repo
+%config /etc/zypp/repos.d/ivi-daily.repo
+
--- /dev/null
+#
+# Please submit bugfixes or comments via http://bugs.tizen.org/
+#
+
+Name: jasper
+Version: 1.900.1
+Release: 144
+License: SUSE-Public-Domain
+Summary: An Implementation of the JPEG-2000 Standard, Part 1
+Url: http://www.ece.uvic.ca/~mdadams/jasper/
+Group: Productivity/Graphics/Convertors
+Source: %{name}-%{version}.tar.bz2
+Source98: baselibs.conf
+BuildRequires: gcc-c++
+BuildRequires: libdrm-devel
+BuildRequires: libjpeg8-devel
+BuildRequires: libtool
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+This package contains an implementation of the image compression
+standard, JPEG-2000, Part 1. It consists of tools for conversion to and
+from the JP2 and JPC formats.
+
+%package -n libjasper
+License: SUSE-Public-Domain
+Summary: JPEG-2000 library
+Group: Productivity/Graphics/Convertors
+
+%description -n libjasper
+This package contains libjasper, a library implementing the JPEG-2000
+image compression standard Part 1.
+
+%package -n libjasper-devel
+License: SUSE-Public-Domain
+Summary: JPEG-2000 library - files mandatory for development
+Group: Development/Libraries/C and C++
+Requires: libjasper = %{version}
+Requires: libjpeg8-devel
+
+%description -n libjasper-devel
+This package contains libjasper, a library implementing the JPEG-2000
+image compression standard Part 1.
+
+%prep
+%setup -q
+
+%build
+autoreconf -i -f
+export CFLAGS="%{optflags} -Wall"
+%configure --prefix=/usr --enable-shared --disable-static --libdir=%{_libdir}
+make %{?_smp_mflags}
+
+%install
+%make_install
+rm %{buildroot}/usr/bin/tmrdemo
+# compatibility link, there was no interface change
+ln -s libjasper.so.1.0.0 %{buildroot}%{_libdir}/libjasper-1.701.so.1
+
+%post -n libjasper -p /sbin/ldconfig
+
+%postun -n libjasper -p /sbin/ldconfig
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%doc COPYRIGHT
+/usr/bin/imgcmp
+/usr/bin/imginfo
+/usr/bin/jasper
+
+%files -n libjasper
+%defattr(-,root,root)
+%{_libdir}/libjasper*.so.*
+
+%files -n libjasper-devel
+%defattr(-,root,root)
+/usr/include/jasper
+%{_libdir}/libjasper.so
--- /dev/null
+Name: json-c
+Version: 0.10
+Release: 0
+License: MIT
+Summary: JSON implementation in C
+Url: http://oss.metaparadigm.com/%{name}
+Group: System/Libraries
+Source0: http://oss.metaparadigm.com/json-c/json-c-%{version}.tar.gz
+Source1: baselibs.conf
+BuildRequires: libtool
+BuildRequires: pkg-config
+
+%description
+JSON-C implements a reference counting object model that allows you to
+easily construct JSON objects in C, output them as JSON formatted
+strings and parse JSON formatted strings back into the C
+representation of JSON objects.
+
+%package -n libjson
+Summary: JSON shared lib
+Group: System/Libraries
+
+%description -n libjson
+This package includes the JSON library.
+
+%package -n libjson-devel
+Summary: Development headers and libraries for json-c
+Group: Development/Libraries
+Requires: libjson = %{version}
+
+%description -n libjson-devel
+This package includes header files and scripts needed for developers
+using the json-c library
+
+%prep
+%setup -q
+
+%build
+autoreconf -fiv
+%configure --disable-static --with-pic
+make %{?_smp_mflags}
+
+%check
+make %{?_smp_mflags} check
+
+%install
+%make_install
+
+%post -n libjson -p /sbin/ldconfig
+
+%postun -n libjson -p /sbin/ldconfig
+
+%files -n libjson
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libjson.so.*
+
+%files -n libjson-devel
+%defattr(-,root,root)
+%{_libdir}/libjson.so
+%{_includedir}/json
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+%bcond_with introspection
+
+Name: json-glib
+Version: 0.16.0
+Release: 0
+License: LGPL-2.1+
+Summary: Library for JavaScript Object Notation format
+Url: http://live.gnome.org/JsonGlib
+Group: Development/Libraries/C and C++
+Source0: http://download.gnome.org/sources/json-glib/0.15/%{name}-%{version}.tar.xz
+Source99: baselibs.conf
+%if %{with introspection}
+BuildRequires: gobject-introspection-devel
+%endif
+BuildRequires: pkgconfig(glib-2.0)
+
+%description
+JSON is a lightweight data-interchange format.It is easy for humans to
+read and write. It is easy for machines to parse and generate.
+
+JSON-GLib provides a parser and a generator GObject classes and various
+wrappers for the complex data types employed by JSON, such as arrays
+and objects.
+
+JSON-GLib uses GLib native data types and the generic value container
+GValue for ease of development. It also provides integration with the
+GObject classes for direct serialization into, and deserialization from,
+JSON data streams.
+
+%package -n libjson-glib
+Summary: Library for JavaScript Object Notation format
+Group: Development/Libraries/C and C++
+# To make lang subpackage installable
+Provides: %{name} = %{version}
+
+%description -n libjson-glib
+JSON is a lightweight data-interchange format.It is easy for humans to
+read and write. It is easy for machines to parse and generate.
+
+JSON-GLib provides a parser and a generator GObject classes and various
+wrappers for the complex data types employed by JSON, such as arrays
+and objects.
+
+JSON-GLib uses GLib native data types and the generic value container
+GValue for ease of development. It also provides integration with the
+GObject classes for direct serialization into, and deserialization from,
+JSON data streams.
+
+%package -n typelib-Json
+Summary: Library for JavaScript Object Notation format -- Introspection bindings
+Group: System/Libraries
+
+%description -n typelib-Json
+JSON is a lightweight data-interchange format.It is easy for humans to
+read and write. It is easy for machines to parse and generate.
+
+JSON-GLib provides a parser and a generator GObject classes and various
+wrappers for the complex data types employed by JSON, such as arrays
+and objects.
+
+JSON-GLib uses GLib native data types and the generic value container
+GValue for ease of development. It also provides integration with the
+GObject classes for direct serialization into, and deserialization from,
+JSON data streams.
+
+This package provides the GObject Introspection bindings for JSON-GLib.
+
+%package devel
+Summary: Library for JavaScript Object Notation format - Development Files
+Group: Development/Libraries/C and C++
+Requires: libjson-glib = %{version}
+%if %{with introspection}
+Requires: typelib-Json = %{version}
+%endif
+
+%description devel
+JSON is a lightweight data-interchange format.It is easy for humans to
+read and write. It is easy for machines to parse and generate.
+
+JSON-GLib provides a parser and a generator GObject classes and various
+wrappers for the complex data types employed by JSON, such as arrays
+and objects.
+
+JSON-GLib uses GLib native data types and the generic value container
+GValue for ease of development. It also provides integration with the
+GObject classes for direct serialization into, and deserialization from,
+JSON data streams.
+
+This package contains development files needed to develop with the
+json-glib library.
+
+%lang_package
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+%find_lang %{name}-1.0
+
+mv %{name}-1.0.lang %{name}.lang
+
+%post -n libjson-glib -p /sbin/ldconfig
+
+%postun -n libjson-glib -p /sbin/ldconfig
+
+%files -n libjson-glib
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/*.so.*
+
+%if %{with introspection}
+%files -n typelib-Json
+%defattr(-,root,root)
+%{_libdir}/girepository-1.0/Json-1.0.typelib
+%endif
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/%{name}-1.0
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%if %{with introspection}
+%{_datadir}/gir-1.0/*.gir
+%endif
+%dir %{_datadir}/gtk-doc
+%dir %{_datadir}/gtk-doc/html
+%{_datadir}/gtk-doc/html/%{name}
+
+
+%changelog
--- /dev/null
+Name: kbd
+Version: 1.15.3
+Release: 0
+Summary: Tools for configuring the console (keyboard, virtual terminals, etc
+
+License: GPL-2.0+
+Url: http://ftp.altlinux.org/pub/people/legion/kbd
+Group: Base/Tools
+Source0: ftp://ftp.altlinux.org/pub/people/legion/kbd/kbd-%{version}.tar.bz2
+Source2: kbd-latsun-fonts.tar.bz2
+Source3: kbd-latarcyrheb-16-fixed.tar.bz2
+Source4: fr-dvorak.tar.bz2
+Source5: kbd-latarcyrheb-32.tar.bz2
+
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: gettext
+Requires: %{name}-misc = %{version}
+
+%description
+The %{name} package contains tools for managing a Linux
+system's console's behavior, including the keyboard, the screen
+fonts, the virtual terminals and font files.
+
+%package misc
+Summary: Data for kbd package
+BuildArch: noarch
+
+%description misc
+The %{name}-misc package contains data for kbd package - console fonts,
+keymaps etc. Please note that %{name}-misc is not helpful without kbd.
+
+%prep
+%setup -q -a 2 -a 3 -a 4 -a 5
+
+# 7-bit maps are obsolete; so are non-euro maps
+pushd data/keymaps/i386
+mv qwerty/fi.map qwerty/fi-old.map
+cp qwerty/fi-latin9.map qwerty/fi.map
+cp qwerty/pt-latin9.map qwerty/pt.map
+cp qwerty/sv-latin1.map qwerty/se-latin1.map
+
+mv azerty/fr.map azerty/fr-old.map
+cp azerty/fr-latin9.map azerty/fr.map
+
+cp azerty/fr-latin9.map azerty/fr-latin0.map # legacy alias
+
+# Rename conflicting keymaps
+mv dvorak/no.map dvorak/no-dvorak.map
+mv fgGIod/trf.map fgGIod/trf-fgGIod.map
+mv olpc/es.map olpc/es-olpc.map
+mv olpc/pt.map olpc/pt-olpc.map
+mv qwerty/cz.map qwerty/cz-qwerty.map
+popd
+
+# remove obsolete "gr" translation
+pushd po
+rm -f gr.po gr.gmo
+popd
+
+
+%build
+%configure --prefix=%{_prefix} --datadir=%{_prefix}/lib/kbd --mandir=%{_mandir} --localedir=%{_datadir}/locale --disable-nls
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+# ro_win.map.gz is useless
+rm -f %{buildroot}/%{_prefix}/lib/kbd/keymaps/i386/qwerty/ro_win.map.gz
+
+# Create additional name for Serbian latin keyboard
+ln -s sr-cy.map.gz %{buildroot}/%{_prefix}/lib/kbd/keymaps/i386/qwerty/sr-latin.map.gz
+
+# The rhpl keyboard layout table is indexed by kbd layout names, so we need a
+# Korean keyboard
+ln -s us.map.gz %{buildroot}/%{_prefix}/lib/kbd/keymaps/i386/qwerty/ko.map.gz
+
+# Some microoptimization
+sed -i -e 's,\<kbd_mode\>,/usr/bin/kbd_mode,g;s,\<setfont\>,/usr/bin/setfont,g' \
+ %{buildroot}/%{_bindir}/unicode_start
+
+# Link open to openvt
+ln -s openvt %{buildroot}%{_bindir}/open
+
+## Move locale files to correct place
+#cp -r %{buildroot}/lib/kbd/locale/ %{buildroot}%{_datadir}/locale
+#rm -rf %{buildroot}/lib/kbd/locale
+
+%docs_package
+
+%files
+%license COPYING
+%{_bindir}/*
+
+%files misc
+%{_prefix}/lib/kbd
+
--- /dev/null
+Name: kbproto
+Version: 1.0.6
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Summary: The Linux kernel (the core of the Linux operating system)
+
+%define tar_version 3.9.4
+%define make_target bzImage
+%define KVERREL %{version}-%{release}
+%define hdrarch %_target_cpu
+%define all_x86 i386 i586 i686 %{ix86} x86_64
+%define _default_patch_fuzz 0
+
+%ifarch %{all_x86}
+%define image_install_path boot
+%define hdrarch i386
+%define kernel_image arch/x86/boot/bzImage
+%endif
+
+%ifarch x86_64
+%define image_install_path boot
+%define hdrarch x86_64
+%define kernel_image arch/x86/boot/bzImage
+%endif
+
+
+ExclusiveArch: %{all_x86} x86_64
+
+#
+# Packages that need to be installed before the kernel is, because the %post
+# scripts use them.
+#
+%define kernel_prereq /usr/sbin/killall5
+
+#
+# This macro does requires, provides, conflicts, obsoletes for a kernel package.
+# %%kernel_reqprovconf <subpackage>
+# It uses any kernel_<subpackage>_conflicts and kernel_<subpackage>_obsoletes
+# macros defined above.
+#
+%define kernel_reqprovconf \
+Provides: kernel = %{version}-%{release}\
+Provides: kernel-uname-r = %{KVERREL}%{?1:-%{1}}\
+#Requires(pre): %{kernel_prereq}\
+%{?1:%{expand:%%{?kernel_%{1}_conflicts:Conflicts: %%{kernel_%{1}_conflicts}}}}\
+%{?1:%{expand:%%{?kernel_%{1}_provides:Provides: %%{kernel_%{1}_provides}}}}\
+# We can't let RPM do the dependencies automatic because it'll then pick up\
+# a correct but undesirable perl dependency from the module headers which\
+# isn't required for the kernel proper to function\
+AutoReq: no\
+AutoProv: yes\
+%{nil}
+
+Name: kernel-adaptation-pc
+
+Group: System/Kernel
+License: GPL-2.0
+URL: http://www.kernel.org/
+Version: 3.9.4
+Release: 1
+
+%kernel_reqprovconf
+
+#
+# List the packages used during the kernel build
+#
+BuildRequires: kmod-compat
+BuildRequires: bc
+BuildRequires: bash >= 2.03
+BuildRequires: findutils
+BuildRequires: make >= 3.78
+BuildRequires: libelf-devel
+BuildRequires: binutils-devel
+Requires(post): /usr/sbin/depmod
+Requires(post): /usr/bin/dracut
+Requires(post): /usr/bin/kmod
+
+Source0: ftp://ftp.kernel.org/pub/linux/kernel/v3.0/linux-%{tar_version}.tar.bz2
+Source10: COPYING.modules
+
+Source100: config
+Source101: config.x86_64
+Source1001: packaging/kernel-adaptation-pc.manifest
+BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
+
+
+#
+# This macro creates a kernel-<subpackage>-devel package.
+# %%kernel_devel_package <subpackage> <pretty-name>
+#
+%define kernel_devel_package() \
+%package -n kernel-%{?1:%{1}-}devel\
+Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\
+Group: System/Kernel\
+Provides: kernel%{?1:-%{1}}-devel = %{version}-%{release}\
+Provides: kernel-devel = %{version}-%{release}%{?1:-%{1}}\
+Provides: kernel-devel = %{version}-%{release}%{?1:-%{1}}\
+Provides: kernel-devel-uname-r = %{KVERREL}%{?1:-%{1}}\
+Requires: kernel%{?1:-%{1}} = %{version}-%{release}\
+Requires: hardlink \
+AutoReqProv: no\
+Requires(pre): /usr/bin/find\
+%description -n kernel%{?1:-%{1}}-devel\
+This package provides kernel headers and makefiles sufficient to build modules\
+against the %{?2:%{2} }kernel package.\
+%{nil}
+
+#
+# This macro creates a kernel-<subpackage> and its -devel too.
+# %%define variant_summary The Linux kernel compiled for <configuration>
+# %%kernel_variant_package [-n <pretty-name>] <subpackage>
+#
+%define kernel_variant_package(n:) \
+%package -n kernel-%1\
+Summary: %{variant_summary}\
+Group: System/Kernel\
+%kernel_reqprovconf\
+%{nil}
+
+
+%define variant_summary Kernel for PC compatible systems
+%kernel_devel_package adaptation-pc
+%description -n kernel-adaptation-pc
+This package contains the kernel optimized for PC compatible systems platforms
+
+
+%prep
+%setup -q -n linux-%{tar_version}
+
+chmod +x scripts/checkpatch.pl
+cp %{SOURCE10} Documentation/
+mkdir configs
+
+#
+# We want to run the config checks of all configurations for all architectures always.
+# That way, developers immediately found out if they forget to enable not-their-native
+# architecture. It's cheap to run anyway.
+#
+
+%ifarch x86_64
+ cp %{SOURCE101} .config
+ Arch="x86_64"
+%else
+ cp %{SOURCE100} .config
+ Arch="x86"
+%endif
+
+ make ARCH=$Arch listnewconfig &> /tmp/configs
+ export conf=`cat /tmp/configs | grep CONFIG | wc -l`
+ echo CONF is $conf
+ if [ $conf -gt 0 ]; then
+ make ARCH=$Arch listnewconfig
+ #exit 1
+ fi
+ make ARCH=$Arch oldconfig > /dev/null
+ echo "# $Arch" > configs/%{name}.config
+ cat .config >> configs/%{name}.config
+
+#
+# get rid of unwanted files resulting from patch fuzz
+# (not that we can have any)
+#
+find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null
+
+cd ..
+
+%build
+cp %{SOURCE1001} .
+
+
+cp_vmlinux()
+{
+ eu-strip --remove-comment -o "$2" "$1"
+}
+
+BuildKernel() {
+ MakeTarget=$1
+ KernelImage=$2
+ TargetArch=$3
+ Flavour=$4
+ InstallName=${5:-vmlinuz}
+
+ # Pick the right config file for the kernel we're building
+ Config=kernel${Flavour:+-${Flavour}}.config
+ DevelDir=/usr/src/kernels/%{KVERREL}${Flavour:+-${Flavour}}
+
+ # When the bootable image is just the ELF kernel, strip it.
+ # We already copy the unstripped file into the debuginfo package.
+ if [ "$KernelImage" = vmlinux ]; then
+ CopyKernel=cp_vmlinux
+ else
+ CopyKernel=cp
+ fi
+
+ KernelVer=%{version}-%{release}${Flavour:+-${Flavour}}
+ ExtraVer=%{?rctag}-%{release}${Flavour:+-${Flavour}}
+ Arch="x86"
+%ifarch x86_64
+ Arch="x86_64"
+%endif
+
+
+ if [ "$Arch" = "$TargetArch" ]; then
+ echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}... ${KernelVer}
+ echo USING ARCH=$Arch
+
+ # make sure EXTRAVERSION says what we want it to say
+ perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = ${ExtraVer}/" Makefile
+
+ # and now to start the build process
+
+ make -s mrproper
+ cp configs/$Config .config
+
+ make -s ARCH=$Arch oldconfig > /dev/null
+ make -s CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=$Arch %{?_smp_mflags} $MakeTarget %{?sparse_mflags}
+ make -s CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=$Arch %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
+
+ # Start installing the results
+ mkdir -p %{buildroot}/%{image_install_path}
+ install -m 644 .config %{buildroot}/boot/config-$KernelVer
+ install -m 644 System.map %{buildroot}/boot/System.map-$KernelVer
+ touch %{buildroot}/boot/initramfs-$KernelVer.img
+ if [ -f arch/$Arch/boot/zImage.stub ]; then
+ cp arch/$Arch/boot/zImage.stub %{buildroot}/%{image_install_path}/zImage.stub-$KernelVer || :
+ fi
+ $CopyKernel $KernelImage \
+ %{buildroot}/%{image_install_path}/$InstallName-$KernelVer
+ chmod 755 %{buildroot}/%{image_install_path}/$InstallName-$KernelVer
+ ln -sf $InstallName-$KernelVer \
+ %{buildroot}/%{image_install_path}/vmlinuz
+
+ mkdir -p %{buildroot}/usr/lib/modules/$KernelVer
+ make -s ARCH=$Arch INSTALL_MOD_PATH=%{buildroot}/usr modules_install KERNELRELEASE=$KernelVer
+ # And save the headers/makefiles etc for building modules against
+ #
+ # This all looks scary, but the end result is supposed to be:
+ # * all arch relevant include/ files
+ # * all Makefile/Kconfig files
+ # * all script/ files
+
+ rm -f %{buildroot}/usr/lib/modules/$KernelVer/build
+ rm -f %{buildroot}/usr/lib/modules/$KernelVer/source
+ mkdir -p %{buildroot}/usr/lib/modules/$KernelVer/build
+ (cd %{buildroot}/usr/lib/modules/$KernelVer ; ln -s build source)
+ # dirs for additional modules per module-init-tools, kbuild/modules.txt
+ # first copy everything
+ cp --parents `find -type f -name "Makefile*" -o -name "Kconfig*"` %{buildroot}/usr/lib/modules/$KernelVer/build
+ cp Module.symvers %{buildroot}/usr/lib/modules/$KernelVer/build
+ cp System.map %{buildroot}/usr/lib/modules/$KernelVer/build
+ if [ -s Module.markers ]; then
+ cp Module.markers %{buildroot}/usr/lib/modules/$KernelVer/build
+ fi
+ # then drop all but the needed Makefiles/Kconfig files
+ rm -rf %{buildroot}/usr/lib/modules/$KernelVer/build/Documentation
+ rm -rf %{buildroot}/usr/lib/modules/$KernelVer/build/scripts
+ rm -rf %{buildroot}/usr/lib/modules/$KernelVer/build/include
+ cp .config %{buildroot}/usr/lib/modules/$KernelVer/build
+ cp -a scripts %{buildroot}/usr/lib/modules/$KernelVer/build
+ if [ -d arch/%{_arch}/scripts ]; then
+ cp -a arch/%{_arch}/scripts %{buildroot}/usr/lib/modules/$KernelVer/build/arch/%{_arch} || :
+ fi
+ if [ -f arch/%{_arch}/*lds ]; then
+ cp -a arch/%{_arch}/*lds %{buildroot}/usr/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
+ fi
+ rm -f %{buildroot}/usr/lib/modules/$KernelVer/build/scripts/*.o
+ rm -f %{buildroot}/usr/lib/modules/$KernelVer/build/scripts/*/*.o
+ cp -a --parents arch/x86/include %{buildroot}/usr/lib/modules/$KernelVer/build
+ mkdir -p %{buildroot}/usr/lib/modules/$KernelVer/build/include
+ cd include
+ cp -a acpi asm-generic config crypto drm generated keys linux math-emu media net pcmcia rdma rxrpc scsi sound video trace %{buildroot}/usr/lib/modules/$KernelVer/build/include
+
+ # Make sure the Makefile and version.h have a matching timestamp so that
+ # external modules can be built
+ touch -r %{buildroot}/usr/lib/modules/$KernelVer/build/Makefile %{buildroot}/usr/lib/modules/$KernelVer/build/include/linux/version.h
+ touch -r %{buildroot}/usr/lib/modules/$KernelVer/build/.config %{buildroot}/usr/lib/modules/$KernelVer/build/include/linux/autoconf.h
+ # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
+ cp %{buildroot}/usr/lib/modules/$KernelVer/build/.config %{buildroot}/usr/lib/modules/$KernelVer/build/include/config/auto.conf
+ cd ..
+
+ #
+ # save the vmlinux file for kernel debugging into the kernel-*-devel rpm
+ #
+
+ cp vmlinux %{buildroot}/usr/lib/modules/$KernelVer
+
+ find %{buildroot}/usr/lib/modules/$KernelVer -name "*.ko" -type f >modnames
+
+ # mark modules executable so that strip-to-file can strip them
+ xargs --no-run-if-empty chmod u+x < modnames
+
+ # Generate a list of modules for block and networking.
+
+ fgrep /drivers/ modnames | xargs --no-run-if-empty nm -upA |
+ sed -n 's,^.*/\([^/]*\.ko\): *U \(.*\)$,\1 \2,p' > drivers.undef
+
+ collect_modules_list()
+ {
+ sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
+ LC_ALL=C sort -u > %{buildroot}/usr/lib/modules/$KernelVer/modules.$1
+ }
+
+ collect_modules_list networking \
+ 'register_netdev|ieee80211_register_hw|usbnet_probe'
+ collect_modules_list block \
+ 'ata_scsi_ioctl|scsi_add_host|blk_init_queue|register_mtd_blktrans'
+
+ # remove files that will be auto generated by depmod at rpm -i time
+ for i in alias ccwmap dep ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols usbmap
+ do
+ rm -f %{buildroot}/usr/lib/modules/$KernelVer/modules.$i
+ done
+
+ # Move the devel headers out of the root file system
+ mkdir -p %{buildroot}/usr/src/kernels
+ mv %{buildroot}/usr/lib/modules/$KernelVer/build %{buildroot}/$DevelDir
+ ln -sf $DevelDir %{buildroot}/usr/lib/modules/$KernelVer/build
+ fi
+}
+
+###
+# DO it...
+###
+
+# prepare directories
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/boot
+
+
+%ifarch x86_64
+BuildKernel %make_target %kernel_image x86_64 adaptation-pc
+%else
+BuildKernel %make_target %kernel_image x86 adaptation-pc
+%endif
+
+###
+### install
+###
+
+%define install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
+%%install
+
+
+%install
+
+rm -rf %{buildroot}/usr/lib/firmware
+
+
+###
+### clean
+###
+
+%clean
+rm -rf %{buildroot}
+
+###
+### scripts
+###
+
+#
+# This macro defines a %%post script for a kernel*-devel package.
+# %%kernel_devel_post <subpackage>
+#
+%define kernel_devel_post() \
+%{expand:%%post -n kernel-%{?1:%{1}-}devel}\
+if [ -x /usr/sbin/hardlink ]\
+then\
+ (cd /usr/src/kernels/%{KVERREL}%{?1:-%{1}} &&\
+ /usr/bin/find . -type f | while read f; do\
+ hardlink -c /usr/src/kernels/*/$f $f\
+ done)\
+fi\
+%{nil}
+
+# This macro defines a %%posttrans script for a kernel package.
+# %%kernel_variant_posttrans [-v <subpackage>] [-s <s> -r <r>] <mkinitrd-args>
+# More text can follow to go at the end of this variant's %%post.
+#
+%define kernel_variant_posttrans(s:r:v:) \
+%{expand:%%posttrans -n kernel-%{?-v*}}\
+%{nil}
+
+#
+# This macro defines a %%post script for a kernel package and its devel package.
+# %%kernel_variant_post [-v <subpackage>] [-s <s> -r <r>] <mkinitrd-args>
+# More text can follow to go at the end of this variant's %%post.
+#
+%define kernel_variant_post(s:r:v:) \
+%{expand:%%kernel_devel_post %{?-v*}}\
+%{expand:%%kernel_variant_posttrans %{?-v*}}\
+%{expand:%%post -n kernel-%{?-v*}}\
+/sbin/depmod -a %{KVERREL}-%{?-v*}\
+/usr/bin/dracut /boot/initramfs-%{KVERREL}-%{?-v*}.img %{KVERREL}-%{?-v*}\
+%{nil}
+
+#
+# This macro defines a %%preun script for a kernel package.
+# %%kernel_variant_preun <subpackage>
+#
+%define kernel_variant_preun() \
+%{expand:%%preun -n kernel-%{?1}}\
+%{nil}
+
+
+%ifarch %all_x86
+
+%kernel_variant_preun adaptation-pc
+%kernel_variant_post -v adaptation-pc
+
+%endif
+
+
+###
+### file lists
+###
+
+
+
+#
+# This macro defines the %%files sections for a kernel package
+# and its devel packages.
+# %%kernel_variant_files [-k vmlinux] [-a <extra-files-glob>] [-e <extra-nonbinary>] <condition> <subpackage>
+#
+%define kernel_variant_files(a:e:k:) \
+%ifarch %{1}\
+%{expand:%%files -n kernel%{?2:-%{2}}}\
+%defattr(-,root,root)\
+/%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:-%{2}}\
+/boot/vmlinuz\
+/boot/System.map-%{KVERREL}%{?2:-%{2}}\
+#/boot/symvers-%{KVERREL}%{?2:-%{2}}.gz\
+/boot/config-%{KVERREL}%{?2:-%{2}}\
+%{?-a:%{-a*}}\
+%dir /usr/lib/modules/%{KVERREL}%{?2:-%{2}}\
+/usr/lib/modules/%{KVERREL}%{?2:-%{2}}/kernel\
+/usr/lib/modules/%{KVERREL}%{?2:-%{2}}/build\
+/usr/lib/modules/%{KVERREL}%{?2:-%{2}}/source\
+/usr/lib/modules/%{KVERREL}%{?2:-%{2}}/modules.*\
+%ghost /boot/initramfs-%{KVERREL}%{?2:-%{2}}.img\
+%{?-e:%{-e*}}\
+%{expand:%%files -n kernel-%{?2:%{2}-}devel}\
+%defattr(-,root,root)\
+%verify(not mtime) /usr/src/kernels/%{KVERREL}%{?2:-%{2}}\
+/usr/lib/modules/%{KVERREL}%{?2:-%{2}}/vmlinux \
+%endif\
+%{nil}
+
+
+%kernel_variant_files %all_x86 adaptation-pc
--- /dev/null
+Name: keyutils
+Url: http://people.redhat.com/~dhowells/keyutils/
+Summary: Linux Key Management Utilities
+License: GPL-2.0+ ; LGPL-2.1+
+Group: System/Kernel
+Version: 1.5.3
+Release: 0
+Source0: http://people.redhat.com/~dhowells/keyutils/%name-%version.tar.bz2
+
+%description
+Utilities to control the kernel key management facility and to provide
+a mechanism by which the kernel can call back to user space to get a
+key instantiated.
+
+%package -n libkeyutils
+Summary: Key utilities library
+Group: System/Kernel
+
+%description -n libkeyutils
+This package provides a wrapper library for the key management facility
+system calls.
+
+%package devel
+Summary: Development package for building linux key management utilities
+Group: System/Kernel
+Requires: libkeyutils = %version
+Requires: glibc-devel
+
+%description devel
+This package provides headers and libraries for building key utilities.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags} NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS" CC="%__cc"
+
+%install
+make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_lib
+
+%post -n libkeyutils -p /sbin/ldconfig
+
+%postun -n libkeyutils -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license LICENCE.GPL
+/sbin/*
+/bin/*
+/usr/share/keyutils
+%{_mandir}/*/*
+%config(noreplace) /etc/*
+
+%files -n libkeyutils
+%defattr(-,root,root,-)
+%license LICENCE.LGPL
+/%{_lib}/libkeyutils.so.*
+
+%files devel
+%defattr(-,root,root,-)
+/usr/%{_lib}/libkeyutils.so
+%{_includedir}/*
--- /dev/null
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+Name: kickstarter
+Summary: Create kickstart files for image creation
+Version: 0.17
+Release: 1
+Group: System/Base
+License: GPLv2
+BuildArch: noarch
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+Source1001: packaging/kickstarter.manifest
+Requires: python-yaml
+Requires: python-cheetah
+Requires: python-lxml
+BuildRequires: python-devel
+BuildRequires: python-cheetah
+
+
+%description
+Create Configuration files(kickstart) to build images
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+cp %{SOURCE1001} .
+make tmpls
+
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%if 0%{?suse_version}
+%{__python} setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix}
+%else
+%{__python} setup.py install --root=$RPM_BUILD_ROOT -O1 --prefix=%{_prefix}
+%endif
+
+
+%files
+%manifest kickstarter.manifest
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{python_sitelib}/*
--- /dev/null
+Name: kmod
+Version: 12
+Release: 0
+License: LGPL-2.1+ and GPL-2.0+
+Summary: Utilities to load modules into the kernel
+Url: http://www.politreco.com/2011/12/announce-kmod-2/
+Group: Base/Libraries
+
+Source: %{name}-%{version}.tar.xz
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig >= 0.21
+BuildRequires: xz
+BuildRequires: pkgconfig(liblzma) >= 4.99
+BuildRequires: pkgconfig(zlib)
+
+%description
+kmod is a set of tools to handle common tasks with Linux kernel
+modules like insert, remove, list, check properties, resolve
+dependencies and aliases.
+
+These tools are designed on top of libkmod, a library that is shipped
+with kmod. The aim is to be compatible with tools, configurations and
+indexes from module-init-tools project.
+
+%package compat
+License: GPL-2.0+
+Summary: Compat symlinks for kernel module utilities
+Group: Base/Libraries
+Requires: kmod
+Requires(pre): filesystem
+Provides: module-init-tools
+
+%description compat
+kmod is a set of tools to handle common tasks with Linux kernel
+modules like insert, remove, list, check properties, resolve
+dependencies and aliases.
+
+This package contains traditional name symlinks (lsmod, etc.)
+
+%package -n libkmod
+License: LGPL-2.1+
+Summary: Library to interact with Linux kernel modules
+Group: Base/Libraries
+
+%description -n libkmod
+libkmod was created to allow programs to easily insert, remove and
+list modules, also checking its properties, dependencies and aliases.
+
+%package -n libkmod-devel
+License: LGPL-2.1+
+Summary: Development files for libkmod
+Group: Development/Libraries
+Requires: libkmod = %{version}
+
+%description -n libkmod-devel
+libkmod was created to allow programs to easily insert, remove and
+list modules, also checking its properties, dependencies and aliases.
+
+This package contains the development headers for the library found
+in libkmod.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fi
+# The extra --includedir gives us the possibility to detect dependent
+# packages which fail to properly use pkgconfig.
+%configure \
+ --with-xz \
+ --disable-manpages \
+ --with-zlib \
+ --includedir=%{_includedir}/%{name}-%{version} \
+ --with-rootlibdir=%{_libdir} \
+ --bindir=%{_bindir}
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+
+# kmod-compat
+mkdir -p %{buildroot}/%{_sbindir}
+ln -s %{_bindir}/kmod %{buildroot}/%{_bindir}/lsmod
+for i in depmod insmod lsmod modinfo modprobe rmmod; do
+ ln -s %{_bindir}/kmod %{buildroot}/%{_sbindir}/$i
+done;
+
+
+%post -n libkmod -p /sbin/ldconfig
+
+%postun -n libkmod -p /sbin/ldconfig
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/kmod
+
+%files -n libkmod
+%defattr(-,root,root)
+%{_libdir}/libkmod.so.2*
+
+%files -n libkmod-devel
+%defattr(-,root,root)
+%{_includedir}/*
+%{_libdir}/pkgconfig/libkmod.pc
+%{_libdir}/libkmod.so
+
+%files compat
+%defattr(-,root,root)
+%{_bindir}/lsmod
+%{_sbindir}/depmod
+%{_sbindir}/insmod
+%{_sbindir}/lsmod
+%{_sbindir}/modinfo
+%{_sbindir}/modprobe
+%{_sbindir}/rmmod
+
+%changelog
--- /dev/null
+#
+# spec file for package krb5
+#
+# Copyright (c) 2013 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/
+#
+
+
+%define build_mini 0
+%define srcRoot krb5-1.10.2
+%define krb5docdir %{_defaultdocdir}/krb5
+
+Name: krb5
+Url: http://web.mit.edu/kerberos/www/
+BuildRequires: autoconf
+BuildRequires: bison
+BuildRequires: keyutils
+BuildRequires: keyutils-devel
+BuildRequires: libcom_err-devel
+BuildRequires: ncurses-devel
+Version: 1.10.2
+Release: 0
+Summary: MIT Kerberos5 Implementation--Libraries
+License: MIT
+Group: Productivity/Networking/Security
+Source0: krb5-%{version}.tar.bz2
+Source1: baselibs.conf
+Source2: krb5-rpmlintrc
+
+%description
+Kerberos V5 is a trusted-third-party network authentication system,
+which can improve your network's security by eliminating the insecure
+practice of clear text passwords.
+
+
+%package devel
+Summary: MIT Kerberos5 - Include Files and Libraries
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+Requires: keyutils-devel
+Requires: libcom_err-devel
+
+%description devel
+Kerberos V5 is a trusted-third-party network authentication system,
+which can improve your network's security by eliminating the insecure
+practice of cleartext passwords. This package includes Libraries and
+Include Files for Development
+
+%prep
+%setup -q -n %{srcRoot}
+
+%build
+# needs to be re-generated
+rm -f src/lib/krb5/krb/deltat.c
+cd src
+./util/reconf
+CFLAGS="$RPM_OPT_FLAGS -I/usr/include/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC " \
+./configure \
+ --prefix=/usr/lib/mit \
+ --sysconfdir=%{_sysconfdir} \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} \
+ --libexecdir=/usr/lib/mit/sbin \
+ --libdir=%{_libdir} \
+ --includedir=%{_includedir} \
+ --localstatedir=%{_localstatedir}/lib/kerberos \
+ --enable-shared \
+ --disable-static \
+ --enable-kdc-replay-cache \
+ --enable-dns-for-realm \
+ --disable-rpath \
+ --disable-pkinit \
+ --without-pam \
+ --with-system-et \
+ --with-system-ss
+make %{?jobs:-j%jobs}
+
+%install
+cd src
+make DESTDIR=%{buildroot} install
+cd ..
+# Munge the krb5-config script to remove rpaths and CFLAGS.
+sed "s|^CC_LINK=.*|CC_LINK='\$(CC) \$(PROG_LIBPATH)'|g" src/krb5-config > $RPM_BUILD_ROOT/usr/lib/mit/bin/krb5-config
+# install autoconf macro
+mkdir -p %{buildroot}/%{_datadir}/aclocal
+install -m 644 src/util/ac_check_krb5.m4 %{buildroot}%{_datadir}/aclocal/
+# install sample config files
+# I'll probably do something about this later on
+mkdir -p %{buildroot}%{_sysconfdir} %{buildroot}%{_localstatedir}/lib/kerberos/krb5kdc
+mkdir -p %{buildroot}%{_sysconfdir}
+mkdir -p %{buildroot}/etc/profile.d/
+mkdir -p %{buildroot}/var/log/krb5
+mkdir -p %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/
+# create plugin directories
+mkdir -p %{buildroot}/%{_libdir}/krb5/plugins/kdb
+mkdir -p %{buildroot}/%{_libdir}/krb5/plugins/preauth
+mkdir -p %{buildroot}/%{_libdir}/krb5/plugins/libkrb5
+# all libs must have permissions 0755
+for lib in `find %{buildroot}/%{_libdir}/ -type f -name "*.so*"`
+do
+ chmod 0755 ${lib}
+done
+# and binaries too
+chmod 0755 %{buildroot}/usr/lib/mit/bin/ksu
+find . -type f -name '*.ps' -exec gzip -9 {} \;
+# create rc* links
+# create links for kinit and klist, because of the java ones
+#ln -sf ../../usr/lib/mit/bin/kinit %{buildroot}/usr/bin/kinit
+#ln -sf ../../usr/lib/mit/bin/klist %{buildroot}/usr/bin/klist
+
+
+mkdir -p %{buildroot}/usr/bin
+ln -sf ../../usr/lib/mit/bin/krb5-config %{buildroot}/usr/bin/krb5-config
+# install doc
+install -d -m 755 %{buildroot}/%{krb5docdir}
+install -m 644 %{_builddir}/%{srcRoot}/README %{buildroot}/%{krb5docdir}/README
+# cleanup
+rm -f %{buildroot}/usr/share/man/man1/tmac.doc*
+rm -f /usr/share/man/man1/tmac.doc*
+rm -rf %{buildroot}/usr/lib/mit/share/examples
+rm -rf %{buildroot}/usr/lib/mit/share/locale
+#####################################################
+# krb5(-mini) pre/post/postun
+#####################################################
+
+%post -p /sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+
+########################################################
+# files sections
+########################################################
+
+%files devel
+%defattr(-,root,root)
+/usr/bin/krb5-config
+%dir /usr/lib/mit
+%dir /usr/lib/mit/bin
+%dir /usr/lib/mit/sbin
+%dir /usr/lib/mit/share
+%dir %{_datadir}/aclocal
+%{_libdir}/libgssrpc.so
+%{_libdir}/libk5crypto.so
+%{_libdir}/libkadm5clnt_mit.so
+%{_libdir}/libkadm5clnt.so
+%{_libdir}/libkadm5srv_mit.so
+%{_libdir}/libkadm5srv.so
+%{_libdir}/libkdb5.so
+%{_libdir}/libkrb5.so
+%{_libdir}/libkrb5support.so
+%{_libdir}/libverto.so
+%{_libdir}/libverto-k5ev.so
+%{_includedir}/*
+/usr/lib/mit/bin/krb5-config
+/usr/lib/mit/sbin/krb5-send-pr
+/usr/lib/mit/share/gnats
+%{_mandir}/man1/krb5-send-pr.1*
+%{_mandir}/man1/krb5-config.1*
+%{_datadir}/aclocal/ac_check_krb5.m4
+
+
+%files
+%defattr(-,root,root)
+%dir %{krb5docdir}
+# add directories
+%dir %{_libdir}/krb5
+%dir %{_libdir}/krb5/plugins
+%dir %{_libdir}/krb5/plugins/kdb
+%dir %{_libdir}/krb5/plugins/preauth
+%dir %{_libdir}/krb5/plugins/libkrb5
+%dir %{_localstatedir}/lib/kerberos/
+%dir %{_localstatedir}/lib/kerberos/krb5kdc
+%attr(0700,root,root) %dir /var/log/krb5
+%dir /usr/lib/mit
+%dir /usr/lib/mit/sbin
+%dir /usr/lib/mit/bin
+%doc %{krb5docdir}/README
+#%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/krb5.conf
+#%attr(0600,root,root) %config(noreplace) %{_localstatedir}/lib/kerberos/krb5kdc/kdc.conf
+#%attr(0600,root,root) %config(noreplace) %{_localstatedir}/lib/kerberos/krb5kdc/kadm5.acl
+#%attr(0600,root,root) %config(noreplace) %{_localstatedir}/lib/kerberos/krb5kdc/kadm5.dict
+%{_libdir}/libgssapi_krb5.*
+%{_libdir}/libgssrpc.so.*
+%{_libdir}/libk5crypto.so.*
+%{_libdir}/libkadm5clnt_mit.so.*
+%{_libdir}/libkadm5srv_mit.so.*
+%{_libdir}/libkdb5.so.*
+%{_libdir}/libkrb5.so.*
+%{_libdir}/libkrb5support.so.*
+%{_libdir}/libverto.so.*
+%{_libdir}/libverto-k5ev.so.*
+%{_libdir}/krb5/plugins/kdb/*
+#/usr/lib/mit/sbin/*
+/usr/lib/mit/sbin/kadmin.local
+/usr/lib/mit/sbin/kadmind
+/usr/lib/mit/sbin/kpropd
+/usr/lib/mit/sbin/kproplog
+/usr/lib/mit/sbin/kprop
+/usr/lib/mit/sbin/kdb5_util
+/usr/lib/mit/sbin/krb5kdc
+/usr/lib/mit/sbin/uuserver
+/usr/lib/mit/sbin/sserver
+/usr/lib/mit/sbin/gss-server
+/usr/lib/mit/sbin/sim_server
+/usr/lib/mit/bin/k5srvutil
+/usr/lib/mit/bin/kvno
+/usr/lib/mit/bin/kinit
+/usr/lib/mit/bin/kdestroy
+/usr/lib/mit/bin/kpasswd
+/usr/lib/mit/bin/klist
+/usr/lib/mit/bin/kadmin
+/usr/lib/mit/bin/ktutil
+/usr/lib/mit/bin/kswitch
+%attr(0755,root,root) /usr/lib/mit/bin/ksu
+/usr/lib/mit/bin/uuclient
+/usr/lib/mit/bin/sclient
+/usr/lib/mit/bin/gss-client
+/usr/lib/mit/bin/sim_client
+#/usr/bin/kinit
+#/usr/bin/klist
+%{_mandir}/man1/kvno.1*
+%{_mandir}/man1/kinit.1*
+%{_mandir}/man1/kdestroy.1*
+%{_mandir}/man1/kpasswd.1*
+%{_mandir}/man1/klist.1*
+%{_mandir}/man1/kerberos.1*
+%{_mandir}/man1/ksu.1*
+%{_mandir}/man1/sclient.1*
+%{_mandir}/man1/kadmin.1*
+%{_mandir}/man1/ktutil.1*
+%{_mandir}/man1/k5srvutil.1*
+%{_mandir}/man1/kswitch.1*
+%{_mandir}/man5/*
+%{_mandir}/man5/.k5login.5.gz
+%{_mandir}/man5/.k5identity.5*
+%{_mandir}/man8/*
--- /dev/null
+Name: lbs-dbus
+Summary: Dbus interface for Location based service
+Version: 0.1.6
+Release: 1
+Group: Location/Service
+License: Apache-2.0
+Source0: lbs-dbus-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(gio-unix-2.0)
+BuildRequires: python
+BuildRequires: python-xml
+
+%description
+LBS dbus interface
+
+%package -n liblbs-dbus
+Summary: LBS dbus library
+Group: Location/Libraries
+Requires(post): sys-assert
+
+%description -n liblbs-dbus
+LBS client API library
+
+%package -n liblbs-dbus-devel
+Summary: Telephony client API (devel)
+Group: Development/Location
+Requires: liblbs-dbus = %{version}-%{release}
+
+%description -n liblbs-dbus-devel
+LBS client API library (devel)
+
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig -n liblbs-dbus
+
+%postun -p /sbin/ldconfig -n liblbs-dbus
+
+
+%files -n liblbs-dbus
+%manifest liblbs-dbus.manifest
+%license LICENSE
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+%{_sysconfdir}/dbus-1/system.d/*
+
+%files -n liblbs-dbus-devel
+%defattr(-,root,root,-)
+%{_includedir}/lbs-dbus/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so
--- /dev/null
+%define lname libcms2
+Name: lcms2
+Summary: Little CMS Engine - A color managment library and tools
+License: MIT
+Group: Graphics/Libraries
+Url: http://www.littlecms.com/
+Version: 2.4
+Release: 0
+BuildRequires: libjpeg8-devel
+BuildRequires: libtiff-devel
+BuildRequires: pkg-config
+BuildRequires: zlib-devel
+Source0: http://sourceforge.net/projects/lcms/files/lcms/%{version}/%{name}-%{version}.tar.gz
+
+%description
+Littlecms is a small speed optimized color management engine.
+Little CMS intends to be a small-footprint color management engine
+with a special focus on accuracy and performance. It uses the International
+Color Consortium standard (ICC), which is the modern standard when
+regarding to color management. The ICC specification is widely used and is
+referred to in many International and other de-facto standards.
+
+%package -n libcms2
+Summary: Libraries for the Little CMS Engine
+Group: Graphics/Libraries
+
+%description -n libcms2
+Little CMS Engine - A color managment library and tools.
+
+%package -n liblcms2-devel
+Summary: Include Files and Libraries Mandatory for Development
+Group: Development/Libraries
+Requires: libcms2 = %{version}
+Requires: glibc-devel
+
+%description -n liblcms2-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q
+
+chmod a-x doc/* COPYING AUTHORS
+
+%build
+%configure --disable-static
+make %{?_smp_flags}
+
+%install
+%make_install
+
+%post -n libcms2 -p /sbin/ldconfig
+
+%postun -n libcms2 -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/*
+
+%files -n libcms2
+%defattr(-,root,root)
+%{_libdir}/liblcms2.so.2*
+
+%files -n liblcms2-devel
+%defattr(-,root,root)
+%{_includedir}/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%docs_package
--- /dev/null
+Name: lemolo
+Summary: Ofono EFL Dialer
+Version: 0.1.3
+Release: 1
+Group: System/Libraries
+License: Apache 2.0
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(ofono)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-system-power)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(notification)
+BuildRequires: edje-tools
+Requires: ofono
+
+%description
+Provides a dialer application for an In-Vehicle Infotainment (IVI) system, where
+the primary modem access is via a mobile device connected to the head unit via the
+handsfree profile over bluetooth.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+%autogen --enable-tizen \
+ --bindir=/usr/apps/org.tizen.dialer/bin/ \
+ --datadir=/usr/apps/org.tizen.dialer/data/
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.dialer/bin/answer_daemon
+/usr/apps/org.tizen.dialer/bin/dialer
+/usr/apps/org.tizen.dialer/bin/messages
+/usr/apps/org.tizen.dialer/bin/dialer_daemon
+/usr/apps/org.tizen.dialer/bin/dialer_open
+/usr/apps/org.tizen.dialer/bin/message_daemon
+/usr/apps/org.tizen.dialer/data/lemolo/examples/contacts.csv
+/usr/apps/org.tizen.dialer/data/lemolo/scripts/ofono-efl-contacts-db-create.py
+/usr/apps/org.tizen.dialer/data/lemolo/themes/default-sd.edj
+/usr/apps/org.tizen.dialer/data/lemolo/themes/default.edj
+/usr/apps/org.tizen.dialer/data/lemolo/tizen-examples/order
+/usr/share/packages/org.tizen.dialer.xml
+%{_datadir}/icons/default/small/org.tizen.dialer.png
+%{_datadir}/dbus-1/services/org.tizen.dialer.service
--- /dev/null
+#
+# Please submit bugfixes or comments via http://bugs.tizen.org/
+#
+
+Name: less
+Version: 451
+Release: 5
+License: GPL-3.0+
+Summary: A text file browser similar to more, but better
+Url: http://www.greenwoodsoftware.com/less/
+Group: Applications/Text
+Source0: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig(ncurses)
+
+%description
+The less utility is a text file browser that resembles more, but has
+more capabilities. Less allows you to move backwards in the file as
+well as forwards. Since less doesn't have to read the entire input file
+before it starts, less starts up more quickly than text editors (for
+example, vi).
+
+You should install less because it is a basic utility for viewing text
+files, and you'll use it frequently.
+
+%prep
+%setup -q
+
+%build
+
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+# splitted post-install part by auto-parsing
+strip -R .comment %{buildroot}/%{_bindir}/less
+
+%docs_package
+
+%files
+%doc LICENSE
+%{_bindir}/*
--- /dev/null
+Name: leveldb
+Summary: A fast key-value storage library
+Version: 1.1
+Release: 1
+Group: System/Libraries
+License: BSD-3-Clause
+Source0: %{name}-%{version}.tar.gz
+
+%description
+LevelDB is a fast key-value storage library written at Google
+that provides an ordered mapping from string keys to string values.
+
+
+%package -n libleveldb
+Summary: A fast key-value storage library
+Group: System/Libraries
+
+%description -n libleveldb
+LevelDB is a fast key-value storage library written at Google
+that provides an ordered mapping from string keys to string values.
+
+
+%package devel
+Summary: A fast key-value storage library - Development
+Group: Development/Libraries
+Requires: libleveldb
+
+%description devel
+LevelDB is a fast key-value storage library written at Google
+that provides an ordered mapping from string keys to string values.
+
+Development Files.
+
+
+%prep
+%setup -q
+
+%build
+make libdir=%{_libdir} %{?jobs:-j%jobs}
+
+%install
+make install DESTDIR=%{buildroot} libdir=%{_libdir}
+
+
+%post -p /sbin/ldconfig -n libleveldb
+
+%postun -p /sbin/ldconfig -n libleveldb
+
+
+%files -n libleveldb
+%manifest leveldb.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libleveldb.so.0
+%{_libdir}/libleveldb.so.1.1.0
+%{_libdir}/libmemenv.so.0
+%{_libdir}/libmemenv.so.1.1.0
+
+
+%files devel
+
+%{_libdir}/libmemenv.so
+%{_libdir}/pkgconfig/leveldb.pc
+%{_libdir}/pkgconfig/memenv.pc
+%{_includedir}/leveldb/*.h
+%{_includedir}/helpers/memenv/*.h
+%{_libdir}/libleveldb.so
--- /dev/null
+#
+# Please submit bugfixes or comments via http://bugs.tizen.org/
+#
+
+Name: libGLU
+Version: 9.0.0
+Release: 0
+License: SGI Free B
+Summary: Graphics Library Utilities (GLU)
+Url: http://www.mesa3d.org
+Group: Development/Libraries/C and C++
+Source: glu.tar.bz2
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(gl)
+Provides: mesa:%{_libdir}/libGLU.so.1
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+GLU offers simple interfaces for building mipmaps; checking for the
+presence of extensions in the OpenGL (or other libraries which follow
+the same conventions for advertising extensions); drawing
+piecewise-linear curves, NURBS, quadrics and other primitives
+(including, but not limited to, teapots); tesselating surfaces;
+setting up projection matrices and unprojecting screen coordinates to
+world coordinates.
+
+This package provides the SGI implementation of GLU shipped with the
+Mesa package.
+
+%package devel
+Summary: Development files for the Graphics Library Utilities (GLU)
+Group: Development/Libraries/C and C++
+Requires: libGLU = %{version}
+Requires: pkgconfig(gl) >= 9
+
+%description devel
+GLU offers simple interfaces for building mipmaps; checking for the
+presence of extensions in the OpenGL (or other libraries which follow
+the same conventions for advertising extensions); drawing
+piecewise-linear curves, NURBS, quadrics and other primitives
+(including, but not limited to, teapots); tesselating surfaces;
+setting up projection matrices and unprojecting screen coordinates to
+world coordinates.
+
+This package contains includes headers and static libraries for
+compiling programs with GLU.
+
+%prep
+%setup -q -n glu
+
+%build
+autoreconf -fi
+%configure --disable-static
+make %{?_smp_mflags} OPT_FLAGS="%{optflags}"
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%{_libdir}/libGLU.so.1*
+
+%files devel
+%defattr(-,root,root)
+/usr/include/GL
+%{_libdir}/pkgconfig/glu.pc
+%{_libdir}/libGLU.so
+
+%changelog
--- /dev/null
+Name: libICE
+Version: 1.0.8
+Release: 0
+License: MIT
+Summary: X11 Inter-Client Exchange Library
+Url: http://xorg.freedesktop.org/
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros) >= 1.12
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xtrans)
+
+%description
+There are numerous possible inter-client protocols, with many
+similarities and common needs - authentication, version negotiation,
+byte order negotiation, and so on.
+The Inter-Client Exchange (ICE) protocol is intended to provide a
+framework for building such protocols, allowing them to make use of
+common negotiation mechanisms and to be multiplexed over a single
+transport connection.
+
+%package devel
+Summary: Development files for the X11 Inter-Client Exchange Library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+The Inter-Client Exchange (ICE) protocol is intended to provide a
+framework for building such protocols, allowing them to make use of
+common negotiation mechanisms and to be multiplexed over a single
+transport connection.
+
+This package contains the development headers for the library found
+in %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure --docdir=%_docdir/%{name} --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libICE.so.6*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/X11/*
+%{_libdir}/libICE.so
+%{_libdir}/pkgconfig/ice.pc
+%_docdir/%{name}
+
+%changelog
--- /dev/null
+Name: libSM
+Version: 1.2.1
+Release: 0
+License: MIT
+Summary: X Session Management library
+Url: http://xorg.freedesktop.org/
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(ice) >= 1.0.5
+BuildRequires: pkgconfig(uuid)
+BuildRequires: pkgconfig(xorg-macros) >= 1.12
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xtrans)
+
+%description
+The X Session Management Protocol provides a uniform mechanism for
+users to save and restore their sessions. A session is a group of X
+clients (programs), each of which has a particular state. The session
+is controlled by a network service called the session manager, which
+issues commands to its clients on behalf of the user. These commands
+may cause clients to save their state or to terminate. It is expected
+that the client will save its state in such a way that the client can
+be restarted at a later time and resume its operation as if it had
+never been terminated.
+
+%package devel
+Summary: Development files for the X Session Management library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+The X Session Management Protocol provides a uniform mechanism for
+users to save and restore their sessions. A session is a group of X
+clients (programs), each of which has a particular state. The session
+is controlled by a network service called the session manager, which
+issues commands to its clients on behalf of the user. These commands
+may cause clients to save their state or to terminate. It is expected
+that the client will save its state in such a way that the client can
+be restarted at a later time and resume its operation as if it had
+never been terminated.
+
+This package contains the development headers for the library found
+in %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure --docdir=%_docdir/%{name} --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libSM.so.6*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/X11/*
+%{_libdir}/libSM.so
+%{_libdir}/pkgconfig/sm.pc
+%_docdir/%{name}
+
+%changelog
--- /dev/null
+Name: libX11
+Version: 1.5.0
+Release: 0
+License: MIT
+Summary: Core X11 protocol client library
+Url: http://xorg.freedesktop.org/
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: autoconf >= 2.60
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(inputproto)
+BuildRequires: pkgconfig(kbproto)
+BuildRequires: pkgconfig(xcb) >= 1.1.92
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xf86bigfontproto)
+BuildRequires: pkgconfig(xorg-macros) >= 1.11
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xproto) >= 7.0.13
+BuildRequires: pkgconfig(xtrans)
+Requires: %{name}-data >= %{version}
+
+%description
+The X Window System is a network-transparent window system that was
+designed at MIT. X display servers run on computers with either
+monochrome or color bitmap display hardware. The server distributes
+user input to and accepts output requests from various client
+programs located either on the same machine or elsewhere in the
+network. Xlib is a C subroutine library that application programs
+(clients) use to interface with the window system by means of a
+stream connection.
+
+%package xcb
+Summary: XCB X11 protocol client library
+Group: Graphics/X Window System
+Requires: %{name}-data >= %{version}
+
+%description xcb
+The X Window System is a network-transparent window system that was
+designed at MIT. X display servers run on computers with either
+monochrome or color bitmap display hardware. The server distributes
+user input to and accepts output requests from various client
+programs located either on the same machine or elsewhere in the
+network. Xlib is a C subroutine library that application programs
+(clients) use to interface with the window system by means of a
+stream connection.
+
+%package data
+Summary: Shared data for the Core X11 protocol library
+Group: Graphics/X Window System
+BuildArch: noarch
+
+%description data
+The X Window System is a network-transparent window system that was
+designed at MIT. X display servers run on computers with either
+monochrome or color bitmap display hardware. The server distributes
+user input to and accepts output requests from various client
+programs located either on the same machine or elsewhere in the
+network. Xlib is a C subroutine library that application programs
+(clients) use to interface with the window system by means of a
+stream connection.
+
+%package devel
+Summary: Development files for the Core X11 protocol library
+Group: Development/Libraries
+Requires: libX11 = %{version}
+Requires: libX11-xcb = %{version}
+
+%description devel
+The X Window System is a network-transparent window system that was
+designed at MIT. X display servers run on computers with either
+monochrome or color bitmap display hardware. The server distributes
+user input to and accepts output requests from various client
+programs located either on the same machine or elsewhere in the
+network. Xlib is a C subroutine library that application programs
+(clients) use to interface with the window system by means of a
+stream connection.
+
+This package contains the development headers for the library found
+in libX11 and libX11-xcb.
+
+%prep
+%setup -q
+
+%build
+%reconfigure --docdir=%_docdir/%{name} --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+rm -rf %{buildroot}%{_libdir}/X11/Xcms.txt
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%post xcb -p /sbin/ldconfig
+
+%postun xcb -p /sbin/ldconfig
+
+%docs_package
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libX11.so.6*
+
+%files xcb
+%defattr(-,root,root)
+%{_libdir}/libX11-xcb.so.1*
+
+%files data
+%defattr(-,root,root)
+%{_datadir}/X11
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/X11/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%_docdir/%{name}
+
+%changelog
--- /dev/null
+Name: libXScrnSaver
+%define lname libXss
+Version: 1.2.2
+Release: 0
+License: MIT
+Summary: X11 Screen Saver extension client library
+Url: http://xorg.freedesktop.org/
+Group: Development/Libraries/C and C++
+
+#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXScrnSaver
+#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXScrnSaver/
+Source: %{name}-%{version}.tar.bz2
+#git#BuildRequires: autoconf >= 2.60, automake, libtool
+BuildRequires: fdupes
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(scrnsaverproto) >= 1.2
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+
+%description
+The X Window System provides support for changing the image on a
+display screen after a user-settable period of inactivity to avoid
+burning the cathode ray tube phosphors. This extension allows an
+external "screen saver" client to detect when the alternate image is
+to be displayed and to provide the graphics.
+
+%package -n %lname
+Summary: X11 Screen Saver extension client library
+Group: System/Libraries
+
+%description -n %lname
+The X Window System provides support for changing the image on a
+display screen after a user-settable period of inactivity to avoid
+burning the cathode ray tube phosphors. This extension allows an
+external "screen saver" client to detect when the alternate image is
+to be displayed and to provide the graphics.
+
+%package devel
+Summary: Development files for the X11 Screen Saver extension library
+Group: Development/Libraries/C and C++
+Requires: %lname = %{version}
+
+%description devel
+The X Window System provides support for changing the image on a
+display screen after a user-settable period of inactivity to avoid
+burning the cathode ray tube phosphors. This extension allows an
+external "screen saver" client to detect when the alternate image is
+to be displayed and to provide the graphics.
+
+This package contains the development headers for the library found
+in %lname.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+%fdupes %{buildroot}
+
+%post -n %lname -p /sbin/ldconfig
+
+%postun -n %lname -p /sbin/ldconfig
+
+%files -n %lname
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libXss.so.1*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/X11/*
+%{_libdir}/libXss.so
+%{_libdir}/pkgconfig/xscrnsaver.pc
+%{_mandir}/man3/*
+
+%changelog
--- /dev/null
+Name: libXau
+Version: 1.0.7
+Release: 1
+License: MIT
+Summary: X Authorization routines
+Url: http://www.x.org/
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+%description
+This is a very simple mechanism for providing individual access to an X Window
+System display.It uses existing core protocol and library hooks for specifying
+authorization data in the connection setup block to restrict use of the display
+to only those clients that show that they know a server-specific key
+called a "magic cookie".
+
+%package devel
+Summary: Development components for the libXau library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development headers and files for %{name}
+
+%prep
+%setup -q
+
+%build
+%configure
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%remove_docs
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%{_libdir}/*.so.*
+
+%files devel
+%dir %{_includedir}/X11
+%{_includedir}/X11/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Name: libXaw
+Version: 1.0.11
+Release: 1
+License: MIT
+Summary: X Athena Widget Set
+Url: http://www.x.org
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: ed
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xmu)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xpm)
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xt)
+
+%description
+Xaw is a widget set based on the X Toolkit Intrinsics (Xt) Library.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: pkgconfig
+Requires: pkgconfig(xmu)
+Requires: pkgconfig(xpm)
+Requires: pkgconfig(xproto)
+Requires: pkgconfig(xt)
+
+%description devel
+X.Org X11 libXaw development package
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="${CFLAGS} %{optflags} -Os"
+%reconfigure \
+ --disable-xaw8 --disable-static \
+ --disable-xaw6
+make %{?_smp_mflags}
+
+%install
+
+make install DESTDIR=%{buildroot} INSTALL="install -p"
+rm -f %{buildroot}%{_libdir}/*.la
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXaw.so.7
+%{_libdir}/libXaw7.so.7
+%{_libdir}/libXaw7.so.7.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/X11/Xaw
+%{_includedir}/X11/Xaw/*.h
+# FIXME: Is this C file really supposed to be here?
+%{_includedir}/X11/Xaw/Template.c
+%{_libdir}/libXaw.so
+%{_libdir}/libXaw7.so
+%{_libdir}/pkgconfig/xaw7.pc
--- /dev/null
+Name: libXcomposite
+Version: 0.4.3
+Release: 3
+License: MIT
+Summary: X Composite Extension library
+Url: http://www.x.org
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(compositeproto) >= 0.4
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xfixes)
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+X Composite Extension library
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X.Org X11 libXcomposite development package
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXcomposite.so.1
+%{_libdir}/libXcomposite.so.1.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/Xcomposite.h
+%{_libdir}/libXcomposite.so
+%{_libdir}/pkgconfig/xcomposite.pc
--- /dev/null
+Name: libXcursor
+Version: 1.1.13
+Release: 1
+License: MIT
+Summary: Cursor management library
+Url: http://www.x.org
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xfixes)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xrender)
+
+%description
+This is a simple library designed to help locate and load cursors.
+Cursors can be loaded from files or memory. A library of common cursors
+exists which map to the standard X cursor names.Cursors can exist in
+several sizes and the library automatically picks the best size.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+libXcursor development package.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_datadir}/icons/default
+
+%remove_docs
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXcursor.so.1
+%{_libdir}/libXcursor.so.1.0.2
+%dir %{_datadir}/icons/default
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/X11/Xcursor
+%{_includedir}/X11/Xcursor/Xcursor.h
+%{_libdir}/libXcursor.so
+%{_libdir}/pkgconfig/xcursor.pc
--- /dev/null
+Name: libXdamage
+Version: 1.1.3
+Release: 3
+License: MIT
+Summary: X Damage extension library
+Url: http://www.x.org
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(damageproto) >= 1.1.0
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xfixes)
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+X.Org X11 libXdamage runtime library.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X.Org X11 libXdamage development package.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXdamage.so.1
+%{_libdir}/libXdamage.so.1.1.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/Xdamage.h
+%{_libdir}/libXdamage.so
+%{_libdir}/pkgconfig/xdamage.pc
--- /dev/null
+Name: libXdmcp
+Version: 1.1.1
+Release: 1
+License: MIT
+Summary: X Display Manager Control Protocol library
+Url: http://www.x.org
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+%description
+X Display Manager Control Protocol library.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+libXdmcp development package.
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXdmcp.so.6
+%{_libdir}/libXdmcp.so.6.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/Xdmcp.h
+%{_libdir}/libXdmcp.so
+%{_libdir}/pkgconfig/xdmcp.pc
--- /dev/null
+Name: libXext
+Version: 1.3.1
+Release: 1
+License: MIT
+Summary: Common X Extensions library
+Url: http://www.x.org
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xau)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+%description
+X.Org X11 libXext runtime library
+
+%package devel
+Summary: Common X Extensions library - Development Files
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: pkgconfig(x11)
+Requires: pkgconfig(xorg-macros)
+
+%description devel
+X.Org X11 libXext development package
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%{_libdir}/libXext.so.6
+%{_libdir}/libXext.so.6.4.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/MITMisc.h
+%{_includedir}/X11/extensions/XEVI.h
+%{_includedir}/X11/extensions/XLbx.h
+%{_includedir}/X11/extensions/XShm.h
+%{_includedir}/X11/extensions/Xag.h
+%{_includedir}/X11/extensions/Xcup.h
+%{_includedir}/X11/extensions/Xdbe.h
+%{_includedir}/X11/extensions/Xext.h
+%{_includedir}/X11/extensions/Xge.h
+%{_includedir}/X11/extensions/dpms.h
+%{_includedir}/X11/extensions/extutil.h
+%{_includedir}/X11/extensions/multibuf.h
+%{_includedir}/X11/extensions/security.h
+%{_includedir}/X11/extensions/shape.h
+%{_includedir}/X11/extensions/sync.h
+%{_includedir}/X11/extensions/xtestext1.h
+%{_libdir}/libXext.so
+%{_libdir}/pkgconfig/xext.pc
--- /dev/null
+Name: libXfixes
+Version: 5.0
+Release: 2
+License: MIT
+Summary: X Fixes library
+Url: http://www.x.org
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(fixesproto)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+%description
+X Fixes library.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: pkgconfig
+
+%description devel
+libXfixes development package
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXfixes.so.3
+%{_libdir}/libXfixes.so.3.1.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/Xfixes.h
+%{_libdir}/libXfixes.so
+%{_libdir}/pkgconfig/xfixes.pc
--- /dev/null
+Name: libXfont
+Version: 1.4.5
+Release: 0
+License: MIT
+Summary: X font handling library for server and utilities
+Url: http://xorg.freedesktop.org/
+Group: Development/Libraries/C and C++
+
+#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXfont
+#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXfont/
+Source: %{name}-%{version}.tar.bz2
+#git#BuildRequires: autoconf >= 2.60, automake, libtool
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(fontenc)
+BuildRequires: pkgconfig(fontsproto)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(xorg-macros) >= 1.10
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xtrans)
+BuildRequires: pkgconfig(zlib)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+libXfont provides the core of the legacy X11 font system, handling
+the index files (fonts.dir, fonts.alias, fonts.scale), the various
+font file formats, and rasterizing them. It is used by the X servers,
+the X Font Server (xfs), and some font utilities (bdftopcf for
+instance), but should not be used by normal X11 clients. X11 clients
+access fonts via either the new APIs in libXft, or the legacy APIs in
+libX11.
+
+%package devel
+Summary: Development files for the X font handling library
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+
+%description devel
+libXfont provides the core of the legacy X11 font system, handling
+the index files (fonts.dir, fonts.alias, fonts.scale), the various
+font file formats, and rasterizing them. It is used by the X servers,
+the X Font Server (xfs), and some font utilities (bdftopcf for
+instance), but should not be used by normal X11 clients. X11 clients
+access fonts via either the new APIs in libXft, or the legacy APIs in
+libX11.
+
+This package contains the development headers for the library found
+in %{name}.
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libXfont.so.1*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/X11/*
+%{_libdir}/libXfont.so
+%{_libdir}/pkgconfig/xfont.pc
+
+%changelog
--- /dev/null
+Name: libXfontcache
+Version: 1.0.5
+Release: 0
+Summary: X TrueType font cache extension client library
+License: MIT
+Group: Development/Libraries
+Url: http://xorg.freedesktop.org/
+
+Source: %name-%version.tar.bz2
+BuildRequires: fdupes
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(fontcacheproto)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xorg-macros) >= 1.3
+
+%description
+FontCache is an extension that is used by X TrueType to cache
+information about fonts.
+
+%package devel
+Summary: Development files for the X TrueType font cache library
+Group: Development/Libraries
+Requires: %name = %version
+
+%description devel
+FontCache is an extension that is used by X TrueType to cache
+information about fonts.
+
+This package contains the development headers for the library found
+in %name.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+%fdupes %buildroot
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%_libdir/libXfontcache.so.1*
+
+%files devel
+%defattr(-,root,root)
+%_libdir/libXfontcache.so
+%_libdir/pkgconfig/xfontcache.pc
+%_mandir/man3/*
+
+%changelog
--- /dev/null
+Name: libXft
+Version: 2.3.1
+Release: 0
+License: MIT
+Summary: X FreeType library
+Url: http://xorg.freedesktop.org/
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: autoconf >= 2.60
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(fontconfig) >= 2.5.92
+BuildRequires: pkgconfig(freetype2) >= 2.1.6
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xrender) >= 0.8.2
+
+%description
+Xft is a library that connects X applications with the FreeType font
+rasterization library. Xft uses fontconfig to locate fonts so it has
+no configuration files.
+
+%package devel
+Summary: Development files for the X FreeType library
+Group: Development/Libraries
+Requires: libXft = %{version}
+
+%description devel
+Xft is a library that connects X applications with the FreeType font
+rasterization library. Xft uses fontconfig to locate fonts so it has
+no configuration files.
+
+This package contains the development headers for the library found
+in libXft.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fi
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libXft.so.2*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/X11/Xft
+%{_libdir}/libXft.so
+%{_libdir}/pkgconfig/xft.pc
+%{_mandir}/man3/*
+
+%changelog
--- /dev/null
+Name: libXgesture
+Summary: X11 Gesture Extension library
+Version: 0.1.0
+Release: 2
+Group: System/Libraries
+License: MIT
+URL: http://www.x.org
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(gestureproto)
+BuildRequires: pkgconfig(xorg-macros)
+
+
+%description
+X.Org X11 libXt library
+
+
+%package devel
+Summary: X11 Gesture Extension library (development headers)
+Group: Development/Libraries
+Provides: libxgesture-devel
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(x11)
+Requires: pkgconfig(xext)
+Requires: pkgconfig(gestureproto)
+
+%description devel
+libXgesture provides an X Window System client interface to the X Gesture
+Extension to the X protocol.
+
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-static
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license COPYING
+%{_libdir}/libXgesture.so.*
+
+%files devel
+%{_includedir}/X11/extensions/*
+%{_libdir}/libXgesture.so
+%{_libdir}/pkgconfig/xgesture.pc
--- /dev/null
+Name: libXi
+Version: 1.6.1
+Release: 1
+License: MIT
+Summary: X.org libXi Client library for XInput.
+Url: http://www.x.org
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig(inputproto) >= 2.1.99.6
+BuildRequires: pkgconfig(x11) >= 1.4.99.1
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+Requires: libX11 >= 1.4.99.1
+
+%description
+X.Org X11 libXi runtime library
+
+%package devel
+Summary: X.org libXi Client library for XInput.
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: pkgconfig
+Requires: pkgconfig(inputproto) >= 2.1.99.6
+Requires: pkgconfig(xorg-macros)
+Requires: pkgconfig(xproto)
+
+%description devel
+X.Org X11 libXi development package
+
+%prep
+%setup -q
+
+%build
+%configure --disable-specs \
+ --disable-static
+
+make %{?_smp_mflags}
+
+%install
+
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXi.so.6
+%{_libdir}/libXi.so.6.1.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/XInput.h
+%{_includedir}/X11/extensions/XInput2.h
+%{_libdir}/libXi.so
+%{_libdir}/pkgconfig/xi.pc
--- /dev/null
+Name: libXinerama
+Version: 1.1.2
+Release: 1
+License: MIT
+Summary: Xinerama protocol library
+Url: http://www.x.org
+Group: Graphics/X Window System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xineramaproto)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+%description
+X.Org X11 libXinerama runtime library
+
+%package devel
+Summary: Xinerama protocol library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X.Org X11 libXinerama development package
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXinerama.so.1
+%{_libdir}/libXinerama.so.1.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libXinerama.so
+%{_libdir}/pkgconfig/xinerama.pc
+%{_includedir}/X11/extensions/Xinerama.h
+%{_includedir}/X11/extensions/panoramiXext.h
--- /dev/null
+Name: libXmu
+Version: 1.1.1
+Release: 1
+License: MIT
+Summary: X.org Xmu library
+Url: http://www.x.org
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xt)
+
+%description
+X.Org X11 libXmu/libXmuu runtime libraries
+
+%package devel
+Summary: X.org Xmu library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X.Org X11 libXmu development package.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXmu.so.6
+%{_libdir}/libXmu.so.6.2.0
+%{_libdir}/libXmuu.so.1
+%{_libdir}/libXmuu.so.1.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/X11/Xmu
+%{_includedir}/X11/Xmu/Atoms.h
+%{_includedir}/X11/Xmu/CharSet.h
+%{_includedir}/X11/Xmu/CloseHook.h
+%{_includedir}/X11/Xmu/Converters.h
+%{_includedir}/X11/Xmu/CurUtil.h
+%{_includedir}/X11/Xmu/CvtCache.h
+%{_includedir}/X11/Xmu/DisplayQue.h
+%{_includedir}/X11/Xmu/Drawing.h
+%{_includedir}/X11/Xmu/Editres.h
+%{_includedir}/X11/Xmu/EditresP.h
+%{_includedir}/X11/Xmu/Error.h
+%{_includedir}/X11/Xmu/ExtAgent.h
+%{_includedir}/X11/Xmu/Initer.h
+%{_includedir}/X11/Xmu/Lookup.h
+%{_includedir}/X11/Xmu/Misc.h
+%{_includedir}/X11/Xmu/StdCmap.h
+%{_includedir}/X11/Xmu/StdSel.h
+%{_includedir}/X11/Xmu/SysUtil.h
+%{_includedir}/X11/Xmu/WhitePoint.h
+%{_includedir}/X11/Xmu/WidgetNode.h
+%{_includedir}/X11/Xmu/WinUtil.h
+%{_includedir}/X11/Xmu/Xct.h
+%{_includedir}/X11/Xmu/Xmu.h
+%{_libdir}/libXmu.so
+%{_libdir}/libXmuu.so
+%{_libdir}/pkgconfig/xmu.pc
+%{_libdir}/pkgconfig/xmuu.pc
--- /dev/null
+Name: libXpm
+Version: 3.5.10
+Release: 1
+License: MIT
+Summary: XPM format pixmap library
+Url: http://www.x.org
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: gettext
+BuildRequires: pkgconfig(xau)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xt)
+
+%description
+X.Org X11 libXpm runtime library
+
+%package devel
+Summary: XPM format pixmap library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Provides: libxpm-devel
+
+%description devel
+X.Org X11 libXpm development package
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXpm.so.4
+%{_libdir}/libXpm.so.4.11.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_bindir}/cxpm
+%{_bindir}/sxpm
+%{_includedir}/X11/xpm.h
+%{_libdir}/libXpm.so
+%{_libdir}/pkgconfig/xpm.pc
--- /dev/null
+Name: libXrandr
+Version: 1.4.0
+Release: 3
+License: MIT
+Summary: X Resize and Rotate Extension C Library
+Url: http://www.x.org
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(randrproto) >= 1.3.0
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xrender)
+
+%description
+X.Org X11 libXrandr runtime library
+
+%package devel
+Summary: X Resize and Rotate Extension C Library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X.Org X11 libXrandr development package
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXrandr.so.2
+%{_libdir}/libXrandr.so.2.2.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/Xrandr.h
+%{_libdir}/libXrandr.so
+%{_libdir}/pkgconfig/xrandr.pc
--- /dev/null
+Name: libXrender
+Version: 0.9.7
+Release: 0
+License: MIT
+Summary: X Rendering Extension library
+Url: http://cgit.freedesktop.org/xorg/lib/libXrender/
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(renderproto) >= 0.9
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+
+%description
+The Xrender library is designed as a lightweight library interface to
+the Render extension.
+
+%package devel
+Summary: Development files for the X11 Render Extension library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+The Xrender library is designed as a lightweight library interface to
+the Render extension.
+
+This package contains the development headers for the library found
+in %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure --docdir=%_docdir/%{name} --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libXrender.so.1*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/X11/*
+%{_libdir}/libXrender.so
+%{_libdir}/pkgconfig/xrender.pc
+%_docdir/%{name}
+
+%changelog
--- /dev/null
+Name: libXres
+Version: 1.0.6
+Release: 1
+License: MIT
+Summary: X-Resource extension client library
+Url: http://www.x.org
+Group: Graphics/X Window System
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig(resourceproto)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+%description
+X-Resource is an extension that allows a client to query
+the X server about its usage of various resources.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X.Org X11 libXres development package
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXRes.so.1
+%{_libdir}/libXRes.so.1.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/XRes.h
+%{_libdir}/libXRes.so
+%{_libdir}/pkgconfig/xres.pc
--- /dev/null
+Name: libXt
+Version: 1.1.3
+Release: 2
+License: MIT
+Summary: X Toolkit Intrinsics library
+Url: http://www.x.org
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(sm)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+%description
+X.Org X11 libXt runtime library
+
+%package devel
+Summary: X Toolkit Intrinsics library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X.Org X11 libXt development package
+
+%prep
+%setup -q
+
+%build
+# FIXME: Work around pointer aliasing warnings from compiler for now
+export CFLAGS="${CFLAGS} %{optflags} -fno-strict-aliasing"
+%configure --disable-static \
+ --with-appdefaultdir=/etc/X11/app-defaults \
+ --with-xfile-search-path="/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S:/etc/X11/%L/%T/%N%C%S:/etc/X11/%l/%T/%N%C%S:/etc/X11/%T/%N%C%S:/etc/X11/%L/%T/%N%S:/etc/X11/%l/%T/%N%S:/etc/X11/%T/%N%S"
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p -m 0755 %{buildroot}%{_datadir}/X11/app-defaults
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXt.so.6
+%{_libdir}/libXt.so.6.0.0
+%dir %{_datadir}/X11/app-defaults
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/CallbackI.h
+%{_includedir}/X11/Composite.h
+%{_includedir}/X11/CompositeP.h
+%{_includedir}/X11/ConstrainP.h
+%{_includedir}/X11/Constraint.h
+%{_includedir}/X11/ConvertI.h
+%{_includedir}/X11/Core.h
+%{_includedir}/X11/CoreP.h
+%{_includedir}/X11/CreateI.h
+%{_includedir}/X11/EventI.h
+%{_includedir}/X11/HookObjI.h
+%{_includedir}/X11/InitialI.h
+%{_includedir}/X11/Intrinsic.h
+%{_includedir}/X11/IntrinsicI.h
+%{_includedir}/X11/IntrinsicP.h
+%{_includedir}/X11/Object.h
+%{_includedir}/X11/ObjectP.h
+%{_includedir}/X11/PassivGraI.h
+%{_includedir}/X11/RectObj.h
+%{_includedir}/X11/RectObjP.h
+%{_includedir}/X11/ResConfigP.h
+%{_includedir}/X11/ResourceI.h
+%{_includedir}/X11/SelectionI.h
+%{_includedir}/X11/Shell.h
+%{_includedir}/X11/ShellI.h
+%{_includedir}/X11/ShellP.h
+%{_includedir}/X11/StringDefs.h
+%{_includedir}/X11/ThreadsI.h
+%{_includedir}/X11/TranslateI.h
+%{_includedir}/X11/VarargsI.h
+%{_includedir}/X11/Vendor.h
+%{_includedir}/X11/VendorP.h
+%{_includedir}/X11/Xtos.h
+%{_libdir}/libXt.so
+%{_libdir}/pkgconfig/xt.pc
--- /dev/null
+Name: libXtst
+Version: 1.2.1
+Release: 0
+License: MIT
+Summary: Xlib-based client API for the XTEST and RECORD extensions
+Url: http://xorg.freedesktop.org/
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: fdupes
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(inputproto)
+BuildRequires: pkgconfig(recordproto) >= 1.13.99.1
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext) >= 1.0.99.4
+BuildRequires: pkgconfig(xextproto) >= 7.0.99.3
+BuildRequires: pkgconfig(xi)
+BuildRequires: pkgconfig(xorg-macros) >= 1.12
+
+%description
+The XTEST extension is a minimal set of client and server extensions
+required to completely test the X11 server with no user intervention.
+This extension is not intended to support general journaling and
+playback of user actions.
+
+The RECORD extension supports the recording and reporting of all core
+X protocol and arbitrary X extension protocol.
+
+%package devel
+Summary: Development files for the X11 XTEST and RECORD extensions
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+The XTEST extension is a minimal set of client and server extensions
+required to completely test the X11 server with no user intervention.
+This extension is not intended to support general journaling and
+playback of user actions.
+
+The RECORD extension supports the recording and reporting of all core
+X protocol and arbitrary X extension protocol.
+
+This package contains the development headers for the library found
+in %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure --docdir=%_docdir/%{name} --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+%fdupes %{buildroot}
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libXtst.so.6*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/X11/*
+%{_libdir}/libXtst.so
+%{_libdir}/pkgconfig/xtst.pc
+
+%changelog
--- /dev/null
+Name: libXv
+Version: 1.0.7
+Release: 1
+License: MIT
+Summary: Xvideo extension library
+Url: http://www.x.org
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(videoproto)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+X.Org X11 libXv runtime library
+
+%package devel
+Summary: Xvideo extension library - Development
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X.Org X11 libXv development package
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-static
+make %{?_smp_mflags}
+
+%install
+
+%make_install
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXv.so.1
+%{_libdir}/libXv.so.1.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%doc man/xv-library-v2.2.txt
+%{_includedir}/X11/extensions/Xvlib.h
+%{_libdir}/libXv.so
+%{_libdir}/pkgconfig/xv.pc
--- /dev/null
+Name: libXvMC
+Version: 1.0.7
+Release: 0
+License: MIT
+Summary: X-Video Motion Compensation library
+Url: http://xorg.freedesktop.org/
+Group: System/Libraries
+
+#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXvMC
+#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXvMC/
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(videoproto)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xv)
+
+%description
+X-Video Motion Compensation (XvMC), is an extension of the X video
+extension (Xv) for the X Window System. The XvMC API allows video
+programs to offload portions of the video decoding process to the GPU
+video-hardware.
+
+%package devel
+Summary: Development files for the X-Video Motion Compensation library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X-Video Motion Compensation (XvMC), is an extension of the X video
+extension (Xv) for the X Window System. The XvMC API allows video
+programs to offload portions of the video decoding process to the GPU
+video-hardware.
+
+This package contains the development headers for the library found
+in %name.
+
+%prep
+%setup -q
+
+%build
+%reconfigure
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libXvMC*.so.1*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/X11/*
+%{_libdir}/libXvMC*.so
+%{_libdir}/pkgconfig/xvmc.pc
+
+%changelog
--- /dev/null
+Name: libXxf86dga
+Version: 1.1.3
+Release: 1
+License: MIT
+Summary: X.Org X11 libXxf86dga runtime library
+URL: http://www.x.org
+Group: System/Libraries
+Source: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xf86dgaproto)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+
+%description
+X.Org X11 libXxf86dga runtime library
+
+%package devel
+Summary: X.Org X11 libXxf86dga development package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Provides: libxxf86dga-devel
+
+%description devel
+X.Org X11 libXxf86dga development package
+
+%prep
+%setup -q
+
+%build
+%configure
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%{_libdir}/libXxf86dga.so.1
+%{_libdir}/libXxf86dga.so.1.0.0
+
+%files devel
+%{_libdir}/libXxf86dga.so
+%{_libdir}/pkgconfig/xxf86dga.pc
+%{_includedir}/X11/extensions/xf86dga1.h
+%{_includedir}/X11/extensions/Xxf86dga.h
--- /dev/null
+Name: libXxf86misc
+Version: 1.0.3
+Release: 6.5
+License: MIT
+Summary: X11 XFree86 miscellaneous extension library
+Url: http://www.x.org/
+Group: System/Libraries
+Source0: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xf86miscproto)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+%description
+X11 XFree86 miscellaneous extension library
+libXxf86misc provides an interface to the XFree86-Misc extension, which allows client applications to query the current keyboard and mouse settings of the running XFree86-based (XFree86, Xorg) server.
+
+More information about X.Org can be found at:
+<URL:http://www.X.org>
+<URL:http://xorg.freedesktop.org>
+<URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
+
+This module can be found at
+git://anongit.freedesktop.org/git/xorg/lib/libXxf86misc
+
+%package devel
+Summary: X11 XFree86 miscellaneous extension library (development headers)
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X11 XFree86 miscellaneous extension library (development headers)
+libXxf86misc provides an interface to the XFree86-Misc extension, which allows client applications to query the current keyboard and mouse settings of the running XFree86-based (XFree86, Xorg) server.
+
+This package contains the development headers for the library found in libxxf86misc1. Non-developers likely have little use for this package.
+
+More information about X.Org can be found at:
+<URL:http://www.X.org>
+<URL:http://xorg.freedesktop.org>
+<URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
+
+This module can be found at
+git://anongit.freedesktop.org/git/xorg/lib/libXxf86misc
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_libdir}/libXxf86misc.so.1
+%{_libdir}/libXxf86misc.so.1.1.0
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libXxf86misc.so
+%{_libdir}/pkgconfig/xxf86misc.pc
+%doc %{_mandir}/man3/*.3*
+
--- /dev/null
+Name: libXxf86vm
+Version: 1.1.2
+Release: 1
+License: MIT
+Summary: X.org libXxf86vm library
+Url: http://www.x.org
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xf86vidmodeproto)
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+X.Org X11 libXxf86vm runtime library
+
+%package devel
+Summary: X.org libXxf86vm library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X.Org X11 libXxf86vm development package
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXxf86vm.so.1
+%{_libdir}/libXxf86vm.so.1.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libXxf86vm.so
+%{_libdir}/pkgconfig/xxf86vm.pc
+%{_includedir}/X11/extensions/xf86vmode.h
--- /dev/null
+
+Name: libaccounts-svc
+Summary: Account DB library
+Version: 0.2.52
+Release: 1
+Group: TO_BE/FILLED_IN
+License: Apache-2.0
+Source0: libaccounts-svc-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(aul)
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/sqlite3
+Requires(postun): /sbin/ldconfig
+
+%description
+Account DB libraryXB-Public-Package: no
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description devel
+Development files for %{name}
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="${CFLAGS} -fPIC -fvisibility=hidden"
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+rm -rf %{buildroot}%{_libdir}/accounts-svc
+
+%post
+/sbin/ldconfig
+if [ ! -d /opt/dbspace ]
+then
+ mkdir -p /opt/dbspace
+fi
+if [ ! -f /opt/dbspace/.account.db ]
+#rm -rf /opt/dbspace/.account.db*
+then
+ sqlite3 /opt/dbspace/.account.db 'PRAGMA journal_mode = PERSIST;
+ CREATE TABLE if not exists label (AppId TEXT, Label TEXT, Locale TEXT);
+ CREATE TABLE if not exists account_type (_id INTEGER PRIMARY KEY AUTOINCREMENT, AppId TEXT,
+ ServiceProviderId TEXT, IconPath TEXT, SmallIconPath TEXT, MultipleAccountSupport INT);
+ CREATE TABLE if not exists account_custom (AccountId INTEGER, AppId TEXT, Key TEXT, Value TEXT);
+ CREATE TABLE if not exists account (_id INTEGER PRIMARY KEY AUTOINCREMENT, user_name TEXT, email_address TEXT, display_name TEXT, icon_path TEXT,
+ source TEXT, package_name TEXT, access_token TEXT, domain_name TEXT, auth_type INTEGER, secret INTEGER, sync_support INTEGER,
+ txt_custom0 TEXT, txt_custom1 TEXT, txt_custom2 TEXT, txt_custom3 TEXT, txt_custom4 TEXT,
+ int_custom0 INTEGER, int_custom1 INTEGER, int_custom2 INTEGER, int_custom3 INTEGER, int_custom4 INTEGER);
+ CREATE TABLE if not exists capability (_id INTEGER PRIMARY KEY AUTOINCREMENT, key TEXT, value INTEGER,
+ package_name TEXT, user_name TEXT, account_id INTEGER, FOREIGN KEY (account_id) REFERENCES account(_id));
+ CREATE TABLE if not exists provider_feature (app_id TEXT, key TEXT);'
+fi
+
+mkdir -p /opt/usr/share/account
+chown 5000:5000 /opt/dbspace/.account.db
+chown 5000:5000 /opt/dbspace/.account.db-journal
+chown 5000:5000 /opt/usr/share/account
+
+chmod 660 /opt/dbspace/.account.db
+chmod 660 /opt/dbspace/.account.db-journal
+chmod 755 /opt/usr/share/account
+
+#set message key value to NULL
+vconftool set -t string db/account/msg '' -g 6514
+
+#smack labeling
+if [ -f %{_libdir}/rpm-plugins/msm.so ]
+then
+ chsmack -a 'libaccounts-svc::db' /opt/dbspace/.account.db-journal
+ chsmack -a 'libaccounts-svc::db' /opt/dbspace/.account.db
+fi
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest libaccounts-svc.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+%{_bindir}/account-xml-verify
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/accounts-svc.pc
+%{_includedir}/*.h
+%{_bindir}/account-xml-verify
--- /dev/null
+Name: libaio
+Version: 0.3.109
+Release: 0
+Summary: Linux-Native Asynchronous I/O Access Library
+License: LGPL-2.1+
+Group: Development/Libraries
+Url: http://kernel.org/pub/linux/libs/aio/
+Source: libaio-%{version}.tar.bz2
+Source2: baselibs.conf
+
+%description
+The Linux-native asynchronous I/O facility ("async I/O", or "aio") has
+a richer API and capability set than the simple POSIX async I/O
+facility. This library provides the Linux-native API for async I/O. The
+POSIX async I/O facility requires this library to provide
+kernel-accelerated async I/O capabilities, as do applications that
+require the Linux-native async I/O API.
+
+
+%package devel
+Summary: Development Files for Linux-native Asynchronous I/O Access
+Group: Development/Libraries/C and C++
+Requires: %name = %version, glibc-devel
+
+%description devel
+This package provides header files to include, and libraries to link
+with, for the Linux-native asynchronous I/O facility ("async I/O", or
+"aio").
+
+
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags} CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS"
+
+%install
+make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_lib}
+%if "%_lib" == "lib64"
+mv "%buildroot/usr/lib" "%buildroot/usr/lib64"
+%endif
+rm -f "%buildroot/%_libdir"/*.a
+# Strip dumb /usr/src/... off
+t=$(readlink -f "%buildroot/%_lib/libaio.so.1")
+ln -fs "${t##*/}" "%buildroot/%_lib/libaio.so.1"
+t=$(readlink -f "%buildroot/%_libdir/libaio.so")
+ln -fs "${t#%buildroot}" "%buildroot/%_libdir/libaio.so"
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%license COPYING
+%attr(0755,root,root) /%{_lib}/libaio.*
+
+%files devel
+%defattr(644,root,root,755)
+/usr/include/libaio.h
+%_libdir/libaio.so
+
+%changelog
--- /dev/null
+Name: libarchive
+Version: 2.8.3
+Release: 1
+License: BSD
+Summary: A library for handling streaming archive formats
+Url: http://code.google.com/p/libarchive/
+Group: System/Libraries
+Source0: http://libarchive.googlecode.com/files/libarchive-%{version}.tar.gz
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: bzip2-devel
+BuildRequires: libacl-devel
+BuildRequires: libattr-devel
+BuildRequires: libtool
+BuildRequires: zlib-devel
+BuildRequires: pkgconfig(ext2fs)
+BuildRequires: pkgconfig(liblzma)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(openssl)
+
+%description
+Libarchive is a programming library that can create and read several different
+streaming archive formats, including most popular tar variants, several cpio
+formats, and both BSD and GNU ar variants. It can also write shar archives and
+read ISO9660 CDROM images and ZIP archives.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static \
+ --disable-bsdtar \
+ --disable-bsdcpio
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+find %{buildroot} -name cpio.5 -exec rm -f {} ';'
+find %{buildroot} -name mtree.5 -exec rm -f {} ';'
+find %{buildroot} -name tar.5 -exec rm -f {} ';'
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_mandir}/*/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*
+
--- /dev/null
+Name: libassuan
+Version: 2.0.2
+Release: 0
+License: GPL-2.0+ ; LGPL-2.1+
+Summary: IPC library used by GnuPG version 2
+Url: http://www.gnupg.org/aegypten2/index.html
+Group: Security/Libraries
+Source: %{name}-%{version}.tar.bz2
+Source1: baselibs.conf
+BuildRequires: libgpg-error-devel >= 1.4
+
+%description
+Libassuan is the IPC library used by gpg2 (GnuPG version 2)
+
+%package devel
+Summary: IPC library used by GnuPG version 2
+Group: Development/Libraries
+Requires: libassuan = %{version}
+Requires: libgpg-error-devel
+
+%description devel
+Libassuan is the IPC library used by gpg2 (GnuPG version 2)
+
+gpgme also uses libassuan to communicate with a libassuan-enabled GnuPG
+v2 server, but it uses it's own copy of libassuan.
+
+%prep
+%setup -q
+
+%build
+# Compile with PIC, library is linked into shared libraries:
+export CFLAGS="%{optflags}"
+export LDFLAGS="-fPIC"
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libassuan.so.*
+
+%files devel
+%defattr(-,root,root)
+%doc %{_infodir}/assuan*
+%{_includedir}/*.h
+%{_bindir}/*-config
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/*.m4
+%{_libdir}/libassuan.so
+
+%changelog
--- /dev/null
+Name: libasyncns
+Version: 0.8
+Release: 1
+License: LGPL-2.1+
+Summary: A C library for executing name service queries asynchronously
+URL: http://0pointer.de/lennart/projects/libasyncns
+Group: System/Libraries
+Source: %{name}-%{version}.tar.gz
+
+%description
+Libasyncns is a C library for executing name service queries
+asynchronously. It is an asynchronous wrapper around getaddrinfo(3),
+getnameinfo(3), res_query(3) and res_search(3) from libc and libresolv.
+
+%package devel
+Summary: libasyncns development package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development package for libasyncns, a C library for executing name
+service queries asynchronously. It is an asynchronous wrapper around
+getaddrinfo(3), getnameinfo(3), res_query(3) and res_search(3) from libc
+and libresolv.
+
+%prep
+%setup -q
+
+%build
+%configure
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+rm -rf %{buildroot}%{_datadir}/doc
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%{_libdir}/libasyncns.so.*
+
+%files devel
+%{_includedir}/asyncns.h
+%{_libdir}/libasyncns.so
+%{_libdir}/pkgconfig/libasyncns.pc
--- /dev/null
+Name: bullet
+Version: 2.81
+Release: 0
+Summary: Bullet Continuous Collision Detection and Physics Library
+License: Zlib
+Group: System/Libraries
+Source: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+Source1001: bullet.manifest
+
+%description
+Bullet Continuous Collision Detection and Physics Library
+
+%package -n libbullet
+Summary: Bullet Continuous Collision Detection and Physics Library
+Group: System/Libraries
+
+%description -n libbullet
+Bullet Continuous Collision Detection and Physics Library
+
+%package devel
+Summary: Development components for the bullet
+Group: Development/Libraries
+Requires: libbullet = %{version}-%{release}
+
+%description devel
+Bullet Continuous Collision Detection and Physics Library (devel)
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+
+%cmake . -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON -DBUILD_EXTRAS=OFF -DBUILD_DEMOS=OFF -DBUILD_CPU_DEMOS=OFF -DUSE_GRAPHICAL_BENCHMARK=OFF -DCMAKE_INSTALL_PREFIX=/usr -DUSE_GLUT=OFF
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig -n libbullet
+
+%postun -p /sbin/ldconfig -n libbullet
+
+%files -n libbullet
+%manifest bullet.manifest
+%license COPYING
+%defattr(-,root,root,-)
+%{_libdir}/*.so.%{version}
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*
--- /dev/null
+Name: libcamsrcjpegenc-sw-libjpeg
+Summary: Multimedia Framework Camera Src Jpeg Encoder Library (libjpeg)
+Version: 0.1.6
+Release: 1
+Group: libdevel
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(camsrcjpegenc)
+BuildRequires: pkgconfig(mmutil-imgp)
+BuildRequires: libjpeg-turbo-devel
+
+%description
+Multimedia Framework Camera Src Jpeg Encoder Library (libjpeg)
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+./autogen.sh
+%configure --disable-static --enable-dlog
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+%make_install
+
+%files
+%manifest libcamsrcjpegenc-sw-libjpeg.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libcamsrcjpegenc-sw.so*
+%{_datadir}/license/%{name}
+
--- /dev/null
+Name: libcamsrcjpegenc
+Summary: camerasrc JPEG encoder Development library
+Version: 0.1.4
+Release: 3
+Group: libdevel
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+
+%description
+Camerasrc JPEG encoder Development library.
+
+%package devel
+Summary: camerasrc JPEG encoder Development library
+Group: devel
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+camerasrc JPEG encoder Development library
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+./autogen.sh
+%configure --disable-static --enable-dlog
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+%make_install
+
+%files
+%manifest libcamsrcjpegenc.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libcamsrcjpegenc.so.*
+%{_datadir}/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libcamsrcjpegenc.so
+%{_libdir}/pkgconfig/camsrcjpegenc.pc
+%{_includedir}/camsrcjpegenc.h
+%{_includedir}/camsrcjpegenc_sub.h
+%{_includedir}/camsrcjpegenc_type.h
+
--- /dev/null
+%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+
+Name: libcap-ng
+Version: 0.6.6
+Release: 0
+License: LGPL-2.1+
+Summary: An alternate POSIX capabilities library
+%define soname 0
+%define rname libcap-ng
+Url: http://people.redhat.com/sgrubb/libcap-ng
+Group: System/Libraries
+# http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+Source99: libcap-ng.rpmlintrc
+BuildRequires: kernel-headers >= 2.6.11
+BuildRequires: libattr-devel
+BuildRequires: pkg-config
+BuildRequires: python
+
+%description
+Libcap-ng is a library that makes using posix capabilities easier
+
+%package devel
+
+License: LGPL-2.1+
+Summary: Header files for libcap-ng library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: kernel-headers >= 2.6.11
+Requires: pkgconfig
+
+%description devel
+The libcap-ng-devel package contains the files needed for developing
+applications that need to use the libcap-ng library.
+
+%package utils
+
+License: GPL-2.0+
+Summary: Utilities for analysing and setting file capabilities
+Group: System/Base
+
+%description utils
+The libcap-ng-utils package contains applications to analyse the
+posix capabilities of all the program running on a system. It also
+lets you set the file system based capabilities.
+
+%prep
+%setup -q -n %{rname}-%{version}
+
+%build
+%configure --disable-static --with-pic --with-python=no
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING.LIB
+%attr(0755,root,root) %{_libdir}/%{rname}.so.%{soname}
+%attr(0755,root,root) %{_libdir}/%{rname}.so.%{soname}.*
+
+%files devel
+%defattr(-,root,root,-)
+%attr(0644,root,root) %{_mandir}/man3/*.3%{ext_man}
+%attr(0644,root,root) %{_includedir}/cap-ng.h
+%attr(0755,root,root) %{_libdir}/%{rname}.so
+%attr(0644,root,root) %{_datadir}/aclocal/cap-ng.m4
+%{_libdir}/pkgconfig/%{rname}.pc
+
+%files utils
+%defattr(-,root,root,-)
+%license COPYING
+%attr(0755,root,root) %{_bindir}/captest
+%attr(0755,root,root) %{_bindir}/filecap
+%attr(0755,root,root) %{_bindir}/netcap
+%attr(0755,root,root) %{_bindir}/pscap
+%attr(0644,root,root) %{_mandir}/man8/*.8%{ext_man}
+
+%changelog
--- /dev/null
+Name: libcap
+Version: 2.22
+Release: 1
+License: BSD-3-Clause ; GPL-2.0
+Summary: Library for Capabilities (linux-privs) Support
+Url: https://sites.google.com/site/fullycapable/
+Group: Base/Libraries
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: fdupes
+BuildRequires: libattr-devel
+%define debug_package_requires libcap2 = %{version}-%{release}
+
+%description
+Capabilities are a measure to limit the omnipotence of the superuser.
+Currently a program started by root or setuid root has the power to do
+anything. Capabilities (Linux-Privs) provide a more fine-grained access
+control. Without kernel patches, you can use this library to drop
+capabilities within setuid binaries. If you use patches, this can be
+done automatically by the kernel.
+
+%package devel
+License: BSD-3-Clause ; GPL-2.0
+Summary: Development files for libcap
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libcap = %{version}
+
+%description devel
+Development files (Headers, libraries for static linking, etc) for
+libcap.
+
+libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
+draft 15 capabilities.
+
+Install libcap-devel if you want to develop or compile applications
+using libcap.
+
+%package progs
+License: BSD-3-Clause ; GPL-2.0
+Summary: Libcap utility programs
+Group: Base/File Systems
+
+%description progs
+This package contains utility programs handling capabilities via
+libcap.
+
+%prep
+%setup -q
+
+%build
+# lib=%{_lib} make %{?_smp_mflags} COPTFLAG="%{optflags}"
+lib=%{_lib} make %{?_smp_mflags} DEBUG="-g %{optflags}"
+
+%install
+make install DESTDIR=%{buildroot} LIBDIR=%{buildroot}/%{_lib} MANDIR=%{buildroot}%{_mandir} RAISE_SETFCAP=no
+# remove unneeded files
+rm -f %{buildroot}/%{_lib}/*.*a
+# move *.so file to libdir and relink
+rm -f %{buildroot}/%{_lib}/*.so
+mkdir -p %{buildroot}%{_libdir}
+ln -s /%{_lib}/libcap.so.2 %{buildroot}%{_libdir}/libcap.so
+%fdupes -s %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license License
+%attr(755,root,root) /%{_lib}/libcap.so.*
+
+%files progs
+%defattr(-,root,root)
+%{_mandir}/man1/*
+%{_mandir}/man8/*
+/sbin/*
+
+%files devel
+%defattr(-,root,root)
+%doc License README CHANGELOG
+%{_includedir}/sys/capability.h
+%{_libdir}/*.so
+%{_mandir}/man3/*
+
+%changelog
--- /dev/null
+Name: libcryptsvc
+Summary: Crypto Service Library
+Version: 0.0.1
+Release: 6
+Group: Security/Libraries
+License: Apache-2.0 and Flora
+Source0: %{name}-%{version}.tar.gz
+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
+
+%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
+%license LICENSE.APLv2 LICENSE.Flora
+%{_libdir}/*.so*
+
+%files devel
+%{_includedir}/*
+%{_libdir}/pkgconfig/cryptsvc.pc
--- /dev/null
+Name: libdaemon
+Version: 0.14
+Release: 0
+License: LGPL-2.1+
+Summary: Lightweight C library That Eases the Writing of UNIX Daemons
+Url: http://0pointer.de/lennart/projects/libdaemon/
+Group: System/Libraries
+Source: %{name}-%{version}.tar.gz
+BuildRequires: doxygen
+BuildRequires: pkg-config
+
+%description
+libdaemon is a lightweight C library that eases the writing of UNIX
+daemons.
+
+
+%package devel
+License: GPL-2.0+
+Summary: Lightweight C library That Eases the Writing of UNIX Daemons
+Group: Development/Libraries/C and C++
+Requires: glibc-devel
+Requires: libdaemon = %{version}
+
+%description devel
+libdaemon is a lightweight C library that eases the writing of UNIX
+daemons.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --disable-static --with-pic \
+ --disable-lynx
+make %{?_smp_mflags}
+
+%install
+%make_install
+# We don't care about the HTML README
+rm %{buildroot}%{_datadir}/doc/libdaemon/{README.html,style.css}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -n libdaemon
+%defattr (-,root,root)
+%doc LICENSE
+%{_libdir}/libdaemon.so.0*
+
+%files devel
+%defattr (-,root,root)
+%{_libdir}/libdaemon.so
+%{_libdir}/pkgconfig/libdaemon.pc
+%dir %{_includedir}/libdaemon
+%{_includedir}/libdaemon/*.h
+
+%changelog
--- /dev/null
+Name: libdatrie
+Version: 0.2.4
+Release: 0
+License: LGPL-2.1
+Summary: Double-Array Trie Library
+Url: http://linux.thai.net/~thep/datrie/datrie.html
+Group: System/Libraries
+Source: %{name}-%{version}.tar.bz2
+Source99: baselibs.conf
+BuildRequires: doxygen
+BuildRequires: pkg-config
+
+%description
+This is an implementation of double-array structure for representing
+trie, as proposed by Junichi Aoe.
+
+Summary: Double-Array Trie Library
+Group: Development/Libraries/C and C++
+
+%package devel
+Summary: Double-Array Trie Library (development)
+Group: Development/Libraries/C and C++
+Requires: libdatrie = %{version}
+
+%description devel
+This is an implementation of double-array structure for representing
+trie, as proposed by Junichi Aoe.
+
+This package contains the development files for libdatrie.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --disable-static --with-pic \
+ --with-html-docdir=%{_docdir}/libdatrie/html
+make %{?_smp_mflags}
+
+%install
+%make_install
+# This is not installed where it should
+mv %{buildroot}%{_datadir}/doc/libdatrie/README.migration %{buildroot}%{_docdir}/libdatrie/
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_libdir}/libdatrie.so.1*
+
+%files devel
+%defattr(-,root,root)
+%{_bindir}/trietool-0.2
+%doc %{_mandir}/man*/trietool-0.2.*
+%{_includedir}/datrie/
+%{_libdir}/libdatrie.so
+%{_libdir}/pkgconfig/datrie-0.2.pc
+%doc %{_docdir}/libdatrie/
--- /dev/null
+Name: libdevice-node
+Summary: Library to control OAL APIs
+Version: 0.1.0
+Release: 1
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: %{name}.manifest
+Source2: smack-device-labeling.service
+BuildRequires: cmake
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+
+%description
+development package of library to control OAL APIs
+
+%package devel
+Summary: Control OAL APIs (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Library to control OAL APIs (devel)
+
+
+%prep
+%setup -q
+cp %{SOURCE1} .
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_unitdir}/basic.target.wants
+install -m 644 %{SOURCE2} %{buildroot}%{_unitdir}/
+ln -s ../smack-device-labeling.service %{buildroot}%{_unitdir}/basic.target.wants/
+mkdir -p %{buildroot}/lib/firmware/mdnie
+
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%{_libdir}/*.so.*
+%{_prefix}/lib/udev/rules.d/*
+%{_unitdir}/smack-device-labeling.service
+%{_unitdir}/basic.target.wants/smack-device-labeling.service
+/lib/firmware/mdnie
+%manifest %{name}.manifest
+
+%files devel
+%{_includedir}/device-node/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Summary: X.Org X11 DMX runtime library
+Name: libdmx
+Version: 1.1.2
+Release: 1
+License: MIT
+Group: System Environment/Libraries
+URL: http://www.x.org
+
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(dmxproto)
+BuildRequires: pkgconfig(xext)
+
+%description
+The X.Org X11 DMX (Distributed Multihead X) runtime library.
+
+%package devel
+Summary: X.Org X11 DMX development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The X.Org X11 DMX (Distributed Multihead X) development files.
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-static \
+ LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p %{buildroot}/usr/share/license
+cp -af COPYING %{buildroot}/usr/share/license/%{name}
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# We intentionally don't ship *.la files
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%remove_docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+/usr/share/license/%{name}
+#%doc COPYING ChangeLog
+%{_libdir}/libdmx.so.1
+%{_libdir}/libdmx.so.1.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libdmx.so
+%{_libdir}/pkgconfig/dmx.pc
+#%{_mandir}/man3/*.3*
+%{_includedir}/X11/extensions/dmxext.h
--- /dev/null
+Name: libdri2
+Summary: X.Org DRI2 Extension client library
+Version: 0.1.0
+Release: 11
+Group: System/Libraries
+License: MIT
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dri2proto)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xfixes)
+
+
+%description
+DRI2 Extension client library
+
+
+%package devel
+Summary: X.Org DRI2 Extension client library (development library)
+Group: System/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(dri2proto)
+Requires: pkgconfig(xfixes)
+
+%description devel
+DRI2 Extension client library (development library)
+
+
+%prep
+%setup -q
+
+
+%build
+
+%reconfigure --disable-static
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp -af COPYING %{buildroot}/usr/share/license/%{name}
+%make_install
+
+
+%files
+%defattr(-,root,root,-)
+/usr/share/license/%{name}
+%{_libdir}/libdri2.so.*
+%exclude %{_libdir}/dri2.h
+
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libdri2.so
+%{_includedir}/dri2/*
+%{_libdir}/pkgconfig/*
+
+
--- /dev/null
+Name: libdrm
+Version: 2.4.42
+Release: 4
+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)
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+Direct Rendering Manager headers and kernel modules.
+
+%package devel
+Summary: Userspace interface to kernel DRM services
+Requires: kernel-headers
+Requires: libdrm = %{version}
+%ifnarch %{arm}
+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
+
+%package intel
+Summary: Userspace interface to intel graphics kernel DRM buffer management
+
+%description intel
+Userspace interface to intel graphics kernel DRM buffer management
+
+%prep
+%setup -q
+
+
+%build
+cp %{SOURCE1001} .
+%reconfigure \
+ --enable-static=yes \
+ --enable-udev \
+ --enable-libkms \
+ --disable-nouveau-experimental-api \
+ --disable-radeon \
+ --disable-nouveau \
+ --enable-exynos-experimental-api
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%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 libdrm.manifest
+%{_libdir}/libdrm.so.*
+%{_libdir}/libdrm_exynos.so.*
+
+%files devel
+%manifest libdrm.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}/pkgconfig/*
+
+
+%files -n libkms
+%manifest libdrm.manifest
+%{_libdir}/libkms.so.*
+
+%ifarch i586 i686 %ix86 x86_64
+%files intel
+%manifest libdrm.manifest
+%{_libdir}/libdrm_intel.so.*
+%endif
--- /dev/null
+Name: libelf0
+Version: 0.8.13
+Release: 0
+License: LGPL-2.1+
+Summary: An ELF Object File Access Library
+Url: http://www.mr511.de/software/
+Group: System/Libraries
+Source: libelf-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: pkgconfig
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+The libelf package contains a library for accessing ELF object files.
+Libelf allows you to access the internals of the ELF object file
+format, so you can see the different sections of an ELF file.
+
+%package devel
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+Requires: glibc-devel,
+Conflicts: libelf1-devel
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q -n libelf-%{version}
+
+%build
+%configure --disable-nls
+make %{?_smp_mflags}
+
+%install
+make install instroot=%{buildroot}
+# remove the wrapper includes
+rm -f %{buildroot}%{_includedir}/*.h
+# remove unneeded *.la and *.a files
+rm -f %{buildroot}%{_libdir}/*.la
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING.LIB
+%{_libdir}/libelf.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libelf.so
+%{_libdir}/libelf.a
+%{_libdir}/pkgconfig/libelf.pc
+%{_includedir}/libelf
+
+%changelog
--- /dev/null
+Name: libevent
+Version: 2.0.20
+Release: 0
+Summary: Library Providing an Event Handling API
+License: BSD-3-Clause
+Group: Development/Libraries/C and C++
+Url: http://monkey.org/~provos/libevent/
+Source0: http://monkey.org/~provos/libevent-%{version}-stable.tar.gz
+Source1: baselibs.conf
+BuildRequires: pkgconfig
+
+%description
+The libevent library provides a mechanism to execute a function when a
+specific event on a file descriptor occurs or after a given time has
+passed.
+
+
+%package devel
+Summary: Development files for libevent2
+Group: Development/Libraries/C and C++
+Requires: %name = %{version}
+Requires: glibc-devel
+Provides: %{name}:/usr/include/event.h
+
+%description devel
+The libevent library provides a mechanism to execute a function when a
+specific event on a file descriptor occurs or after a given time has
+passed.
+
+This package holds the development files for libevent2.
+
+%prep
+%setup -q -n %{name}-%{version}-stable
+
+%build
+%configure --disable-static
+%{__make} %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/%{name}-2.0.so.5*
+%{_libdir}/%{name}_core-2.0.so.5*
+%{_libdir}/%{name}_extra-2.0.so.5*
+%{_libdir}/%{name}_pthreads-2.0.so.5*
+
+%files devel
+%defattr(-,root,root)
+%{_bindir}/event_rpcgen.py
+%{_includedir}/*.h
+%{_includedir}/event2
+%{_libdir}/%{name}.so
+%{_libdir}/%{name}_core.so
+%{_libdir}/%{name}_extra.so
+%{_libdir}/%{name}_pthreads.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_libdir}/pkgconfig/%{name}_pthreads.pc
+
+%changelog
--- /dev/null
+Name: libexif
+Version: 0.6.21
+Release: 0
+License: LGPL-2.1+
+Summary: An EXIF Tag Parsing Library for Digital Cameras
+Url: http://libexif.sourceforge.net
+Group: System/Libraries
+Source: %{name}-%{version}.tar.bz2
+Source1: baselibs.conf
+BuildRequires: doxygen
+BuildRequires: pkg-config
+BuildRequires: gettext-tools
+
+%define debug_package_requires %{name} = %{version}-%{release}
+
+%description
+This library is used to parse EXIF information from JPEGs created by
+digital cameras.
+
+%package devel
+Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files)
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+Requires: glibc-devel
+
+%description devel
+This library is used to parse EXIF information from JPEGs created by
+digital cameras.
+
+%prep
+%setup -q
+
+%build
+%reconfigure --with-pic \
+ --disable-static \
+ --with-doc-dir=%{_docdir}/%{name}
+make
+### %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+%find_lang %{name}-12
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -f %{name}-12.lang
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root)
+%doc %{_docdir}/%{name}
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/*
+
+%changelog
--- /dev/null
+%define building_libffi 1
+%define fast_build 1
+
+# Ada currently fails to build on a few platforms, enable it only
+# on those that work
+# Note that AdaCore only supports %ix86, x86_64 and ia64
+%ifarch %ix86 x86_64
+%define build_ada !0%{?building_libjava:1}%{?building_libffi:1}
+%else
+%define build_ada 0
+%endif
+
+%define quadmath_arch %ix86 x86_64
+
+# We don't want to build java
+%define build_java 1
+%define build_libjava 0%{?building_libjava:1}%{?building_libffi:1}%{?building_testsuite:1}
+
+%define build_cp 1
+%define build_fortran 1
+%define build_objc 1
+%define build_objcp !0%{?building_libjava:1}%{?building_libffi:1}
+%define build_with_mudflap 0
+
+%if %{build_objcp}
+%define build_cp 1
+%define build_objc 1
+%endif
+
+%if %{build_libjava}
+%define build_cp 1
+%endif
+
+# For optional compilers only build C, C++ and Fortran
+##%if 0%{?build_optional_compiler:1}%{?build_optional_compiler_languages:1}
+%if 0%{!?building_libffi:1}
+%define build_ada 0
+%define build_java 0
+%define build_libjava 0
+%define build_objc 1
+%define build_objcp 1
+%endif
+
+
+Name: libffi47
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: gettext-tools
+BuildRequires: makeinfo
+BuildRequires: glibc-devel-32bit
+BuildRequires: mpc-devel
+BuildRequires: mpfr-devel
+BuildRequires: perl
+BuildRequires: texinfo
+BuildRequires: zlib-devel
+%ifarch %ix86 x86_64 %arm
+BuildRequires: cloog-devel
+BuildRequires: ppl-devel
+%endif
+%if %{build_ada}
+%define hostsuffix -4.7
+BuildRequires: gcc47-ada
+%endif
+%if 0%{?building_libjava:1}%{?building_testsuite:1}
+BuildRequires: fastjar
+BuildRequires: unzip
+%endif
+%if 0%{?building_libffi:1}
+BuildRequires: pkg-config
+%endif
+%if 0%{?run_tests:1}
+BuildRequires: dejagnu
+BuildRequires: expect
+BuildRequires: gdb
+%endif
+
+# Define version number of libgcc_s
+%define libgcc_s 1
+%define build_nof 0
+
+%define separate_bi32 0
+%define separate_bi64 0
+%ifarch x86_64
+%define separate_bi32 1
+%endif
+
+# Define two macros to trigger -32bit or -64bit package variants
+%define separate_biarch 0
+%if %{separate_bi32}
+%define separate_biarch 1
+%define separate_biarch_suffix -32bit
+%endif
+%if %{separate_bi64}
+%define separate_biarch 1
+%define separate_biarch_suffix -64bit
+%endif
+
+%ifarch x86_64
+# 64-bit is primary build target
+%define build_primary_64bit 1
+%else
+%define build_primary_64bit 0
+%endif
+
+%define biarch_libjava 0
+
+# COMMON-BEGIN
+%define biarch_targets x86_64
+
+URL: http://gcc.gnu.org/
+Version: 4.7.2
+Release: 1
+%define gcc_version %(echo %version | sed 's/_.*//')
+%define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2)
+%define snapshot_date %(echo %version | sed 's/[34]\.[0-9]\.[0-6]//' | sed 's/_/-/')
+%define binsuffix -4.7
+# COMMON-END
+
+%if !0%{?building_libjava:1}%{?building_libffi:1}%{?building_testsuite:1}
+Requires: binutils glibc-devel
+Requires: cpp47 = %{version}-%{release}
+%if 0%{!?build_optional_compiler:1}
+Requires: libgcc%{libgcc_s} >= %{version}-%{release}
+Requires: libgomp1 >= %{version}-%{release}
+%if %{build_with_mudflap}
+Requires: libmudflap0 >= %{version}-%{release}
+Requires: libmudflapth0 >= %{version}-%{release}
+%endif
+%else
+Requires: libgcc47 = %{version}-%{release}
+Requires: libgomp47 = %{version}-%{release}
+%endif
+%endif
+
+# COMMON-BEGIN
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+#Source: gcc-%{gcc_version}%{snapshot_date}.tar.bz2
+Source: gcc-%{version}.tar.bz2
+
+Source1: change_spec
+Source2: libgcj47-rpmlintrc
+Source3: gcc47-rpmlintrc
+Source4: ecj.jar
+Source6: baselibs.conf
+# Patches auto-generated by git-buildpackage:
+Patch0: 0001-dir-version.patch
+Patch1: 0002-textdomain.patch
+Patch2: 0003-rename-info-files.patch
+Patch3: 0004-ARM-linker.patch
+
+# GCC-TESTSUITE-DELETE-BEGIN
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+Summary: Foreign Function Interface library
+License: BSD-3-Clause
+Group: Base/Libraries
+Provides: g-wrap:/usr/lib/libffi.so.4
+Provides: libffi4 = %{version}-%{release}
+Conflicts: libffi4 < %{version}-%{release}
+
+%description
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libffi47-32bit
+Summary: Foreign Function Interface library
+License: BSD-3-Clause
+Group: Base/Libraries
+Provides: g-wrap:/usr/lib/libffi.so.4
+Provides: libffi4-32bit = %{version}-%{release}
+Conflicts: libffi4-32bit < %{version}-%{release}
+
+%description -n libffi47-32bit
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+
+%post -n libffi47-32bit
+/sbin/ldconfig
+
+%postun -n libffi47-32bit
+/sbin/ldconfig
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libffi47-64bit
+Summary: Foreign Function Interface library
+License: BSD-3-Clause
+Group: Base/Libraries
+Provides: g-wrap:/usr/lib/libffi.so.4
+Provides: libffi4-64bit = %{version}-%{release}
+Conflicts: libffi4-64bit < %{version}-%{release}
+
+%description -n libffi47-64bit
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+
+%post -n libffi47-64bit
+/sbin/ldconfig
+
+%postun -n libffi47-64bit
+/sbin/ldconfig
+# PACKAGE-END
+
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libffi47-devel
+Summary: Foreign Function Interface library development files
+License: BSD 3-Clause
+Group: Development/Toolchain
+Requires: libffi4 >= %{version}-%{release}
+Provides: libffi-devel = %{version}-%{release}
+Conflicts: libffi-devel < %{version}-%{release}
+
+%description -n libffi47-devel
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libffi47-devel-32bit
+Summary: Foreign Function Interface library development files
+License: BSD 3-Clause
+Group: Development/Toolchain
+Requires: libffi4-32bit >= %{version}-%{release}
+Provides: libffi-devel-32bit = %{version}-%{release}
+Conflicts: libffi-devel-32bit < %{version}-%{release}
+
+%description -n libffi47-devel-32bit
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+# PACKAGE-END
+# PACKAGE-BEGIN
+# PACKAGE-BEGIN
+%package -n libffi47-devel-64bit
+Summary: Foreign Function Interface library development files
+License: BSD 3-Clause
+Group: Development/Toolchain
+Requires: libffi4-64bit >= %{version}-%{release}
+Provides: libffi-devel-64bit = %{version}-%{release}
+Conflicts: libffi-devel-64bit < %{version}-%{release}
+
+%description -n libffi47-devel-64bit
+A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
+# PACKAGE-END
+
+%package -n gcc47-testresults
+# GCC-TESTSUITE-DELETE-END
+Summary: Testsuite results
+License: Public-Domain
+Group: Development/Toolchain
+
+%description -n gcc47-testresults
+Results from running the gcc and target library testsuites.
+
+
+# COMMON-BEGIN
+
+# Define the canonical target and host architecture
+# %gcc_target_arch is supposed to be the full target triple
+# %TARGET_ARCH is the canonicalized CPU part
+# %CONFIGURE_TARGET is the target triple used for --target=
+%if 0%{?gcc_target_arch:1}
+%define CONFIGURE_TARGET %{gcc_target_arch}
+%define TARGET_ARCH %(echo %{gcc_target_arch} | cut -d - -f 1 | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "i586"
+%define CONFIGURE_TARGET i586-tizen-linux
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7l"
+%define CONFIGURE_TARGET armv7l-tizen-linux-gnueabi
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7hl"
+%define CONFIGURE_TARGET armv7hl-tizen-linux-gnueabi
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7el"
+%define CONFIGURE_TARGET armv7el-tizen-linux-gnueabi
+%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5el"
+%define CONFIGURE_TARGET armv5el-tizen-linux-gnueabi
+%endif
+%else
+%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+%endif
+%define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+
+%define biarch %(case " %{biarch_targets} " in (*" %{TARGET_ARCH} "*) echo 1;; (*) echo 0;; esac)
+
+%ifarch %arm
+%define GCCDIST %{HOST_ARCH}-tizen-linux-gnueabi
+%else
+%define GCCDIST %{HOST_ARCH}-tizen-linux
+%endif
+
+%define libsubdir %{_libdir}/gcc/%{GCCDIST}/%{gcc_dir_version}
+%define gxxinclude %{_prefix}/include/c++/%{gcc_dir_version}
+
+# COMMON-END
+
+# Versionspecific directories
+%define versmainlibdir %{libsubdir}
+%define versmainlibdirbi32 %{libsubdir}/32
+%define versmainlibdirbi64 %{libsubdir}/64
+%if %{build_primary_64bit}
+%define versmainlibdirbi %{versmainlibdirbi32}
+%else
+%define versmainlibdirbi %{versmainlibdirbi64}
+%endif
+
+%if 0%{?build_optional_compiler:1}
+%define mainlibdir %{versmainlibdir}
+%define mainlibdirbi32 %{versmainlibdirbi32}
+%define mainlibdirbi64 %{versmainlibdirbi64}
+%define noflibdir %{versnoflibdir}
+%define mainlibdirbi %{versmainlibdirbi}
+%else
+%define mainlibdir %{_libdir}
+%define mainlibdirbi32 %{_prefix}/lib
+%define mainlibdirbi64 %{_prefix}/lib64
+%define noflibdir %{_prefix}/lib/nof
+%if %{build_primary_64bit}
+%define mainlibdirbi %{mainlibdirbi32}
+%else
+%define mainlibdirbi %{mainlibdirbi64}
+%endif
+%endif
+
+
+# Now define a few macros that make it easy to package libs and
+# related files just to the right package, without caring for the
+# exact path the files are in.
+# %mainlib package X from all dirs that belong to the main package
+# %biarchlib package X from all dirs that belong to the -32/64bit package
+# by default, nof libs go where the 32bit libs go.
+%if %{build_nof}
+%define mainlib() %{mainlibdir}/%1\
+%{noflibdir}/%1\
+%{nil}
+%else
+%define mainlib() %{mainlibdir}/%1\
+%{nil}
+%endif
+%define biarchlib() %{nil}
+%if %{biarch}
+%if !%{separate_biarch}
+%if %{build_nof}
+%define mainlib() %{mainlibdir}/%1\
+%{mainlibdirbi}/%1\
+%{noflibdir}/%1\
+%{nil}
+%else
+%define mainlib() %{mainlibdir}/%1\
+%{mainlibdirbi}/%1\
+%{nil}
+%endif
+%else
+%if %{build_nof}
+%define biarchlib() %{mainlibdirbi}/%1\
+%{noflibdir}/%1\
+%{nil}
+%define mainlib() %{mainlibdir}/%1\
+%{nil}
+%else
+%define biarchlib() %{mainlibdirbi}/%1\
+%{nil}
+%endif
+%endif
+%endif
+
+%if %{build_nof}
+%define versmainlib() %{versmainlibdir}/%1\
+%{versnoflibdir}/%1\
+%{nil}
+%else
+%define versmainlib() %{versmainlibdir}/%1\
+%{nil}
+%endif
+%define versbiarchlib() %{nil}
+%if %{biarch}
+%if !%{separate_biarch}
+%if %{build_nof}
+%define versmainlib() %{versmainlibdir}/%1\
+%{versmainlibdirbi}/%1\
+%{versnoflibdir}/%1\
+%{nil}
+%else
+%define versmainlib() %{versmainlibdir}/%1\
+%{versmainlibdirbi}/%1\
+%{nil}
+%endif
+%else
+%if %{build_nof}
+%define versbiarchlib() %{versmainlibdirbi}/%1\
+%{versnoflibdir}/%1\
+%{nil}
+%define versmainlib() %{versmainlibdir}/%1\
+%{nil}
+%else
+%define versbiarchlib() %{versmainlibdirbi}/%1\
+%{nil}
+%endif
+%endif
+%endif
+
+
+# COMMON-BEGIN
+
+%prep
+#%setup -q -n gcc-%{gcc_version}%{snapshot_date}
+%setup -q -n gcc-%{version}
+# 0001-dir-version.patch
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+%build
+# Avoid rebuilding of generated files
+contrib/gcc_update --touch
+# Avoid fucking up testsuite results with Java and indirect dispatch
+export LD_AS_NEEDED=0
+# Split version file into version used for directories (X.Y) and
+# version to report with --version (X.Y.Z).
+# See also gcc-dir-version.patch.
+# Also decrement the patchlevel version by one
+if test `cat gcc/DEV-PHASE` == "prerelease"; then
+ ( cat gcc/BASE-VER | cut -d '.' -f 1-2 | tr -d '\n'; echo -n .; cat gcc/BASE-VER | cut -d '.' -f 3 | tr '0123456789' '0012345678' ) > gcc/FULL-VER
+else
+ mv gcc/BASE-VER gcc/FULL-VER
+fi
+cat gcc/FULL-VER | cut -d '.' -f 1-2 > gcc/BASE-VER
+
+rm -rf obj-%{GCCDIST}
+mkdir obj-%{GCCDIST}
+cd obj-%{GCCDIST}
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -U_FORTIFY_SOURCE"
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fno-rtti//g' -e 's/-fno-exceptions//g' -e 's/-Wmissing-format-attribute//g' -e 's/-fstack-protector//g' -e 's/-ffortify=.//g' -e 's/-Wall//g' -e 's/-m32//g' -e 's/-m64//g'`
+%ifarch %ix86
+# -mcpu is superceded by -mtune but -mtune is not supported by
+# our bootstrap compiler. -mcpu gives a warning that stops
+# the build process, so remove it for now. Also remove all other
+# -march and -mtune flags. They are superseeded by proper
+# default compiler settings now.
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-mcpu=i.86//g' -e 's/-march=i.86//g' -e 's/-mtune=i.86//g'`
+%endif
+%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
+# Kill all -march/tune/cpu because that screws building the target libs
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-m\(arch\|tune\|cpu\)=[^ ]*//g'`
+%endif
+# Replace 2 spaces by one finally
+RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/ / /g'`
+
+languages=c
+%if %{build_cp}
+languages=$languages,c++
+%endif
+%if %{build_objc}
+languages=$languages,objc
+%endif
+%if %{build_fortran}
+languages=$languages,fortran
+%endif
+%if %{build_objcp}
+languages=$languages,obj-c++
+%endif
+%if %{build_java}
+languages=$languages,java
+%endif
+%if %{build_ada}
+languages=$languages,ada
+%endif
+
+J=%{?jobs:%jobs}
+if test -z "$J"; then
+ J=$(getconf _NPROCESSORS_CONF)
+ JL=$(($J * 2))
+else
+ test 1 -gt "$J" && J=1
+ JL=$(($(getconf _NPROCESSORS_CONF)*2))
+fi
+if test "$J" == "0"; then
+ J=1
+fi
+if test "$JL" == "0"; then
+ JL=1
+fi
+PARALLEL="-j$J -l$JL"
+
+# we don't want some miscompiles in the testsuite, or some fault in
+# the compiler to kill the machine. Hence we limit the amount of memory
+# by the physical RAM plus half of swap
+#MEM=$(free -m | awk '/^Mem:/ {print $2}')
+#SWAP=$(free -m | awk '/^Swap:/ {print $2}')
+#ulimit -v $(((MEM + SWAP/2)*1024))
+
+# In general we want to ship release checking enabled compilers
+# and run BETA with checking enabled.
+#ENABLE_CHECKING="--enable-checking=yes"
+ENABLE_CHECKING="--enable-checking=release"
+
+# Work around tail/head -1 changes
+export _POSIX2_VERSION=199209
+
+# configure tries to parse include/features.h to detect
+# if glibc supports SSP. When cross compiling we would need
+# to install a cross glibc, which we don't, or make the whole
+# thing point to the native glibc, which is in /, hence the
+# --with-sysroot=/
+
+%if %{build_ada}
+# Using the host gnatmake like
+# CC="gcc%{hostsuffix}" GNATBIND="gnatbind%{hostsuffix}"
+# GNATMAKE="gnatmake%{hostsuffix}"
+# doesn't work due to PR33857, so an un-suffixed gnatmake has to be
+# available
+mkdir -p host-tools/bin
+cp -a /usr/bin/gnatmake%{hostsuffix} host-tools/bin/gnatmake
+cp -a /usr/bin/gnatlink%{hostsuffix} host-tools/bin/gnatlink
+cp -a /usr/bin/gnatbind%{hostsuffix} host-tools/bin/gnatbind
+cp -a /usr/bin/gcc%{hostsuffix} host-tools/bin/gcc
+ln -sf /usr/%{_lib} host-tools/%{_lib}
+export PATH="`pwd`/host-tools/bin:$PATH"
+%endif
+#%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
+#%else
+# --enable-threads=posix \
+#%endif
+# --enable-shared \
+CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
+TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
+../configure \
+ --prefix=%{_prefix} \
+ --infodir=%{_infodir} \
+ --mandir=%{_mandir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
+ --enable-languages=$languages \
+ $ENABLE_CHECKING \
+ --with-gxx-include-dir=%{_prefix}/include/c++/%{gcc_dir_version} \
+ --enable-ssp \
+ --disable-libssp \
+ --disable-libitm \
+%if 0%{?fast_build}
+ --disable-bootstrap \
+%endif
+ --disable-plugin \
+ --with-bugurl="http://bugs.tizen.org/" \
+ --with-pkgversion="Tizen Linux" \
+%if !%{build_libjava}
+ --disable-libgcj \
+%else
+ --with-java-home=%{_libdir}/jvm/java-1.5.0-gcj%{binsuffix}-1.5.0.0/jre \
+ --with-ecj-jar=%{libsubdir}/ecj.jar \
+ --disable-java-awt \
+%if !%{biarch_libjava}
+ --disable-libjava-multilib \
+%endif
+%endif
+%if !%{build_with_mudflap}
+ --disable-libmudflap \
+%endif
+ --with-slibdir=/%{_lib} \
+ --with-system-zlib \
+ --enable-__cxa_atexit \
+ --enable-libstdcxx-allocator=new \
+ --disable-libstdcxx-pch \
+ --enable-version-specific-runtime-libs \
+ --enable-linker-build-id \
+%if 0%{?gcc_target_arch:1}
+%if 0%{?gcc_icecream:1}
+ --with-build-sysroot=/ \
+ --with-sysroot=%{_prefix}/%{gcc_target_arch}%{?canonical_target_abi:%canonical_target_abi} \
+ --with-gxx-include-dir=%{_prefix}/%{gcc_target_arch}%{?canonical_target_abi:%canonical_target_abi}/usr/include/c++/%{gcc_dir_version} \
+ --enable-linux-futex \
+%endif
+%if 0%{?canonical_target:1}
+ --with-build-time-tools=/usr/%{canonical_target}-tizen-linux%{?canonical_target_abi:%canonical_target_abi}/bin \
+%endif
+%if 0%{?build_static:1}
+ --disable-shared \
+%endif
+%if "%{TARGET_ARCH}" == "spu"
+ --with-sysroot=/usr/spu \
+ --with-gxx-include-dir=%{_prefix}/spu/include/c++/%{gcc_dir_version} \
+ --with-newlib \
+%endif
+ --disable-nls \
+ --target=%{CONFIGURE_TARGET} \
+%else
+ --program-suffix=%{binsuffix} \
+ --enable-linux-futex \
+ --without-system-libunwind \
+%endif
+%if "%{TARGET_ARCH}" == "armv5tel"
+ --with-arch=armv5te \
+ --with-float=soft \
+ --with-mode=arm \
+ --with-abi=aapcs-linux \
+ --disable-sjlj-exceptions \
+%endif
+%if "%{TARGET_ARCH}" == "armv7el"
+ --with-arch=armv7-a \
+ --with-tune=cortex-a9 \
+ --with-float=soft \
+ --with-abi=softfp \
+ --with-fpu=vfpv3 \
+ --disable-sjlj-exceptions \
+%endif
+%if "%{TARGET_ARCH}" == "armv7l" || "%{TARGET_ARCH}" == "armv7hl"
+ --with-arch=armv7-a \
+ --with-tune=cortex-a9 \
+ --with-float=hard \
+ --with-abi=aapcs-linux \
+ --with-fpu=vfpv3-d16 \
+ --disable-sjlj-exceptions \
+%endif
+%if "%{TARGET_ARCH}" == "i586"
+ --with-arch-32=i586 \
+ --with-tune=generic \
+%endif
+%if "%{TARGET_ARCH}" == "x86_64"
+ --with-arch-32=i586 \
+ --with-tune=generic \
+%endif
+ --build=%{GCCDIST}
+
+# COMMON-END
+
+%if 0%{?building_libffi:1}
+make stage1-bubble $PARALLEL
+make all-target-libffi $PARALLEL
+%else
+# Only run profiled bootstrap on archs where it works
+#%ifarch %ix86 x86_64
+#make profiledbootstrap-lean STAGE1_CFLAGS="-O -g" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL
+#%else
+%ifarch %arm
+STAGE1_FLAGS="-O0"
+%else
+STAGE1_FLAGS="-O -g"
+%endif
+#make bootstrap-lean STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL
+make STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL
+#%endif
+#make -C gcc proto
+make info
+%if 0%{?run_tests:1}
+echo "Run testsuite"
+(make -C %{GCCDIST}/libstdc++-v3 check-abi || true)
+mv %{GCCDIST}/libstdc++-v3/testsuite/libstdc++.log %{GCCDIST}/libstdc++-v3/testsuite/libstdc++-abi.log
+mv %{GCCDIST}/libstdc++-v3/testsuite/libstdc++.sum %{GCCDIST}/libstdc++-v3/testsuite/libstdc++-abi.sum
+make -k check $PARALLEL || true
+mkdir ../testresults
+../contrib/test_summary | tee ../testresults/test_summary.txt
+%endif
+%endif
+
+%install
+export NO_BRP_CHECK_BYTECODE_VERSION=true
+cd obj-%{GCCDIST}
+# GCC-TESTSUITE-DELETE-BEGIN
+# Work around tail/head -1 changes
+export _POSIX2_VERSION=199209
+export LIBRARY_PATH=$RPM_BUILD_ROOT%{libsubdir}:$RPM_BUILD_ROOT%{mainlibdirbi}
+%if 0%{?building_libffi:1}
+make -C %{GCCDIST}/libffi install DESTDIR=$RPM_BUILD_ROOT
+%else
+%if 0%{?building_libjava:1}
+make -C %{GCCDIST}/libjava install DESTDIR=$RPM_BUILD_ROOT
+make -C gcc java.install-man DESTDIR=$RPM_BUILD_ROOT
+make -C gcc java.install-common DESTDIR=$RPM_BUILD_ROOT
+make -C gcc install-common DESTDIR=$RPM_BUILD_ROOT COMPILERS='jc1$(exeext) jvgenmain$(exeext)'
+# install-common also installs collect2, gcov and the g++ and gfortran driver
+%if %{build_cp}
+rm $RPM_BUILD_ROOT%{_prefix}/bin/g++%{binsuffix}
+%endif
+%if %{build_fortran}
+rm $RPM_BUILD_ROOT%{_prefix}/bin/gfortran%{binsuffix}
+%endif
+rm $RPM_BUILD_ROOT%{_prefix}/bin/gcov%{binsuffix}
+rm $RPM_BUILD_ROOT%{libsubdir}/collect2
+%else
+make install DESTDIR=$RPM_BUILD_ROOT
+%if %{build_java}
+make -C gcc java.uninstall DESTDIR=$RPM_BUILD_ROOT
+make -C gcc java.install-info DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT%{_prefix}/bin/jcf-dump%{binsuffix}
+rm $RPM_BUILD_ROOT%{_mandir}/man1/jcf-dump%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{libsubdir}/jc1
+rm $RPM_BUILD_ROOT%{libsubdir}/jvgenmain
+%endif
+%endif
+%endif
+
+# Remove libffi installed files if we did not want to build it
+%if !0%{?building_libffi:1}
+rm -f $RPM_BUILD_ROOT%{mainlibdir}/libffi.*
+%if %{biarch}
+ rm -f $RPM_BUILD_ROOT%{mainlibdirbi}/libffi.*
+%endif
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include/ffi.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include/ffitarget.h
+rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi%{binsuffix}.3*
+rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi_call%{binsuffix}.3*
+rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi_prep_cif%{binsuffix}.3*
+%endif
+
+# Remove some useless .la files
+for lib in libobjc libgfortran libgfortranbegin libquadmath libcaf_single \
+ libmudflap libmudflapth libgomp libstdc++ libsupc++ libgcj-tools libgij; do
+ rm -f $RPM_BUILD_ROOT%{versmainlibdir}/$lib.la
+%if %{biarch}
+ rm -f $RPM_BUILD_ROOT%{versmainlibdirbi}/$lib.la
+%endif
+done
+
+mkdir -p $RPM_BUILD_ROOT%{_libdir}
+%if %{biarch}
+%if %{build_primary_64bit}
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib
+%else
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib64
+%endif
+%endif
+
+
+%if %{build_ada}
+mv $RPM_BUILD_ROOT%{libsubdir}/adalib/lib*-*.so $RPM_BUILD_ROOT%{_libdir}
+ln -sf %{_libdir}/libgnarl%{binsuffix}.so $RPM_BUILD_ROOT%{libsubdir}/adalib/libgnarl.so
+ln -sf %{_libdir}/libgnat%{binsuffix}.so $RPM_BUILD_ROOT%{libsubdir}/adalib/libgnat.so
+chmod a+x $RPM_BUILD_ROOT%{_libdir}/libgna*-*.so
+%if %{biarch}
+mv $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/lib*-*.so $RPM_BUILD_ROOT%{mainlibdirbi}/
+ln -sf %{mainlibdirbi}/libgnarl%{binsuffix}.so $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/libgnarl.so
+ln -sf %{mainlibdirbi}/libgnat%{binsuffix}.so $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/libgnarl.so
+chmod a+x $RPM_BUILD_ROOT%{mainlibdirbi}/libgna*-*.so
+%endif
+%endif
+
+rm -f $RPM_BUILD_ROOT%{_prefix}/bin/c++%{binsuffix}
+
+# Remove some crap from the .la files:
+for l in `find $RPM_BUILD_ROOT -name '*.la'`; do
+ echo "changing $l"
+# -e '/^dependency_libs/s|%{libsubdir}/\([^.]*\)\.la |%{_libdir}/\1\.la |g'
+ sed -e '/^dependency_libs/s| -L%{_builddir}/[^ ]*||g' \
+ -e '/^dependency_libs/s| -L/usr/%{GCCDIST}/bin||g' \
+ -e '/^dependency_libs/s|-lm \(-lm \)*|-lm |' \
+ -e '/^dependency_libs/s|-L[^ ]* ||g' \
+%if %{biarch}
+%if %{build_primary_64bit}
+ -e '/^libdir/s|%{_libdir}/32|%{_prefix}/lib|' \
+ -e '/^libdir/s|lib64/\.\./||' \
+%else
+ -e '/^libdir/s|%{_libdir}/64|%{_prefix}/lib64|' \
+%endif
+%endif
+ < $l > $l.new
+ mv $l.new $l
+done
+
+# GCC-TESTSUITE-DELETE-END
+%if 0%{?run_tests:1}
+cp `find . -name "*.sum"` ../testresults/
+cp `find . -name "*.log" \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/
+chmod 644 ../testresults/*
+%endif
+# GCC-TESTSUITE-DELETE-BEGIN
+# Remove files that we do not need to clean up filelist
+rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{GCCDIST}-*
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/install-tools
+#rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libgcj%{binsuffix}.pc
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/root
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/curses.h
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/asm-*
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/linux
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sound
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/features.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/ncurses.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/stdio.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/zutil.h
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/X11
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/obstack.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/spe.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/tgmath.h
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sys
+# no plugins
+rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+rm -f $RPM_BUILD_ROOT%{_prefix}/bin/gccbug%{binsuffix}
+
+%if !0%{?building_libjava:1}%{?building_libffi:1}
+# delete compile flag tracking from crt files
+crt_list=$RPM_BUILD_ROOT%{versmainlibdir}/crt*.o
+%if %{biarch}
+%if %{build_primary_64bit}
+crt32_list=$RPM_BUILD_ROOT%{versmainlibdirbi32}/crt*.o
+%else
+crt64_list=$RPM_BUILD_ROOT%{versmainlibdirbi64}/crt*.o
+%endif
+%endif
+%endif
+
+%if 0%{?building_libjava:1}
+# gcj -static doesn't work properly anyway, unless using --whole-archive
+# let's save the space instead.
+find $RPM_BUILD_ROOT -name libgcj.a \
+ -o -name libgcj-tools.a \
+ -o -name libgij.a \
+ -o -name libjvm.a \
+ -o -name libgcj_bc.a \
+ | xargs rm -f
+
+find $RPM_BUILD_ROOT -name libgcj.spec | xargs \
+ sed -i -e 's/lib: /&%%{static:%%eJava programs cannot be linked statically}/'
+
+# security files have broken install locations, also they cause conflicts
+# between libgcj versions. Simply delete them here, libgcj will use its
+# defaults in this case (which is what these files contain anyway).
+rm $RPM_BUILD_ROOT%{_libdir}/logging.properties
+rm -r $RPM_BUILD_ROOT%{_libdir}/security
+%endif
+
+%if 0%{?building_libffi:1}
+# Move libffi headers, remove empty libffi libtool file
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/include
+mv $RPM_BUILD_ROOT%{libsubdir}/include/ffitarget.h $RPM_BUILD_ROOT%{_prefix}/include/
+mv $RPM_BUILD_ROOT%{libsubdir}/include/ffi.h $RPM_BUILD_ROOT%{_prefix}/include/
+rm -f $RPM_BUILD_ROOT%{mainlibdir}/libffi.la
+%if %{biarch}
+rm -f $RPM_BUILD_ROOT%{mainlibdirbi}/libffi.la
+%endif
+# Generate a simple pkg-config file
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
+echo -e 'Name: libffi\nVersion: 3.0.9\nDescription: libffi\nLibs: -lffi' > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libffi.pc
+%endif
+
+%if %{build_java}
+%if !%{build_libjava}
+rm $RPM_BUILD_ROOT%{_mandir}/man1/jv-convert%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/gcj-dbtool%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/gij%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/grmic%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/gc-analyze%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/aot-compile%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/rebuild-gcj-db%{binsuffix}.1
+%endif
+rm -f $RPM_BUILD_ROOT%{_datadir}/gcc%{binsuffix}/python/libjava/aotcompile.py
+rm -f $RPM_BUILD_ROOT%{_datadir}/gcc%{binsuffix}/python/libjava/classfile.py
+%endif
+rm -f $RPM_BUILD_ROOT%{_mandir}/man7/fsf-funding.7
+rm -f $RPM_BUILD_ROOT%{_mandir}/man7/gfdl.7
+rm -f $RPM_BUILD_ROOT%{_mandir}/man7/gpl.7
+rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
+%if %{build_nof}
+rm -f $RPM_BUILD_ROOT%{_prefix}/lib/nof/libiberty.a
+%endif
+%if %{biarch}
+%if %{build_primary_64bit}
+rm -f $RPM_BUILD_ROOT%{_prefix}/lib/libiberty.a
+%else
+rm -f $RPM_BUILD_ROOT%{_prefix}/lib64/libiberty.a
+%endif
+%endif
+rm -f $RPM_BUILD_ROOT%{libsubdir}/liblto_plugin.a
+rm -f $RPM_BUILD_ROOT%{libsubdir}/liblto_plugin.la
+
+
+%if %{build_java}
+%if 0%{?building_libffi:1}
+%files
+%defattr(-,root,root)
+%mainlib libffi.so.*
+
+%if %{separate_biarch}
+%files -n libffi47%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libffi.so.*
+%endif
+
+%files -n libffi47-devel
+%defattr(-,root,root)
+%{_prefix}/include/ffi.h
+%{_prefix}/include/ffitarget.h
+%mainlib libffi.so
+%mainlib libffi.a
+%{_libdir}/pkgconfig/libffi.pc
+%doc %{_mandir}/man3/ffi%{binsuffix}.3.gz
+%doc %{_mandir}/man3/ffi_call%{binsuffix}.3.gz
+%doc %{_mandir}/man3/ffi_prep_cif%{binsuffix}.3.gz
+
+%if %{separate_biarch}
+%files -n libffi47-devel%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libffi.so
+%biarchlib libffi.a
+%endif
+%endif
+%endif
+# GCC-TESTSUITE-DELETE-END
+
+%if 0%{?run_tests:1}
+%files -n gcc47-testresults
+%defattr(-,root,root)
+%doc testresults/test_summary.txt
+%doc testresults/*.sum
+%doc testresults/*.log
+%endif
+
+
+%changelog
--- /dev/null
+Name: libfontenc
+Version: 1.1.1
+Release: 3
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: System/Libraries
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: autoconf
+BuildRequires: zlib-devel
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+%description
+font encoding library
+
+%package devel
+Summary: X
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+font encoding library development package
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --with-encodingsdir=%{_datadir}/fonts/X11/encodings
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%{_libdir}/libfontenc.so.1
+%{_libdir}/libfontenc.so.1.0.0
+
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/X11
+%dir %{_includedir}/X11/fonts
+%{_includedir}/X11/fonts/fontenc.h
+%{_libdir}/libfontenc.so
+%{_libdir}/pkgconfig/fontenc.pc
+
--- /dev/null
+Name: libgcrypt
+Version: 1.5.0
+Release: 0
+License: GPL-2.0+ ; LGPL-2.1+
+Summary: The GNU Crypto Library
+%define libsoname %{name}
+Url: http://directory.fsf.org/wiki/Libgcrypt
+Group: Security/Crypto Libraries
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: libgpg-error-devel >= 1.8
+BuildRequires: libtool
+
+%description
+Libgcrypt is a general purpose crypto library based on the code used in
+GnuPG (alpha version).
+
+%package devel
+License: GFDL-1.1 ; GPL-2.0+ ; LGPL-2.1+ ; MIT
+Summary: The GNU Crypto Library
+Group: Development/Libraries
+Requires: %{libsoname} = %{version}
+Requires: glibc-devel
+Requires: libgpg-error-devel >= 1.8
+
+%description devel
+Libgcrypt is a general purpose crypto library based on the code used in
+GnuPG (alpha version).
+
+This package contains needed files to compile and link against the
+library.
+
+%prep
+%setup -q
+
+%build
+# define ciphers to build
+ENABLE_CIPHER="arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia"
+ENABLE_PUBKEY="dsa elgamal rsa ecc"
+ENABLE_DIGEST="crc md4 md5 rmd160 sha1 sha256 sha512 tiger whirlpool"
+#
+autoreconf -fi
+%configure --with-pic \
+ --enable-noexecstack \
+ --disable-static \
+ --enable-ciphers="$ENABLE_CIPHER" \
+ --enable-pubkey-ciphers="$ENABLE_PUBKEY" \
+ --enable-digests="$ENABLE_DIGEST"
+make %{?_smp_mflags}
+
+%check
+# Nice idea. however this uses /dev/random, which hangs
+# on hardware without random feeds.
+#make check
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING COPYING.LIB
+%{_libdir}/%{name}.so.11*
+
+%files devel
+%defattr(-,root,root)
+%{_infodir}/gcrypt.info.gz
+%{_infodir}/gcrypt.info-1.gz
+%{_bindir}/dumpsexp
+%{_bindir}/hmac256
+%{_bindir}/%{name}-config
+%{_libdir}/%{name}.so
+%{_includedir}/gcrypt*.h
+%{_datadir}/aclocal/%{name}.m4
+
+%changelog
--- /dev/null
+#
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22
+#
+# >> macros
+# << macros
+
+Name: libgee
+Summary: GObject collection library
+Version: 0.10.0
+Release: 1
+Group: System/Libraries
+License: LGPLv2+
+URL: http://live.gnome.org/Libgee
+Source0: http://download.gnome.org/sources/%{name}/0.9/%{name}-%{version}.tar.bz2
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+
+
+%description
+libgee is a collection library providing GObject-based interfaces and
+classes for commonly used data structures.
+
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+# << install post
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%doc COPYING
+%{_libdir}/*.so.*
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/gee-0.8.pc
+%{_datadir}/vala/vapi/gee-0.8.vapi
+# << files devel
--- /dev/null
+Name: libgpg-error
+Version: 1.10
+Release: 0
+License: GPL-2.0+ ; LGPL-2.1+
+Summary: Library That Defines Common Error Values for All GnuPG Components
+Url: http://www.gnupg.org/
+Group: Security/Crypto Libraries
+Source: %{name}-%{version}.tar.bz2
+Source1: baselibs.conf
+BuildRequires: gettext-tools
+BuildRequires: libtool
+
+%description
+This is a library that defines common error values for all GnuPG
+components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
+pinentry, SmartCard Daemon, and possibly more in the future.
+
+%package devel
+License: GPL-2.0+ ; LGPL-2.1+ ; MIT
+Summary: Development package for libgpg-error
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libgpg-error = %{version}
+
+%description devel
+Files needed for software development using libgpg-error.
+
+%prep
+%setup -q -n libgpg-error-%{version}
+
+%build
+autoreconf -fiv
+%configure --disable-static --with-pic
+make %{?_smp_mflags}
+
+%install
+%make_install
+rm -r %{buildroot}%{_datadir}/common-lisp
+%find_lang %{name}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%lang_package
+
+
+%files
+%defattr(-,root,root)
+%license COPYING.LIB COPYING
+%{_libdir}/libgpg-error*.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_datadir}/aclocal/gpg-error.m4
+%{_includedir}/*
+%{_bindir}/*
+%{_libdir}/libgpg-error*.so
+
+%changelog
--- /dev/null
+#define dbus bus type to use [p2p, session, system]
+%define dbus_type p2p
+
+Name: libgsignon-glib
+Summary: GLib API for the SSO framework
+Version: 2.0.1
+Release: 1
+Group: System/Libraries
+License: LGPL
+Source: %{name}-%{version}.tar.gz
+Requires: dbus-1
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(check)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: gobject-introspection
+
+%description
+%{summary}.
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+if [ -f = "gtk-doc.make" ]
+then
+rm gtk-doc.make
+fi
+touch gtk-doc.make
+autoreconf -f -i
+
+
+%build
+%configure --enable-dbus-type=%{dbus_type}
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
+%{_libdir}/%{name}.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/*.h
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_datadir}/gtk-doc/html/%{name}/*
+
--- /dev/null
+Name: libhangul
+Version: 0.1.0
+Release: 1
+License: LGPLv2.1
+Group: System/I18n/Korean
+AutoReqProv: on
+Url: http://code.google.com/p/libhangul
+Source0: %{name}-%{version}.tar.gz
+Summary: Hangul input library used by scim-hangul and ibus-hangul
+BuildRequires: gettext-tools
+
+
+%description
+Hangul input library used by scim-hangul and ibus-hangul
+
+
+Authors:
+--------
+ Choe Hwanjin <choe.hwanjin@gmail.com>
+ Joon-cheol Park <jooncheol@gmail.com>
+
+Hangul input library used by scim-hangul and ibus-hangul
+
+
+%package devel
+Summary: Include Files and Libraries mandatory for Development
+Group: System/I18n/Korean
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+
+%prep
+%setup -q
+
+%build
+%autogen
+%configure --disable-static --with-pic
+%{__make} %{?jobs:-j%jobs}
+
+%install
+make DESTDIR=${RPM_BUILD_ROOT} install
+%{__rm} -f %{buildroot}%{_libdir}/*.la
+
+%clean
+rm -rf %{buildroot}
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%doc AUTHORS COPYING NEWS README ChangeLog
+%{_libdir}/lib*.so.*
+%dir %{_datadir}/libhangul/
+%dir %{_datadir}/libhangul/hanja/
+%{_datadir}/libhangul/hanja/hanja.txt
+%{_bindir}/hangul
+%{_datadir}/locale/ko/LC_MESSAGES/libhangul.mo
+
+%files devel
+%defattr(-, root, root)
+%dir /usr/include/hangul-1.0/
+/usr/include/hangul-1.0/*
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/libhangul.pc
--- /dev/null
+Name: libhaptic
+Summary: Haptic library
+Version: 0.1.0
+Release: 9
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: libhaptic.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-base-common)
+
+%description
+Haptic library for device control
+
+
+%package -n libhaptic-devel
+Summary: Haptic library for (devel)
+Group: Development/Libraries
+Requires: libhaptic = %{version}-%{release}
+
+%description -n libhaptic-devel
+Haptic library for device control (devel)
+
+%package -n libhaptic-plugin-devel
+Summary: Haptic plugin library for (devel)
+Group: Development/Libraries
+
+%description -n libhaptic-plugin-devel
+Haptic plugin library for device control (devel)
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1} .
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_datadir}/license
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -n libhaptic
+%manifest libhaptic.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libhaptic.so.*
+%{_datadir}/license/haptic
+
+%files -n libhaptic-devel
+%defattr(-,root,root,-)
+%{_includedir}/haptic/haptic.h
+%{_includedir}/haptic/SLP_HAPTIC_PG.h
+%{_libdir}/libhaptic.so
+%{_libdir}/pkgconfig/haptic.pc
+
+%files -n libhaptic-plugin-devel
+%defattr(-,root,root,-)
+%{_includedir}/haptic/haptic_module.h
+%{_includedir}/haptic/haptic_plugin_intf.h
+%{_libdir}/pkgconfig/haptic-plugin.pc
+
--- /dev/null
+Name: libical
+BuildRequires: db4-devel
+BuildRequires: libtool
+BuildRequires: pkg-config
+BuildRequires: python-devel
+Url: http://sourceforge.net/projects/freeassociation/
+Version: 0.48
+Release: 0
+Summary: An Implementation of Basic iCAL Protocols
+License: MPL-1.1 or LGPL-2.1
+Group: Development/Libraries/C and C++
+Source: libical-%{version}.tar.bz2
+Source2: baselibs.conf
+
+%description
+Libical is an open source implementation of the IETF's iCalendar
+calendaring and scheduling protocols (RFC 2445, 2446, and 2447). It
+parses iCal components and provides a C API for manipulating the
+component properties, parameters, and subcomponents.
+
+%package devel
+Summary: An implementation of basic iCAL protocols
+Group: Development/Libraries/C and C++
+Requires: libical = %{version}
+
+%description devel
+Libical is an Open Source implementation of the IETF's iCalendar
+Calendaring and Scheduling protocols. (RFC 2445, 2446, and 2447). It
+parses iCal components and provides a C API for manipulating the
+component properties, parameters, and subcomponents.
+
+%package doc
+Summary: An Implementation of Basic iCAL Protocols
+Group: Development/Libraries/C and C++
+Requires: libical = %{version}
+
+%description doc
+Libical is an open source implementation of the IETF's iCalendar
+calendaring and scheduling protocols (RFC 2445, 2446, and 2447). It
+parses iCal components and provides a C API for manipulating the
+component properties, parameters, and subcomponents.
+
+%prep
+%setup -q
+
+%build
+# triger autoreconf since the 0.46 tarball is missing autotools bootstrap files
+autoreconf -f -i
+%{configure} \
+ --with-bdb4 \
+ --with-bdb4-dir=%{_prefix} \
+ --without-builtintz \
+ --enable-shared \
+ --disable-static
+%{__make} %{?_smp_mflags}
+
+%install
+%make_install
+%{__rm} doc/Makefile*
+%{__rm} -rf examples/.deps
+%{__rm} -rf examples/.libs
+%{__rm} examples/*.o
+%{__rm} examples/doesnothing
+%{__rm} scripts/Makefile*
+%{__sed} -i -e '1s,.*,#!/usr/bin/perl,' scripts/mkneticali.pl
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libical.pc
+%{_includedir}/ical.h
+%{_includedir}/libical
+
+%files doc
+%defattr(-,root,root)
+%doc doc examples scripts
+
+%changelog
--- /dev/null
+Name: libidn
+Version: 1.25
+Release: 0
+License: (GPL-2.0+ or LGPL-3.0+) and GPL-3.0+
+Summary: Support for Internationalized Domain Names (IDN)
+Url: http://www.gnu.org/software/libidn/
+Group: System/Libraries
+Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
+Source1: baselibs.conf
+BuildRequires: pkgconfig
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
+specifications defined by the IETF Internationalized Domain Names (IDN)
+working group. It is used to prepare internationalized strings (such as
+domain name labels, usernames, and passwords) in order to increase the
+likelihood that string input and string comparison work in ways that
+make sense for typical users around the world. The library contains a
+generic Stringprep implementation that does Unicode 3.2 NFKC
+normalization, mapping and prohibition of characters, and bidirectional
+character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and
+XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
+IDNA is supported.
+
+%package devel
+License: LGPL-2.1+
+Summary: Include Files and Libraries mandatory for Development
+Group: System/Libraries
+Requires: %{name} = %{version}
+Requires: glibc-devel
+
+%description devel
+GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
+specifications defined by the IETF Internationalized Domain Names (IDN)
+working group. It is used to prepare internationalized strings (such as
+domain name labels, usernames, and passwords) in order to increase the
+likelihood that string input and string comparison work in ways that
+make sense for typical users around the world. The library contains a
+generic Stringprep implementation that does Unicode 3.2 NFKC
+normalization, mapping and prohibition of characters, and bidirectional
+character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and
+XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
+IDNA is supported.
+
+%prep
+%setup -q
+
+%build
+%configure --with-pic --disable-static --disable-gtk-doc
+make %{?_smp_mflags}
+
+%check
+%if ! 0%{?qemu_user_space_build}
+make check
+%endif
+
+%install
+%make_install
+rm -f %{buildroot}/%{_infodir}/dir
+rm -f %{buildroot}%{_libdir}/libidn.la
+%find_lang %{name}
+
+
+%post -p /sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+
+%lang_package
+
+%docs_package
+
+%files
+%license COPYING
+%{_libdir}/libidn.so.*
+%{_infodir}/libidn*
+%{_bindir}/idn
+%{_datadir}/emacs/site-lisp/idna.el
+%{_datadir}/emacs/site-lisp/punycode.el
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libidn.so
+%{_includedir}/*.h
+%{_libdir}/pkgconfig/libidn.pc
+
+%changelog
--- /dev/null
+#
+# spec file for package lcms (Version 1.19)
+#
+# Copyright (c) 2010 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/
+#
+
+# norootforbuild
+
+Name: libijs
+License: MIT
+Group: System/Libraries
+Summary: IJS raster image transport protocol library
+Version: 0.35
+Release: 11
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Source0: %{name}-%{version}.tar.gz
+
+%description
+ IJS raster image transport protocol: shared library
+ IJS is, first and foremost, a protocol for transmission of raster page
+ images. This snapshot provides a reference implementation of the protocol,
+ the design of which is still in flux. When the protocol specification is
+ published, it will be authoritative. Applications should feel free to link
+ against the library provided in this package, adapt that code for their own
+ needs, or roll a completely new implementation.
+ .
+ IJS is a client-server protocol, used to write ghostscript drivers. The
+ drivers are separate programs. The client and server communicate via pipes,
+ though shared memory may be used additionally in the future. Currently IJS
+ is used by the hpijs and ijsgimpprint drivers.
+ .
+ Code for both the client- and server-side is included in the library. This
+ package provides the shared library.
+
+%package devel
+License: MIT License
+Summary: Include Files and Libraries Mandatory for Development
+Requires: libijs
+Group: Development/Libraries
+
+%description devel
+ IJS raster image transport protocol: development files
+ IJS (InkJet Server) is, first and foremost, a protocol for transmission of
+ raster page images. This snapshot provides a reference implementation of
+ the protocol, the design of which is still in flux. When the protocol
+ specification is published, it will be authoritative. Applications should
+ feel free to link against the library provided in this package, adapt that
+ code for their own needs, or roll a completely new implementation.
+ .
+ IJS is a client-server protocol, used to write ghostscript drivers. The
+ drivers are separate programs. The client and server communicate via pipes,
+ though shared memory may be used additionally in the future. Currently IJS
+ is used by the hpijs and ijsgimpprint drivers.
+ .
+ Code for both the client- and server-side is included in the library. This
+ package provides a static library, development headers and documentation.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$RPM_OPT_FLAGS"
+
+%reconfigure --enable-shared
+
+make %{?_smp_flags} CFLAGS="$CFLAGS"
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest libijs.manifest
+%license debian/copyright
+%defattr(-,root,root)
+%{_libdir}/libijs-0.35.so
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/ijs/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/ijs.pc
+%{_bindir}/*
+%{_mandir}/man1/ijs-config.1.gz
+
+%changelog
--- /dev/null
+Name: libiri
+Version: 1.1
+Release: 1
+License: BSD-3-Clause
+Summary: An IRI parsing library
+Url: http://code.google.com/p/libiri/
+Group: System/Libraries
+Source: %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+
+%description
+libiri is a simple toolkit for parsing Internationalized Resource Identifiers (IRIs).
+
+For many intents and purposes, you can think of libiri as a “URL parser which supports Unicode”.
+
+Specifically:
+
+URLs are a subset of URIs
+URIs are restricted to a portion of the ASCII character set
+IRIs are a superset of URIs that are not restricted to ASCII characters
+If something is a valid URL or URI, it's also a valid IRI.
+
+%package devel
+Summary: An IRI parsing library - Development Files
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+libiri is a simple toolkit for parsing Internationalized Resource Identifiers (IRIs).
+
+%prep
+%setup -q
+cp %{S:1001} .
+
+%build
+sh ./autogen.sh
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+
+%files
+%manifest libiri.manifest
+%license LICENSE
+%{_libdir}/*.so
+
+
+%files devel
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/*.h
+/usr/bin/iri-config
--- /dev/null
+%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
+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
+
+%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
+%defattr(-,root,root)
+%license release/copyright
+%{_bindir}/*
+
+%files -n libjpeg
+%defattr(-,root,root)
+%{_libdir}/libturbojpeg.so
+%{_libdir}/libjpeg.so.%{libver}
+%{_libdir}/libjpeg.so.%{major}
+
+%files -n libjpeg-devel
+%defattr(-,root,root)
+%{_includedir}/*.h
+%{_libdir}/libjpeg.so
+%doc coderules.txt jconfig.txt libjpeg.txt structure.txt example.c
+
+%changelog
--- /dev/null
+Name: libjpeg6
+Version: 6b
+Release: 0
+License: IJG
+Summary: A library for manipulating JPEG image format files
+URL: http://www.ijg.org/
+Group: System/Libraries
+Source: jpegsrc.v%{version}.tar.gz
+BuildRequires: autoconf
+BuildRequires: libtool
+
+%description
+The libjpeg package contains a library of functions for manipulating
+JPEG images, as well as simple client programs for accessing the
+libjpeg functions. Libjpeg client programs include cjpeg, djpeg,
+jpegtran, rdjpgcom and wrjpgcom. Cjpeg compresses an image file into
+JPEG format. Djpeg decompresses a JPEG file into a regular image
+file. Jpegtran can perform various useful transformations on JPEG
+files. Rdjpgcom displays any text comments included in a JPEG file.
+Wrjpgcom inserts text comments into a JPEG file.
+
+%package devel
+Summary: Development tools for programs which will use the libjpeg library
+Group: Development/Libraries
+Requires: libjpeg6 = %{version}-%{release}
+Conflicts: libjpeg-turbo
+Conflicts: libjpeg-devel
+
+%description devel
+The libjpeg-devel package includes the header files and documentation
+necessary for developing programs which will manipulate JPEG files using
+the libjpeg library.
+
+If you are going to develop programs which will manipulate JPEG images,
+you should install libjpeg-devel. You'll also need to have the libjpeg
+package installed.
+
+
+%prep
+%setup -q -n jpeg-%{version}
+
+# libjpeg 6b includes a horribly obsolete version of libtool.
+# Blow it away and replace with build system's version.
+rm -f ltmain.sh ltconfig aclocal.m4
+
+%build
+%reconfigure --enable-shared --disable-static
+
+make libdir=%{_libdir} %{?_smp_mflags}
+
+%check
+LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH make test libdir=%{_libdir}
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_includedir}
+mkdir -p %{buildroot}%{_libdir}
+mkdir -p %{buildroot}%{_mandir}/man1
+
+# The make_install macro doesn't work here...
+%makeinstall
+
+# Work around the broken makefiles...
+mv %{buildroot}%{_mandir}/*.1 %{buildroot}%{_mandir}/man1
+rm -f %{buildroot}%{_libdir}/libjpeg.la
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%docs_package
+
+%files
+%{_libdir}/libjpeg.so.*
+
+%files devel
+%{_bindir}/*
+%{_includedir}/*.h
+%{_libdir}/*.so
--- /dev/null
+Name: libksba
+Version: 1.3.0
+Release: 1
+License: GPL-3.0+ and LGPL-3.0+
+Summary: KSBA Library
+Url: http://www.gnupg.org/aegypten/
+Group: Security/Libraries
+Source: libksba-%{version}.tar.bz2
+BuildRequires: libgpg-error-devel >= 1.8
+BuildRequires: libtool
+
+%description
+KSBA is a library to simplify the task of working with X.509
+certificates, CMS data, and related data.
+
+%package devel
+Summary: A X
+Requires: libgpg-error-devel
+Requires: libksba = %{version}
+Provides: libksba:/usr/include/ksba.h
+
+%description devel
+KSBA is a library to simplify the task of working with X.509
+certificates, CMS data, and related data.
+
+This package contains the needed files to compile and link against the
+libksba.
+
+%prep
+%setup -q -n libksba-%{version}
+
+%build
+autoreconf -fi
+%configure --disable-static --with-pic
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING*
+%{_libdir}/libksba*.so.*
+
+
+%files devel
+%defattr(-,root,root)
+%{_bindir}/*
+%{_libdir}/libksba*.so
+%{_includedir}/*
+%doc %{_infodir}/ksba*
+%{_datadir}/aclocal/*
+
+%changelog
--- /dev/null
+%define _optdir /opt
+Name: liblocation-appman
+Summary: Location DB controler
+Version: 0.1.6
+Release: 1
+Group: System/Libraries
+License: TBD
+Source0: %{name}-%{version}.tar.gz
+
+Requires(post): sqlite
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: libgcrypt-devel
+
+%description
+Description: Location DB controller library
+
+
+%package devel
+Summary: Location DB controller (Development files)
+Group: System/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Description : Location DB controller Development Package
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+%cmake .
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+chown 0:5000 /opt/dbspace/.location-appman.db*
+chmod 664 /opt/dbspace/.location-appman.db*
+if [ -f %{_libdir}/rpm-plugins/msm.so ]
+then
+chsmack -a 'location_fw::db' /opt/dbspace/.location-appman.db*
+fi
+
+%postun -p /sbin/ldconfig
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%manifest liblocation-appman.manifest
+%defattr(-,root,root,-)
+%{_libdir}/liblocation-appman.so*
+%{_optdir}/dbspace/.location-appman.db*
+
+%files devel
+%{_includedir}/location-appman/*.h
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Name: libmedia-service
+Summary: Media information service library for multimedia applications
+Version: 0.2.43
+Release: 3
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(libexif)
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(mm-fileinfo)
+BuildRequires: pkgconfig(media-thumbnail)
+BuildRequires: pkgconfig(drm-client)
+BuildRequires: pkgconfig(libmedia-utils)
+
+%description
+Media information service library for multimedia applications
+
+%package devel
+Summary: Media information service library for multimedia applications. (development)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Media information service library for multimedia applications. (development files)
+
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+#License
+mkdir -p %{buildroot}/%{_datadir}/license
+cp -rf %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/%{_datadir}/license/%{name}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%manifest libmedia-service.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libmedia-service.so
+%{_libdir}/libmedia-service.so.1
+%{_libdir}/libmedia-service.so.1.0.0
+%{_libdir}/libmedia-svc-hash.so
+%{_libdir}/libmedia-svc-hash.so.1
+%{_libdir}/libmedia-svc-hash.so.1.0.0
+%{_libdir}/libmedia-content-plugin.so
+%{_libdir}/libmedia-content-plugin.so.1
+%{_libdir}/libmedia-content-plugin.so.1.0.0
+#License
+%{_datadir}/license/%{name}
+
+%files devel
+%{_libdir}/pkgconfig/libmedia-service.pc
+%{_includedir}/media-service/*.h
--- /dev/null
+Name: libmedia-thumbnail
+Summary: Media thumbnail service library for multimedia applications.
+Version: 0.1.77
+Release: 1
+Group: utils
+License: Apache
+Source0: %{name}-%{version}.tar.gz
+
+Requires: media-server
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(mm-fileinfo)
+BuildRequires: pkgconfig(mmutil-imgp)
+BuildRequires: pkgconfig(mmutil-jpeg)
+BuildRequires: pkgconfig(drm-client)
+BuildRequires: pkgconfig(libexif)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(libmedia-utils)
+
+
+%description
+Description: Media thumbnail service library for multimedia applications.
+
+
+%package devel
+License: Apache
+Summary: Media thumbnail service library for multimedia applications. (development)
+Requires: %{name} = %{version}-%{release}
+Group: Development/Libraries
+
+%description devel
+Description: Media thumbnail service library for multimedia applications. (development)
+
+%package -n media-thumbnail-server
+License: Apache
+Summary: Thumbnail generator.
+Requires: %{name} = %{version}-%{release}
+Group: Development/Libraries
+
+%description -n media-thumbnail-server
+Description: Media Thumbnail Server.
+
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+#License
+mkdir -p %{buildroot}/%{_datadir}/license
+cp -rf %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/%{_datadir}/license/%{name}
+
+%files
+%manifest libmedia-thumbnail.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libmedia-thumbnail.so
+%{_libdir}/libmedia-thumbnail.so.*
+%{_libdir}/libmedia-hash.so
+%{_libdir}/libmedia-hash.so.1
+%{_libdir}/libmedia-hash.so.1.0.0
+#License
+%{_datadir}/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/media-thumbnail.pc
+%{_includedir}/media-thumbnail/*.h
+
+%files -n media-thumbnail-server
+%manifest media-thumbnail-server.manifest
+%defattr(-,root,root,-)
+%{_bindir}/media-thumbnail-server
+/usr/local/bin/test-thumb
+
--- /dev/null
+Name: libmm-camcorder
+Summary: Camera and recorder library
+Version: 0.7.11
+Release: 0
+Group: Multimedia/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /usr/bin/vconftool
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(avsystem)
+BuildRequires: pkgconfig(libexif)
+BuildRequires: pkgconfig(mmutil-imgp)
+BuildRequires: pkgconfig(mm-log)
+BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
+BuildRequires: pkgconfig(mm-ta)
+BuildRequires: pkgconfig(sndfile)
+BuildRequires: pkgconfig(mm-session)
+BuildRequires: pkgconfig(audio-session-mgr)
+BuildRequires: pkgconfig(camsrcjpegenc)
+BuildRequires: pkgconfig(libpulse)
+BuildRequires: pkgconfig(vconf)
+
+%description
+Camera and recorder library.
+
+
+%package devel
+Summary: Camera and recorder development library
+Group: libdevel
+Version: %{version}
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Camera and recorder development library.
+
+
+%prep
+%setup -q
+
+
+%build
+export CFLAGS+=" -DGST_EXT_TIME_ANALYSIS"
+./autogen.sh
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+%install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+%make_install
+
+
+%post
+/sbin/ldconfig
+
+vconftool set -t int memory/camera/state 0 -i -u 5000
+vconftool set -t int file/camera/shutter_sound_policy 0 -u 5000
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest libmm-camcorder.manifest
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_libdir}/*.so.*
+/usr/share/sounds/mm-camcorder/*
+%{_datadir}/license/%{name}
+
+%files devel
+%manifest libmm-camcorder.manifest
+%defattr(-,root,root,-)
+%{_includedir}/mmf/mm_camcorder.h
+%{_libdir}/pkgconfig/mm-camcorder.pc
+%{_libdir}/*.so
--- /dev/null
+Name: libmm-common
+Version: 0.2.53
+Release: 2
+Summary: Multimedia Framework Common Library
+Group: Multimedia Framework/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(mm-log)
+
+%description
+Multimedia Framework Common Library
+
+%package devel
+Summary: Multimedia Framework Common Lib (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Multimedia Framework Common Library (devel)
+
+%prep
+%setup -q
+
+%build
+
+./autogen.sh
+CFLAGS="%{optflags} -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " %configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest libmm-common.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libmmfcommon.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/mmf/SLP_MultimediaFW_PG.h
+%{_includedir}/mmf/mm_types.h
+%{_includedir}/mmf/mm_error.h
+%{_includedir}/mmf/mm_message.h
+%{_includedir}/mmf/mm_attrs.h
+%{_includedir}/mmf/mm_attrs_private.h
+%{_includedir}/mmf/mm_debug.h
+%{_includedir}/mmf/mm.h
+%{_libdir}/pkgconfig/mm-common.pc
+%{_libdir}/libmmfcommon.so
--- /dev/null
+Name: libmm-fileinfo
+Summary: Media Fileinfo
+Version: 0.6.0
+Release: 21
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(mm-log)
+BuildRequires: pkgconfig(libswscale)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libavcodec)
+BuildRequires: pkgconfig(libavutil)
+BuildRequires: pkgconfig(libavformat)
+
+%define use_drm 0
+
+%if %{use_drm}
+BuildRequires: libss-client-devel
+BuildRequires: pkgconfig(drm-client)
+%endif
+
+%description
+Multimedia Framework FileInfo Library
+
+
+%package devel
+Summary: Media Fileinfo
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Multimedia Framework FileInfo Library (developement files)
+
+%prep
+%setup -q
+
+%build
+CFLAGS="${CFLAGS} -D_MM_PROJECT_FLOATER -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "
+export CFLAGS
+
+%autogen.sh
+
+%if %{use_drm}
+%configure --disable-testmode --disable-dump --enable-dyn --disable-iommap --enable-drm --disable-gtk
+%else
+%configure --disable-testmode --disable-dump --enable-dyn --disable-iommap --disable-drm --disable-gtk
+%endif
+
+make
+
+%install
+%make_install
+mkdir -p %{buildroot}/%{_datadir}/license
+cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/%{name}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest libmm-fileinfo.manifest
+%{_bindir}/memtrace_reader
+%{_bindir}/mm_file_test
+%{_libdir}/libmmffile.so.*
+%{_libdir}/libmmfile_codecs.so.*
+%{_libdir}/libmmfile_formats.so.*
+%{_libdir}/libmmfile_utils.so.*
+%{_libdir}/libmmffile.so
+%{_libdir}/libmmfile_codecs.so
+%{_libdir}/libmmfile_formats.so
+%{_libdir}/libmmfile_utils.so
+%{_datadir}/license/%{name}
+
+%files devel
+%{_includedir}/mmf/mm_file.h
+%{_libdir}/pkgconfig/mm-fileinfo.pc
--- /dev/null
+#sbs-git:slp/pkgs/l/libmm-imgp-gstcs libmm-imgp-gstcs 0.1 62b62e6d483557fc5750d1b4986e9a98323f1194
+Name: libmm-imgp-gstcs
+Summary: Multimedia Framework Utility Library
+Version: 0.4
+Release: 12
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(mm-log)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gstreamer-0.10)
+BuildRequires: pkgconfig(gstreamer-app-0.10)
+BuildRequires: pkgconfig(gmodule-2.0)
+
+
+%description
+Multimedia Framework Utility Library.
+
+%package devel
+Summary: Multimedia Framework Utility Library (DEV)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Multimedia Framework Utility Library (DEV).
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+
+CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -D_MM_PROJECT_FLOATER" \
+LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed" \
+%configure
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+/usr/share/license/%{name}
+%manifest libmm-imgp-gstcs.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
--- /dev/null
+Name: libmm-log
+Summary: Multimedia Framework LOG Lib
+Version: 0.1.5
+Release: 7
+Group: Multimedia/Multimedia Framework
+License: Apache-2.0
+Source0: libmm-log-%{version}.tar.gz
+BuildRequires: pkgconfig(dlog)
+%description
+Multimedia Framework LOG Library
+
+%package devel
+Summary: Multimedia Framework LOG Lib (devel)
+Group: Development/Libraries
+
+%description devel
+Multimedia Framework LOG Library (devel)
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+export CFLAGS+=" -DUSE_DLOG"
+./autogen.sh
+%configure --disable-static --enable-dlog
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/mm_log/mm_log.h
+%{_libdir}/pkgconfig/mm-log.pc
+
--- /dev/null
+Name: libmm-player
+Summary: Multimedia Framework Player Library
+Version: 0.2.19
+Release: 0
+Group: System/Libraries
+License: Apache-2.0
+URL: http://source.tizen.org
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(mm-ta)
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(mm-sound)
+
+%if %{defined with_Gstreamer0.10}
+BuildRequires: pkgconfig(gstreamer-0.10)
+BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
+BuildRequires: pkgconfig(gstreamer-interfaces-0.10)
+BuildRequires: pkgconfig(gstreamer-app-0.10)
+%else
+BuildRequires: pkgconfig(gstreamer-1.0)
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
+BuildRequires: pkgconfig(gstreamer-app-1.0)
+%endif
+
+BuildRequires: pkgconfig(mm-session)
+BuildRequires: pkgconfig(mmutil-imgp)
+BuildRequires: pkgconfig(audio-session-mgr)
+BuildRequires: pkgconfig(iniparser)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(icu-i18n)
+
+
+%description
+Multimedia Framework Player Library.
+
+%package devel
+Summary: Multimedia Framework Player Library (DEV)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Multimedia Framework Player Library (DEV).
+
+%prep
+%setup -q
+
+%build
+
+## %autogen.sh
+
+%if %{defined with_Gstreamer0.10}
+export GSTREAMER_API=""
+%else
+export GSTREAMER_API="-DGST_API_VERSION_1=1"
+export use_gstreamer_1=1
+%endif
+
+CFLAGS+=" -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" $GSTREAMER_API" ; export CFLAGS
+LDFLAGS+="-Wl,--rpath=%{_libdir} -lgstvideo-1.0 -Wl,--hash-style=both -Wl,--as-needed"; export LDFLAGS
+
+%configure --disable-static
+
+make -j1
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest libmm-player.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/*.so
+%{_includedir}/mmf/*.h
+%{_libdir}/pkgconfig/*
+
--- /dev/null
+Name: libmm-radio
+Summary: Multimedia Framework Radio Library
+Version: 0.2.1
+Release: 0
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: audio-session-manager-devel
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(mm-log)
+BuildRequires: pkgconfig(mm-ta)
+BuildRequires: pkgconfig(mm-session)
+BuildRequires: pkgconfig(mm-sound)
+%if %{defined with_Gstreamer0.10}
+BuildRequires: pkgconfig(gstreamer-0.10)
+BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
+%else
+BuildRequires: pkgconfig(gstreamer-1.0)
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
+%endif
+
+%description
+Descirption: Multimedia Framework Radio Library
+
+
+%package devel
+Summary: Multimedia Framework Radio Library (DEV)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Description: Multimedia Framework Radio Library (DEV)
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+
+%if %{defined with_Gstreamer0.10}
+export GSTREAMER_API=""
+%else
+export GSTREAMER_API="-DGST_API_VERSION_1=1"
+export use_gstreamer_1=1
+%endif
+
+CFLAGS=" %{optflags} -DGST_EXT_TIME_ANALYSIS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" $GSTREAMER_API"; export CFLAGS;
+%configure --disable-static --prefix=%{_prefix}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest libmm-radio.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libmmfradio.so.*
+%{_bindir}/mm_radio_testsuite
+
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libmmfradio.so
+%{_libdir}/pkgconfig/mm-radio.pc
+%{_includedir}/mmf/mm_radio.h
--- /dev/null
+Name: libmm-session
+Summary: Multimedia Session Library
+Version: 0.2.6
+Release: 0
+Group: Multimedia/Libraries
+License: Apache-2.0
+Source0: libmm-session-%{version}.tar.gz
+BuildRequires: pkgconfig(audio-session-mgr)
+BuildRequires: pkgconfig(mm-common)
+
+
+%description
+Multimedia Session Library
+
+
+%package devel
+Summary: Multimedia Session Library (Development)
+Group: Development/Multimedia
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+
+%build
+
+%autogen
+CFLAGS="$CFLAGS -Wp,-D_FORTIFY_SOURCE=0"
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest libmm-session.manifest
+%license LICENSE
+%defattr(-,root,root,-)
+%{_libdir}/libmmfsession.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/mmf/*.h
+%{_libdir}/libmmfsession.so
+%{_libdir}/pkgconfig/mm-session.pc
--- /dev/null
+Name: libmm-sound
+Summary: MMSound Package contains client lib and sound_server binary
+Version: 0.7.2
+Release: 0
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: sound-server.service
+Source2: sound-server.path
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/vconftool
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(avsystem)
+BuildRequires: pkgconfig(mm-log)
+BuildRequires: pkgconfig(mm-session)
+BuildRequires: pkgconfig(audio-session-mgr)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(security-server)
+
+%description
+MMSound Package contains client lib and sound_server binary for sound system
+
+
+%package devel
+Summary: MMSound development package
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+MMSound development package for sound system
+
+%package sdk-devel
+Summary: MMSound development package
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description sdk-devel
+MMSound development package for sound system
+
+%package tool
+Summary: MMSound utility package - contians mm_sound_testsuite, sound_check
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+
+%description tool
+MMSound utility package - contians mm_sound_testsuite, sound_check for sound system
+
+
+
+%prep
+%setup -q
+
+
+%build
+./autogen.sh
+%ifarch %{arm}
+CFLAGS="%{optflags} -fvisibility=hidden -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\""; export CFLAGS
+%else
+%if 0%{?simulator}
+CFLAGS="%{optflags} -fvisibility=hidden -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\""; export CFLAGS
+%else
+CFLAGS="%{optflags} -fvisibility=hidden -DMM_DEBUG_FLAG -DSEPARATE_SPEAKER_AND_WIRED_ACCESSORY -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\""; export CFLAGS
+%endif
+%endif
+%configure --prefix=/usr --enable-pulse --enable-security
+make %{?_smp_mflags}
+
+%install
+%make_install
+install -d %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
+install -m0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/system/
+install -m0644 %{SOURCE2} %{buildroot}%{_libdir}/systemd/system/
+ln -sf ../sound-server.path %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/sound-server.path
+
+# FIXME: remove after systemd is in
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc4.d
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d
+ln -s %{_sysconfdir}/rc.d/init.d/soundserver %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S23soundserver
+ln -s %{_sysconfdir}/rc.d/init.d/soundserver %{buildroot}%{_sysconfdir}/rc.d/rc4.d/S23soundserver
+
+
+
+%post
+/sbin/ldconfig
+
+/usr/bin/vconftool set -t int memory/Sound/ASMReady 0 -g 29 -f -i
+
+/usr/bin/vconftool set -t int file/private/sound/volume/system 5 -g 29 -f
+/usr/bin/vconftool set -t int file/private/sound/volume/notification 7 -g 29 -f
+/usr/bin/vconftool set -t int file/private/sound/volume/alarm 7 -g 29 -f
+/usr/bin/vconftool set -t int file/private/sound/volume/ringtone 13 -g 29 -f
+/usr/bin/vconftool set -t int file/private/sound/volume/media 7 -g 29 -f
+/usr/bin/vconftool set -t int file/private/sound/volume/call 7 -g 29 -f
+/usr/bin/vconftool set -t int file/private/sound/volume/voip 7 -g 29 -f
+/usr/bin/vconftool set -t int file/private/sound/volume/fixed 0 -g 29 -f
+/usr/bin/vconftool set -t int file/private/sound/volume/java 11 -g 29 -f
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest libmm-sound.manifest
+%defattr(-,root,root,-)
+%{_bindir}/sound_server
+%{_libdir}/libmmfsound.so.*
+%{_libdir}/libmmfsoundcommon.so.*
+%{_libdir}/libmmfkeysound.so.*
+%{_libdir}/libsoundplugintone.so*
+%{_libdir}/libsoundpluginwave.so*
+%{_libdir}/libsoundpluginkeytone.so*
+%{_libdir}/soundplugins/libsoundplugintone.so
+%{_libdir}/soundplugins/libsoundpluginwave.so
+%{_libdir}/soundplugins/libsoundpluginkeytone.so
+%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/soundserver
+%{_sysconfdir}/rc.d/rc3.d/S23soundserver
+%{_sysconfdir}/rc.d/rc4.d/S23soundserver
+/usr/share/sounds/sound-server/*
+%{_libdir}/systemd/system/multi-user.target.wants/sound-server.path
+%{_libdir}/systemd/system/sound-server.service
+%{_libdir}/systemd/system/sound-server.path
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libmmfkeysound.so
+%{_libdir}/libmmfsound.so
+%{_libdir}/libmmfsoundcommon.so
+%{_includedir}/mmf/mm_sound_private.h
+%{_includedir}/mmf/mm_sound_plugin.h
+%{_includedir}/mmf/mm_sound_plugin_hal.h
+
+
+%files sdk-devel
+%defattr(-,root,root,-)
+%{_includedir}/mmf/mm_sound.h
+%{_libdir}/pkgconfig/mm-keysound.pc
+%{_libdir}/pkgconfig/mm-sound.pc
+
+%files tool
+%defattr(-,root,root,-)
+%{_bindir}/mm_sound_testsuite
--- /dev/null
+#sbs-git:slp/pkgs/l/libmm-ta libmm-ta 0.1.4 1859a89ab9fa666d844abd894b10584e408604f5
+
+Name: libmm-ta
+Summary: Multimedia Framework Time Analysis Lib
+Version: 0.1.4
+Release: 2
+Group: System/Libraries
+License: Apache-2.0
+Source0: libmm-ta-%{version}.tar.gz
+
+
+%description
+Multimedia Framework Time Analysis Library
+
+
+
+%package devel
+Summary: Dev. components for the libmm-ta package (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development components for the libmm-ta package (devel)
+
+
+%prep
+%setup -q
+
+
+%build
+
+%autogen --disable-static
+%configure --disable-static
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+%files
+%manifest libmm-ta.manifest
+%defattr(-,root,root,-)
+%_libdir/libmm_ta.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%_includedir/mm_ta/*.h
+%_libdir/*.so
+%_libdir/pkgconfig/*.pc
+
--- /dev/null
+Name: libmm-transcode
+Summary: Multimedia Framework Video Transcode Library
+Version: 0.8
+Release: 2
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(mm-log)
+BuildRequires: pkgconfig(mm-ta)
+BuildRequires: pkgconfig(mm-fileinfo)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gstreamer-0.10)
+BuildRequires: pkgconfig(gstreamer-app-0.10)
+BuildRequires: pkgconfig(gstreamer-interfaces-0.10)
+BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
+BuildRequires: pkgconfig(gstreamer-pbutils-0.10)
+BuildRequires: pkgconfig(gmodule-2.0)
+
+%description
+Multimedia Framework Video Transcode Library.
+
+%package devel
+Summary: Multimedia Framework Video Transcode Library (DEV)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Multimedia Framework Video Transcode Library (DEV).
+
+%package tool
+Summary: Multimedia Framework Video Transcode Utility Package
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+
+%description tool
+Multimedia Framework Video Transcode Utility Package
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+
+CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -D_MM_PROJECT_FLOATER" \
+LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed" \
+%configure
+
+make %{?jobs:-j%jobs}
+
+sed -i -e "s#@TRANSCODE_REQPKG@#$TRANSCODE_REQPKG#g" transcode/mm-transcode.pc
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+/usr/share/license/%{name}
+%manifest libmm-transcode.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/mmf/*.h
+%{_libdir}/pkgconfig/*
+
+%files tool
+%defattr(-,root,root,-)
+%{_bindir}/mm_transcode_testsuite
+
--- /dev/null
+Name: libmm-utility
+Summary: Multimedia Framework Utility Library
+Version: 0.7
+Release: 1
+Group: System/Libraries
+License: Apache
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(mm-log)
+BuildRequires: pkgconfig(mm-ta)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gmodule-2.0)
+BuildRequires: libjpeg-turbo-devel
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+
+
+%package devel
+Summary: Multimedia Framework Utility Library (DEV)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+
+%package tool
+Summary: Multimedia Framework Utility Library
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description tool
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+
+CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -D_MM_PROJECT_FLOATER" \
+LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed" \
+%configure
+make %{?jobs:-j%jobs}
+
+sed -i -e "s#@IMGP_REQPKG@#$IMGP_REQPKG#g" imgp/mmutil-imgp.pc
+sed -i -e "s#@JPEG_REQPKG@#$JPEG_REQPKG#g" jpeg/mmutil-jpeg.pc
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+
+%files
+/usr/share/license/%{name}
+%manifest libmm-utility.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+#%exclude %{_bindir}/*_testsuite
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
+
+%files tool
+%defattr(-,root,root,-)
+%{_bindir}/*_testsuite
--- /dev/null
+Name: libmnl
+Summary: Minimalistic Netlink communication library
+License: LGPL-2.1+
+Group: Productivity/Networking/Security
+Version: 1.0.3
+Release: 0
+Url: http://netfilter.org/projects/libmnl/
+
+#Git-Clone: git://git.netfilter.org/libmnl
+Source: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2
+Source2: baselibs.conf
+BuildRequires: libtool
+BuildRequires: pkgconfig >= 0.21
+
+%description
+libmnl is a minimalistic user-space library oriented to Netlink
+developers. There are a lot of common tasks in parsing, validating,
+constructing of both the Netlink header and TLVs that are repetitive
+and easy to get wrong. This library aims to provide simple helpers
+that allows you to re-use code and to avoid re-inventing the wheel.
+
+%package devel
+Requires: %name = %version
+Summary: Development files for libmnl
+Group: Development/Libraries/C and C++
+
+%description devel
+libmnl is a minimalistic user-space library oriented to Netlink
+developers. There are a lot of common tasks in parsing, validating,
+constructing of both the Netlink header and TLVs that are repetitive
+and easy to get wrong. This library aims to provide simple helpers
+that allows you to re-use code and to avoid re-inventing the wheel.
+
+%prep
+%setup -q
+
+%build
+if [ ! -e configure ]; then
+ autoreconf -fi;
+fi;
+%configure --includedir=%_includedir/%name-%version
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%_libdir/libmnl.so.0*
+
+%files -n %name-devel
+%defattr(-,root,root)
+%_includedir/libmnl*
+%_libdir/libmnl.so
+%_libdir/pkgconfig/libmnl.pc
+
+%changelog
--- /dev/null
+Name: libnet-client
+Summary: Network Client library (Shared library)
+Version: 0.1.77_37
+Release: 1
+Group: System/Network
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+URL: https://review.tizen.org/git/?p=framework/connectivity/libnet-client.git;a=summary
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(gthread-2.0)
+BuildRequires: pkgconfig(dbus-glib-1)
+
+%description
+Network Client library (Shared library)
+
+%package devel
+Summary: Network Client library (Development)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Network Client library (Development)
+
+%prep
+%setup -q
+
+
+%build
+%autogen.sh
+%configure
+
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+#License
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE.Flora %{buildroot}%{_datadir}/license/libnet-client
+
+#Make test app
+cd test
+mkdir ./lib
+cp -rf %{buildroot}%{_libdir}/* ./lib/
+./build.sh
+cd ..
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest libnet-client.manifest
+%{_libdir}/libnetwork.so
+%{_libdir}/libnetwork.so.0
+%attr(644,-,-) %{_libdir}/libnetwork.so.0.0.0
+%{_datadir}/license/libnet-client
+
+%files devel
+%{_includedir}/network/*.h
+%{_libdir}/pkgconfig/network.pc
--- /dev/null
+Name: libnetfilter_conntrack
+Version: 1.0.2
+Release: 0
+Url: http://netfilter.org/projects/libnetfilter_conntrack/
+Summary: Userspace library for the in-kernel connection tracking state table
+License: GPL-2.0+
+Group: Productivity/Networking/Security
+
+#Git-Clone: git://git.netfilter.org/libnetfilter_conntrack
+#DL-URL: http://netfilter.org/projects/libnetfilter_conntrack/files/
+Source: http://netfilter.org/projects/libnetfilter_conntrack/files/%name-%version.tar.bz2
+Source2: baselibs.conf
+BuildRequires: pkgconfig >= 0.21
+BuildRequires: pkgconfig(libmnl) >= 1.0.3
+BuildRequires: pkgconfig(libnfnetlink) >= 1.0.0
+
+%description
+libnetfilter_conntrack is a userspace library providing a programming
+interface (API) to the in-kernel connection tracking state table. The
+library libnetfilter_conntrack has been previously known as
+libnfnetlink_conntrack and libctnetlink. This library is currently
+used by conntrack-tools among many other applications.
+
+%package devel
+Requires: %name = %version
+Summary: Userspace library for the in-kernel connection tracking state table
+Group: Development/Libraries/C and C++
+
+%description devel
+libnetfilter_conntrack is a userspace library providing a programming
+interface (API) to the in-kernel connection tracking state table. The
+library libnetfilter_conntrack has been previously known as
+libnfnetlink_conntrack and libctnetlink. This library is currently
+used by conntrack-tools among many other applications.
+
+%prep
+%setup -q
+
+%build
+if [ "%git_snapshot" -ne 0 ] || [ ! -e configure ]; then
+ autoreconf -fi;
+fi;
+%configure --disable-static --includedir="%_includedir/%name-%version"
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%_libdir/libnetfilter_conntrack.so.3*
+
+%files devel
+%defattr(-,root,root)
+%_includedir/%name-%version
+%_libdir/libnetfilter_conntrack.so
+%_libdir/pkgconfig/libnetfilter_conntrack.pc
+
+%changelog
--- /dev/null
+Name: libnfnetlink
+%define libsoname %{name}
+Version: 1.0.1
+Release: 2
+License: GPL-2.0
+Url: http://netfilter.org/projects/libnfnetlink/
+Group: Productivity/Networking/Security
+
+Summary: Low-level library for Netfilter-related kernel/userspace communication
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: autoconf
+BuildRequires: automake >= 1.6
+BuildRequires: libtool
+BuildRequires: pkgconfig >= 0.23
+BuildRequires: xz
+
+%description
+libnfnetlink is the low-level library for netfilter related
+kernel/userspace communication. It provides a generic messaging
+infrastructure for in-kernel netfilter subsystems (such as
+nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) and their
+respective users and/or management tools in userspace.
+
+This library is not meant as a public API for application developers.
+It is only used by other netfilter.org projects, such as
+libnetfilter_log, libnetfilter_queue or libnetfilter_conntrack.
+
+%package devel
+Summary: Low-level library for Netfilter-related kernel/userspace communication
+Group: Development/Libraries/C and C++
+Requires: %libsoname = %{version}
+
+%description devel
+libnfnetlink is the low-level library for netfilter related
+kernel/userspace communication. It provides a generic messaging
+infrastructure for in-kernel netfilter subsystems (such as
+nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) and their
+respective users and/or management tools in userspace.
+
+This library is not meant as a public API for application developers.
+It is only used by other netfilter.org projects, such as
+libnetfilter_log, libnetfilter_queue or libnetfilter_conntrack.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static --includedir=%{_includedir}/%{name}-%{version}
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_libdir}/libnfnetlink.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/libnfnetlink*
+%{_libdir}/libnfnetlink.so
+%{_libdir}/pkgconfig/libnfnetlink.pc
+
+%changelog
--- /dev/null
+Name: libnl1
+Summary: Convenience library for kernel netlink sockets
+Group: System/Network
+License: LGPL-2.1
+Version: 1.1
+Release: 1
+Url: http://people.suug.ch/~tgr/libnl/
+Source: http://people.suug.ch/~tgr/libnl/files/libnl-%version.tar.bz2
+Source99: baselibs.conf
+BuildRequires: pkgconfig >= 0.23
+
+%description
+This package contains a convenience library to simplify using the Linux
+kernels netlink sockets interface for network manipulation.
+
+
+%package devel
+License: LGPL-2.1+
+Summary: Convenience library for kernel netlink sockets
+Group: Development/Libraries
+Requires: %name = %version-%release
+Provides: libnl-devel = %release-%version
+
+%description devel
+This package contains a convenience library to simplify using the Linux
+kernels netlink sockets interface for network manipulation.
+
+%prep
+%setup -q -n libnl-%version
+
+%build
+%configure \
+ --prefix=%_prefix \
+ --libdir=%_libdir \
+ --includedir=%_includedir
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %buildroot/%_libdir/pkgconfig
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%_libdir/libnl*.so.*
+%license COPYING
+
+%files devel
+%defattr(-,root,root,0755)
+%_includedir/netlink/
+%_libdir/libnl*.so
+%_libdir/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+Name: libnl2
+Summary: Library for netlink sockets
+Version: 2.0
+Release: 2
+Group: System/Network
+License: LGPL-2.1
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: bison
+BuildRequires: flex
+
+%description
+This is a library for applications dealing with netlink sockets.
+The library provides an interface for raw netlink messaging and various
+netlink family specific interfaces.
+
+%package devel
+Summary: Development library and headers for libnl2
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This is a library for applications dealing with netlink sockets.
+The library provides an interface for raw netlink messaging and various
+netlink family specific interfaces.
+This package contains all files that are needed to build applications using
+libnl2.
+
+%prep
+%setup -q
+
+
+%build
+%autogen.sh
+%configure
+
+make -j1
+
+%install
+%make_install
+rm -f %{buildroot}/etc/libnl/pktloc
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libnl*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
+%{_libdir}/libnl*.so
--- /dev/null
+Name: libogg
+Version: 1.3.0
+Release: 0
+License: BSD-3-Clause
+Summary: Ogg Bitstream Library
+Url: http://www.vorbis.com/
+Group: Multimedia/Audio
+Source: %{name}-%{version}.tar.gz
+Source2: baselibs.conf
+BuildRequires: pkg-config
+
+%description
+Libogg is a library for manipulating ogg bitstreams. It handles both
+making ogg bitstreams and getting packets from ogg bitstreams.
+
+Ogg is the native bitstream format of the libvorbis (Ogg Vorbis audio
+codec ) and the libtheora (Theora video codec)
+
+%package devel
+Summary: Include Files and Libraries mandatory for Ogg Development
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libogg = %{version}
+
+%description devel
+This package contains all necessary include files and libraries needed
+to compile and develop applications that use libogg.
+
+%prep
+%setup -q
+
+%build
+# Fix optimization level
+sed -i s,-O20,-O3,g configure
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%check
+make check
+
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(0644,root,root,0755)
+%license COPYING
+%{_libdir}/libogg.so.*
+
+%files devel
+%defattr(0644,root,root,0755)
+%{_includedir}/ogg
+%{_libdir}/libogg.so
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/ogg.m4
+%{_libdir}/pkgconfig/ogg.pc
+
+%changelog
--- /dev/null
+Name: liboil
+BuildRequires: glib2-devel
+Version: 0.3.17
+Release: 1
+Url: http://liboil.freedesktop.org/wiki/
+Group: System/Libraries
+License: BSD-2-Clause
+Summary: Library of Optimized Inner Loops
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+
+%description
+Liboil is a library of simple functions that are optimized for various
+CPUs. These functions are generally loops implementing simple
+algorithms, such as converting an array of N integers to floating-point
+numbers or multiplying and summing an array of N numbers. Such
+functions are candidates for significant optimization using various
+techniques, especially by using extended instructions provided by
+modern CPUs (Altivec, MMX, SSE, etc.).
+
+Many multimedia applications and libraries already do similar things
+internally. The goal of this project is to consolidate some of the code
+used by various multimedia projects and also make optimizations easier
+to use by a broader range of applications.
+
+%package devel
+License: BSD-2-Clause
+Group: Development/Libraries/C and C++
+Summary: Library of Optimized Inner Loops
+Requires: %{name} = %{version} glibc-devel
+
+%description devel
+Liboil is a library of simple functions that are optimized for various
+CPUs. These functions are generally loops implementing simple
+algorithms, such as converting an array of N integers to floating-point
+numbers or multiplying and summing an array of N numbers. Such
+functions are candidates for significant optimization using various
+techniques, especially by using extended instructions provided by
+modern CPUs (Altivec, MMX, SSE, etc.).
+
+Many multimedia applications and libraries already do similar things
+internally. The goal of this project is to consolidate some of the code
+used by various multimedia projects, and also make optimizations easier
+to use by a broader range of applications.
+
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static --with-pic
+%__make %{?jobs:-j%jobs}
+# Do NOT! disable running the testsuite or make failures
+# non-fatal for the build!
+
+%check
+%__make check
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%defattr (-, root, root)
+%{_libdir}/*.so.*
+
+%files devel
+%defattr (-, root, root)
+%{_bindir}/oil-bugreport
+%{_includedir}/liboil-*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+%define keepstatic 1
+Name: libpcap
+Version: 1.3.0
+Release: 0
+License: BSD-3-Clause
+Summary: A Library for Network Sniffers
+Url: http://www.tcpdump.org/
+Group: System/Libraries
+Source: %{name}-%{version}.tar.gz
+Source2: baselibs.conf
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: libusb-devel
+
+%description
+libpcap is a library used by packet sniffer programs. It provides an
+interface for them to capture and analyze packets from network devices.
+This package is only needed if you plan to compile or write such a
+program yourself.
+
+%package devel
+Summary: A Library for Network Sniffers
+Group: Development/Libraries/C and C++
+Requires: libpcap = %{version}
+
+%description devel
+libpcap is a library used by packet sniffer programs. It provides an
+interface for them to capture and analyze packets from network devices.
+This package is only needed if you plan to compile or write such a
+program yourself.
+
+%prep
+%setup -q
+
+%build
+pic="pic"
+autoreconf -fiv
+export CFLAGS="%{optflags} -f$pic" CXXFLAGS="%{optflags} -f$pic"
+%configure \
+ --enable-ipv6
+make %{?_smp_mflags} all shared
+
+%install
+%make_install
+
+%docs_package
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%doc LICENSE
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-, root, root)
+%{_includedir}/*
+%{_bindir}/pcap-config
+%{_libdir}/*.so
+%{_libdir}/*.*a
+
+%changelog
--- /dev/null
+Name: libpciaccess
+Version: 0.13.1
+Release: 1
+License: MIT
+Summary: PCI access library
+Url: http://gitweb.freedesktop.org/?p=xorg/lib/libpciaccess.git
+Group: Base/Device Management
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(zlib)
+
+%description
+libpciaccess is a library for portable PCI access routines across multiple
+operating systems.
+
+%package devel
+Summary: PCI access library development package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: pkgconfig
+
+%description devel
+Development package for libpciaccess.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --with-pciids-path=%{_datadir}/misc --with-zlib
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libpciaccess.so.0
+%{_libdir}/libpciaccess.so.0.11.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/pciaccess.h
+%{_libdir}/libpciaccess.so
+%{_libdir}/pkgconfig/pciaccess.pc
--- /dev/null
+#
+
+Name: libpipeline
+Version: 1.2.2
+Release: 0
+License: GPL-3.0+
+Summary: A pipeline manipulation library
+Url: http://www.nongnu.org/libpipeline/
+Group: System/Libraries
+Source: %{name}-%{version}.tar.gz
+
+%description
+libpipeline is a C library for setting up and running pipelines of
+processes, without needing to involve shell command-line parsing which
+is often error-prone and insecure. This alleviates programmers of the
+need to laboriously construct pipelines using lower-level primitives
+such as fork(2) and execve(2).
+
+%package devel
+Summary: A pipeline manipulation library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Provides: pkgconfig(%{name}) = %{version}
+
+%description devel
+libpipeline is a C library for setting up and running pipelines of
+processes, without needing to involve shell command-line parsing which
+is often error-prone and insecure. This alleviates programmers of the
+need to laboriously construct pipelines using lower-level primitives
+such as fork(2) and execve(2).
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --enable-shared \
+ --enable-threads=posix \
+ --disable-rpath \
+ --enable-socketpair-pipe \
+ --with-pic=yes \
+ --with-gnu-ld
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,0755)
+%license COPYING
+%{_libdir}/libpipeline.so.*
+
+%files devel
+%defattr(-,root,root,0755)
+%{_libdir}/libpipeline.so
+%{_libdir}/pkgconfig/libpipeline.pc
+%{_includedir}/pipeline.h
+%{_mandir}/man3/*.3*
+
+%changelog
--- /dev/null
+Name: libpng
+Version: 1.2.50
+Release: 1
+License: zlib
+Summary: A library of functions for manipulating PNG image format files
+Url: http://www.libpng.org/pub/png/
+Group: Graphics/Libraries
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: zlib-devel
+
+%description
+The libpng package contains a library of functions for creating and
+manipulating PNG (Portable Network Graphics) image format files. PNG
+is a bit-mapped graphics format similar to the GIF format. PNG was
+created to replace the GIF format, since GIF uses a patented data
+compression algorithm.
+
+Libpng should be installed if you need to manipulate PNG format image
+files.
+
+%package devel
+Summary: Development tools for programs to manipulate PNG image format files
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: libpng = %{version}
+Requires: zlib-devel
+
+%description devel
+The libpng-devel package contains header files and documentation necessary
+for developing programs using the PNG (Portable Network Graphics) library.
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+rm -rf %{buildroot}/usr/share/man
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%license LICENSE
+%{_libdir}/libpng*.so.*
+
+%files devel
+%{_bindir}/*
+%{_includedir}/*
+%{_libdir}/libpng*.so
+%{_libdir}/pkgconfig/*
+
--- /dev/null
+#%define udev_libdir /usr/lib/udev
+
+Name: libprivilege-control
+Summary: Library to control privilege of application
+Version: 0.0.26.TIZEN
+Release: 1
+Group: System/Security
+License: Apache 2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: %{name}-conf.manifest
+Source2: smack-default-labeling.service
+BuildRequires: cmake
+BuildRequires: pkgconfig(libsmack)
+BuildRequires: pkgconfig(dlog)
+
+%description
+development package of library to control privilege of in-house application
+
+%package devel
+Summary: Control privilege of application (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Library to control privilege of application (devel)
+
+%package conf
+Summary: Control privilege of application files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: /usr/bin/chsmack
+
+%description conf
+Library to control privilege of application files
+
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="${CFLAGS} -Wno-implicit-function-declaration"
+%cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+%make_install
+
+mkdir -p %{buildroot}/etc
+mv %{buildroot}/opt/etc/passwd %{buildroot}/etc/passwd
+mv %{buildroot}/opt/etc/group %{buildroot}/etc/group
+
+cp -a %{SOURCE1} %{buildroot}%{_datadir}/
+install -D -d %{buildroot}/etc/rc.d/rc3.d/
+install -D -d %{buildroot}/etc/rc.d/rc4.d/
+ln -sf ../init.d/smack_default_labeling %{buildroot}/etc/rc.d/rc3.d/S45smack_default_labeling
+ln -sf ../init.d/smack_default_labeling %{buildroot}/etc/rc.d/rc4.d/S45smack_default_labeling
+ln -sf ../init.d/smack_rules %{buildroot}/etc/rc.d/rc3.d/S02smack_rules
+ln -sf ../init.d/smack_rules %{buildroot}/etc/rc.d/rc4.d/S02smack_rules
+
+mkdir -p %{buildroot}/usr/lib/systemd/system/basic.target.wants
+install -m 644 %{SOURCE2} %{buildroot}/usr/lib/systemd/system/
+ln -s ../smack-default-labeling.service %{buildroot}/usr/lib/systemd/system/basic.target.wants/
+
+%post
+if [ ! -e "/home/app" ]
+then
+ mkdir -p /home/app
+fi
+
+if [ ! -e "/home/developer" ]
+then
+ mkdir -p /home/developer
+fi
+
+chown 5000:5000 /home/app
+chmod 755 /home/app
+chown 5100:5100 /home/developer
+chmod 755 /home/developer
+
+if [ ! -e "/usr/share/privilege-control" ]
+then
+ mkdir -p /usr/share/privilege-control/
+fi
+
+
+%files
+%{_libdir}/*.so.*
+%{_bindir}/slp-su
+%{_datarootdir}/privilege-control/*
+#%{udev_libdir}/rules.d/*
+#%attr(755,root,root) %{udev_libdir}/uname_env
+%{_datadir}/license/%{name}
+
+%files conf
+/etc/group
+/etc/passwd
+/opt/etc/smack/*
+%attr(755,root,root) /etc/rc.d/*
+/usr/lib/systemd/system/smack-default-labeling.service
+/usr/lib/systemd/system/basic.target.wants/smack-default-labeling.service
+%manifest %{_datadir}/%{name}-conf.manifest
+/opt/dbspace/.privilege_control*.db
+
+%files devel
+%{_includedir}/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Name: libpthread-stubs
+Version: 0.3
+Release: 2.8
+License: MIT
+Summary: PThread Stubs for XCB
+Url: http://xcb.freedesktop.org
+Group: System/X11
+Source: %{name}-%{version}.tar.bz2
+
+%description
+PThread Stubs for XCB
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/pthread-stubs.pc
+
--- /dev/null
+Name: librua
+Version: 0.1.0
+Release: 34
+License: Apache-2.0
+Summary: Recently used application
+Group: Application Framework/Libraries
+Source0: librua-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: sqlite3
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(sqlite3)
+
+%description
+Recently used application library
+
+%package devel
+Summary: Recently used application (devel)
+Requires: %{name} = %{version}
+
+%description devel
+Recently used application library (devel)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %{buildroot}/opt/dbspace
+sqlite3 %{buildroot}/opt/dbspace/.rua.db < data/rua_db.sql
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest librua.manifest
+%defattr(-,root,root,-)
+%config(noreplace) %attr(0660,root,app) /opt/dbspace/.rua.db*
+%{_libdir}/librua.so.*
+%license LICENSE
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/rua
+%{_includedir}/rua/*.h
+%{_libdir}/librua.so
+%{_libdir}/pkgconfig/rua.pc
+
--- /dev/null
+Name: libsf-common
+Version: 0.3.20
+Release: 1
+License: Apache-2.0
+Summary: Sensor framework common library
+Group: System/Sensor Framework
+Source0: libsf-common-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: libattr-devel
+BuildRequires: pkgconfig(dlog)
+%description
+Commonly used code and defintions for the sensor framework.
+
+%package devel
+Summary: Sensor framework common - Development
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Sensor framework common library - Development Files.
+
+%prep
+%setup -q
+
+%build
+%cmake .
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE %{buildroot}%{_datadir}/license/%{name}
+
+%files
+%manifest libsf-common.manifest
+%{_libdir}/libsf_common.so
+%{_datadir}/license/%{name}
+
+
+%files devel
+%{_includedir}/sf_common/*.h
+%{_libdir}/pkgconfig/sf_common.pc
--- /dev/null
+#sbs-git:slp/apps/l/libslp-alarm libslp-alarm 0.2.7 743c13367284f1394db6db3a2d5a936be5279784
+# >> macros
+# << macros
+
+Name: libslp-alarm
+Summary: libslp-alarm package
+Version: 0.2.7
+Release: 59
+Group: System/Libraries
+License: TBD
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/sqlite3
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(alarm-service)
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+
+
+%package devel
+Summary: libslp-alarm dev package
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+rm -f %{buildroot}/usr/bin/test_alarmdb
+# << install post
+
+%clean
+rm -rf %{buildroot}
+
+
+
+%post
+/sbin/ldconfig
+mkdir -p /opt/dbspace/
+sqlite3 /opt/dbspace/.alarm.db 'PRAGMA journal_mode = PERSIST;
+ create table if not exists alarm (id INTEGER PRIMARY KEY,
+ magic INTEGER,
+ alarm_mgr_id INTEGER,
+ enable INTEGER,
+ missed INTEGER,
+ author INTEGER,
+ name TEXT,
+ stime INTEGER,
+ atime INTEGER,
+ etime INTEGER,
+ sdate INTEGER,
+ edate INTEGER,
+ timezone TEXT,
+ repeat_once INTEGER,
+ repeat_every INTEGER,
+ repeat_weekly INTEGER,
+ snooze_enable INTEGER,
+ snooze_min INTEGER,
+ snooze_times INTEGER,
+ count INTEGER,
+ type INTEGER,
+ tone TEXT,
+ volume INTEGER,
+ auto_power_on INTEGER );'
+
+chsmack -a 'libslp-alarm::db' /opt/dbspace/.alarm.db*
+
+# Change file owner
+#1.libraries
+#2.executables
+#3.configurations
+#4.images
+#5.edje
+#6.internatialize
+#7.etc
+#chown :5000 /opt/dbspace
+chown :6001 /opt/dbspace/.alarm.db
+chown :6001 /opt/dbspace/.alarm.db-journal
+#chown root:root /opt/dbspace/.alarm.db
+#chown root:root /opt/dbspace/.alarm.db-journal
+
+# Change file permissions
+#1.libraries
+#2.executables
+#3.configurations
+#4.images
+#5.edje
+#6.internatialize
+#7.etc
+#chmod 775 /opt/dbspace
+chmod 660 /opt/dbspace/.alarm.db
+chmod 660 /opt/dbspace/.alarm.db-journal
+#chmod 600 /opt/dbspace/.alarm.db
+#chmod 600 /opt/dbspace/.alarm.db-journal
+
+
+%postun -p /sbin/ldconfig
+
+
+
+%files
+%manifest libslp-alarm.manifest
+%defattr(-,root,root,-)
+# >> files
+%{_libdir}/*.so*
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
+# << files devel
+
--- /dev/null
+Name: libslp-db-util
+Version: 0.1.1
+Release: 5
+License: Apache-2.0
+Summary: DB Utility
+Group: Application Framework/Database
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(sqlite3)
+
+%description
+DB Utility.
+
+%package devel
+Summary: Devel package for libslp-db-util (devel)
+Requires: %{name} = %{version}
+%description devel
+Devel package for libslp-db-util (devel)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest libSLP-db-util.manifest
+%license LICENSE
+%defattr(-,root,root,-)
+%{_libdir}/libSLP-db-util.so.0
+%{_libdir}/libSLP-db-util.so.0.1.0
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/db-util
+%{_includedir}/db-util/*.h
+%{_libdir}/pkgconfig/db-util.pc
+%{_libdir}/libSLP-db-util.so
+
--- /dev/null
+Name: libslp-location
+Summary: Location Based Service
+Version: 0.5.3
+Release: 1
+Group: System/Libraries
+License: Apache Licensc, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/vconftool
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gconf-2.0)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(gmodule-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(json-glib-1.0)
+
+
+%description
+Location Based Service Libraries
+
+
+%package devel
+Summary: Location Based Service (Development files)
+Group: System/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Location Based Service Development Package
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+
+./autogen.sh
+%configure --enable-dlog --enable-debug
+
+make %{?jobs:-j%jobs}
+
+
+%install
+%make_install
+
+
+%post
+/sbin/ldconfig
+vconftool set -t int db/location/last/gps/Timestamp "0" -f
+vconftool set -t double db/location/last/gps/Latitude "0.0" -f
+vconftool set -t double db/location/last/gps/Longitude "0.0" -f
+vconftool set -t double db/location/last/gps/Altitude "0.0" -f
+vconftool set -t double db/location/last/gps/HorAccuracy "0.0" -f
+vconftool set -t double db/location/last/gps/VerAccuracy "0.0" -f
+vconftool set -t double db/location/last/gps/Speed "0.0" -f
+vconftool set -t double db/location/last/gps/Direction "0.0" -f
+vconftool set -t int db/location/last/wps/Timestamp "0" -f
+vconftool set -t double db/location/last/wps/Latitude "0.0" -f
+vconftool set -t double db/location/last/wps/Longitude "0.0" -f
+vconftool set -t double db/location/last/wps/Altitude "0.0" -f
+vconftool set -t double db/location/last/wps/HorAccuracy "0.0" -f
+vconftool set -t double db/location/last/wps/Speed "0.0" -f
+vconftool set -t double db/location/last/wps/Direction "0.0" -f
+vconftool set -t int db/location/setting/GpsEnabled "0" -g 6514 -f
+vconftool set -t int db/location/setting/AgpsEnabled "0" -g 6514 -f
+vconftool set -t int db/location/setting/NetworkEnabled "0" -g 6514 -f
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest libslp-location.manifest
+%{_libdir}/lib*.so*
+
+
+%files devel
+%{_includedir}/location/*.h
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Name: libslp-memo
+Summary: Memo DB interface library
+Version: 0.1.5
+Release: 1
+Group: TO_BE/FILLED_IN
+License: Flora
+Source0: libslp-memo-%{version}.tar.gz
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(vconf)
+
+BuildRequires: cmake
+Requires(post): /usr/bin/sqlite3
+
+%description
+library for memo(development package)
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development files for %{name}
+
+%prep
+%setup -q
+
+%build
+export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--hash-style=both"
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post
+mkdir -p /opt/dbspace
+sqlite3 /opt/dbspace/.memo.db 'PRAGMA journal_mode = PERSIST;
+CREATE TABLE if not exists memo ( id INTEGER PRIMARY KEY autoincrement, content TEXT, written_time TEXT, create_time INTEGER, modi_time INTEGER, delete_time INTEGER, doodle INTEGER, color INTEGER, comment TEXT, favorite INTEGER,font_respect INTEGER, font_size INTEGER, font_color INTEGER, doodle_path TEXT );
+ '
+
+if [ -f /usr/lib/rpm-plugins/msm.so ]
+then
+chsmack -a 'memo::db' /opt/usr/dbspace/.memo.db*
+fi
+
+
+
+# Change file owner
+chown :5000 /opt/dbspace/.memo.db
+chown :5000 /opt/dbspace/.memo.db-journal
+
+# Change file permissions
+chmod 660 /opt/dbspace/.memo.db
+chmod 660 /opt/dbspace/.memo.db-journal
+
+%files
+%defattr(-,root,root,-)
+%manifest libslp-memo.manifest
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/memo.pc
+%{_includedir}/*.h
--- /dev/null
+Name: libslp-pm
+Summary: Power manager library
+Version: 1.2.4
+Release: 2.1
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: libslp-pm-%{version}.tar.bz2
+BuildRequires: cmake
+
+
+%description
+Samsung Linux platform power manager client library
+
+
+
+%package devel
+Summary: SLP power manager client (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libslp-pm
+
+%description devel
+SLP power manager client library (devel)
+
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+%files
+%defattr(-,root,root,-)
+%manifest libslp-pm.manifest
+%{_libdir}/libpmapi.so.1.2
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/pmapi.h
+%{_includedir}/pmapi_managed.h
+%{_includedir}/SLP_pm_PG.h
+%{_libdir}/pkgconfig/pmapi.pc
+%{_libdir}/libpmapi.so
+
--- /dev/null
+Name: sensor
+Summary: Sensor framework client library
+Version: 0.5.27
+Release: 1
+Group: System/Sensor Framework
+License: Apache-2.0
+Source0: sensor-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: vconf-keys-devel
+BuildRequires: pkgconfig(sf_common)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(glib-2.0)
+
+%description
+Sensor framework client library
+
+%package devel
+Summary: Sensor framework library (devel)
+Group: System/Development
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Sensor framework client library (devel)
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%cmake .
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE
+%manifest libslp-sensor.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libsensor.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/sensor/*.h
+%{_libdir}/libsensor.so
+%{_libdir}/pkgconfig/sensor.pc
+
--- /dev/null
+Name: sysman
+Summary: System manager interface library
+Version: 0.2.29
+Release: 1
+Group: framework-system
+License: APLv2
+Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/sysman.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(devman_plugin)
+
+%description
+system manager internal library
+
+
+
+%package devel
+Summary: System Manager base (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+System Manager base library (devel)
+
+%package internal-devel
+Summary: System Manager base (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: sysman
+
+%description internal-devel
+System Manager base library (devel)
+
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+%cmake .
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/
+ln -s %{_bindir}/regpmon.sh %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S99regpmon
+ln -s %{_bindir}/regpmon.sh %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S99regpmon
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest sysman.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+%{_bindir}/*
+%{_sysconfdir}/rc.d/init.d/*
+%{_sysconfdir}/rc.d/rc3.d/*
+%{_sysconfdir}/rc.d/rc5.d/*
+
+
+%files devel
+%manifest sysman.manifest
+%defattr(-,root,root,-)
+%{_includedir}/sysman/sysman.h
+%{_includedir}/sysman/sysman_managed.h
+%{_includedir}/sysman/SLP_sysman_PG.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so
+
+%files internal-devel
+%manifest sysman.manifest
+%defattr(-,root,root,-)
+%{_includedir}/sysman/sysman-internal.h
+
--- /dev/null
+Name: libslp-tapi
+Summary: Telephony dbus client library
+Version: 0.6.69
+Release: 2
+Group: System/Libraries
+License: Apache-2.0
+Source0: libslp-tapi-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(security-server)
+
+%description
+Telephony client API library
+
+%package devel
+Summary: Telephony client API (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Telephony client API library (devel)
+
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+rm -rf %{buildroot}/usr/include/telephony/tapi/.gitignore
+mkdir -p %{buildroot}/usr/share/license
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest libslp-tapi.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+/usr/share/license/libslp-tapi
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/telephony-client/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so
--- /dev/null
+Name: libslp-utilx
+Summary: utilX
+Version: 0.1.23
+Release: 1.1
+Group: UI Framework/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(libdri2)
+BuildRequires: pkgconfig(dri2proto)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xv)
+BuildRequires: pkgconfig(xdamage)
+BuildRequires: pkgconfig(xrandr)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(libtbm)
+
+%description
+Utility functions for the XWindow
+
+
+%package devel
+Summary: utilX
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Utility functions for the XWindow (developement files)
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+# for license notification
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libutilX.so.*
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+/usr/include/utilX.h
+%{_libdir}/libutilX.so
+%{_libdir}/pkgconfig/utilX.pc
+
+
+
+
--- /dev/null
+Name: libsndfile
+Version: 1.0.25
+Release: 0
+License: LGPL-2.1+
+Summary: C library for reading and writing sound files
+Group: Multimedia/Audio
+BuildRequires: pkgconfig(alsa)
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: libvorbis-devel
+BuildRequires: pkg-config
+BuildRequires: speex-devel
+BuildRequires: sqlite-devel
+Url: http://www.mega-nerd.com/libsndfile/
+Source: libsndfile-%{version}.tar.gz
+Source2: baselibs.conf
+
+%description
+Libsndfile is a C library for reading and writing sound files, such as
+AIFF, AU, and WAV files, through one standard interface. It can
+currently read and write 8, 16, 24, and 32-bit PCM files as well as
+32-bit floating point WAV files and a number of compressed formats.
+
+
+%package devel
+Summary: Development package for the libsndfile library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: glibc-devel
+Requires: libstdc++-devel
+
+%description devel
+This package contains the files needed to compile programs that use the
+libsndfile library.
+
+%prep
+%setup -q
+
+%build
+%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
+autoreconf --force --install
+CFLAGS="%{optflags} %{warn_flags}"
+export CFLAGS
+%configure --disable-silent-rules \
+ --disable-static \
+ --enable-sqlite \
+ --with-pic \
+ --enable-experimental
+make %{?_smp_mflags}
+
+%check
+pushd src
+make check
+popd
+
+%install
+%make_install
+# remove programs; built in another spec file
+rm -rf %{buildroot}%{_bindir}
+rm -rf %{buildroot}%{_mandir}/man1
+# remove binaries from examples directory
+make -C examples distclean
+rm -rf %{buildroot}%{_datadir}/doc/libsndfile1-dev
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/libsndfile.so.1*
+
+%files devel
+%defattr(-, root, root)
+%{_libdir}/libsndfile.so
+%{_includedir}/sndfile.h
+%{_includedir}/sndfile.hh
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+Name: libsolv
+Version: 0.3.0
+Release: 0
+Url: https://github.com/openSUSE/libsolv
+Source: libsolv-%{version}.tar.bz2
+
+%bcond_without enable_static
+%bcond_without perl_binding
+%bcond_without python_binding
+
+BuildRequires: db4-devel
+BuildRequires: expat-devel
+BuildRequires: fdupes
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: rpm-devel
+BuildRequires: zlib-devel
+
+%if %{with perl_binding}
+BuildRequires: perl
+BuildRequires: swig
+%endif
+%if %{with python_binding}
+%global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True);")
+BuildRequires: python-devel
+BuildRequires: swig
+%endif
+
+Summary: A new approach to package dependency solving
+License: BSD-3-Clause
+Group: System/Package Management
+
+%description
+A new approach to package dependency solving.
+
+%package devel
+Summary: A new approach to package dependency solving
+Group: Development/Libraries
+Requires: libsolv-tools = %version
+Requires: libsolv = %version
+Requires: rpm-devel
+
+%description devel
+Development files for libsolv, a new approach to package dependency solving
+
+%package tools
+Summary: A new approach to package dependency solving
+Group: Development/Libraries
+Obsoletes: satsolver-tools < 0.18
+Provides: satsolver-tools = 0.18
+Requires: gzip bzip2 coreutils findutils
+
+%description tools
+A new approach to package dependency solving.
+
+%package demo
+Summary: Applications demoing the libsolv library
+Group: System/Package Management
+Requires: curl
+
+%description demo
+Applications demoing the libsolv library.
+
+%package -n python-solv
+Requires: python
+Summary: Python bindings for the libsolv library
+Group: Platfrom Development/Python
+
+%description -n python-solv
+Python bindings for sat solver.
+
+%package -n perl-solv
+Requires: perl = %{perl_version}
+Summary: Perl bindings for the libsolv library
+Group: Platfrom Development/Perl
+
+%description -n perl-solv
+Perl bindings for sat solver.
+
+%prep
+%setup -n libsolv-%{version}
+
+%build
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$CFLAGS"
+
+CMAKE_FLAGS=
+CMAKE_FLAGS="-DSUSE=1"
+
+cmake $CMAKE_FLAGS \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DLIB=%{_lib} \
+ -DCMAKE_VERBOSE_MAKEFILE=TRUE \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ %{?with_enable_static:-DENABLE_STATIC=1} \
+ %{?with_perl_binding:-DENABLE_PERL=1} \
+ %{?with_python_binding:-DENABLE_PYTHON=1} \
+ -DUSE_VENDORDIRS=1 \
+ -DCMAKE_SKIP_RPATH=1
+make %{?jobs:-j %jobs}
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+%if %{with python_binding}
+pushd $RPM_BUILD_ROOT/%{python_sitearch}
+python %py_libdir/py_compile.py *.py
+python -O %py_libdir/py_compile.py *.py
+popd
+%endif
+# we want to leave the .a file untouched
+export NO_BRP_STRIP_DEBUG=true
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license LICENSE*
+%{_libdir}/libsolv.so.*
+%{_libdir}/libsolvext.so.*
+
+%files tools
+%defattr(-,root,root)
+%{_bindir}/solv
+%{_bindir}/*
+
+%files devel
+%defattr(-,root,root)
+%if %{with enable_static}
+%{_libdir}/libsolv.a
+%{_libdir}/libsolvext.a
+%endif
+%if !%{with disable_shared}
+%{_libdir}/libsolv.so
+%{_libdir}/libsolvext.so
+%endif
+%{_includedir}/solv
+%{_bindir}/helix2solv
+%{_datadir}/cmake/Modules/*
+
+%files demo
+%defattr(-,root,root)
+%{_bindir}/solv
+
+%if %{with perl_binding}
+%files -n perl-solv
+%defattr(-,root,root)
+%{perl_vendorarch}/*
+%endif
+
+%if %{with python_binding}
+%files -n python-solv
+%defattr(-,root,root)
+%{python_sitearch}/*
+%endif
+
+%changelog
--- /dev/null
+%bcond_with gnome
+
+Name: libsoup
+Version: 2.42.2
+Release: 0
+License: LGPL-2.1+
+Summary: HTTP client/server library for GNOME
+Url: http://www.gnome.org
+Group: System/Libraries
+Source: http://download.gnome.org/sources/libsoup/2.41/%{name}-%{version}.tar.xz
+Source99: baselibs.conf
+BuildRequires: gettext-tools
+BuildRequires: glib-networking
+%if %{with gnome}
+BuildRequires: gobject-introspection-devel
+BuildRequires: pkgconfig(gnome-keyring-1)
+%endif
+BuildRequires: intltool >= 0.35.0
+BuildRequires: sqlite3-devel
+BuildRequires: pkgconfig(glib-2.0) >= 2.35.0
+BuildRequires: gnome-common
+BuildRequires: pkgconfig(libxml-2.0)
+
+
+%description
+Libsoup is an HTTP client/server library for GNOME. It uses GObjects
+and the glib main loop, to integrate well with GNOME applications.
+
+Features:
+ * Both asynchronous (GMainLoop and callback-based) and synchronous APIs
+ * Automatically caches connections
+ * SSL Support using GnuTLS
+ * Proxy support, including authentication and SSL tunneling
+ * Client support for Digest, NTLM, and Basic authentication
+ * Server support for Digest and Basic authentication
+ * XML-RPC support
+
+%package -n typelib-Soup
+Summary: HTTP client/server library for GNOME -- Introspection bindings
+Group: System/Libraries
+
+%description -n typelib-Soup
+Libsoup is an HTTP client/server library for GNOME. It uses GObjects
+and the glib main loop, to integrate well with GNOME applications.
+
+This package provides the GObject Introspection bindings for libsoup.
+
+%package devel
+Summary: HTTP client/server library for GNOME - Development Files
+Group: Development/Gnome
+Requires: %{name} = %{version}
+%if %{with gnome}
+Requires: typelib-Soup = %{version}
+%endif
+
+%description devel
+Libsoup is an HTTP client/server library for GNOME. It uses GObjects
+and the glib main loop, to integrate well with GNOME applications.
+
+Features:
+ * Both asynchronous (GMainLoop and callback-based) and synchronous APIs
+ * Automatically caches connections
+ * SSL Support using GnuTLS
+ * Proxy support, including authentication and SSL tunneling
+ * Client support for Digest, NTLM, and Basic authentication
+ * Server support for Digest and Basic authentication
+ * XML-RPC support
+
+%prep
+%setup -q
+
+%build
+%autogen\
+%if %{with gnome}
+ --with-gnome \
+ --enable-introspection \
+%else
+ --without-gnome \
+ --enable-sqlite=yes \
+ --disable-tls-check \
+%endif
+ --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%find_lang %{name}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%lang_package
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/*.so.*
+
+%if %{with gnome}
+%files -n typelib-Soup
+%defattr(-,root,root)
+%{_libdir}/girepository-1.0/Soup-2.4.typelib
+%{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
+%endif
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/libsoup-2.4
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%if %{with gnome}
+%{_datadir}/gir-1.0/Soup-2.4.gir
+%{_datadir}/gir-1.0/SoupGNOME-2.4.gir
+%{_includedir}/libsoup-gnome-2.4
+%endif
--- /dev/null
+Name: libsqlfs
+Summary: FUSE module for filesystem on top of an SQLite db
+Version: 1.2
+Release: 11
+Group: TO_BE/FILLED_IN
+License: LGPLv2
+Source0: libsqlfs-%{version}.tar.gz
+Source1: opt-var-kdb-db.mount
+Source4: mount.fuse.libsqlfs
+Source5: opt-var-kdb-db-libsqlfs.service
+Source6: opt-var-kdb-db-smack-labels.service
+Source7: libsqlfs.preinit
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(fuse)
+BuildRequires: libattr-devel
+BuildRequires: libcap-devel
+Requires: /usr/bin/find
+Requires(post): systemd
+Requires(postun): systemd
+
+
+%description
+FUSE module for filesystem on top of an SQLite database
+
+%prep
+%setup -q
+
+%build
+#%configure
+#make
+
+gcc $CFLAGS -g \
+ -DFUSE \
+ -D_GNU_SOURCE \
+ -D_FILE_OFFSET_BITS=64 \
+ -D_REENTRANT \
+ -DFUSE_USE_VERSION=25 \
+ -I/usr/include -I. \
+ sqlfs.c fuse_main.c \
+ -o libsqlfs_mount \
+ $LDFLAGS \
+ -L/usr/lib \
+ -lpthread \
+ -lfuse -lrt\
+ -lsqlite3 -ldl -lcap
+
+gcc $CFLAGS -g \
+ sqlfs_txn_cmd.c \
+ -o sqlfs_txn_cmd \
+ $LDFLAGS
+
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+install -m 0755 libsqlfs_mount %{buildroot}%{_bindir}/
+install -m 0755 sqlfs_txn_cmd %{buildroot}%{_bindir}/
+#mkdir -p %{buildroot}/sbin
+#install -m 0755 %{SOURCE4} %{buildroot}/sbin/
+
+#mkdir -p %{buildroot}%{_libdir}/systemd/system/basic.target.wants
+#install -m 0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/system/
+#install -m 0644 %{SOURCE5} %{buildroot}%{_libdir}/systemd/system/
+#install -m 0644 %{SOURCE6} %{buildroot}%{_libdir}/systemd/system/
+#ln -sf ../opt-var-kdb-db-libsqlfs.service %{buildroot}%{_libdir}/systemd/system/basic.target.wants/
+#ln -sf ../opt-var-kdb-db-smack-labels.service %{buildroot}%{_libdir}/systemd/system/basic.target.wants/
+
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc4.d
+install -m 0755 sqlfs-mount %{buildroot}%{_sysconfdir}/rc.d/init.d
+ln -s ../init.d/sqlfs-mount %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S03sqlfs-mount
+ln -s ../init.d/sqlfs-mount %{buildroot}%{_sysconfdir}/rc.d/rc4.d/S03sqlfs-mount
+
+#mkdir -p %{buildroot}%{_sysconfdir}/preconf.d
+#install -m 0755 %{SOURCE7} %{buildroot}%{_sysconfdir}/preconf.d
+
+mkdir -p %{buildroot}/usr/share/license
+install COPYING %{buildroot}/usr/share/license/%{name}
+
+%post
+systemctl daemon-reload
+
+%postun
+systemctl daemon-reload
+
+%files
+%manifest libsqlfs.manifest
+%{_sysconfdir}/rc.d/init.d/sqlfs-mount
+%{_sysconfdir}/rc.d/rc3.d/S03sqlfs-mount
+%{_sysconfdir}/rc.d/rc4.d/S03sqlfs-mount
+#/sbin/mount.fuse.libsqlfs
+%{_bindir}/sqlfs_txn_cmd
+%{_bindir}/libsqlfs_mount
+#%{_libdir}/systemd/system/opt-var-kdb-db.mount
+#%{_libdir}/systemd/system/opt-var-kdb-db-libsqlfs.service
+#%{_libdir}/systemd/system/opt-var-kdb-db-smack-labels.service
+#%{_libdir}/systemd/system/basic.target.wants/opt-var-kdb-db-libsqlfs.service
+#%{_libdir}/systemd/system/basic.target.wants/opt-var-kdb-db-smack-labels.service
+/usr/share/license/%{name}
+#%{_sysconfdir}/preconf.d/libsqlfs.preinit
+
+%changelog
+* Thu Jul 12 2012 - Hyungdeuk Kim <hd3.kim@samsung.com>
+- Add -g flags to spec file for exe file strip
--- /dev/null
+Name: libsvi
+Summary: SVI
+Version: 0.1.2
+Release: 8
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(devman_haptic)
+BuildRequires: pkgconfig(mm-keysound)
+BuildRequires: pkgconfig(devman)
+
+%description
+
+%package devel
+Summary: SVI
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/svi_test
+%{_libdir}/libsvi.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/svi/*.h
+%{_libdir}/libsvi.so
+%{_libdir}/pkgconfig/svi.pc
+
+%changelog
+* Thu Sep 06 2012 - Jiyoung Yun <jy910.yun@samsung.com>
+- if there isnt' haptic resource, it plays monotone
+- Tag : libsvi_0.1.2-8
+
+* Mon Aug 20 2012 - Jiyoung Yun <jy910.yun@samsung.com>
+- Re-uploaded because prev commit is not supply on tizen_build project
+- Tag : libsvi_0.1.2-7
+
+* Fri Aug 17 2012 - Jiyoung Yun <jy910.yun@samsung.com>
+- separate 2.0_beta branch from master
+- Remove code regarding led notification that is product feature
+- Tag : libsvi_0.1.2-6
+
+* Tue Aug 14 2012 - Jiyoung Yun <jy910.yun@samsung.com>
+- led bug fix
+- svi_play_led function is called twice
+- Tag : libsvi_0.1.2-5
+
+* Tue Aug 14 2012 - Jiyoung Yun <jy910.yun@samsung.com>
+- Code merge from old git
+- Tag : libsvi_0.1.2-4
+
+* Mon Aug 06 2012 - Jiyoung Yun <jy910.yun@samsung.com>
+- Add new code for support LED notification
+- Add svi-led.c file to convert ivt to led file
+- Change SVI_VIB_OPERATION_FULLYCHARGED to SVI_VIB_OPERATION_FULLCHARGED enum value
+- Tag : libsvi_0.1.2-3
+
+* Fri Aug 03 2012 - Jiyoung Yun <jy910.yun@samsung.com>
+- Change SVI_VIB_OPERATION_LOTBATT to SVI_VIB_OPERATION_LOWBATT value
+- Tag : libsvi_0.1.2-2
+
+* Fri Jul 13 2012 - Hyungdeuk Kim <hd3.kim@samsung.com>
+- Add 2 new enum type defined by ux 0627 document
+- remove temp code for error handling
--- /dev/null
+Name: libtasn1
+Version: 2.14
+Release: 0
+License: LGPL-2.1+ and GPL-3.0
+Summary: ASN
+Url: http://ftp.gnu.org/gnu/libtasn1/
+Group: Security/Crypto Libraries
+Source: %{name}-%{version}.tar.gz
+Source99: baselibs.conf
+BuildRequires: info
+BuildRequires: pkg-config
+Requires: libtasn1-tools
+
+
+%description
+This is the ASN.1 library used in GNUTLS. More up to date information
+can be found at http://www.gnu.org/software/gnutls and
+http://www.gnutls.org
+
+%package tools
+Summary: ASN
+Group: Security/Crypto Libraries
+Requires: %{name} = %{version}
+
+%description tools
+This is the ASN.1 library used in GNUTLS. More up to date information
+can be found at http://www.gnu.org/software/gnutls and
+http://www.gnutls.org
+
+%package devel
+Summary: ASN
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+This is the ASN.1 library used in GNUTLS. More up to date information
+can be found at http://www.gnu.org/software/gnutls and
+http://www.gnutls.org
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%docs_package
+
+
+%files tools
+%defattr(-, root, root)
+%{_bindir}/*
+
+%files
+%defattr(-, root, root)
+%license COPYING COPYING.LIB
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-, root, root)
+%{_includedir}/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libtasn1.pc
+
+%changelog
--- /dev/null
+Name: libtbm
+Version: 1.0.5
+Release: 2
+License: MIT
+Summary: Tizen Buffer Manager Library
+Group: System/Libraries
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(pthread-stubs)
+BuildRequires: pkgconfig(libdrm)
+
+%description
+The library for Tizen Buffer Manager.
+
+%package devel
+Summary: Tizen Buffer Manager Library - Development
+Group: Development/Libraries
+Requires: libtbm = %{version}
+Requires: pkgconfig(libdrm)
+
+%description devel
+The library for Tizen Buffer Manager.
+
+Development Files.
+
+%prep
+%setup -q
+
+%build
+
+%reconfigure --prefix=%{_prefix} \
+ CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
+
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp -af COPYING %{buildroot}/usr/share/license/%{name}
+%make_install
+
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+/usr/share/license/%{name}
+%{_libdir}/libtbm.so.*
+%{_libdir}/libdrm_slp.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}
+%{_includedir}/tbm_bufmgr.h
+%{_includedir}/tbm_bufmgr_backend.h
+%{_libdir}/libtbm.so
+%{_libdir}/libdrm_slp.so
+%{_libdir}/pkgconfig/libtbm.pc
+
--- /dev/null
+Name: libtcore
+Summary: Telephony-core library
+Version: 0.1.83
+Release: 1
+Group: System/Libraries
+License: Apache
+Source0: libtcore-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gudev-1.0)
+
+%description
+Telephony-core library
+
+%package devel
+Summary: Telephony-core library (Development)
+Requires: %{name} = %{version}
+Group: Development/Libraries
+
+%description devel
+Telephony-core library (Development)
+
+%prep
+%setup -q
+
+%build
+%cmake . -DVERSION=%{version}
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%install
+%make_install
+
+%files
+%manifest libtcore.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libtcore*
+/usr/share/license/libtcore
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/pkgconfig/tcore.pc
--- /dev/null
+Name: libthai
+Version: 0.1.18
+Release: 0
+License: LGPL-2.1+
+Summary: Thai Language Support Routines
+Url: http://linux.thai.net/plone/TLWG/libthai/
+Group: System/Libraries
+Source: %{name}-%{version}.tar.gz
+Source99: baselibs.conf
+BuildRequires: pkgconfig(datrie-0.2)
+BuildRequires: pkg-config
+Requires: libthai-data >= %{version}
+
+%description
+LibThai is a set of Thai language support routines aimed to ease
+developers' tasks to incorporate Thai language support in their
+applications. It includes important Thai-specific functions, such as
+word breaking, input and output methods, and basic character and string
+support.
+
+%package data
+Summary: Thai Language Support Routines - Data files
+Group: System/Libraries
+
+%description data
+LibThai is a set of Thai language support routines aimed to ease
+developers' tasks to incorporate Thai language support in their
+applications. It includes important Thai-specific functions, such as
+word breaking, input and output methods, and basic character and string
+support.
+
+This package contains the data files for libthai.
+
+%package devel
+Summary: Thai Language Support Routines (development files)
+Group: Development/Languages/C and C++
+Requires: libthai = %{version}
+
+%description devel
+LibThai is a set of Thai language support routines aimed to ease
+developers' tasks to incorporate Thai language support in their
+applications. It includes important Thai-specific functions, such as
+word breaking, input and output methods, and basic character and string
+support.
+
+This package contains headers and libraries required for developing
+software using libthai.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static --with-pic
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libthai.so.*
+
+%files data
+%defattr(-, root, root)
+%{_datadir}/libthai/
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/thai/
+%{_libdir}/libthai.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+Name: libtheora
+Version: 1.1.1
+Release: 14
+License: BSD-3-Clause
+Summary: Free Video Codec
+Url: http://www.theora.org/
+Group: Multimedia/Video
+%define pkg_version %{version}
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: gcc-c++
+BuildRequires: libogg-devel
+BuildRequires: libtool
+BuildRequires: libvorbis-devel
+BuildRequires: pkg-config
+BuildRequires: python
+
+%description
+Theora is a free video codec based on VP3. The package contains the
+library that can decode and encode Theora streams. Theora is also able
+to playback VP3 streams.
+
+%package devel
+License: BSD-3-Clause
+Summary: Free Video Codec
+Group: Development/Libraries
+Requires: libogg-devel
+Requires: libtheora = %{version}
+
+%description devel
+Theora is a free video codec based on VP3. The package contains the
+library that can decode and encode Theora streams. Theora is also able
+to playback VP3 streams.
+
+%prep
+%setup -q -n %{name}-%{pkg_version}
+
+%build
+ACLOCAL="aclocal -I m4" autoreconf -f -i
+%configure --disable-examples \
+ --disable-static \
+ --with-pic
+make %{?_smp_mflags} docdir=%{_docdir}/%{name}
+
+%check
+make check
+
+%install
+%make_install
+install -d %{buildroot}%{_bindir}
+
+rm -rf %{buildroot}/%{_datadir}/doc/%{name}-%{version}/*
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%doc COPYING LICENSE
+%{_libdir}/libtheora.so.0*
+%{_libdir}/libtheoradec.so.1*
+%{_libdir}/libtheoraenc.so.1*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/theora
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/theoradec.pc
+%{_libdir}/pkgconfig/theoraenc.pc
+%{_libdir}/pkgconfig/theora.pc
--- /dev/null
+#
+
+Name: libtirpc
+Version: 0.2.2
+Release: 0
+License: BSD-4-Clause
+Summary: Transport Independent RPC Library
+Url: http://sourceforge.net/projects/libtirpc/
+Group: System/Libraries
+Source: %{name}-%{version}.tar.bz2
+Source100: baselibs.conf
+BuildRequires: libtool
+BuildRequires: pkgconfig(pkg-config)
+
+%description
+The Transport Independent RPC library (TI-RPC) is a replacement for the
+standard SunRPC library in glibc which does not support IPv6 addresses.
+This implementation allows the support of other transports than UDP and
+TCP over IPv4
+
+%package devel
+License: BSD-4-Clause
+Summary: Transport Independent RPC Library
+Group: Development/Libraries/C and C++
+Requires: glibc-devel
+Requires: libtirpc = %{version}
+
+%description devel
+The Transport Independent RPC library (TI-RPC) is a replacement for the
+standard SunRPC library in glibc which does not support IPv6 addresses.
+This implementation allows the support of other transports than UDP and
+TCP over IPv4
+
+%prep
+%setup -q
+
+%build
+autoreconf -fiv
+%configure --disable-static --with-pic --libdir=/%{_lib}
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_libdir}
+ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
+rm -rf %{buildroot}/%{_lib}/*.so
+mv -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}/%{_libdir}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%config %{_sysconfdir}/netconfig
+/%{_lib}/libtirpc.so.1*
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libtirpc.so
+%dir %{_includedir}/tirpc/
+%{_includedir}/tirpc/*
+%{_libdir}/pkgconfig/*
+
+%docs_package
+
+%changelog
--- /dev/null
+%define keepstatic 1
+Name: libtool
+BuildRequires: automake
+BuildRequires: gcc-c++
+BuildRequires: lzma
+BuildRequires: zlib-devel
+BuildRequires: makeinfo
+Requires: automake > 1.4
+Requires: tar
+Summary: A Tool to Build Shared Libraries
+License: GPL-2.0+
+Group: Development/Tools
+Version: 2.4.2
+Release: 0
+Requires: libltdl = %{version}
+Url: http://www.gnu.org/software/libtool/
+Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz
+Source2: baselibs.conf
+Source3: libtool-rpmlintrc
+Provides: libltdl-devel
+# fedora name
+Provides: libtool-ltdl-devel
+
+%description
+GNU libtool is a set of shell scripts to automatically configure UNIX
+architectures to build shared libraries in a generic fashion.
+
+%package -n libltdl
+Summary: Libtool Runtime Library
+Group: System/Libraries
+
+%description -n libltdl
+Library needed by programs that use the ltdl interface of GNU libtool.
+
+%prep
+%setup -q -n libtool-%{version}
+
+%build
+./configure CFLAGS="$RPM_OPT_FLAGS" \
+ --prefix=/usr --infodir=%{_infodir} --libdir=%{_libdir}
+# force rebuild with non-broken makeinfo
+rm -f doc/libtool.info
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%post -n libltdl -p /sbin/ldconfig
+
+%postun -n libltdl -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%license COPYING
+/usr/bin/libtool
+/usr/bin/libtoolize
+/usr/include/libltdl
+/usr/include/ltdl.h
+%{_libdir}/libltdl.a
+%attr(644, root, root) %{_libdir}/libltdl.la
+%{_libdir}/libltdl.so
+/usr/share/aclocal/*.m4
+%doc %{_infodir}/libtool.info*
+%doc %{_mandir}/man1/libtool.1.gz
+%doc %{_mandir}/man1/libtoolize.1.gz
+/usr/share/libtool
+
+%files -n libltdl
+%defattr(-, root, root)
+%{_libdir}/libltdl.so.*
+
+%changelog
--- /dev/null
+#sbs-git:slp/pkgs/l/libttssmt libttssmt 0.0.15 9c82c715d55cf32bb3d69112526145654ec2fbcc
+%define _optdir /opt
+%define _appdir %{_optdir}/apps
+
+
+
+Name: libttssmt
+Summary: Text To Speech smt plugin shared library
+Version: 0.0.32
+Release: 1
+Group: TO_BE/FILLED_IN
+License: TO_BE/FILLED_IN
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(tts)
+
+provides : libsmt.so
+
+%description
+Description: Text To Speech smt plugin shared library
+
+
+%prep
+%setup -q
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+%build
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%manifest libttssmt.manifest
+%defattr(-,root,root,-)
+%{_libdir}/voice/tts/1.0/engine/*
+/usr/share/voice/tts/smt_vdata/*
+%{_libdir}/libsmt.so*
--- /dev/null
+#sbs-git:slp/apps/l/libug-worldclock-efl libug-worldclock-efl 0.0.1 0b35f77bb1e62dc3aa162003d2af020f16ca4c39
+Name: libug-worldclock-efl
+Summary: worldclock ug
+Version: 0.0.18
+Release: 1
+Group: utils
+License: samsung
+Source0: %{name}-%{version}.tar.gz
+Requires: isf
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/sqlite3
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(alarm-engine)
+BuildRequires: cmake
+BuildRequires: edje-tools
+BuildRequires: gettext-tools
+
+%description
+Worldclock UI gadget
+
+%prep
+%setup -q
+
+%build
+%define PREFIX "/usr/ug"
+cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+/sbin/ldconfig
+
+CITY_TABLE_FILE="/opt/dbspace/.worldclock.db"
+
+if [ ! -e "$CITY_TABLE_FILE" ]
+then
+
+#create db
+sqlite3 /opt/dbspace/.worldclock.db 'PRAGMA journal_mode = PERSIST;
+ CREATE TABLE city_table (idex int primary key, city varchar(128), country varchar(128), timezone varchar(20), dst_type int, dst_enabled int, selected int, sequence int, tz_path varchar(128));
+ INSERT INTO "city_table" VALUES(0,"IDS_WCL_BODY_CITYNAME_ABIDJAN","IDS_WCL_BODY_COTE_DIVOIRE","GMT+0",0,1,0,0,"Africa/Abidjan");
+ INSERT INTO "city_table" VALUES(1,"IDS_WCL_BODY_CITYNAME_ABUDHABI","IDS_WCL_BODY_UNITED_ARAB_EMIRATES","GMT+4",0,1,0,0,"Asia/Dubai");
+ INSERT INTO "city_table" VALUES(2,"IDS_WCL_BODY_CITYNAME_ACCRA","IDS_WCL_BODY_GHANA","GMT+0",0,1,0,0,"Africa/Accra");
+ INSERT INTO "city_table" VALUES(3,"IDS_WCL_BODY_CITYNAME_ADDIS_ABABA","IDS_WCL_BODY_ETHIOPIA","GMT+3",0,1,0,0,"Africa/Addis_Ababa");
+ INSERT INTO "city_table" VALUES(4,"IDS_WCL_BODY_CITYNAME_ADELAIDE","IDS_WCL_BODY_AUSTRALIA","GMT+9:30",0,1,0,0,"Australia/Adelaide");
+ INSERT INTO "city_table" VALUES(5,"IDS_WCL_BODY_CITYNAME_ALASKA","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-9",0,1,0,0,"America/Nome");
+ INSERT INTO "city_table" VALUES(6,"IDS_WCL_BODY_CITYNAME_ALGIERS","IDS_WCL_BODY_ALGERIA","GMT+1",0,1,0,0,"Africa/Algiers");
+ INSERT INTO "city_table" VALUES(7,"IDS_WCL_BODY_CITYNAME_ALMATY","IDS_WCL_BODY_KAZAKHSTAN","GMT+6",0,1,0,0,"Asia/Almaty");
+ INSERT INTO "city_table" VALUES(8,"IDS_WCL_BODY_CITYNAME_AMBON","IDS_WCL_BODY_INDONESIA","GMT+9",0,1,0,0,"Asia/Jayapura");
+ INSERT INTO "city_table" VALUES(9,"IDS_WCL_BODY_CITYNAME_AMMAN","IDS_WCL_BODY_JORDAN","GMT+2",0,1,0,0,"Asia/Amman");
+ INSERT INTO "city_table" VALUES(10,"IDS_WCL_BODY_CITYNAME_AMSTERDAME","IDS_WCL_BODY_NETHERLANDS","GMT+1",0,1,0,0,"Europe/Amsterdam");
+ INSERT INTO "city_table" VALUES(11,"IDS_WCL_BODY_CITYNAME_ANADYR","IDS_WCL_BODY_RUSSIA","GMT+12",0,1,0,0,"Asia/Anadyr");
+ INSERT INTO "city_table" VALUES(12,"IDS_WCL_BODY_CITYNAME_ANCHORAGE","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-9",0,1,0,0,"America/Anchorage");
+ INSERT INTO "city_table" VALUES(13,"IDS_WCL_BODY_CITYNAME_ANKARA","IDS_WCL_BODY_TURKEY","GMT+2",0,1,0,0,"Asia/Istanbul");
+ INSERT INTO "city_table" VALUES(14,"IDS_WCL_BODY_CITYNAME_ANTANANARIVO","IDS_WCL_BODY_MADAGASCAR","GMT+3",0,1,0,0,"Indian/Antananarivo");
+ INSERT INTO "city_table" VALUES(15,"IDS_WCL_BODY_CITYNAME_ASHGABAT","IDS_WCL_BODY_TURKMENISTAN","GMT+5",0,1,0,0,"Asia/Ashgabat");
+ INSERT INTO "city_table" VALUES(16,"IDS_WCL_BODY_CITYNAME_ASMARA","IDS_WCL_BODY_ERITREA","GMT+3",0,1,0,0,"Africa/Asmara");
+ INSERT INTO "city_table" VALUES(17,"IDS_WCL_BODY_CITYNAME_ASTANA","IDS_WCL_BODY_KAZAKHSTAN","GMT+6",0,1,0,0,"Asia/Almaty");
+ INSERT INTO "city_table" VALUES(18,"IDS_WCL_BODY_CITYNAME_ASUNCION","IDS_WCL_BODY_PARAGUAY","GMT-4",0,1,0,0,"America/Asuncion");
+ INSERT INTO "city_table" VALUES(19,"IDS_WCL_BODY_CITYNAME_ATHENS","IDS_WCL_BODY_GREECE","GMT+2",0,1,0,0,"Europe/Athens");
+ INSERT INTO "city_table" VALUES(20,"IDS_WCL_BODY_CITYNAME_AUCKLAND","IDS_WCL_BODY_NEW_ZEALAND","GMT+12",0,1,0,0,"Pacific/Auckland");
+ INSERT INTO "city_table" VALUES(21,"IDS_WCL_BODY_CITYNAME_AUSTIN","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-6",0,1,0,0,"CST6CDT");
+ INSERT INTO "city_table" VALUES(22,"IDS_WCL_BODY_CITYNAME_AZORES","IDS_WCL_BODY_PORTUGAL","GMT-1",0,1,0,0,"Atlantic/Azores");
+ INSERT INTO "city_table" VALUES(23,"IDS_WCL_BODY_CITYNAME_BAGHDAD","IDS_WCL_BODY_IRAQ","GMT+3",0,1,0,0,"Asia/Baghdad");
+ INSERT INTO "city_table" VALUES(24,"IDS_WCL_BODY_CITYNAME_BAKU","IDS_WCL_BODY_AZERBAIJAN","GMT+4",0,1,0,0,"Asia/Baku");
+ INSERT INTO "city_table" VALUES(25,"IDS_WCL_BODY_CITYNAME_BALTIMORE","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-5",0,1,0,0,"EST5EDT");
+ INSERT INTO "city_table" VALUES(26,"IDS_WCL_BODY_CITYNAME_BAMAKO","IDS_WCL_BODY_MALI","GMT+0",0,1,0,0,"Africa/Bamako");
+ INSERT INTO "city_table" VALUES(27,"IDS_WCL_BODY_CITYNAME_BANGKOK","IDS_WCL_BODY_THAILAND","GMT+7",0,1,0,0,"Asia/Bangkok");
+ INSERT INTO "city_table" VALUES(28,"IDS_WCL_BODY_CITYNAME_BANGUI","IDS_WCL_BODY_CENTRAL_AFRICAN_REPUBLIC","GMT+1",0,1,0,0,"Africa/Bangui");
+ INSERT INTO "city_table" VALUES(29,"IDS_WCL_BODY_CITYNAME_BARCELONA","IDS_WCL_BODY_SPAIN","GMT+2",0,1,0,0,"Europe/Madrid");
+ INSERT INTO "city_table" VALUES(30,"IDS_WCL_BODY_CITYNAME_BARI","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(31,"IDS_WCL_BODY_CITYNAME_BASSE_TERRE","IDS_WCL_BODY_GUADELOUPE","GMT-4",0,1,0,0,"America/Guadeloupe");
+ INSERT INTO "city_table" VALUES(32,"IDS_WCL_BODY_CITYNAME_BEIJING","IDS_WCL_BODY_CHINA","GMT+8",0,1,0,0,"Asia/Shanghai");
+ INSERT INTO "city_table" VALUES(33,"IDS_WCL_BODY_CITYNAME_BEIRUT","IDS_WCL_BODY_LEBANON","GMT+2",0,1,0,0,"Asia/Beirut");
+ INSERT INTO "city_table" VALUES(34,"IDS_WCL_BODY_CITYNAME_BELGRADE","IDS_WCL_BODY_SERBIA","GMT+1",0,1,0,0,"Europe/Belgrade");
+ INSERT INTO "city_table" VALUES(35,"IDS_WCL_BODY_CITYNAME_BELIZE_CITY","IDS_WCL_BODY_BELIZE","GMT-6",0,1,0,0,"America/Belize");
+ INSERT INTO "city_table" VALUES(36,"IDS_WCL_BODY_CITYNAME_BERLIN","IDS_WCL_BODY_GERMANY","GMT+1",0,1,0,0,"Europe/Berlin");
+ INSERT INTO "city_table" VALUES(37,"IDS_WCL_BODY_CITYNAME_BERN","IDS_WCL_BODY_SWITZERLAND","GMT+1",0,1,0,0,"Europe/Zurich");
+ INSERT INTO "city_table" VALUES(38,"IDS_WCL_BODY_CITYNAME_BISHKEK","IDS_WCL_BODY_KYRGYZSTAN","GMT+6",0,1,0,0,"Asia/Bishkek");
+ INSERT INTO "city_table" VALUES(39,"IDS_WCL_BODY_CITYNAME_GUINEA_BISSAU","IDS_WCL_BODY_CITYNAME_GUINEA_BISSAU","GMT+0",0,1,0,0,"Africa/Bissau");
+ INSERT INTO "city_table" VALUES(40,"IDS_WCL_BODY_CITYNAME_BOGOTA","IDS_WCL_BODY_COLOMBIA","GMT-5",0,1,0,0,"America/Bogota");
+ INSERT INTO "city_table" VALUES(41,"IDS_WCL_BODY_CITYNAME_BOLOGNA","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(42,"IDS_WCL_BODY_BOSTON","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-5",0,1,0,0,"EST5EDT");
+ INSERT INTO "city_table" VALUES(43,"IDS_WCL_BODY_CITYNAME_BRASILIA","IDS_WCL_BODY_BRAZIL","GMT-3",0,1,0,0,"America/Sao_Paulo");
+ INSERT INTO "city_table" VALUES(44,"IDS_WCL_BODY_CITYNAME_BRATISLAVA","IDS_WCL_BODY_SLOVAKIA","GMT+2",0,1,0,0,"Europe/Bratislava");
+ INSERT INTO "city_table" VALUES(45,"IDS_WCL_BODY_CITYNAME_BRIDGETOWN","IDS_WCL_BODY_BARBADOS","GMT-4",0,1,0,0,"America/Barbados");
+ INSERT INTO "city_table" VALUES(46,"IDS_WCL_BODY_CITYNAME_BRISBANE","IDS_WCL_BODY_AUSTRALIA","GMT+10",0,1,0,0,"Australia/Brisbane");
+ INSERT INTO "city_table" VALUES(47,"IDS_WCL_BODY_CITYNAME_BRUSSELS","IDS_WCL_BODY_BELGIUM","GMT+1",0,1,0,0,"Europe/Brussels");
+ INSERT INTO "city_table" VALUES(48,"IDS_WCL_BODY_CITYNAME_BUCHAREST","IDS_WCL_BODY_ROMANIA","GMT+3",0,1,0,0,"Europe/Bucharest");
+ INSERT INTO "city_table" VALUES(49,"IDS_WCL_BODY_CITYNAME_BUDAPEST","IDS_WCL_BODY_HUNGARY_M_COUNTRY","GMT+1",0,1,0,0,"Europe/Budapest");
+ INSERT INTO "city_table" VALUES(50,"IDS_WCL_BODY_CITYNAME_BUENOSAIRES","IDS_WCL_BODY_ARGENTINA","GMT-3",0,1,0,0,"America/Argentina/Buenos_Aires");
+ INSERT INTO "city_table" VALUES(51,"IDS_WCL_BODY_CITYNAME_CAIRO","IDS_WCL_BODY_EGYPT","GMT+2",0,1,0,0,"Africa/Cairo");
+ INSERT INTO "city_table" VALUES(52,"IDS_WCL_BODY_CITYNAME_CALGARY","IDS_WCL_BODY_CANADA","GMT-7",0,1,0,0,"MST7MDT");
+ INSERT INTO "city_table" VALUES(53,"IDS_WCL_BODY_CITYNAME_CANARY_ISLANDS","IDS_WCL_BODY_SPAIN","GMT+0",0,1,0,0,"Atlantic/Canary");
+ INSERT INTO "city_table" VALUES(54,"IDS_WCL_BODY_CITYNAME_CANBERRA","IDS_WCL_BODY_AUSTRALIA","GMT+10",0,1,0,0,"Australia/Canberra");
+ INSERT INTO "city_table" VALUES(55,"IDS_WCL_BODY_CITYNAME_CANTON","IDS_WCL_BODY_CHINA","GMT+8",0,1,0,0,"Asia/Shanghai");
+ INSERT INTO "city_table" VALUES(56,"IDS_WCL_BODY_CITYNAME_CAPE_TOWN","IDS_WCL_BODY_REPUBLIC_OF_SOUTH_AFRICA","GMT+2",0,1,0,0,"Africa/Johannesburg");
+ INSERT INTO "city_table" VALUES(57,"IDS_WCL_BODY_CITYNAME_CARACAS","IDS_WCL_BODY_VENEZUELA","GMT-4:30",0,1,0,0,"America/Caracas");
+ INSERT INTO "city_table" VALUES(58,"IDS_WCL_BODY_CITYNAME_CARDIFF","IDS_WCL_BODY_WALES_M_COUNTRYNAME","GMT+0",0,1,0,0,"Europe/London");
+ INSERT INTO "city_table" VALUES(59,"IDS_WCL_BODY_CITYNAME_CASABLANCA","IDS_WCL_BODY_MOROCCO","GMT+0",0,1,0,0,"Africa/Casablanca");
+ INSERT INTO "city_table" VALUES(60,"IDS_WCL_BODY_CITYNAME_CATANZARO","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(61,"IDS_WCL_BODY_CITYNAME_CAYENNE","IDS_WCL_BODY_FRENCH_GUIANA","GMT-3",0,1,0,0,"America/Cayenne");
+ INSERT INTO "city_table" VALUES(62,"IDS_WCL_BODY_CITYNAME_CHARLOTTE","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-5",0,1,0,0,"EST5EDT");
+ INSERT INTO "city_table" VALUES(63,"IDS_WCL_BODY_CITYNAME_CHARLOTTE_AMALIE","IDS_WCL_BODY_UNITED_STATES_VIRGIN_ISLANDS_M_COUNTRYNAME","GMT-5:30",0,1,0,0,"America/St_Thomas");
+ INSERT INTO "city_table" VALUES(64,"IDS_WCL_BODY_CITYNAME_CHELYABINSK","IDS_WCL_BODY_RUSSIA","GMT+6",0,1,0,0,"Asia/Yekaterinburg");
+ INSERT INTO "city_table" VALUES(65,"IDS_WCL_BODY_CITYNAME_CHENNAI","IDS_WCL_BODY_INDIA","GMT+5:30",0,1,0,0,"Asia/Kolkata");
+ INSERT INTO "city_table" VALUES(66,"IDS_WCL_BODY_CITYNAME_CHICAGO","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-6",0,1,0,0,"America/Chicago");
+ INSERT INTO "city_table" VALUES(67,"IDS_WCL_BODY_CITYNAME_CHISINAU","IDS_WCL_BODY_MOLDOVA","GMT+2",0,1,0,0,"Europe/Chisinau");
+ INSERT INTO "city_table" VALUES(68,"IDS_WCL_BODY_CITYNAME_CHITA","IDS_WCL_BODY_RUSSIA","GMT+10",0,1,0,0,"Asia/Yakutsk");
+ INSERT INTO "city_table" VALUES(69,"IDS_WCL_BODY_CITYNAME_CLEVELAND","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-5",0,1,0,0,"EST5EDT");
+ INSERT INTO "city_table" VALUES(70,"IDS_WCL_BODY_CITYNAME_COLOMBO","IDS_WCL_BODY_SRI_LANKA","GMT+5:30",0,1,0,0,"Asia/Colombo");
+ INSERT INTO "city_table" VALUES(71,"IDS_WCL_BODY_CITYNAME_COLUMBUS","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-5",0,1,0,0,"EST5EDT");
+ INSERT INTO "city_table" VALUES(72,"IDS_WCL_BODY_CITYNAME_CONAKRY","IDS_WCL_BODY_GUINEA","GMT+1",0,1,0,0,"Africa/Conakry");
+ INSERT INTO "city_table" VALUES(73,"IDS_WCL_BODY_CITYNAME_COPENHAGEN","IDS_WCL_BODY_DENMARK","GMT+1",0,1,0,0,"Europe/Copenhagen");
+ INSERT INTO "city_table" VALUES(74,"IDS_WCL_BODY_CITYNAME_CORK","IDS_WCL_BODY_IRELAND","GMT+0",0,1,0,0,"Europe/Dublin");
+ INSERT INTO "city_table" VALUES(75,"IDS_WCL_BODY_CITYNAME_CROTONE","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(76,"IDS_WCL_BODY_CITYNAME_DAKAR","IDS_WCL_BODY_SENEGAL","GMT+0",0,1,0,0,"Africa/Dakar");
+ INSERT INTO "city_table" VALUES(77,"IDS_WCL_BODY_CITYNAME_DALLAS","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-6",0,1,0,0,"CST6CDT");
+ INSERT INTO "city_table" VALUES(78,"IDS_WCL_BODY_CITYNAME_DAMASCUS","IDS_WCL_BODY_SYRIA","GMT+2",0,1,0,0,"Asia/Damascus");
+ INSERT INTO "city_table" VALUES(79,"IDS_WCL_BODY_CITYNAME_DAR_ES_SALAAM","IDS_WCL_BODY_TANZANIA","GMT+3",0,1,0,0,"Africa/Dar_es_Salaam");
+ INSERT INTO "city_table" VALUES(80,"IDS_WCL_BODY_CITYNAME_DARWIN","IDS_WCL_BODY_AUSTRALIA","GMT+9:30",0,1,0,0,"Australia/Darwin");
+ INSERT INTO "city_table" VALUES(81,"IDS_WCL_BODY_CITYNAME_DELHI","IDS_WCL_BODY_INDIA","GMT+5:30",0,1,0,0,"Asia/Kolkata");
+ INSERT INTO "city_table" VALUES(82,"IDS_WCL_BODY_CITYNAME_DENPASAR","IDS_WCL_BODY_INDONESIA","GMT+8",0,1,0,0,"Asia/Makassar");
+ INSERT INTO "city_table" VALUES(83,"IDS_WCL_BODY_CITYNAME_DENVER","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-7",0,1,0,0,"America/Denver");
+ INSERT INTO "city_table" VALUES(84,"IDS_WCL_BODY_CITYNAME_DETROIT","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-5",0,1,0,0,"America/Detroit");
+ INSERT INTO "city_table" VALUES(85,"IDS_WCL_BODY_CITYNAME_DHAKA","IDS_WCL_BODY_BANGLADESH","GMT+6",0,1,0,0,"Asia/Dhaka");
+ INSERT INTO "city_table" VALUES(86,"IDS_WCL_BODY_CITYNAME_DIEGO_GARCIA","IDS_WCL_BODY_UNITED_KINGDOM","GMT+5",0,1,0,0,"Indian/Chagos");
+ INSERT INTO "city_table" VALUES(87,"IDS_WCL_BODY_CITYNAME_DJIBOUTI","IDS_WCL_BODY_DJIBOUTI","GMT+3",0,1,0,0,"Africa/Djibouti");
+ INSERT INTO "city_table" VALUES(88,"IDS_WCL_BODY_CITYNAME_DOHA","IDS_WCL_BODY_QATAR","GMT+3",0,1,0,0,"Asia/Qatar");
+ INSERT INTO "city_table" VALUES(89,"IDS_WCL_BODY_CITYNAME_DOUALA","IDS_WCL_BODY_CAMEROON","GMT+1",0,1,0,0,"Africa/Douala");
+ INSERT INTO "city_table" VALUES(90,"IDS_WCL_BODY_CITYNAME_DUBAI","IDS_WCL_BODY_UNITED_ARAB_EMIRATES","GMT+4",0,1,0,0,"Asia/Dubai");
+ INSERT INTO "city_table" VALUES(91,"IDS_WCL_BODY_CITYNAME_DUBLIN","IDS_WCL_BODY_IRELAND","GMT+0",0,1,0,0,"Europe/Dublin");
+ INSERT INTO "city_table" VALUES(92,"IDS_WCL_BODY_CITYNAME_DUSHANBE","IDS_WCL_BODY_TAJIKISTAN","GMT+5",0,1,0,0,"Asia/Dushanbe");
+ INSERT INTO "city_table" VALUES(93,"IDS_WCL_BODY_CITYNAME_EASTER_ISLAND","IDS_WCL_BODY_CHILE","GMT-6",0,1,0,0,"Pacific/Easter");
+ INSERT INTO "city_table" VALUES(94,"IDS_WCL_BODY_CITYNAME_EDINBURGH","IDS_WCL_BODY_SCOTLAND_M_COUNTRYNAME","GMT+0",0,1,0,0,"Europe/London");
+ INSERT INTO "city_table" VALUES(95,"IDS_WCL_BODY_CITYNAME_EL_PASO","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-7",0,1,0,0,"MST7MDT");
+ INSERT INTO "city_table" VALUES(96,"IDS_WCL_BODY_CITYNAME_FLORENCE","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(97,"IDS_WCL_BODY_CITYNAME_FORT_DE_FRANCE","IDS_WCL_BODY_MARTINIQUE","GMT-4",0,1,0,0,"America/Martinique");
+ INSERT INTO "city_table" VALUES(98,"IDS_WCL_BODY_CITYNAME_FREETOWN","IDS_WCL_BODY_SIERRA_LEONE","GMT+0",0,1,0,0,"Africa/Freetown");
+ INSERT INTO "city_table" VALUES(99,"IDS_WCL_BODY_CITYNAME_GABORONE","IDS_WCL_BODY_BOTSWANA","GMT+2",0,1,0,0,"Africa/Gaborone");
+ INSERT INTO "city_table" VALUES(100,"IDS_WCL_BODY_CITYNAME_GALAPAGOS_ISLANDS","IDS_WCL_BODY_ECUADOR","GMT-7",0,1,0,0,"Pacific/Galapagos");
+ INSERT INTO "city_table" VALUES(101,"IDS_WCL_BODY_CITYNAME_GENEVA","IDS_WCL_BODY_SWITZERLAND","GMT+1",0,1,0,0,"Europe/Paris");
+ INSERT INTO "city_table" VALUES(102,"IDS_WCL_BODY_CITYNAME_GENOA","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(103,"IDS_WCL_BODY_CITYNAME_GEORGETOWN","IDS_WCL_BODY_GUYANA","GMT-4",0,1,0,0,"America/Guyana");
+ INSERT INTO "city_table" VALUES(104,"IDS_WCL_BODY_CITYNAME_GRYTVIKEN","IDS_WCL_BODY_CITYNAME_SOUTH_GEORGIA","GMT-2",0,1,0,0,"Atlantic/South_Georgia");
+ INSERT INTO "city_table" VALUES(105,"IDS_WCL_BODY_CITYNAME_GUAM","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT+10",0,1,0,0,"Pacific/Guam");
+ INSERT INTO "city_table" VALUES(106,"IDS_WCL_BODY_GUATEMALA_CITY","IDS_WCL_BODY_GUATEMALA","GMT-6",0,1,0,0,"America/Guatemala");
+ INSERT INTO "city_table" VALUES(107,"IDS_WCL_BODY_CITYNAME_GUSTAVIA","IDS_WCL_BODY_CITYNAME_SAINT_BARTHELEMY","GMT-4",0,1,0,0,"America/Antigua");
+ INSERT INTO "city_table" VALUES(108,"IDS_WCL_BODY_CITYNAME_HALIFAX","IDS_WCL_BODY_CANADA","GMT-4",0,1,0,0,"America/Halifax");
+ INSERT INTO "city_table" VALUES(109,"IDS_WCL_BODY_CITYNAME_HAMBURG","IDS_WCL_BODY_GERMANY","GMT+1",0,1,0,0,"Europe/Berlin");
+ INSERT INTO "city_table" VALUES(110,"IDS_WCL_BODY_CITYNAME_HANOI","IDS_WCL_BODY_VIETNAM","GMT+7",0,1,0,0,"Asia/Ho_Chi_Minh");
+ INSERT INTO "city_table" VALUES(111,"IDS_WCL_BODY_CITYNAME_HARARE","IDS_WCL_BODY_ZIMBABWE","GMT+2",0,1,0,0,"Africa/Harare");
+ INSERT INTO "city_table" VALUES(112,"IDS_WCL_BODY_CITYNAME_HAVANA","IDS_WCL_BODY_CUBA","GMT-5",0,1,0,0,"America/Havana");
+ INSERT INTO "city_table" VALUES(113,"IDS_WCL_BODY_CITYNAME_HAWAII","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-10",0,1,0,0,"Pacific/Honolulu");
+ INSERT INTO "city_table" VALUES(114,"IDS_WCL_BODY_CITYNAME_HELSINKI","IDS_WCL_BODY_FINLAND","GMT+2",0,1,0,0,"Europe/Helsinki");
+ INSERT INTO "city_table" VALUES(115,"IDS_WCL_BODY_CITYNAME_HOBART","IDS_WCL_BODY_AUSTRALIA","GMT+10",0,1,0,0,"Australia/Hobart");
+ INSERT INTO "city_table" VALUES(116,"IDS_WCL_BODY_CITYNAME_HONGKONG","IDS_WCL_BODY_CHINA","GMT+8",0,1,0,0,"Asia/Hong_Kong");
+ INSERT INTO "city_table" VALUES(117,"IDS_WCL_BODY_CITYNAME_HONOLULU","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-10",0,1,0,0,"Pacific/Honolulu");
+ INSERT INTO "city_table" VALUES(118,"IDS_WCL_BODY_CITYNAME_HOUSTON","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-6",0,1,0,0,"CST6CDT");
+ INSERT INTO "city_table" VALUES(119,"IDS_WCL_BODY_CITYNAME_HOVD","IDS_WCL_BODY_MONGOLIA","GMT+8",0,1,0,0,"Asia/Hovd");
+ INSERT INTO "city_table" VALUES(120,"IDS_WCL_BODY_CITYNAME_INDIANAPOLIS","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-5",0,1,0,0,"America/Indiana/Indianapolis");
+ INSERT INTO "city_table" VALUES(121,"IDS_WCL_BODY_CITYNAME_IRKUTSK","IDS_WCL_BODY_RUSSIA","GMT+9",0,1,0,0,"Asia/Irkutsk");
+ INSERT INTO "city_table" VALUES(122,"IDS_WCL_BODY_CITYNAME_ISLAMABAD","IDS_WCL_BODY_PAKISTAN","GMT+5",0,1,0,0,"Asia/Karachi");
+ INSERT INTO "city_table" VALUES(123,"IDS_WCL_BODY_CITYNAME_ISTANBUL","IDS_WCL_BODY_TURKEY","GMT+2",0,1,0,0,"Europe/Istanbul");
+ INSERT INTO "city_table" VALUES(124,"IDS_WCL_BODY_CITYNAME_IZHEVSK","IDS_WCL_BODY_RUSSIA","GMT+4",0,1,0,0,"Europe/Moscow");
+ INSERT INTO "city_table" VALUES(125,"IDS_WCL_BODY_CITYNAME_JAKARTA","IDS_WCL_BODY_INDONESIA","GMT+7",0,1,0,0,"Asia/Jakarta");
+ INSERT INTO "city_table" VALUES(126,"IDS_WCL_BODY_CITYNAME_JEDDAH","IDS_WCL_BODY_SAUDI_ARABIA","GMT+3",0,1,0,0,"Asia/Riyadh");
+ INSERT INTO "city_table" VALUES(127,"IDS_WCL_BODY_CITYNAME_JERUSALEM","IDS_WCL_BODY_ISRAEL","GMT+2",0,1,0,0,"Asia/Jerusalem");
+ INSERT INTO "city_table" VALUES(128,"IDS_WCL_BODY_CITYNAME_JOHANNESBURG","IDS_WCL_BODY_REPUBLIC_OF_SOUTH_AFRICA","GMT+2",0,1,0,0,"Africa/Johannesburg");
+ INSERT INTO "city_table" VALUES(129,"IDS_WCL_BODY_CITYNAME_KABUL","IDS_WCL_BODY_AFGHANISTAN","GMT+4:30",0,1,0,0,"Asia/Kabul");
+ INSERT INTO "city_table" VALUES(130,"IDS_WCL_BODY_CITYNAME_KALININGRAD","IDS_WCL_BODY_RUSSIA","GMT+3",0,1,0,0,"Europe/Kaliningrad");
+ INSERT INTO "city_table" VALUES(131,"IDS_WCL_BODY_CITYNAME_KAMCHATKA","IDS_WCL_BODY_RUSSIA","GMT+12",0,1,0,0,"Asia/Kamchatka");
+ INSERT INTO "city_table" VALUES(132,"IDS_WCL_BODY_CITYNAME_KAMPALA","IDS_WCL_BODY_UGANDA","GMT+3",0,1,0,0,"Africa/Kampala");
+ INSERT INTO "city_table" VALUES(133,"IDS_WCL_BODY_CITYNAME_KARACHI","IDS_WCL_BODY_PAKISTAN","GMT+5",0,1,0,0,"Asia/Karachi");
+ INSERT INTO "city_table" VALUES(134,"IDS_WCL_BODY_CITYNAME_KATHMANDU","IDS_WCL_BODY_NEPAL","GMT+5:45",0,1,0,0,"Asia/Kathmandu");
+ INSERT INTO "city_table" VALUES(135,"IDS_WCL_BODY_CITYNAME_KHABAROVSK","IDS_WCL_BODY_RUSSIA","GMT+11",0,1,0,0,"Asia/Vladivostok");
+ INSERT INTO "city_table" VALUES(136,"IDS_WCL_BODY_CITYNAME_KHARKIV","IDS_WCL_BODY_UKRAINE","GMT+2",0,1,0,0,"Europe/Kiev");
+ INSERT INTO "city_table" VALUES(137,"IDS_WCL_BODY_CITYNAME_KHARTOUM","IDS_WCL_BODY_SUDAN","GMT+3",0,1,0,0,"Africa/Khartoum");
+ INSERT INTO "city_table" VALUES(138,"IDS_WCL_BODY_CITYNAME_KIEV","IDS_WCL_BODY_UKRAINE","GMT+2",0,1,0,0,"Europe/Kiev");
+ INSERT INTO "city_table" VALUES(139,"IDS_WCL_BODY_CITYNAME_KINGSTON","IDS_WCL_BODY_CANADA","GMT-5",0,1,0,0,"America/Toronto");
+ INSERT INTO "city_table" VALUES(140,"IDS_WCL_BODY_CITYNAME_KINGSTON","IDS_WCL_BODY_JAMAICA","GMT-5",0,1,0,0,"America/Jamaica");
+ INSERT INTO "city_table" VALUES(141,"IDS_WCL_BODY_CITYNAME_KINSHASA","IDS_WCL_BODY_DEMOCRATIC_REPUBLIC_OF_THE_CONGO","GMT+1",0,1,0,0,"Africa/Kinshasa");
+ INSERT INTO "city_table" VALUES(142,"IDS_WCL_BODY_CITYNAME_KOLKATA","IDS_WCL_BODY_INDIA","GMT+5:30",0,1,0,0,"Asia/Kolkata");
+ INSERT INTO "city_table" VALUES(143,"IDS_WCL_BODY_CITYNAME_KRASNOYARSK","IDS_WCL_BODY_RUSSIA","GMT+8",0,1,0,0,"Asia/Krasnoyarsk");
+ INSERT INTO "city_table" VALUES(144,"IDS_WCL_BODY_CITYNAME_KUALA_LUMPUR","IDS_WCL_BODY_MALAYSIA","GMT+8",0,1,0,0,"Asia/Kuala_Lumpur");
+ INSERT INTO "city_table" VALUES(145,"IDS_WCL_BODY_KUWAIT","IDS_WCL_BODY_KUWAIT","GMT+3",0,1,0,0,"Asia/Kuwait");
+ INSERT INTO "city_table" VALUES(146,"IDS_WCL_BODY_CITYNAME_KIEV","IDS_WCL_BODY_UKRAINE","GMT+2",0,1,0,0,"Europe/Kiev");
+ INSERT INTO "city_table" VALUES(147,"IDS_WCL_BODY_CITYNAME_LOS_ANGELES","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-7",0,1,0,0,"America/Los_Angeles");
+ INSERT INTO "city_table" VALUES(148,"IDS_WCL_BODY_CITYNAME_LA_PAZ","IDS_WCL_BODY_BOLIVIA","GMT-4",0,1,0,0,"America/La_Paz");
+ INSERT INTO "city_table" VALUES(149,"IDS_WCL_BODY_CITYNAME_LAGOS","IDS_WCL_BODY_NIGERIA","GMT+1",0,1,0,0,"Africa/Lagos");
+ INSERT INTO "city_table" VALUES(150,"IDS_WCL_BODY_CITYNAME_LAS_VEGAS","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-8",0,1,0,0,"PST8PDT");
+ INSERT INTO "city_table" VALUES(151,"IDS_WCL_BODY_CITYNAME_LIMA","IDS_WCL_BODY_PERU","GMT-5",0,1,0,0,"America/Lima");
+ INSERT INTO "city_table" VALUES(152,"IDS_WCL_BODY_CITYNAME_LISBON","IDS_WCL_BODY_PORTUGAL","GMT+0",0,1,0,0,"Europe/Lisbon");
+ INSERT INTO "city_table" VALUES(153,"IDS_WCL_BODY_CITYNAME_LJUBLJANA","IDS_WCL_BODY_SLOVAKIA","GMT+1",0,1,0,0,"Europe/Ljubljana");
+ INSERT INTO "city_table" VALUES(154,"IDS_WCL_BODY_CITYNAME_LONDON","IDS_WCL_BODY_UNITED_KINGDOM","GMT+0",0,1,0,0,"Europe/London");
+ INSERT INTO "city_table" VALUES(155,"IDS_WCL_BODY_CITYNAME_LONGHUA","IDS_WCL_BODY_CHINA","GMT+8",0,1,0,0,"Asia/Shanghai");
+ INSERT INTO "city_table" VALUES(156,"IDS_WCL_BODY_CITYNAME_LOUISVILLE","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-5",0,1,0,0,"America/Kentucky/Louisville");
+ INSERT INTO "city_table" VALUES(157,"IDS_WCL_BODY_CITYNAME_LUANDA","IDS_WCL_BODY_ANGOLA","GMT+1",0,1,0,0,"Africa/Luanda");
+ INSERT INTO "city_table" VALUES(158,"IDS_WCL_BODY_CITYNAME_LUBUMBASHI","IDS_WCL_BODY_DEMOCRATIC_REPUBLIC_OF_THE_CONGO","GMT+2",0,1,0,0,"Africa/Lubumbashi");
+ INSERT INTO "city_table" VALUES(159,"IDS_WCL_BODY_CITYNAME_LUSAKA","IDS_WCL_BODY_ZAMBIA","GMT+2",0,1,0,0,"Africa/Lusaka");
+ INSERT INTO "city_table" VALUES(160,"IDS_WCL_BODY_LUXEMBOURG","IDS_WCL_BODY_LUXEMBOURG","GMT+1",0,1,0,0,"Europe/Luxembourg");
+ INSERT INTO "city_table" VALUES(161,"IDS_WCL_BODY_CITYNAME_LVIV","IDS_WCL_BODY_UKRAINE","GMT+2",0,1,0,0,"Europe/Kiev");
+ INSERT INTO "city_table" VALUES(162,"IDS_WCL_BODY_CITYNAME_MACAU","IDS_WCL_BODY_CHINA","GMT+8",0,1,0,0,"Asia/Macau");
+ INSERT INTO "city_table" VALUES(163,"IDS_WCL_BODY_CITYNAME_MADRID","IDS_WCL_BODY_SPAIN","GMT+2",0,1,0,0,"Europe/Madrid");
+ INSERT INTO "city_table" VALUES(164,"IDS_WCL_BODY_CITYNAME_MAGADAN","IDS_WCL_BODY_RUSSIA","GMT+12",0,1,0,0,"Asia/Magadan");
+ INSERT INTO "city_table" VALUES(165,"IDS_WCL_BODY_CITYNAME_MALABO","IDS_WCL_BODY_CITYNAME_EQUAORIAL_GUINEA","GMT+1",0,1,0,0,"Africa/Malabo");
+ INSERT INTO "city_table" VALUES(166,"IDS_WCL_BODY_CITYNAME_MALE","IDS_WCL_BODY_MALDIVES","GMT+5",0,1,0,0,"Indian/Maldives");
+ INSERT INTO "city_table" VALUES(167,"IDS_WCL_BODY_CITYNAME_MANAGUA","IDS_WCL_BODY_NICARAGUA","GMT-6",0,1,0,0,"America/Managua");
+ INSERT INTO "city_table" VALUES(168,"IDS_WCL_BODY_CITYNAME_MANAMA","IDS_WCL_BODY_BAHRAIN","GMT+3",0,1,0,0,"Asia/Bahrain");
+ INSERT INTO "city_table" VALUES(169,"IDS_WCL_BODY_CITYNAME_MANILA","IDS_WCL_BODY_PHILIPPINES","GMT+8",0,1,0,0,"Asia/Manila");
+ INSERT INTO "city_table" VALUES(170,"IDS_WCL_BODY_CITYNAME_MAPUTO","IDS_WCL_BODY_MOZAMBIQUE","GMT+2",0,1,0,0,"Africa/Maputo");
+ INSERT INTO "city_table" VALUES(171,"IDS_WCL_BODY_CITYNAME_MARIGOT","IDS_WCL_BODY_CITYNAME_SAINT_MARTIN","GMT-4",0,1,0,0,"America/Marigot");
+ INSERT INTO "city_table" VALUES(172,"IDS_WCL_BODY_CITYNAME_MAZATLAN","IDS_WCL_BODY_MEXICO","GMT-7",0,1,0,0,"America/Mazatlan");
+ INSERT INTO "city_table" VALUES(173,"IDS_WCL_BODY_MECCA","IDS_WCL_BODY_SAUDI_ARABIA","GMT+3",0,1,0,0,"Asia/Riyadh");
+ INSERT INTO "city_table" VALUES(174,"IDS_WCL_BODY_CITYNAME_MELBOURNE","IDS_WCL_BODY_AUSTRALIA","GMT+10",0,1,0,0,"Australia/Melbourne");
+ INSERT INTO "city_table" VALUES(175,"IDS_WCL_BODY_CITYNAME_MEMPHIS","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-6",0,1,0,0,"CST6CDT");
+ INSERT INTO "city_table" VALUES(176,"IDS_WCL_BODY_CITYNAME_MESSINA","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(177,"IDS_WCL_BODY_CITYNAME_MEXICO_CITY","IDS_WCL_BODY_MEXICO","GMT-6",0,1,0,0,"America/Mexico_City");
+ INSERT INTO "city_table" VALUES(178,"IDS_WCL_BODY_CITYNAME_MIAMI","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-5",0,1,0,0,"EST5EDT");
+ INSERT INTO "city_table" VALUES(179,"IDS_WCL_BODY_CITYNAME_MID_ATLANTIC","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-2",0,1,0,0,"America/New_York");
+ INSERT INTO "city_table" VALUES(180,"IDS_WCL_BODY_CITYNAME_MIDWAY_ATOLL","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-11",0,1,0,0,"Pacific/Midway");
+ INSERT INTO "city_table" VALUES(181,"IDS_WCL_BODY_CITYNAME_MILAN","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(182,"IDS_WCL_BODY_CITYNAME_MILWAUKEE","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-6",0,1,0,0,"CST6CDT");
+ INSERT INTO "city_table" VALUES(183,"IDS_WCL_BODY_CITYNAME_MINSK","IDS_WCL_BODY_BELARUS","GMT+2",0,1,0,0,"Europe/Minsk");
+ INSERT INTO "city_table" VALUES(184,"IDS_WCL_BODY_CITYNAME_MOGADISHU","IDS_WCL_BODY_SOMALIA","GMT+2",0,1,0,0,"Africa/Mogadishu");
+ INSERT INTO "city_table" VALUES(185,"IDS_WCL_BODY_CITYNAME_MONROVIA","IDS_WCL_BODY_LIBERIA","GMT+0",0,1,0,0,"Africa/Monrovia");
+ INSERT INTO "city_table" VALUES(186,"IDS_WCL_BODY_CITYNAME_MONTEVIDEO","IDS_WCL_BODY_URUGUAY","GMT-3",0,1,0,0,"America/Montevideo");
+ INSERT INTO "city_table" VALUES(187,"IDS_WCL_BODY_CITYNAME_MONTREAL","IDS_WCL_BODY_CANADA","GMT-5",0,1,0,0,"America/Montreal");
+ INSERT INTO "city_table" VALUES(188,"IDS_WCL_BODY_CITYNAME_MOSCOW","IDS_WCL_BODY_RUSSIA","GMT+4",0,1,0,0,"Europe/Moscow");
+ INSERT INTO "city_table" VALUES(189,"IDS_WCL_BODY_CITYNAME_MUMBAI","IDS_WCL_BODY_INDIA","GMT+5:30",0,1,0,0,"Asia/Kolkata");
+ INSERT INTO "city_table" VALUES(190,"IDS_WCL_BODY_CITYNAME_MUNICH","IDS_WCL_BODY_GERMANY","GMT+1",0,1,0,0,"Europe/Berlin");
+ INSERT INTO "city_table" VALUES(191,"IDS_WCL_BODY_CITYNAME_MUSCAT","IDS_WCL_BODY_OMAN","GMT+4",0,1,0,0,"Asia/Muscat");
+ INSERT INTO "city_table" VALUES(192,"IDS_WCL_BODY_CITYNAME_NAIROBI","IDS_WCL_BODY_KENYA","GMT+3",0,1,0,0,"Africa/Nairobi");
+ INSERT INTO "city_table" VALUES(193,"IDS_WCL_BODY_CITYNAME_NAPLES","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(194,"IDS_WCL_BODY_CITYNAME_NATERS","IDS_WCL_BODY_SWITZERLAND","GMT+1",0,1,0,0,"Europe/Zurich");
+ INSERT INTO "city_table" VALUES(195,"IDS_WCL_BODY_CITYNAME_NDJAMENA","IDS_WCL_BODY_CHAD","GMT+1",0,1,0,0,"Africa/Ndjamena");
+ INSERT INTO "city_table" VALUES(196,"IDS_WCL_BODY_CITYNAME_NEWDELHI","IDS_WCL_BODY_INDIA","GMT+5:30",0,1,0,0,"Asia/Kolkata");
+ INSERT INTO "city_table" VALUES(197,"IDS_WCL_BODY_CITYNAME_NEWYORK","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-4",0,1,0,0,"America/New_York");
+ INSERT INTO "city_table" VALUES(198,"IDS_WCL_BODY_CITYNAME_NEWFOUNDLAND","IDS_WCL_BODY_CANADA","GMT-3:30",0,1,0,0,"America/St_Johns");
+ INSERT INTO "city_table" VALUES(199,"IDS_WCL_BODY_CITYNAME_NIAMEY","IDS_WCL_BODY_NIGER","GMT+1",0,1,0,0,"Africa/Niamey");
+ INSERT INTO "city_table" VALUES(200,"IDS_WCL_BODY_CITYNAME_NOUAKCHOTT","IDS_WCL_BODY_MAURITANIA","GMT+1",0,1,0,0,"Africa/Nouakchott");
+ INSERT INTO "city_table" VALUES(201,"IDS_WCL_BODY_CITYNAME_NOUMEA","IDS_WCL_BODY_NEW_CALEDONIA","GMT+11",0,1,0,0,"Pacific/Noumea");
+ INSERT INTO "city_table" VALUES(202,"IDS_WCL_BODY_CITYNAME_NOVOKUZNETSK","IDS_WCL_BODY_RUSSIA","GMT+7",0,1,0,0,"Asia/Novokuznetsk");
+ INSERT INTO "city_table" VALUES(203,"IDS_WCL_BODY_CITYNAME_NOVOSIBIRSK","IDS_WCL_BODY_RUSSIA","GMT+7",0,1,0,0,"Asia/Novosibirsk");
+ INSERT INTO "city_table" VALUES(204,"IDS_WCL_BODY_CITYNAME_NUKUALOFA","IDS_WCL_BODY_TONGA","GMT+13",0,1,0,0,"Pacific/Tongatapu");
+ INSERT INTO "city_table" VALUES(205,"IDS_WCL_BODY_CITYNAME_NUUK","IDS_WCL_BODY_GREENLAND_M_COUNTRYNAME","GMT-3",0,1,0,0,"America/Godthab");
+ INSERT INTO "city_table" VALUES(206,"IDS_WCL_BODY_CITYNAME_OMSK","IDS_WCL_BODY_RUSSIA","GMT+7",0,1,0,0,"Asia/Omsk");
+ INSERT INTO "city_table" VALUES(207,"IDS_WCL_BODY_CITYNAME_OSAKA","IDS_WCL_BODY_JAPAN","GMT+9",0,1,0,0,"Asia/Tokyo");
+ INSERT INTO "city_table" VALUES(208,"IDS_WCL_BODY_CITYNAME_OTTAWA","IDS_WCL_BODY_CANADA","GMT-5",0,1,0,0,"EST5EDT");
+ INSERT INTO "city_table" VALUES(209,"IDS_WCL_BODY_CITYNAME_OUAGADOUGOU","IDS_WCL_BODY_BURKINA_FASO","GMT+0",0,1,0,0,"Africa/Ouagadougou");
+ INSERT INTO "city_table" VALUES(210,"IDS_WCL_BODY_CITYNAME_PAGO_PAGO","IDS_WCL_BODY_INDEPENDENT_STATE_OF_SAMOA","GMT-11",0,1,0,0,"Pacific/Pago_Pago");
+ INSERT INTO "city_table" VALUES(211,"IDS_WCL_BODY_CITYNAME_PALERMO","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(212,"IDS_WCL_BODY_PANAMA_CITY","IDS_WCL_BODY_PANAMA","GMT-6",0,1,0,0,"America/Panama");
+ INSERT INTO "city_table" VALUES(213,"IDS_WCL_BODY_CITYNAME_PARAMARIBO","IDS_WCL_BODY_SURINAME","GMT-3",0,1,0,0,"America/Paramaribo");
+ INSERT INTO "city_table" VALUES(214,"IDS_WCL_BODY_CITYNAME_PARIS","IDS_WCL_BODY_FRANCE","GMT+1",0,1,0,0,"Europe/Paris");
+ INSERT INTO "city_table" VALUES(215,"IDS_WCL_BODY_CITYNAME_PERM","IDS_WCL_BODY_RUSSIA","GMT+6",0,1,0,0,"Asia/Yekaterinburg");
+ INSERT INTO "city_table" VALUES(216,"IDS_WCL_BODY_CITYNAME_PERTH","IDS_WCL_BODY_AUSTRALIA","GMT+8",0,1,0,0,"Australia/Perth");
+ INSERT INTO "city_table" VALUES(217,"IDS_WCL_BODY_CITYNAME_PETROPAVLOVSK_KAMCHATSKIY","IDS_WCL_BODY_RUSSIA","GMT+12",0,1,0,0,"Asia/Kamchatka");
+ INSERT INTO "city_table" VALUES(218,"IDS_WCL_BODY_CITYNAME_PHILADELPHIA","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-5",0,1,0,0,"EST5EDT");
+ INSERT INTO "city_table" VALUES(219,"IDS_WCL_BODY_CITYNAME_PHNOM_PENH","IDS_WCL_BODY_CAMBODIA","GMT-5",0,1,0,0,"Asia/Phnom_Penh");
+ INSERT INTO "city_table" VALUES(220,"IDS_WCL_BODY_CITYNAME_PHOENIX","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-7",0,1,0,0,"America/Phoenix");
+ INSERT INTO "city_table" VALUES(221,"IDS_WCL_BODY_CITYNAME_PODGORICA","IDS_WCL_BODY_MONTENEGRO","GMT+1",0,1,0,0,"Europe/Podgorica");
+ INSERT INTO "city_table" VALUES(222,"IDS_WCL_BODY_CITYNAME_PONTA_DELGADA","IDS_WCL_BODY_PORTUGAL","GMT-1",0,1,0,0,"Atlantic/Azores");
+ INSERT INTO "city_table" VALUES(223,"IDS_WCL_BODY_CITYNAME_PORT_LOUIS","IDS_WCL_BODY_MAURITIUS","GMT+4",0,1,0,0,"Indian/Mauritius");
+ INSERT INTO "city_table" VALUES(224,"IDS_WCL_BODY_CITYNAME_PORT_AU_PRINCE","IDS_WCL_BODY_HAITI","GMT-5",0,1,0,0,"America/Port-au-Prince");
+ INSERT INTO "city_table" VALUES(225,"IDS_WCL_BODY_CITYNAME_PORTLAND","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-8",0,1,0,0,"PST8PDT");
+ INSERT INTO "city_table" VALUES(226,"IDS_WCL_BODY_CITYNAME_PRAGUE","IDS_WCL_BODY_CZECH_REPUBLIC","GMT+1",0,1,0,0,"Europe/Prague");
+ INSERT INTO "city_table" VALUES(227,"IDS_WCL_BODY_CITYNAME_PYONGYANG","IDS_WCL_BODY_NORTH_KOREA","GMT+9",0,1,0,0,"Asia/Pyongyang");
+ INSERT INTO "city_table" VALUES(228,"IDS_WCL_BODY_CITYNAME_QUITO","IDS_WCL_BODY_ECUADOR","GMT-5",0,1,0,0,"America/Guayaquil");
+ INSERT INTO "city_table" VALUES(229,"IDS_WCL_BODY_CITYNAME_RABAT","IDS_WCL_BODY_MOROCCO","GMT+0",0,1,0,0,"Africa/Casablanca");
+ INSERT INTO "city_table" VALUES(230,"IDS_WCL_BODY_CITYNAME_YANGON","IDS_WCL_BODY_BURMA","GMT+6:30",0,1,0,0,"Asia/Rangoon");
+ INSERT INTO "city_table" VALUES(231,"IDS_WCL_BODY_CITYNAME_RECIFE","IDS_WCL_BODY_BRAZIL","GMT-3",0,1,0,0,"America/Recife");
+ INSERT INTO "city_table" VALUES(232,"IDS_WCL_BODY_CITYNAME_REGINA","IDS_WCL_BODY_CANADA","GMT-6",0,1,0,0,"America/Regina");
+ INSERT INTO "city_table" VALUES(233,"IDS_WCL_BODY_CITYNAME_REYKJAVIK","IDS_WCL_BODY_ICELAND","GMT+0",0,1,0,0,"Atlantic/Reykjavik");
+ INSERT INTO "city_table" VALUES(234,"IDS_WCL_BODY_CITYNAME_RIGA","IDS_WCL_BODY_LATVIA","GMT+2",0,1,0,0,"Europe/Riga");
+ INSERT INTO "city_table" VALUES(235,"IDS_WCL_BODY_CITYNAME_RIO_DE_JANEIRO","IDS_WCL_BODY_BRAZIL","GMT-2",0,1,0,0,"America/Sao_Paulo");
+ INSERT INTO "city_table" VALUES(236,"IDS_WCL_BODY_CITYNAME_RIYADH","IDS_WCL_BODY_SAUDI_ARABIA","GMT+3",0,1,0,0,"Asia/Riyadh");
+ INSERT INTO "city_table" VALUES(237,"IDS_WCL_BODY_CITYNAME_ROME","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(238,"IDS_WCL_BODY_CITYNAME_SAINT_DENIS","IDS_WCL_BODY_REUNION_ISLAND_M_COUNTRYNAME","GMT+4",0,1,0,0,"Indian/Reunion");
+ INSERT INTO "city_table" VALUES(239,"IDS_WCL_BODY_CITYNAME_SAMARA","IDS_WCL_BODY_RUSSIA","GMT+4",0,1,0,0,"Europe/Samara");
+ INSERT INTO "city_table" VALUES(240,"IDS_WCL_BODY_CITYNAME_SAN_ANTONIO","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-6",0,1,0,0,"CST6CDT");
+ INSERT INTO "city_table" VALUES(241,"IDS_WCL_BODY_CITYNAME_SAN_DIEGO","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-8",0,1,0,0,"PST8PDT");
+ INSERT INTO "city_table" VALUES(242,"IDS_WCL_BODY_CITYNAME_SAN_FRANCISCO","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-8",0,1,0,0,"America/Los_Angeles");
+ INSERT INTO "city_table" VALUES(243,"IDS_WCL_BODY_SAN_JOSE","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-8",0,1,0,0,"PST8PDT");
+ INSERT INTO "city_table" VALUES(244,"IDS_WCL_BODY_SAN_JOSE","IDS_WCL_BODY_COSTA_RICA","GMT-6",0,1,0,0,"America/Costa_Rica");
+ INSERT INTO "city_table" VALUES(245,"IDS_WCL_BODY_CITYNAME_SAN_JUAN","IDS_WCL_BODY_PUERTO_RICO","GMT-4",0,1,0,0,"America/Puerto_Rico");
+ INSERT INTO "city_table" VALUES(246,"IDS_WCL_BODY_CITYNAME_SAN_MARINO","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/San_Marino");
+ INSERT INTO "city_table" VALUES(247,"IDS_WCL_BODY_CITYNAME_SAN_SALVADOR","IDS_WCL_BODY_EL_SALVADOR","GMT-6",0,1,0,0,"America/El_Salvador");
+ INSERT INTO "city_table" VALUES(248,"IDS_WCL_BODY_CITYNAME_SANAA","IDS_WCL_BODY_YEMEN","GMT+3",0,1,0,0,"Asia/Aden");
+ INSERT INTO "city_table" VALUES(249,"IDS_WCL_BODY_CITYNAME_SANTIAGO","IDS_WCL_BODY_CHILE","GMT-4",0,1,0,0,"America/Santiago");
+ INSERT INTO "city_table" VALUES(250,"IDS_WCL_BODY_CITYNAME_SANTO_DOMINGO","IDS_WCL_BODY_DOMINICAN_REPUBLIC","GMT-4",0,1,0,0,"America/Santo_Domingo");
+ INSERT INTO "city_table" VALUES(251,"IDS_WCL_BODY_CITYNAME_SAO_PAULO","IDS_WCL_BODY_BRAZIL","GMT-2",0,1,0,0,"America/Sao_Paulo");
+ INSERT INTO "city_table" VALUES(252,"IDS_WCL_BODY_CITYNAME_SEATTLE","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-8",0,1,0,0,"PST8PDT");
+ INSERT INTO "city_table" VALUES(253,"IDS_WCL_BODY_CITYNAME_SEOUL","IDS_WCL_BODY_REPUBLIC_OF_KOREA","GMT+9",0,1,1,0,"Asia/Seoul");
+ INSERT INTO "city_table" VALUES(254,"IDS_WCL_BODY_CITYNAME_SHANGHAI","IDS_WCL_BODY_CHINA","GMT+8",0,1,0,0,"Asia/Shanghai");
+ INSERT INTO "city_table" VALUES(255,"IDS_WCL_BODY_SHENZHEN","IDS_WCL_BODY_CHINA","GMT+8",0,1,0,0,"Asia/Shanghai");
+ INSERT INTO "city_table" VALUES(256,"IDS_WCL_BODY_CITYNAME_SINGAPORE","IDS_WCL_BODY_REPUBLIC_OF_SINGAPORE_M_COUNTRY","GMT+8",0,1,0,0,"Asia/Singapore");
+ INSERT INTO "city_table" VALUES(257,"IDS_WCL_BODY_CITYNAME_SKOPJE","IDS_WCL_BODY_MACEDONIA","GMT+1",0,1,0,0,"Europe/Skopje");
+ INSERT INTO "city_table" VALUES(258,"IDS_WCL_BODY_CITYNAME_SOFIA","IDS_WCL_BODY_BULGARIA","GMT+3",0,1,0,0,"Europe/Sofia");
+ INSERT INTO "city_table" VALUES(259,"IDS_WCL_BODY_CITYNAME_ST_JOHNS","IDS_WCL_BODY_ANTIGUA_AND_BARBUDA","GMT-4",0,1,0,0,"America/Antigua");
+ INSERT INTO "city_table" VALUES(260,"IDS_WCL_BODY_CITYNAME_ST_JOHNS","IDS_WCL_BODY_CANADA","GMT-3:30",0,1,0,0,"America/St_Johns");
+ INSERT INTO "city_table" VALUES(261,"IDS_WCL_BODY_CITYNAME_ST_PETERSBURG","IDS_WCL_BODY_RUSSIA","GMT+4",0,1,0,0,"Europe/Moscow");
+ INSERT INTO "city_table" VALUES(262,"IDS_WCL_BODY_CITYNAME_STOCKHOLM","IDS_WCL_BODY_SWEDEN","GMT+2",0,1,0,0,"Europe/Stockholm");
+ INSERT INTO "city_table" VALUES(263,"IDS_WCL_BODY_CITYNAME_SUVA","IDS_WCL_BODY_FIJI_M_COUNTRYNAME","GMT+12",0,1,0,0,"Pacific/Fiji");
+ INSERT INTO "city_table" VALUES(264,"IDS_WCL_BODY_CITYNAME_SYDNEY","IDS_WCL_BODY_AUSTRALIA","GMT+11",0,1,0,0,"Australia/Sydney");
+ INSERT INTO "city_table" VALUES(265,"IDS_WCL_BODY_CITYNAME_TAHITI","IDS_WCL_BODY_FRENCH_POLYNESIA","GMT-10",0,1,0,0,"Pacific/Tahiti");
+ INSERT INTO "city_table" VALUES(266,"IDS_WCL_BODY_CITYNAME_TAIPEI","IDS_WCL_BODY_TAIWAN","GMT+8",0,1,0,0,"Asia/Taipei");
+ INSERT INTO "city_table" VALUES(267,"IDS_WCL_BODY_CITYNAME_TALLINN","IDS_WCL_BODY_ESTONIA","GMT+2",0,1,0,0,"Europe/Tallinn");
+ INSERT INTO "city_table" VALUES(268,"IDS_WCL_BODY_CITYNAME_TARAWA","IDS_WCL_BODY_KIRIBATI","GMT+12",0,1,0,0,"Pacific/Tarawa");
+ INSERT INTO "city_table" VALUES(269,"IDS_WCL_BODY_CITYNAME_TASHKENT","IDS_WCL_BODY_UZBEKISTAN","GMT+5",0,1,0,0,"Asia/Tashkent");
+ INSERT INTO "city_table" VALUES(270,"IDS_WCL_BODY_CITYNAME_TBILISI","IDS_WCL_BODY_GEORGIA","GMT+4",0,1,0,0,"Asia/Tbilisi");
+ INSERT INTO "city_table" VALUES(271,"IDS_WCL_BODY_CITYNAME_TEGUCIGALPA","IDS_WCL_BODY_HONDURAS","GMT-6",0,1,0,0,"America/Tegucigalpa");
+ INSERT INTO "city_table" VALUES(272,"IDS_WCL_BODY_CITYNAME_TEHRAN","IDS_WCL_BODY_IRAN_M_COUNTRYNAME","GMT+3:30",0,1,0,0,"Asia/Tehran");
+ INSERT INTO "city_table" VALUES(273,"IDS_WCL_BODY_CITYNAME_HO_CHI_MINH_CITY","IDS_WCL_BODY_VIETNAM","GMT+7",0,1,0,0,"Asia/Ho_Chi_Minh");
+ INSERT INTO "city_table" VALUES(274,"IDS_WCL_BODY_CITYNAME_THE_SETTLEMENT","IDS_WCL_BODY_BRITISH_VIRGIN_ISLANDS","GMT-4",0,1,0,0,"America/Tortola");
+ INSERT INTO "city_table" VALUES(275,"IDS_WCL_BODY_CITYNAME_TIANJIN","IDS_WCL_BODY_CHINA","GMT+8",0,1,0,0,"Asia/Shanghai");
+ INSERT INTO "city_table" VALUES(276,"IDS_WCL_BODY_CITYNAME_TIJUANA","IDS_WCL_BODY_MEXICO","GMT-5",0,1,0,0,"America/Tijuana");
+ INSERT INTO "city_table" VALUES(277,"IDS_WCL_BODY_CITYNAME_TOKYO","IDS_WCL_BODY_JAPAN","GMT+9",0,1,0,0,"Asia/Tokyo");
+ INSERT INTO "city_table" VALUES(278,"IDS_WCL_BODY_CITYNAME_TORONTO","IDS_WCL_BODY_CANADA","GMT-4",0,1,0,0,"America/Toronto");
+ INSERT INTO "city_table" VALUES(279,"IDS_WCL_BODY_CITYNAME_TREHET","IDS_WCL_BODY_FRANCE","GMT+1",0,1,0,0,"Europe/Paris");
+ INSERT INTO "city_table" VALUES(280,"IDS_WCL_BODY_CITYNAME_TRIPOLI","IDS_WCL_BODY_LIBYA","GMT+2",0,1,0,0,"Africa/Tripoli");
+ INSERT INTO "city_table" VALUES(281,"IDS_WCL_BODY_CITYNAME_TUNIS","IDS_WCL_BODY_TUNISIA","GMT+2",0,1,0,0,"Africa/Tunis");
+ INSERT INTO "city_table" VALUES(282,"IDS_WCL_BODY_CITYNAME_TURIN","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(283,"IDS_WCL_BODY_CITYNAME_UFA","IDS_WCL_BODY_BASHKIRIYA_M_COUNTRYNAME","GMT+5",0,1,0,0,"Asia/Yekaterinburg");
+ INSERT INTO "city_table" VALUES(284,"IDS_WCL_BODY_CITYNAME_ULAN_BATOR","IDS_WCL_BODY_MONGOLIA","GMT+8",0,1,0,0,"Asia/Ulan_Bator");
+ INSERT INTO "city_table" VALUES(285,"IDS_WCL_BODY_CITYNAME_VADUZ","IDS_WCL_BODY_LIECHTENSTEIN","GMT+1",0,1,0,0,"Europe/Vaduz");
+ INSERT INTO "city_table" VALUES(286,"IDS_WCL_BODY_CITYNAME_VALLETTA","IDS_WCL_BODY_MALTA","GMT+1",0,1,0,0,"Europe/Malta");
+ INSERT INTO "city_table" VALUES(287,"IDS_WCL_BODY_CITYNAME_VANCOUVER","IDS_WCL_BODY_CANADA","GMT-8",0,1,0,0,"America/Vancouver");
+ INSERT INTO "city_table" VALUES(288,"IDS_WCL_BODY_CITYNAME_VERONA","IDS_WCL_BODY_ITALY","GMT+1",0,1,0,0,"Europe/Rome");
+ INSERT INTO "city_table" VALUES(289,"IDS_WCL_BODY_CITYNAME_VICTORIA","IDS_WCL_BODY_SEYCHELLES","GMT+4",0,1,0,0,"Australia/Melbourne");
+ INSERT INTO "city_table" VALUES(290,"IDS_WCL_BODY_CITYNAME_VIENNA","IDS_WCL_BODY_AUSTRIA","GMT+1",0,1,0,0,"Europe/Vienna");
+ INSERT INTO "city_table" VALUES(291,"IDS_WCL_BODY_CITYNAME_VILNIUS","IDS_WCL_BODY_LITHUANIA","GMT+3",0,1,0,0,"Europe/Vilnius");
+ INSERT INTO "city_table" VALUES(292,"IDS_WCL_BODY_CITYNAME_VLADIVOSTOK","IDS_WCL_BODY_RUSSIA","GMT+11",0,1,0,0,"Asia/Vladivostok");
+ INSERT INTO "city_table" VALUES(293,"IDS_WCL_BODY_CITYNAME_VOLGOGRAD","IDS_WCL_BODY_RUSSIA","GMT+4",0,1,0,0,"Europe/Volgograd");
+ INSERT INTO "city_table" VALUES(294,"IDS_WCL_BODY_CITYNAME_WARSAW","IDS_WCL_BODY_POLAND","GMT+1",0,1,0,0,"Europe/Warsaw");
+ INSERT INTO "city_table" VALUES(295,"IDS_WCL_BODY_CITYNAME_WASHINGTON_DC","IDS_WCL_BODY_USA_M_COUNTRYNAME","GMT-5",0,1,0,0,"EST5EDT");
+ INSERT INTO "city_table" VALUES(296,"IDS_WCL_BODY_CITYNAME_WELLINGTON","IDS_WCL_BODY_NEW_ZEALAND","GMT+12",0,1,0,0,"Pacific/Auckland");
+ INSERT INTO "city_table" VALUES(297,"IDS_WCL_BODY_CITYNAME_WINNIPEG","IDS_WCL_BODY_CANADA","GMT-5",0,1,0,0,"America/Winnipeg");
+ INSERT INTO "city_table" VALUES(298,"IDS_WCL_BODY_CITYNAME_YAKUTSK","IDS_WCL_BODY_RUSSIA","GMT+10",0,1,0,0,"Asia/Yakutsk");
+ INSERT INTO "city_table" VALUES(299,"IDS_WCL_BODY_CITYNAME_YAMOUSSOUKRO","IDS_WCL_BODY_COTE_DIVOIRE","GMT+0",0,1,0,0,"Africa/Abidjan");
+ INSERT INTO "city_table" VALUES(300,"IDS_WCL_BODY_YAOUNDE","IDS_WCL_BODY_CAMEROON","GMT+1",0,1,0,0,"Africa/Douala");
+ INSERT INTO "city_table" VALUES(301,"IDS_WCL_BODY_CITYNAME_YEKATERINBURG","IDS_WCL_BODY_RUSSIA","GMT+6",0,1,0,0,"Asia/Yekaterinburg");
+ INSERT INTO "city_table" VALUES(302,"IDS_WCL_BODY_CITYNAME_YEREVAN","IDS_WCL_BODY_ARMENIA","GMT+5",0,1,0,0,"Asia/Yerevan");
+ INSERT INTO "city_table" VALUES(303,"IDS_WCL_BODY_CITYNAME_YUZHNO_SAKHALINSK","IDS_WCL_BODY_RUSSIA","GMT+11",0,1,0,0,"Asia/Sakhalin");
+ INSERT INTO "city_table" VALUES(304,"IDS_WCL_BODY_CITYNAME_ZAGREB","IDS_WCL_BODY_CROATIA","GMT+1",0,1,0,0,"Europe/Zagreb");
+ INSERT INTO "city_table" VALUES(305,"IDS_WCL_BODY_CITYNAME_ZURICH","IDS_WCL_BODY_SWITZERLAND","GMT+1",0,1,0,0,"Europe/Zurich");'
+fi
+
+chsmack -a 'worldclock::db' /opt/dbspace/.worldclock.db*
+
+# Change file owner
+chown :6015 /opt/dbspace/.worldclock.db
+chown :6015 /opt/dbspace/.worldclock.db-journal
+chmod 660 /opt/dbspace/.worldclock.db
+chmod 660 /opt/dbspace/.worldclock.db-journal
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest libug-worldclock-efl.manifest
+%defattr(-,root,root,-)
+/usr/ug/lib/libug-worldclock-efl.so
+/usr/ug/res/edje/ug_worldclock.edj
+/usr/ug/res/edje/ug_worldclock_theme.edj
+/usr/ug/res/locale/*/*/ug-worldclock-efl.mo
--- /dev/null
+Name: libunistring
+Version: 0.9.3
+Release: 0
+License: LGPL-3.0+ and GPL-3.0+
+Summary: GNU Unicode string library
+Url: http://www.gnu.org/software/libunistring/
+Group: Development/Libraries/C and C++
+Source: %{name}-%{version}.tar.bz2
+
+%description
+This portable C library implements Unicode string types in three flavours:
+(UTF-8, UTF-16, UTF-32), together with functions for character processing
+(names, classifications, properties) and functions for string processing
+(iteration, formatted output, width, word breaks, line breaks, normalization,
+case folding and regular expressions).
+
+%package devel
+Summary: GNU Unicode string library - development files
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+Requires: info
+
+%description devel
+Development files for programs using libunistring and documentation
+for UniString library.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static --disable-rpath --docdir=%_docdir/%{name}
+make %{?_smp_mflags}
+
+%check
+%if ! 0%{?qemu_user_space_build}
+make check %{?_smp_mflags}
+%endif
+
+%install
+echo " " > debugsources.list
+%make_install DESTDIR=%{buildroot} INSTALL="install -p"
+rm -f %{buildroot}/%{_infodir}/dir
+rm -f %{buildroot}/%{_libdir}/libunistring.la
+
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libunistring.so.0*
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libunistring.so
+%{_includedir}/unistring
+%{_includedir}/*.h
+
--- /dev/null
+%define keepstatic 1
+
+Name: libunwind
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: pkg-config
+Url: http://savannah.nongnu.org/projects/libunwind/
+Summary: Unwind Library
+License: MIT
+Group: System/Libraries
+Version: 1.1
+Release: 0
+VCS: profile/base/libunwind#upstream/1.1-0-g0349587-dirty
+Source: libunwind-%{version}.tar.gz
+ExclusiveArch: %ix86 x86_64 %arm
+
+%description
+A portable and efficient C programming interface (API) to determine the
+call chain of a program.
+
+%package devel
+Summary: Unwind library
+Group: Development/Libraries
+Requires: libunwind = %{version}-%{release}
+Provides: libunwind:%{_libdir}/libunwind.so
+
+%description devel
+A portable and efficient C programming interface (API) to determine the
+call-chain of a program.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fi
+export CFLAGS="%optflags -U_FORTIFY_SOURCE"
+%configure
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+mkdir -p $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_libdir}/libunwind.so.8 $RPM_BUILD_ROOT%{_libdir}/libunwind.so
+# Check that ln did not create a dangling link
+stat "%buildroot"/$(readlink -f "%buildroot/%_libdir/libunwind.so");
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%defattr(-, root, root)
+%_libdir/lib*
+%{_libdir}/lib*.so.*
+%{_libdir}/libunwind.so
+
+%files devel
+%defattr(-, root, root)
+%{_prefix}/include/*
+%{_libdir}/lib*.a
+%{_libdir}/libunwind-*.so
+%{_libdir}/pkgconfig/libunwind-generic.pc
+%{_libdir}/pkgconfig/libunwind-ptrace.pc
+%{_libdir}/pkgconfig/libunwind-setjmp.pc
+%{_libdir}/pkgconfig/libunwind.pc
+%ifarch %arm %ix86 x86_64
+%{_libdir}/pkgconfig/libunwind-coredump.pc
+%endif
+%doc %{_mandir}/man?/*
+
+%changelog
--- /dev/null
+#
+# spec file for package libusb-compat
+#
+# Copyright (c) 2012 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: libusb-compat
+Url: http://libusb.wiki.sourceforge.net/LibusbCompat0.1
+Summary: libusb-1.0 Compatibility Layer for libusb-0.1
+License: BSD-3-Clause ; LGPL-2.1+
+Group: System/Libraries
+Version: 0.1.4
+Release: 2
+Source: %{name}-%{version}.tar.gz
+source1: libusb-compat.manifest
+BuildRequires: libtool
+BuildRequires: pkgconfig(libusb-1.0)
+
+%description
+A compatibility layer allowing applications written for libusb-0.1 to
+work with libusb-1.0. libusb-compat-0.1 attempts to look, feel, smell
+and walk like libusb-0.1.
+
+%package devel
+Summary: libusb-1.0 Compatibility Layer for libusb-0.1
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+A compatibility layer allowing applications written for libusb-0.1 to
+work with libusb-1.0. libusb-compat-0.1 attempts to look, feel, smell
+and walk like libusb-0.1.
+
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1} .
+%configure\
+ --disable-static\
+ --disable-build-docs
+make %{?jobs:-j%jobs}
+
+%install
+%makeinstall
+rm %{buildroot}%{_libdir}/*.la
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS COPYING ChangeLog LICENSE NEWS README
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_bindir}/*-config
+%{_includedir}/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
--- /dev/null
+Name: libusb
+Version: 1.0.9
+Release: 0
+License: LGPL-2.1+
+Summary: USB Library
+Url: http://www.libusb.org/
+Group: Base/Device Management
+Source: %{name}-%{version}.tar.bz2
+Source1: baselibs.conf
+BuildRequires: pkg-config
+
+%description
+Libusb is a library that allows userspace access to USB devices.
+
+%package devel
+Summary: USB Library
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libusb = %{version}
+
+%description devel
+Libusb is a library that allows userspace access to USB devices.
+
+%prep
+%setup -q
+
+%build
+%configure\
+ --with-pic\
+ --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/libusb-1.0
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+%bcond_with wayland
+Name: libva-intel-driver
+Version: 1.0.19
+Release: 0
+Summary: Intel Driver for Video Acceleration (VA) API for Linux
+Group: System/Libraries
+License: MIT
+URL: http://freedesktop.org/wiki/Software/vaapi
+Source0: http://cgit.freedesktop.org/vaapi/intel-driver/snapshot/intel-driver-%{version}.tar.bz2
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xfixes)
+BuildRequires: mesa-devel
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(libva)
+%if %{with wayland}
+BuildRequires: pkgconfig(libva-wayland)
+BuildRequires: pkgconfig(wayland-egl)
+BuildRequires: pkgconfig(wayland-client)
+%endif
+
+%description
+Intel Driver for Libva is a library providing the VA API video acceleration API.
+
+%prep
+%setup -q -n intel-driver-%{version}
+
+%build
+%autogen
+%configure --enable-x11 \
+%if %{with wayland}
+ --enable-wayland \
+%endif
+ --enable-drm
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_libdir}/dri/i965_drv_video.so
+
--- /dev/null
+%bcond_with wayland
+
+Name: libva
+Version: 1.1.1
+Release: 0
+License: MIT
+Summary: Video Acceleration (VA) API for Linux
+Url: http://freedesktop.org/wiki/Software/vaapi
+Group: Multimedia/Video
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: mesa-devel
+BuildRequires: pkg-config
+BuildRequires: xz
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(libudev)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xfixes)
+BuildRequires: pkgconfig(xrandr)
+BuildRequires: pkgconfig(xv)
+%if %{with wayland}
+BuildRequires: pkgconfig(wayland-egl)
+BuildRequires: pkgconfig(wayland-client)
+%endif
+ExclusiveArch: %ix86 x86_64
+
+%description
+The libva library implements the Video Acceleration (VA) API for Linux.
+The library loads a hardware dependendent driver.
+
+%package devel
+Summary: Video Acceleration (VA) API for Linux -- development files
+Group: Development/Libraries
+Requires: libva = %{version}
+Requires: pkgconfig(gl)
+Requires: pkgconfig(libdrm)
+Requires: pkgconfig(x11)
+Requires: pkgconfig(xfixes)
+
+%description devel
+The libva library implements the Video Acceleration (VA) API for Linux.
+The library loads a hardware dependendent driver.
+
+This package provides the development environment for libva.
+
+%package -n vaapi-tools
+Summary: Video Acceleration (VA) API for Linux
+Group: Multimedia/Video
+
+%description -n vaapi-tools
+The libva library implements the Video Acceleration (VA) API for Linux.
+The library loads a hardware dependendent driver.
+
+This is a set of tools around vaapi livrary.
+
+%package -n vaapi-dummy-driver
+Summary: Video Acceleration (VA) API for Linux
+Group: Multimedia/Video
+
+%description -n vaapi-dummy-driver
+The libva library implements the Video Acceleration (VA) API for Linux.
+The library loads a hardware dependendent driver.
+
+This contains the dummy driver.
+
+%prep
+%setup -q
+
+%build
+%autogen
+%configure --enable-dummy-driver \
+ --enable-dummy-backend \
+ --enable-glx \
+ --enable-egl \
+%if %{with wayland}
+ --enable-wayland \
+%endif
+ --with-drivers-path=%{_libdir}/dri
+make %{?_smp_mflags}
+
+%install
+%make_install
+grep -r include %{buildroot}%{_includedir}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -n vaapi-tools
+%defattr(-,root,root,-)
+%{_bindir}/vainfo
+%{_bindir}/avcenc
+%{_bindir}/h264encode
+%{_bindir}/mpeg2vldemo
+%{_bindir}/putsurface
+%{_bindir}/loadjpeg
+%if %{with wayland}
+%{_bindir}/putsurface_wayland
+%endif
+
+%files -n vaapi-dummy-driver
+%defattr(-,root,root,-)
+%dir %{_libdir}/dri
+%{_libdir}/dri/dummy_drv_video.so
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/libva.so.*
+%{_libdir}/libva-tpi.so.*
+%{_libdir}/libva-x11.so.*
+%{_libdir}/libva-glx.so.*
+%{_libdir}/libva-egl.so.*
+%if %{with wayland}
+%{_libdir}/libva-wayland.so.*
+%endif
+%{_libdir}/libva-drm.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libva.so
+%{_libdir}/libva-tpi.so
+%{_libdir}/libva-x11.so
+%{_libdir}/libva-glx.so
+%{_libdir}/libva-egl.so
+%if %{with wayland}
+%{_libdir}/libva-wayland.so
+%endif
+%{_libdir}/libva-drm.so
+%{_includedir}/va
+%{_libdir}/pkgconfig/libva*.pc
+
+%changelog
--- /dev/null
+Name: libvorbis
+Version: 1.3.3
+Release: 0
+License: BSD-3-Clause
+Summary: The Vorbis General Audio Compression Codec
+Url: http://www.vorbis.com/
+Group: Multimedia/Audio
+Source: %{name}-%{version}.tar.xz
+Source2: baselibs.conf
+BuildRequires: fdupes
+BuildRequires: libogg-devel
+BuildRequires: libtool
+BuildRequires: pkgconfig
+
+%description
+Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
+general-purpose compressed audio format for audio and music at fixed
+and variable bit rates from 16 to 128 kbps/channel.
+
+The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
+libmatroska (matroska) can also be used.
+
+
+%package -n libvorbisenc
+
+Summary: The Vorbis General Audio Compression Codec
+Group: Multimedia/Audio
+
+%description -n libvorbisenc
+Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
+general-purpose compressed audio format for audio and music at fixed
+and variable bit rates from 16 to 128 kbps/channel.
+
+The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
+libmatroska (matroska) can also be used.
+
+%package -n libvorbisfile
+
+Summary: The Vorbis General Audio Compression Codec
+Group: Multimedia/Audio
+
+%description -n libvorbisfile
+Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
+general-purpose compressed audio format for audio and music at fixed
+and variable bit rates from 16 to 128 kbps/channel.
+
+The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
+libmatroska (matroska) can also be used.
+
+%package devel
+Summary: Include Files and Libraries mandatory for Ogg Vorbis Development
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libogg-devel
+Requires: libvorbis = %{version}
+Requires: libvorbisenc = %{version}
+Requires: libvorbisfile = %{version}
+
+%description devel
+This package contains all necessary include files and libraries needed
+to compile and develop applications that use libvorbis.
+
+%prep
+%setup -q
+
+%build
+# Fix optimization level
+sed -i s,-O20,-O3,g configure.ac
+
+autoreconf -fiv
+%configure --disable-examples --disable-static
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_docdir}/%{name}
+mv %{buildroot}%{_datadir}/doc/libvorbis-* %{buildroot}%{_docdir}/%{name}
+install -c -m 0644 doc/Vorbis_I_spec.* %{buildroot}%{_docdir}/%{name}
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%post -n libvorbisenc -p /sbin/ldconfig
+
+%postun -n libvorbisenc -p /sbin/ldconfig
+
+%post -n libvorbisfile -p /sbin/ldconfig
+
+%postun -n libvorbisfile -p /sbin/ldconfig
+
+%files
+%defattr(0644,root,root,0755)
+%license COPYING
+%{_libdir}/libvorbis.so.0*
+
+%files -n libvorbisenc
+%defattr(0644,root,root,0755)
+%license COPYING
+%{_libdir}/libvorbisenc.so.2*
+
+%files -n libvorbisfile
+%defattr(0644,root,root,0755)
+%license COPYING
+%{_libdir}/libvorbisfile.so.3*
+
+%files devel
+%defattr(-,root,root)
+%license COPYING
+%{_datadir}/aclocal/*.m4
+%{_includedir}/vorbis
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+Name: libvpx
+Version: 1.1.0
+Release: 0
+%define patchlevel %{nil}
+License: BSD-3-Clause ; GPL-2.0+
+Summary: VP8 codec library
+Url: http://www.webmproject.org/
+Group: Productivity/Multimedia/Other
+Source0: http://webm.googlecode.com/files/%{name}-v%{version}%{patchlevel}.tar.bz2
+BuildRequires: yasm
+
+%description
+WebM is an open, royalty-free, media file format designed for the web.
+
+WebM defines the file container structure, video and audio formats.
+WebM files consist of video streams compressed with the VP8 video codec
+and audio streams compressed with the Vorbis audio codec.
+The WebM file structure is based on the Matroska container.
+
+%package -n vpx-tools
+License: BSD-3-Clause ; GPL-2.0+
+Summary: VP8 codec library - Utilities
+Group: Productivity/Multimedia/Other
+
+%description -n vpx-tools
+This package contains utilities around the vp8 codec sdk.
+
+WebM is an open, royalty-free, media file format designed for the web.
+
+WebM defines the file container structure, video and audio formats.
+WebM files consist of video streams compressed with the VP8 video codec
+and audio streams compressed with the Vorbis audio codec.
+The WebM file structure is based on the Matroska container.
+%package devel
+License: BSD-3-Clause ; GPL-2.0+
+Summary: VP8 codec library - Development headers
+Group: Development/Languages/C and C++
+Requires: %{name} = %{version}
+
+%description devel
+Development headers and library
+
+WebM is an open, royalty-free, media file format designed for the web.
+
+WebM defines the file container structure, video and audio formats.
+WebM files consist of video streams compressed with the VP8 video codec
+and audio streams compressed with the Vorbis audio codec.
+The WebM file structure is based on the Matroska container.
+
+%prep
+%setup -q -n %name-v%version%patchlevel
+
+%build
+cd build
+export CFLAGS="%{optflags}"
+# It is only an emulation of autotools configure; the macro does not work
+
+# libvpx default enable NEON support on ARMv7, unfortunately some ARMv7
+# CPU doesn't have NEON, e.g. NVIDIA Tegra 2.
+# So, we still set -mfpu=neon when build libvpx rpm, but also enable
+# runtime-cpu-detect for runtime detect NEON.
+../configure \
+ --prefix=%{_prefix} \
+ --libdir=%{_libdir} \
+ --enable-debug \
+ --enable-shared \
+%ifarch armv7l armv7hl
+ --target=armv7-linux-gcc \
+ --enable-runtime-cpu-detect \
+%endif
+ --enable-pic
+make %{?_smp_mflags}
+
+%install
+cd build
+%make_install
+
+%post -n %{name} -p /sbin/ldconfig
+
+%postun -n %{name} -p /sbin/ldconfig
+
+%files -n vpx-tools
+%defattr(-,root,root)
+%{_bindir}/*
+
+%files
+%defattr(-, root, root)
+%license LICENSE
+%{_libdir}/libvpx.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/vpx/
+%{_libdir}/pkgconfig/vpx.pc
+%{_libdir}/libvpx.so
--- /dev/null
+Name: libwbxml2
+Version: 0.11.2
+Release: 1
+License: LGPL-2.1+
+Summary: WBXML parser and compiler library
+Url: http://libwbxml.opensync.org/
+Group: System/Libraries
+Source: libwbxml-%{version}.tar.bz2
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig(expat)
+BuildRequires: pkgconfig(pkg-config)
+BuildRequires: pkgconfig(popt)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(libxml-2.0)
+
+%description
+wbxml2 is a library that includes a WBXML parser and a WBXML compiler.
+Unlike wbxml, it does not depend on libxml2 but on expat, making it
+faster and more portable. WBXML Library contains a library and its
+associated tools to Parse, Encode and Handle WBXML documents. The WBXML
+(Wireless Binary XML) format is a binary representation of XML, and it
+has been defined by the Wap Forum.
+
+%package -n wbxml2-tools
+License: GPL-2.0+
+Summary: Tools for libwbxml2
+Group: System/Utilities
+Requires: pkgconfig(libxml-2.0)
+Requires: %{name} = %{version}
+
+%description -n wbxml2-tools
+wbxml2 is a library that includes a WBXML parser and a WBXML compiler.
+Unlike wbxml, it does not depend on libxml2 but on expat, making it
+faster and more portable. WBXML Library contains a library and its
+associated tools to Parse, Encode and Handle WBXML documents. The WBXML
+(Wireless Binary XML) format is a binary representation of XML, and it
+has been defined by the Wap Forum.
+
+%package devel
+License: LGPL-2.1+
+Summary: WBXML parser and compiler library
+Group: System/Development
+Requires: glibc-devel
+Requires: libwbxml2 = %{version}
+Requires: pkgconfig(expat)
+
+%description devel
+wbxml2 is a library that includes a WBXML parser and a WBXML compiler.
+Unlike wbxml, it does not depend on libxml2 but on expat, making it
+faster and more portable. WBXML Library contains a library and its
+associated tools to Parse, Encode and Handle WBXML documents. The WBXML
+(Wireless Binary XML) format is a binary representation of XML, and it
+has been defined by the Wap Forum.
+
+%prep
+%setup -q -n libwbxml-%{version}
+
+%build
+mkdir build
+pushd build
+CFLAGS="%{optflags}" \
+CXXFLAGS="%{optflags}" \
+%cmake \
+ -DCMAKE_BUILD_TYPE=None \
+ -DENABLE_INSTALL_DOC:BOOL=OFF \
+ %{_builddir}/libwbxml-%{version}
+make %{?_smp_mflags} VERBOSE=1
+popd
+
+%install
+pushd build
+%make_install
+popd
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%{_libdir}/libwbxml2.so.1*
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/pkgconfig/libwbxml2.pc
+%{_libdir}/libwbxml2.so
+%{_includedir}/libwbxml-1.0/wbxml
+%{_datadir}/cmake/Modules/FindLibWbxml2.cmake
+%{_includedir}/wbxml_config.h
+
+%files -n wbxml2-tools
+%defattr(-,root,root)
+%{_bindir}/wbxml2xml
+%{_bindir}/xml2wbxml
+
+%changelog
--- /dev/null
+Name: libwebsockets
+Summary: WebSocket Library
+Version: 1.2
+Release: 1
+Group: System/Libraries
+License: LGPLv2.1
+URL: http://git.warmcat.com/cgi-bin/cgit/libwebsockets/
+Source0: %{name}-%{version}.tar.bz2
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: zlib-devel
+BuildRequires: openssl-devel
+BuildRequires: cmake
+
+%description
+C Websockets Server Library
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development files needed for building websocket clients and servers
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+%cmake -DWITH_SSL=On
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/libwebsockets*
+%{_libdir}/libwebsockets*.so.*
+%{_datadir}/libwebsockets-test-server/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/libwebsockets.h
+%{_libdir}/libwebsockets.so
+%{_libdir}/pkgconfig/*
+
--- /dev/null
+Name: libwifi-direct
+Summary: Wifi direct library
+Version: 0.3.7
+Release: 1
+Group: Connectivity/Wireless
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: cmake
+BuildRequires: gettext-devel
+%description
+wifi direct library (Shared Library)
+
+%package devel
+Summary: Wifi direct library (Shared Library) (Developement)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+wifi direct library (Shared Library) (Developement)
+
+%prep
+%setup -q
+
+%ifarch %{arm}
+export ARCH=arm
+%else
+export ARCH=i586
+%endif
+
+%build
+%cmake .
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest libwifi-direct.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libwifi-direct.so
+%{_libdir}/libwifi-direct.so.0
+%{_libdir}/libwifi-direct.so.0.0
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/wifi-direct.pc
+%{_includedir}/wifi-direct/wifi-direct.h
+%{_includedir}/wifi-direct/wifi-direct-internal.h
--- /dev/null
+Summary: Buffer manager abstraction library
+Name: libwsbm
+Version: 1.1.0
+Release: 1
+Group: Development/Libraries
+License: MIT
+Source: libwsbm-src.1.1.0.tar.bz2
+Patch0: libwsbm.patch
+Patch1: 0001-CDV-include-tweaks.patch
+URL: http://www.x.org/wiki/libwsbm
+BuildRequires: libdrm-devel
+BuildRequires: psb-headers
+Conflicts: libwsbm-cdv
+ExclusiveArch: %ix86
+
+%description
+The libwsbm (wsbm stands for Window System Buffer Manager) library previously
+lived as a dri buffer manager within mesa. This package builds against
+PVR-provided PSB headers found in the kernel-adaptation-pc image. This package
+ought only be installed on a CDV system.
+
+%package devel
+Summary: Development headers for libwsbm
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development headers (Graphics) for libwsbm
+
+%prep
+%setup -q -n libwsbm-src.%{version}
+
+# libswbm.patch
+%patch0 -p1
+# 0001-CDV-include-tweaks.patch
+%patch1 -p1
+
+%build
+%autogen
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libwsbm.so.1
+%{_libdir}/libwsbm.so.1.1.0
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/libwsbm.pc
+%{_libdir}/libwsbm.so
+%{_includedir}/wsbm/*.h
+
+
+%changelog
--- /dev/null
+Name: libxcb
+Version: 1.9
+Release: 0
+License: MIT
+Summary: X11 core protocol C library
+Url: http://xcb.freedesktop.org/
+Group: Graphics/X Window System
+
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig
+BuildRequires: python >= 2.6
+BuildRequires: python-xml
+BuildRequires: xsltproc
+BuildRequires: pkgconfig(check) >= 0.9.4
+BuildRequires: pkgconfig(pthread-stubs)
+BuildRequires: pkgconfig(xau) >= 0.99.2
+BuildRequires: pkgconfig(xcb-proto) >= 1.7
+
+%description
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+%package -n libxcb-composite
+Summary: X11 Composite Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-composite
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+The Composite extension causes a entire sub-tree of the window
+hierarchy to be rendered to an off-screen buffer. Applications can
+then take the contents of that buffer and do whatever they like. The
+off-screen buffer can be automatically merged into the parent window
+or merged by external programs, called compositing managers.
+
+%package -n libxcb-damage
+Summary: X11 Damage Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-damage
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+The X Damage Extension allows applications to track modified regions
+of drawables.
+
+%package -n libxcb-dpms
+Summary: X11 DPMS Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-dpms
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+%package -n libxcb-dri2
+Summary: X11 DRI2 Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-dri2
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+%package -n libxcb-glx
+Summary: X11 GLX Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-glx
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+%package -n libxcb-randr
+Summary: X11 RandR Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-randr
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+The X Resize, Rotate and Reflect Extension (RandR) allows clients to
+dynamically change X screens, so as to resize, to change the
+orientation and layout of the root window of a screen.
+
+%package -n libxcb-record
+Summary: X11 RECORD Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-record
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+The RECORD extension supports the recording and reporting of all core
+X protocol and arbitrary X extension protocol.
+
+%package -n libxcb-render
+Summary: X11 Render Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-render
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+%package -n libxcb-res
+Summary: X11 Resource Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-res
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+%package -n libxcb-screensaver
+Summary: X11 ScreenSaver Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-screensaver
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+The X Window System provides support for changing the image on a
+display screen after a user-settable period of inactivity to avoid
+burning the cathode ray tube phosphors. This extension allows an
+external "screen saver" client to detect when the alternate image is
+to be displayed and to provide the graphics.
+
+%package -n libxcb-shape
+Summary: X11 Shape Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-shape
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+- X11 Nonrectangular Window Shape extension (Xshape)
+
+%package -n libxcb-shm
+Summary: X11 Shared Memory Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-shm
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+The MIT Shared Memory (MIT-SHM) Extension allows exchanging image
+data between client and server using shared memory, so that it does
+not need to be transferred over sockets.
+
+%package -n libxcb-sync
+Summary: X11 Sync Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-sync
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+%package -n libxcb-xevie
+Summary: X11 Xevie Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-xevie
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+The EvIE (Event Interception Extension) allows for clients to be able
+to intercept all events coming through the server and then decide
+what to do with them, including being able to modify or discard
+events.
+
+%package -n libxcb-xf86dri
+Summary: X11 XFree86-DRI Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-xf86dri
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+%package -n libxcb-xfixes
+Summary: X11 Xfixes Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-xfixes
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+The X Fixes extension provides applications with work-arounds for
+various limitations in the core protocol.
+
+%package -n libxcb-xinerama
+Summary: X11 Xinerama Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-xinerama
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+Xinerama is an extension to the X Window System which enables
+multi-headed X applications and window managers to use two or more
+physical displays as one large virtual display.
+
+%package -n libxcb-xprint
+Summary: X11 XPrint Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-xprint
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+libxcb-xprint provides APIs to allow client applications to render to
+non-display devices.
+
+%package -n libxcb-xtest
+Summary: X11 XTEST Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-xtest
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+The XTEST extension is a minimal set of client and server extensions
+required to completely test the X11 server with no user intervention.
+This extension is not intended to support general journaling and
+playback of user actions.
+
+%package -n libxcb-xv
+Summary: X11 video Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-xv
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+The X Video Extension (Xv) extension provides support for video
+adaptors attached to an X display. It takes the approach that a
+display may have one or more video adaptors, each of which has one or
+more ports through which independent video streams pass.
+
+%package -n libxcb-xvmc
+Summary: X11 Video Motion Compensation Extension C library
+Group: Graphics/X Window System
+
+%description -n libxcb-xvmc
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+X-Video Motion Compensation (XvMC), is an extension of the X video
+extension (Xv) for the X Window System. The XvMC API allows video
+programs to offload portions of the video decoding process to the GPU
+video-hardware.
+
+%package devel
+Summary: Development files for the X11 protocol C library
+Group: Development/Libraries
+Requires: libxcb-composite = %{version}
+Requires: libxcb-damage = %{version}
+Requires: libxcb-dpms = %{version}
+Requires: libxcb-dri2 = %{version}
+Requires: libxcb-glx = %{version}
+Requires: libxcb-randr = %{version}
+Requires: libxcb-record = %{version}
+Requires: libxcb-render = %{version}
+Requires: libxcb-res = %{version}
+Requires: libxcb-screensaver = %{version}
+Requires: libxcb-shape = %{version}
+Requires: libxcb-shm = %{version}
+Requires: libxcb-sync = %{version}
+Requires: libxcb-xevie = %{version}
+Requires: libxcb-xf86dri = %{version}
+Requires: libxcb-xfixes = %{version}
+Requires: libxcb-xinerama = %{version}
+Requires: libxcb-xprint = %{version}
+Requires: libxcb-xtest = %{version}
+Requires: libxcb-xv = %{version}
+Requires: libxcb-xvmc = %{version}
+
+%description devel
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
+This package contains the development headers for the library found
+in %lname.
+
+%prep
+%setup -q
+
+%build
+%autogen
+%configure --docdir=%_docdir/%{name} --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -n libxcb -p /sbin/ldconfig
+
+%postun -n libxcb -p /sbin/ldconfig
+
+%post -n libxcb-composite -p /sbin/ldconfig
+
+%postun -n libxcb-composite -p /sbin/ldconfig
+
+%post -n libxcb-damage -p /sbin/ldconfig
+
+%postun -n libxcb-damage -p /sbin/ldconfig
+
+%post -n libxcb-dpms -p /sbin/ldconfig
+
+%postun -n libxcb-dpms -p /sbin/ldconfig
+
+%post -n libxcb-dri2 -p /sbin/ldconfig
+
+%postun -n libxcb-dri2 -p /sbin/ldconfig
+
+%post -n libxcb-glx -p /sbin/ldconfig
+
+%postun -n libxcb-glx -p /sbin/ldconfig
+
+%post -n libxcb-randr -p /sbin/ldconfig
+
+%postun -n libxcb-randr -p /sbin/ldconfig
+
+%post -n libxcb-record -p /sbin/ldconfig
+
+%postun -n libxcb-record -p /sbin/ldconfig
+
+%post -n libxcb-render -p /sbin/ldconfig
+
+%postun -n libxcb-render -p /sbin/ldconfig
+
+%post -n libxcb-res -p /sbin/ldconfig
+
+%postun -n libxcb-res -p /sbin/ldconfig
+
+%post -n libxcb-screensaver -p /sbin/ldconfig
+
+%postun -n libxcb-screensaver -p /sbin/ldconfig
+
+%post -n libxcb-shape -p /sbin/ldconfig
+
+%postun -n libxcb-shape -p /sbin/ldconfig
+
+%post -n libxcb-shm -p /sbin/ldconfig
+
+%postun -n libxcb-shm -p /sbin/ldconfig
+
+%post -n libxcb-sync -p /sbin/ldconfig
+
+%postun -n libxcb-sync -p /sbin/ldconfig
+
+%post -n libxcb-xevie -p /sbin/ldconfig
+
+%postun -n libxcb-xevie -p /sbin/ldconfig
+
+%post -n libxcb-xf86dri -p /sbin/ldconfig
+
+%postun -n libxcb-xf86dri -p /sbin/ldconfig
+
+%post -n libxcb-xfixes -p /sbin/ldconfig
+
+%postun -n libxcb-xfixes -p /sbin/ldconfig
+
+%post -n libxcb-xinerama -p /sbin/ldconfig
+
+%postun -n libxcb-xinerama -p /sbin/ldconfig
+
+%post -n libxcb-xprint -p /sbin/ldconfig
+
+%postun -n libxcb-xprint -p /sbin/ldconfig
+
+%post -n libxcb-xtest -p /sbin/ldconfig
+
+%postun -n libxcb-xtest -p /sbin/ldconfig
+
+%post -n libxcb-xv -p /sbin/ldconfig
+
+%postun -n libxcb-xv -p /sbin/ldconfig
+
+%post -n libxcb-xvmc -p /sbin/ldconfig
+
+%postun -n libxcb-xvmc -p /sbin/ldconfig
+
+%files -n libxcb
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb.so.1*
+
+%files -n libxcb-composite
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-composite.so.0*
+
+%files -n libxcb-damage
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-damage.so.0*
+
+%files -n libxcb-dpms
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-dpms.so.0*
+
+%files -n libxcb-dri2
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-dri2.so.0*
+
+%files -n libxcb-glx
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-glx.so.0*
+
+%files -n libxcb-randr
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-randr.so.0*
+
+%files -n libxcb-record
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-record.so.0*
+
+%files -n libxcb-render
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-render.so.0*
+
+%files -n libxcb-res
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-res.so.0*
+
+%files -n libxcb-screensaver
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-screensaver.so.0*
+
+%files -n libxcb-shape
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-shape.so.0*
+
+%files -n libxcb-shm
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-shm.so.0*
+
+%files -n libxcb-sync
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-sync.so.0*
+
+%files -n libxcb-xevie
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-xevie.so.0*
+
+%files -n libxcb-xf86dri
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-xf86dri.so.*
+
+%files -n libxcb-xfixes
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-xfixes.so.*
+
+%files -n libxcb-xinerama
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-xinerama.so.0*
+
+%files -n libxcb-xprint
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-xprint.so.0*
+
+%files -n libxcb-xtest
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-xtest.so.0*
+
+%files -n libxcb-xv
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-xv.so.0*
+
+%files -n libxcb-xvmc
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libxcb-xvmc.so.0*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/xcb
+%{_libdir}/libxcb*.so
+%{_libdir}/pkgconfig/xcb*.pc
+%_docdir/%{name}
+
+%docs_package
+
+%changelog
--- /dev/null
+Name: libxkbcommon
+Version: 0.3.0
+Release: 0
+License: MIT
+Summary: Wayland libxkbcommon library
+Url: http://wayland.freedesktop.org/
+Group: Development/Libraries
+
+#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxkbcommon
+#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxkbcommon/
+Source: %{name}-%{version}.tar.xz
+BuildRequires: autoconf >= 2.60
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: libtool >= 2
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(kbproto) >= 1.0.4
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto)
+
+%description
+Keyboard handling library using XKB data.
+
+%package devel
+Summary: Development files for the Wayland libxkbcommon library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Keyboard handling library using XKB data.
+
+This package contains the development headers for the library found
+in %{name}.
+
+%prep
+%setup -qn %{name}
+
+%build
+%autogen
+%configure --disable-static
+make %{?_smp_mflags} V=1;
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libxkbcommon.so.0*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/xkbcommon
+%{_libdir}/libxkbcommon.so
+%{_libdir}/pkgconfig/xkbcommon.pc
+
+%changelog
--- /dev/null
+Name: libxkbfile
+Version: 1.0.8
+Release: 1
+License: MIT
+Summary: X.Org xkbfile library
+Url: http://www.x.org
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+%description
+X.Org X11 libxkbfile runtime library.
+
+%package devel
+Summary: X.Org xkbfile library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+X.Org X11 libxkbfile development package
+
+%prep
+%setup -q
+
+%build
+# FIXME: We use -fno-strict-aliasing, to work around the following bug:
+# maprules.c:1373: warning: dereferencing type-punned pointer will break strict-aliasing rules)
+export CFLAGS="${CFLAGS} %{optflags} -fno-strict-aliasing"
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libxkbfile.so.1
+%{_libdir}/libxkbfile.so.1.0.2
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/XKBbells.h
+%{_includedir}/X11/extensions/XKBconfig.h
+%{_includedir}/X11/extensions/XKBfile.h
+%{_includedir}/X11/extensions/XKBrules.h
+%{_includedir}/X11/extensions/XKM.h
+%{_includedir}/X11/extensions/XKMformat.h
+%{_libdir}/libxkbfile.so
+%{_libdir}/pkgconfig/xkbfile.pc
--- /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
+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
+
+%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
+%defattr(-, root, root)
+%license COPYING*
+%{_libdir}/lib*.so.*
+
+%files tools
+%defattr(-, root, root)
+%{_bindir}/xmllint
+%{_bindir}/xmlcatalog
+
+%files devel
+%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: libxslt
+Version: 1.1.26
+Release: 0
+Summary: XSL Transformation Library
+License: MIT and GPL-2.0+
+Group: System/Libraries
+#
+Url: http://xmlsoft.org/XSLT/
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+Source3: xslt-config.1.gz
+BuildRequires: libgcrypt-devel
+BuildRequires: libgpg-error-devel
+BuildRequires: libtool
+BuildRequires: libxml2-devel
+BuildRequires: pkg-config
+
+%description
+This C library allows you to transform XML files into other XML files
+(or HTML, text, and more) using the standard XSLT stylesheet
+transformation mechanism.
+
+It is based on libxml (version 2) for XML parsing, tree manipulation,
+and XPath support. It is written in plain C, making as few assumptions
+as possible and sticks closely to ANSI C/POSIX for easy embedding.
+Although not primarily designed with performance in mind, libxslt seems
+to be a relatively fast processor. It also includes full support for
+the EXSLT set of extension functions as well as some common extensions
+present in other XSLT engines.
+
+
+%package devel
+Summary: Include Files and Libraries mandatory for Development
+License: LGPL-2.1+
+Group: Development/Libraries/C and C++
+Requires: %{name}-tools = %version
+Requires: libxslt = %{version}
+Requires: glibc-devel
+Requires: libgcrypt-devel
+Requires: libgpg-error-devel
+#libxml is automatically required with pkgconfig
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%package tools
+Summary: Extended Stylesheet Language (XSL) Transformation utilities
+License: MIT and GPL-2.0+
+Group: Development/Tools
+Provides: xsltproc = %version-%release
+
+%description tools
+This package contains xsltproc, a command line interface to the XSLT engine.
+
+%prep
+%setup -q
+
+%build
+autoreconf --force --install
+%configure --disable-static --with-pic --without-python
+make %{?_smp_mflags}
+
+%check
+%if ! 0%{?qemu_user_space_build}
+make check
+%endif
+
+%install
+%make_install
+
+# Unwanted doc stuff
+rm -fr %{buildroot}%{_datadir}/doc
+
+# the manual page is required
+install -ma=r '-t%{buildroot}%{_mandir}/man1' '%{SOURCE3}'
+
+
+%post -n libxslt -p /sbin/ldconfig
+
+%postun -n libxslt -p /sbin/ldconfig
+
+%files -n libxslt
+%defattr(-, root, root)
+%license COPYING Copyright
+%{_libdir}/lib*.so.*
+
+%files devel
+%defattr(-, root, root)
+%{_libdir}/lib*.so
+%{_libdir}/*.sh
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/*
+%{_datadir}/aclocal/*
+%{_bindir}/xslt-config
+%doc %{_mandir}/man1/xslt-config.*
+%doc %{_mandir}/man3/*
+
+%files tools
+%defattr(-,root,root)
+%{_bindir}/xsltproc
+%doc %{_mandir}/man1/xsltproc.*
+
+%changelog
--- /dev/null
+Name: libzio
+Version: 0.99
+Release: 0
+License: GPL-2.0+
+Summary: A Library for Accessing Compressed Text Files
+Group: System/Libraries
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: bzip2-devel
+BuildRequires: xz
+BuildRequires: xz-devel
+BuildRequires: zlib-devel
+
+%description
+Libzio provides a wrapper function for reading or writing gzip or bzip2
+files with FILE streams.
+
+%package devel
+Summary: Libzio development files
+Group: Development/Libraries/C and C++
+Requires: libzio = %{version}
+
+%description devel
+Libzio development files including zio.h, the manual page fzopen(3),
+and static library.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags} noweak
+
+%check
+make testt
+make tests
+for comp in gzip bzip2 lzma xz
+do
+ $comp -c < fzopen.3.in > fzopen.test
+ ./testt fzopen.test | cmp fzopen.3.in -
+ cat fzopen.test | ./tests ${comp:0:1} | cmp fzopen.3.in -
+done
+
+%install
+make DESTDIR=%{buildroot} install libdir=%{_libdir} mandir=%{_mandir}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%{_libdir}/libzio.so.0
+%{_libdir}/libzio.so.%{version}
+
+%files devel
+%defattr(-,root,root)
+%doc README COPYING
+%{_libdir}/libzio.a
+%{_libdir}/libzio.so
+%{_mandir}/man3/fzopen.3*
+/usr/include/zio.h
+
+%changelog
--- /dev/null
+Name: libzip
+Version: 0.10.1
+Release: 0
+License: BSD-3-Clause
+Summary: C library for reading, creating, and modifying zip archives
+Url: http://www.nih.at/libzip
+Group: Development/Libraries/C and C++
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: libtool
+BuildRequires: pkg-config
+BuildRequires: zlib-devel
+
+%description
+libzip is a C library for reading, creating, and modifying zip
+archives. Files can be added from data buffers, files, or compressed. This
+package contains a set of small utilities built using libzip
+ * zipmerge - merge source zip archives into the target one
+ * zipcmp - compares the zip archives and check if they contains same files
+ * ziptorrent - manipulate with a restricted file format used for using bittorrent on zip files.
+
+%package util
+Summary: C library for reading, creating, and modifying zip archives
+Group: Development/Libraries/C and C++
+
+%description util
+This is libzip, a C library for reading, creating, and modifying zip
+archives. Files can be added from data buffers, files, or compressed
+data copied directly from other zip archives. Changes made without
+closing the archive can be reverted. The API is documented by man
+pages.
+
+%package devel
+Summary: C library for reading, creating, and modifying zip archives
+Group: Development/Libraries/C and C++
+Requires: glibc-devel
+Requires: libzip = %{version}
+
+%description devel
+libzip is a C library for reading, creating, and modifying zip
+archives. This package contains devel files.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fiv
+%configure --disable-static --with-pic
+make %{?_smp_mflags}
+
+%check
+make %{?_smp_mflags} check VERBOSE=1
+
+%install
+%make_install
+cp lib/zipconf.h %{buildroot}/%{_includedir}/zipconf.h
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files util
+%defattr(-,root,root)
+%{_bindir}/ziptorrent
+%{_bindir}/zipcmp
+%{_bindir}/zipmerge
+%{_mandir}/man1/*.1*
+
+%files
+%defattr(-,root,root)
+%{_libdir}/libzip.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/%{name}.so
+%{_includedir}/zip.h
+%{_includedir}/zipconf.h
+%{_libdir}/%{name}/
+%{_libdir}/pkgconfig/%{name}.pc
+%{_mandir}/man3/*.3*
+
+%changelog
--- /dev/null
+#
+# spec file for package libzypp-bindings
+#
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+Name: libzypp-bindings
+Version: 0.5.14
+Release: 0
+License: GPL-2.0+
+Summary: Bindings for libzypp
+Group: Development/Sources
+Source: %{name}-%{version}.tar.gz
+
+BuildRequires: cmake gcc-c++ python-devel
+BuildRequires: swig
+
+BuildRequires: libzypp-devel
+
+%description
+This package provides bindings for libzypp, the library for package management.
+
+%prep
+%setup -q
+
+%build
+mkdir build
+cd build
+%cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \
+ -DPYTHON_SITEDIR=%{python_sitearch} \
+ -DLIB=%{_lib} \
+ -DCMAKE_VERBOSE_MAKEFILE=TRUE \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=1 \
+ ..
+make -j1
+
+%install
+cd build
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+
+%package -n python-zypp
+Summary: Python bindings for libzypp
+Group: Development/Languages/Python
+Requires: libzypp
+
+%description -n python-zypp
+Python bindings of libzypp
+
+
+%files -n python-zypp
+%defattr(-,root,root,-)
+%{python_sitearch}/_zypp.so
+%{python_sitearch}/zypp.py*
--- /dev/null
+Name: libzypp
+License: GPL-2.0+
+Group: System/Package Management
+Summary: Package, Patch, Pattern, and Product Management
+Version: 12.11.0
+Release: 1
+Source: %{name}-%{version}.tar.bz2
+Source1: %{name}-rpmlintrc
+
+# Features we provide (update doc/autoinclude/FeatureTest.doc):
+Provides: libzypp(plugin) = 0
+Provides: libzypp(plugin:commit) = 0
+Provides: libzypp(plugin:services) = 0
+Provides: libzypp(plugin:system) = 0
+Provides: libzypp(plugin:urlresolver) = 0
+
+BuildRequires: cmake
+BuildRequires: openssl-devel
+BuildRequires: libudev-devel
+BuildRequires: boost-devel
+BuildRequires: doxygen
+BuildRequires: gcc-c++ >= 4.6
+BuildRequires: gettext-devel
+BuildRequires: libxml2-devel
+BuildRequires: pkgconfig(libproxy-1.0)
+
+BuildRequires: pkg-config
+
+BuildRequires: libsolv-devel
+Requires: libsolv-tools
+
+# should be recommends
+Requires: lsof
+
+BuildRequires: expat-devel
+
+Requires: rpm
+
+BuildRequires: rpm-devel
+
+BuildRequires: glib2-devel
+BuildRequires: popt-devel
+BuildRequires: rpm-devel
+
+%define min_curl_version 7.19.4
+BuildRequires: libcurl-devel >= %{min_curl_version}
+Requires: libcurl >= %{min_curl_version}
+
+%description
+Package, Patch, Pattern, and Product Management
+
+Authors:
+--------
+ Michael Andres <ma@suse.de>
+ Jiri Srain <jsrain@suse.cz>
+ Stefan Schubert <schubi@suse.de>
+ Duncan Mac-Vicar <dmacvicar@suse.de>
+ Klaus Kaempf <kkaempf@suse.de>
+ Marius Tomaschewski <mt@suse.de>
+ Stanislav Visnovsky <visnov@suse.cz>
+ Ladislav Slezak <lslezak@suse.cz>
+
+%package devel
+Summary: Package, Patch, Pattern, and Product Management - developers files
+License: GPL-2.0+
+Requires: libzypp = %{version}
+Requires: libxml2-devel
+Requires: openssl-devel
+Requires: rpm-devel
+Requires: glibc-devel
+Requires: zlib-devel
+Requires: bzip2
+Requires: popt-devel
+Requires: boost-devel
+Requires: libstdc++-devel
+Requires: libudev-devel
+Requires: cmake
+Requires: libcurl-devel >= %{min_curl_version}
+Requires: libsolv-devel
+Group: Development/Libraries
+
+%description -n libzypp-devel
+Package, Patch, Pattern, and Product Management - developers files
+
+Authors:
+--------
+ Michael Andres <ma@suse.de>
+ Jiri Srain <jsrain@suse.cz>
+ Stefan Schubert <schubi@suse.de>
+ Duncan Mac-Vicar <dmacvicar@suse.de>
+ Klaus Kaempf <kkaempf@suse.de>
+ Marius Tomaschewski <mt@suse.de>
+ Stanislav Visnovsky <visnov@suse.cz>
+ Ladislav Slezak <lslezak@suse.cz>
+
+%prep
+%setup -q
+
+%build
+mkdir build
+cd build
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$RPM_OPT_FLAGS"
+unset TRANSLATION_SET
+unset EXTRA_CMAKE_OPTIONS
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DDOC_INSTALL_DIR=%{_docdir} \
+ -DLIB=%{_lib} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=1 \
+ -DUSE_TRANSLATION_SET=${TRANSLATION_SET:-zypp} \
+ ${EXTRA_CMAKE_OPTIONS} \
+ ..
+make %{?_smp_mflags} VERBOSE=1
+make -C doc/autodoc %{?_smp_mflags}
+make -C po %{?_smp_mflags} translations
+
+%if 0%{?run_testsuite}
+ make -C tests %{?_smp_mflags}
+ pushd tests
+ LD_LIBRARY_PATH=$PWD/../zypp:$LD_LIBRARY_PATH ctest .
+ popd
+%endif
+
+#make check
+
+%install
+rm -rf "$RPM_BUILD_ROOT"
+cd build
+make install DESTDIR=$RPM_BUILD_ROOT
+make -C doc/autodoc install DESTDIR=$RPM_BUILD_ROOT
+%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600
+ln -s %{_sysconfdir}/yum.repos.d $RPM_BUILD_ROOT%{_sysconfdir}/zypp/repos.d
+%else
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/repos.d
+%endif
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/services.d
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/vendors.d
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/multiversion.d
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/commit
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/services
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/system
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/urlresolver
+mkdir -p $RPM_BUILD_ROOT%{_var}/lib/zypp
+mkdir -p $RPM_BUILD_ROOT%{_var}/log/zypp
+mkdir -p $RPM_BUILD_ROOT%{_var}/cache/zypp
+
+make -C po install DESTDIR=$RPM_BUILD_ROOT
+# Create filelist with translations
+cd ..
+%{find_lang} zypp
+
+%post
+/sbin/ldconfig
+if [ -f /var/cache/zypp/zypp.db ]; then rm /var/cache/zypp/zypp.db; fi
+
+# convert old lock file to new
+# TODO make this a separate file?
+# TODO run the sript only when updating form pre-11.0 libzypp versions
+LOCKSFILE=%{_sysconfdir}/zypp/locks
+OLDLOCKSFILE=%{_sysconfdir}/zypp/locks.old
+
+is_old(){
+ # if no such file, exit with false (1 in bash)
+ test -f ${LOCKSFILE} || return 1
+ TEMP_FILE=`mktemp`
+ cat ${LOCKSFILE} | sed '/^\#.*/ d;/.*:.*/d;/^[^[a-zA-Z\*?.0-9]*$/d' > ${TEMP_FILE}
+ if [ -s ${TEMP_FILE} ]
+ then
+ RES=0
+ else
+ RES=1
+ fi
+ rm -f ${TEMP_FILE}
+ return ${RES}
+}
+
+append_new_lock(){
+ case "$#" in
+ 1 )
+ echo "
+solvable_name: $1
+match_type: glob
+" >> ${LOCKSFILE}
+;;
+ 2 ) #TODO version
+ echo "
+solvable_name: $1
+match_type: glob
+version: $2
+" >> ${LOCKSFILE}
+;;
+ 3 ) #TODO version
+ echo "
+solvable_name: $1
+match_type: glob
+version: $2 $3
+" >> ${LOCKSFILE}
+ ;;
+esac
+}
+
+die() {
+ echo $1
+ exit 1
+}
+
+if is_old ${LOCKSFILE}
+ then
+ mv -f ${LOCKSFILE} ${OLDLOCKSFILE} || die "cannot backup old locks"
+ cat ${OLDLOCKSFILE}| sed "/^\#.*/d"| while read line
+ do
+ append_new_lock $line
+ done
+fi
+
+%postun -p /sbin/ldconfig
+
+%lang_package -f zypp
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%dir %{_sysconfdir}/zypp
+%dir %{_sysconfdir}/zypp/repos.d
+%dir %{_sysconfdir}/zypp/services.d
+%dir %{_sysconfdir}/zypp/vendors.d
+%dir %{_sysconfdir}/zypp/multiversion.d
+%config(noreplace) %{_sysconfdir}/zypp/zypp.conf
+%config(noreplace) %{_sysconfdir}/zypp/systemCheck
+%config(noreplace) %{_sysconfdir}/logrotate.d/zypp-history.lr
+%dir %{_var}/lib/zypp
+%dir %{_var}/log/zypp
+%dir %{_var}/cache/zypp
+%{_prefix}/lib/zypp
+%{_datadir}/zypp
+%{_bindir}/*
+%{_libdir}/libzypp*so.*
+%doc %{_mandir}/man5/locks.5.*
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libzypp.so
+%{_docdir}/%{name}
+%{_includedir}/zypp
+%{_datadir}/cmake/Modules/*
+%{_libdir}/pkgconfig/libzypp.pc
+
+%changelog
--- /dev/null
+Name: links
+BuildRequires: automake
+BuildRequires: openssl-devel
+BuildRequires: pkgconfig
+Url: http://artax.karlin.mff.cuni.cz/~mikulas/links/
+Provides: web_browser
+Version: 2.6
+Release: 0
+Summary: Text-Based WWW Browser
+License: GPL-2.0+
+Group: Productivity/Networking/Web/Browsers
+Source: links-%{version}.tar.bz2
+
+%description
+Links is like Lynx--an easy-to-use browser for HTML documents and other
+Internet services, like FTP, telnet, and news. Links provides a
+graphical interface besides the text interface. It has good support for
+frames, supports ssl, and has a little bit of JavaScript support.
+
+
+%prep
+%setup -q -n links-%{version}
+
+%build
+autoreconf -ifv
+CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -pipe"
+%configure --with-ssl --with-pic
+make
+
+%install
+mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man1,usr/bin,%{_infodir}}
+cp links.1 $RPM_BUILD_ROOT/%{_mandir}/man1
+make install DESTDIR=$RPM_BUILD_ROOT
+make clean
+make EXTRAA="-DSHOW_COLOR=TRUE"
+install links $RPM_BUILD_ROOT/usr/bin/links
+
+%files
+%license COPYING
+%defattr(-,root,root)
+/usr/bin/links
+%doc %{_mandir}/man1/links.1.gz
+
+%changelog
--- /dev/null
+Name: linux-firmware
+Version: 20121007
+Release: 1
+Summary: Firmware for various devices
+
+License: Redistributable, no modification permitted
+Url: ftp://ftp.kernel.org//pub/linux/kernel/people/dwmw2/firmware/
+Group: System/Kernel
+Source0: ftp://ftp.kernel.org//pub/linux/kernel/people/dwmw2/firmware/linux-firmware-%{version}.tar.bz2
+BuildRequires: fdupes
+BuildArch: noarch
+
+%description
+This package contains the firmware required by various devices
+
+%package ivi
+Summary: Firmware files for Tizen IVI platform drivers
+
+%description ivi
+Firmware files for Tizen IVI platform drivers
+
+%prep
+%setup -q
+find . -type f -exec chmod 0644 {} ';'
+
+%build
+# Nothing to build
+
+
+%install
+mkdir -p %{buildroot}/lib/firmware
+cp -a * %{buildroot}/lib/firmware/
+
+%fdupes %{buildroot}/lib/firmware
+
+%files
+%defattr(-,root,root,-)
+/lib/firmware/*
+
+%files ivi
+# NOTE: make sure all the firmware we use in this RPM is documented in
+# the 'ivi-firmware.txt' file.
+/lib/firmware/iwlwifi-6000g2b-6.ucode
+/lib/firmware/LICENCE.iwlwifi_firmware
--- /dev/null
+
+Name: linux-glibc-devel
+# this confusing version number has no meaning, it's the version
+# of the Linux kernel where these headers come from
+Version: 3.4.0
+Release: 0
+License: GPL-2.0
+Summary: Linux headers for userspace development
+# A "-" is not allowed in version
+%define upstream_version 3.4
+Url: http://www.kernel.org/
+Group: Development/Libraries/C and C++
+Source: %{name}-%{upstream_version}.tar.bz2
+Source1: install_all.sh
+Requires(pre): coreutils
+Provides: kernel-headers
+Provides: linux-kernel-headers = %{version}
+Obsoletes: linux-kernel-headers < %{version}
+BuildArch: noarch
+BuildRequires: fdupes
+
+%description
+This package provides Linux kernel headers, the kernel API description
+required for compilation of almost all programs. This is the userspace
+interface; compiling external kernel modules requires
+kernel-(flavor)-devel, or kernel-syms to pull in all kernel-*-devel,
+packages, instead.
+
+%prep
+%setup -q -n linux-glibc-devel-%{upstream_version}
+
+%build
+cat > version.h <<-BOGUS
+#ifdef __KERNEL__
+#error "======================================================="
+#error "You should not include /usr/include/{linux,asm}/ header"
+#error "files directly for the compilation of kernel modules."
+#error ""
+#error "glibc now uses kernel header files from a well-defined"
+#error "working kernel version (as recommended by Linus Torvalds)"
+#error "These files are glibc internal and may not match the"
+#error "currently running kernel. They should only be"
+#error "included via other system header files - user space"
+#error "programs should not directly include <linux/*.h> or"
+#error "<asm/*.h> as well."
+#error ""
+#error "Since Linux 2.6, the kernel module build process has been"
+#error "updated such that users building modules should not typically"
+#error "need to specify additional include directories at all."
+#error ""
+#error "To build kernel modules, ensure you have the build environment "
+#error "available either via the kernel-devel and kernel-<flavor>-devel "
+#error "packages or a properly configured kernel source tree."
+#error ""
+#error "Then, modules can be built using:"
+#error "make -C <path> M=$PWD"
+#error ""
+#error "For the currently running kernel there will be a symbolic "
+#error "link pointing to the build environment located at "
+#error "/lib/modules/$(uname -r)/build for use as <path>."
+#error ""
+#error "If you are seeing this message, your environment is "
+#error "not configured properly. "
+#error ""
+#error "Please adjust the Makefile accordingly."
+#error "======================================================="
+#else
+BOGUS
+# Get LINUX_VERSION_CODE and KERNEL_VERSION directly from kernel
+cat usr/include/linux/version.h >> version.h
+cat >> version.h <<-BOGUS
+#endif
+BOGUS
+cat version.h
+
+%install
+cp -a usr %{buildroot}
+cp -a version.h %{buildroot}/usr/include/linux/
+# Temporarily exclude i2c header files, which are provided by i2c-tools instead
+rm -fv %{buildroot}/usr/include/linux/i2c-dev.h
+# resolve file conflict with glibc for now
+rm -fv %{buildroot}//usr/include/scsi/scsi*
+# Replace the directory /usr/include/asm with a symlink.
+# libc contained a symlink /usr/include/asm into kernel-source up to 7.0 (2.1.3)
+# glibc-devel contained a symlink /usr/include/asm into kernel-source in 7.1 (2.2)
+# glibc-devel contained a directory /usr/include/asm from 7.2 (2.2.2) up to 10.1/SLES10 (2.4)
+# The directory moved from glibc-devel to linux-kernel-headers in 10.2 (2.6.18.2)
+# The directory turned into a symlink in 10.3 (2.6.22)
+# rpm will remove obsolete files after the post install scripts
+# A trigger will run after the /usr/include/asm was removed
+# Create a dummy symlink now for rpmlint happiness, we %%ghost this and create
+# a proper symlink during %%post:
+ln -sfn asm-dummy %{buildroot}/usr/include/asm
+%fdupes %{buildroot}/usr/include
+
+%postun
+if test "$1" = 0
+then
+ rm -f usr/include/asm
+fi
+exit 0
+
+%post
+asm_link=
+case "$(uname -m)" in
+ alpha*) asm_link=alpha ;;
+ ppc*) asm_link=powerpc ;;
+ s390*) asm_link=s390 ;;
+ ia64) asm_link=ia64 ;;
+ *arm*) asm_link=arm ;;
+ parisc) asm_link=parisc ;;
+ *mips*) asm_link=mips ;;
+ sparc*) asm_link=sparc ;;
+ *) asm_link=x86 ;;
+esac
+if test -L usr/include/asm
+then
+ case "$(readlink usr/include/asm)" in
+ *../src/linux/include*)
+ echo "/usr/include/asm points to kernel-source, waiting for triggerpostun to symlink to asm-$asm_link"
+ rm -fv usr/include/asm
+ exit 0
+ ;;
+ esac
+ : symlink is ok, update it below in case of an arch change
+elif test -d usr/include/asm
+then
+ echo "/usr/include/asm is a directory, waiting for triggerpostun to symlink to asm-$asm_link"
+ exit 0
+fi
+ln -sfn asm-$asm_link usr/include/asm
+exit 0
+
+%triggerpostun -- linux-kernel-headers, glibc-devel < 2.5, libc < 2.2
+asm_link=
+case "$(uname -m)" in
+ alpha*) asm_link=alpha ;;
+ ppc*) asm_link=powerpc ;;
+ s390*) asm_link=s390 ;;
+ ia64) asm_link=ia64 ;;
+ *arm*) asm_link=arm ;;
+ parisc) asm_link=parisc ;;
+ *mips*) asm_link=mips ;;
+ sparc*) asm_link=sparc ;;
+ *) asm_link=x86 ;;
+esac
+ln -sfn asm-$asm_link usr/include/asm
+exit 0
+
+%files
+%defattr(-,root,root)
+%{_includedir}/*
+%ghost %{_includedir}/asm
+
+%changelog
--- /dev/null
+Name: liblivebox-cpp
+Summary: C++ adaptor for a livebox
+Version: 0.2.7
+Release: 1
+Group: HomeTF/Livebox
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake, gettext-tools, coreutils
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(livebox)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(livebox-service)
+
+%description
+Livebox development library (C++)
+
+%package devel
+Summary: Files for livebox development.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Livebox development library (C++) (dev)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/%{_datarootdir}/license
+
+%post
+
+%files -n liblivebox-cpp
+%manifest liblivebox-cpp.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+%{_datarootdir}/license/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/livebox-cpp/livebox-cpp.h
+%{_datarootdir}/doc/livebox-cpp/livebox-cpp_PG.h
+%{_libdir}/pkgconfig/*.pc
+
+# End of a file
--- /dev/null
+Name: liblivebox-service
+Summary: Service API for gathering installed livebox information.
+Version: 0.4.3
+Release: 1
+Group: HomeTF/Livebox
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake, gettext-tools, coreutils
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(com-core)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(ail)
+
+%description
+Service API for gathering information of installed liveboxes
+
+%package devel
+Summary: Files for livebox service.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Gathering the installed livebox information.
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/%{_datarootdir}/license
+
+%post
+
+%files -n liblivebox-service
+%manifest liblivebox-service.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+%{_datarootdir}/license/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/livebox-service/livebox-service.h
+%{_includedir}/livebox-service/livebox-errno.h
+%{_datarootdir}/doc/livebox-service/livebox-service_PG.h
+%{_libdir}/pkgconfig/*.pc
+
+# End of a file
--- /dev/null
+Name: liblivebox-viewer
+Summary: Library for developing the application.
+Version: 0.13.1
+Release: 1
+Group: HomeTF/Livebox
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake, gettext-tools, coreutils
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(com-core)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(livebox-service)
+BuildRequires: pkgconfig(vconf)
+
+%description
+API for creating a new instance of the livebox and managing its life-cycle.
+
+%package devel
+Summary: Header and package configuration files for the livebox viewer development.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Livebox viewer development library (dev)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/%{_datarootdir}/license
+
+%post
+
+%files -n liblivebox-viewer
+%manifest liblivebox-viewer.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+%{_datarootdir}/license/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/livebox-viewer/livebox.h
+%{_datarootdir}/doc/livebox-viewer/livebox-viewer_PG.h
+%{_libdir}/pkgconfig/*.pc
+
+# End of a file
--- /dev/null
+Name: liblivebox
+Summary: Library for the development of a livebox
+Version: 0.3.0
+Release: 1
+Group: HomeTF/Livebox
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake, gettext-tools, coreutils
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(livebox-service)
+BuildRequires: pkgconfig(provider)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(evas)
+
+%description
+Livebox development library
+
+%package devel
+Summary: Files for livebox development.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Livebox development library (dev)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/%{_datarootdir}/license
+
+%post
+
+%files -n liblivebox
+%manifest liblivebox.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+%{_datarootdir}/license/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/livebox/livebox.h
+%{_datarootdir}/doc/livebox/livebox_PG.h
+%{_libdir}/pkgconfig/*.pc
+
+# End of a file
--- /dev/null
+Name: lksctp-tools
+Version: 1.0.10
+Release: 0
+License: LGPL-2.1+
+Summary: Utilities for SCTP (Stream Control Transmission Protocol)
+Url: http://lksctp.sourceforge.net
+Group: System/Network
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: libtool
+
+%description
+This package contains the SCTP base runtime library and command line
+tools.
+
+SCTP (Stream Control Transmission Protocol) is a message-oriented,
+reliable transport protocol with congestion control, support for
+transparent multihoming, and multiple ordered streams of messages.
+
+%package devel
+Summary: Development files for SCTP (Stream Control Transmission Protocol)
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: glibc-devel
+
+%description devel
+This package contains the SCTP development libraries and C header
+files.
+
+SCTP (Stream Control Transmission Protocol) is a message oriented,
+reliable transport protocol, with congestion control, support for
+transparent multi-homing, and multiple ordered streams of messages.
+
+%prep
+%setup -q
+
+%build
+autoreconf --force --install
+CPPFLAGS="-I`pwd`/include" \
+%configure --prefix=/usr \
+ --enable-shared \
+ --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING COPYING.lib
+%{_bindir}/*
+%{_libdir}/libsctp.so.*
+%dir %{_libdir}/lksctp-tools
+%{_libdir}/lksctp-tools/*.so.*
+%{_mandir}/man7/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/netinet/sctp.h
+%{_libdir}/libsctp.so
+%dir %{_libdir}/lksctp-tools
+%{_libdir}/lksctp-tools/*.so
+%{_datadir}/lksctp-tools/
+%{_mandir}/man3/*
+
+%changelog
--- /dev/null
+%bcond_with doxygen
+%global gcc_version 4.7
+%bcond_without clang
+
+%global downloadurl http://llvm.org/%{?prerel:pre-}releases/%{version}%{?prerel:/%{prerel}}
+
+# gold linker support
+# arch list from binutils spec
+%global gold_arches %ix86 x86_64
+%ifarch %gold_arches
+%bcond_without gold
+%else
+%bcond_with gold
+%endif
+
+Name: llvm
+Version: 3.1
+Release: 0
+Summary: The Low Level Virtual Machine
+
+Group: Development/Languages
+License: NCSA
+URL: http://llvm.org/
+Source0: llvm-%{version}.src.tar.gz
+Source1: clang-%{version}.src.tar.gz
+# multilib fixes
+Source2: llvm-Config-config.h
+Source3: llvm-Config-llvm-config.h
+
+BuildRequires: python-devel
+BuildRequires: bison
+BuildRequires: chrpath
+BuildRequires: flex
+BuildRequires: gcc-c++ >= 3.4
+BuildRequires: groff
+BuildRequires: libffi-devel
+BuildRequires: libtool-ltdl-devel
+%if %{with gold}
+BuildRequires: binutils-devel
+%endif
+BuildRequires: zip
+# for doxygen documentation
+%if %{with doxygen}
+BuildRequires: doxygen graphviz
+%endif
+Requires: libllvm = %{version}-%{release}
+
+%description
+LLVM is a compiler infrastructure designed for compile-time,
+link-time, runtime, and idle-time optimization of programs from
+arbitrary programming languages. The compiler infrastructure includes
+mirror sets of programming tools as well as libraries with equivalent
+functionality.
+
+
+%package devel
+Summary: Libraries and header files for LLVM
+Group: Development/Languages
+Requires: %{name} = %{version}-%{release}
+Requires: libffi-devel
+Requires: libstdc++-devel >= 3.4
+Provides: llvm-static = %{version}-%{release}
+Requires(pre): update-alternatives
+
+%description devel
+This package contains library and header files needed to develop new
+native programs that use the LLVM infrastructure.
+
+
+
+
+%package -n libllvm
+Summary: LLVM shared libraries
+Group: System/Libraries
+
+%description -n libllvm
+Shared libraries for the LLVM compiler infrastructure.
+
+
+%if %{with clang}
+%package -n clang
+Summary: A C language family front-end for LLVM
+License: NCSA
+Group: Development/Languages
+Requires: llvm = %{version}-%{release}
+# clang requires gcc, clang++ requires libstdc++-devel
+Requires: gcc
+Requires: libstdc++-devel = %{gcc_version}
+
+%description -n clang
+clang: noun
+ 1. A loud, resonant, metallic sound.
+ 2. The strident call of a crane or goose.
+ 3. C-language family front-end toolkit.
+
+The goal of the Clang project is to create a new C, C++, Objective C
+and Objective C++ front-end for the LLVM compiler. Its tools are built
+as libraries and designed to be loosely-coupled and extensible.
+
+
+%package -n clang-devel
+Summary: Header files for clang
+Group: Development/Languages
+Requires: clang = %{version}-%{release}
+
+%description -n clang-devel
+This package contains header files for the Clang compiler.
+
+
+%package -n clang-analyzer
+Summary: A source code analysis framework
+License: NCSA
+Group: Development/Languages
+Requires: clang = %{version}-%{release}
+# not picked up automatically since files are currently not instaled
+# in standard Python hierarchies yet
+Requires: python
+
+%description -n clang-analyzer
+The Clang Static Analyzer consists of both a source code analysis
+framework and a standalone tool that finds bugs in C and Objective-C
+programs. The standalone tool is invoked from the command-line, and is
+intended to run in tandem with a build of a project or code base.
+
+
+%package -n clang-doc
+Summary: Documentation for Clang
+Group: Documentation
+BuildArch: noarch
+Requires: %{name} = %{version}-%{release}
+
+%description -n clang-doc
+Documentation for the Clang compiler front-end.
+%endif
+
+
+%if %{with doxygen}
+%package apidoc
+Summary: API documentation for LLVM
+Group: Development/Languages
+BuildArch: noarch
+Requires: %{name}-doc = %{version}-%{release}
+
+
+%description apidoc
+API documentation for the LLVM compiler infrastructure.
+
+
+%if %{with clang}
+%package -n clang-apidoc
+Summary: API documentation for Clang
+Group: Development/Languages
+BuildArch: noarch
+Requires: clang-doc = %{version}-%{release}
+
+
+%description -n clang-apidoc
+API documentation for the Clang compiler.
+%endif
+%endif
+
+
+
+
+%prep
+%setup -q -n llvm-%{version}%{?prerel}.src %{?with_clang:-a1}
+rm -r -f tools/clang
+%if %{with clang}
+mv clang-%{version}%{?prerel}.src tools/clang
+%endif
+
+
+
+
+# fix ld search path
+sed -i 's|/lib /usr/lib $lt_ld_extra|%{_libdir} $lt_ld_extra|' \
+ ./configure
+
+
+%build
+# Build without -ftree-pre as a workaround for clang segfaulting on x86_64.
+# https://bugzilla.redhat.com/show_bug.cgi?id=791365
+%global optflags %(echo %{optflags} | sed 's/-O2 /-O2 -fno-tree-pre /')
+
+# Disabling assertions now, rec. by pure and needed for OpenGTL
+%configure \
+ --prefix=%{_prefix} \
+ --libdir=%{_libdir}/%{name} \
+%if %{with doxygen}
+ --enable-doxygen \
+%endif
+%if %{with gold}
+ --with-binutils-include=%{_includedir} \
+%endif
+ --enable-targets=host \
+%ifarch armv7hl armv7l
+ --with-cpu=cortex-a8 \
+ --with-tune=cortex-a8 \
+ --with-arch=armv7-a \
+ --with-float=hard \
+ --with-fpu=vfpv3-d16 \
+ --with-abi=aapcs-linux \
+%endif
+ --disable-assertions \
+ --enable-debug-runtime \
+ --enable-jit \
+ --enable-libffi \
+ --enable-shared
+
+# FIXME file this
+# configure does not properly specify libdir
+sed -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_lib}/%{name}|g' Makefile.config
+
+# FIXME upstream need to fix this
+# llvm-config.cpp hardcodes lib in it
+sed -i 's|ActiveLibDir = ActivePrefix + "/lib"|ActiveLibDir = ActivePrefix + "/%{_lib}/%{name}"|g' tools/llvm-config/llvm-config.cpp
+
+make %{_smp_mflags} REQUIRES_RTTI=1 VERBOSE=1 OPTIMIZE_OPTION="%{optflags}"
+
+%check
+# the Koji build server does not seem to have enough RAM
+# for the default 16 threads
+
+make check LIT_ARGS="-v -j4" \
+%ifarch %{arm}
+ | tee llvm-testlog-%{_arch}.txt
+%else
+ %{nil}
+%endif
+
+%if %{with clang}
+# FIXME:
+# unexpected failures on all platforms with GCC 4.7.0.
+# capture logs
+make -C tools/clang/test TESTARGS="-v -j4" \
+ | tee clang-testlog-%{_arch}.txt
+%endif
+
+%install
+make install DESTDIR=%{buildroot} \
+ PROJ_docsdir=/moredocs
+
+# multilib fixes
+mv %{buildroot}%{_bindir}/llvm-config{,-%{__isa_bits}}
+
+pushd %{buildroot}%{_includedir}/llvm/Config
+mv config.h config-%{__isa_bits}.h
+cp -p %{SOURCE2} config.h
+mv llvm-config.h llvm-config-%{__isa_bits}.h
+cp -p %{SOURCE3} llvm-config.h
+popd
+
+# Create ld.so.conf.d entry
+mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
+cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf << EOF
+%{_libdir}/llvm
+EOF
+
+%if %{with clang}
+# Static analyzer not installed by default:
+# http://clang-analyzer.llvm.org/installation#OtherPlatforms
+mkdir -p %{buildroot}%{_libdir}/clang-analyzer
+# create launchers
+for f in scan-{build,view}; do
+ ln -s %{_libdir}/clang-analyzer/$f/$f %{buildroot}%{_bindir}/$f
+done
+
+(cd tools/clang/tools && cp -pr scan-{build,view} \
+ %{buildroot}%{_libdir}/clang-analyzer/)
+%endif
+
+# Move documentation back to build directory
+#
+mv %{buildroot}/moredocs .
+rm -f moredocs/*.tar.gz
+rm -f moredocs/ocamldoc/html/*.tar.gz
+
+# and separate the apidoc
+%if %{with doxygen}
+mv moredocs/html/doxygen apidoc
+mv tools/clang/docs/doxygen/html clang-apidoc
+%endif
+
+# And prepare Clang documentation
+#
+%if %{with clang}
+mkdir clang-docs
+for f in LICENSE.TXT NOTES.txt README.txt; do # TODO.txt; do
+ ln tools/clang/$f clang-docs/
+done
+rm -rf tools/clang/docs/{doxygen*,Makefile*,*.graffle,tools}
+%endif
+
+
+file %{buildroot}/%{_bindir}/* | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d
+file %{buildroot}/%{_libdir}/llvm/*.so | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d
+#chrpath -d %%{buildroot}/%%{_libexecdir}/clang-cc
+
+# Get rid of erroneously installed example files.
+rm %{buildroot}%{_libdir}/%{name}/*LLVMHello.*
+
+# FIXME file this bug
+sed -i 's,ABS_RUN_DIR/lib",ABS_RUN_DIR/%{_lib}/%{name}",' \
+ %{buildroot}%{_bindir}/llvm-config-%{__isa_bits}
+
+chmod -x %{buildroot}%{_libdir}/%{name}/*.a
+
+# remove documentation makefiles:
+# they require the build directory to work
+find examples -name 'Makefile' | xargs -0r rm -f
+
+
+cd $RPM_BUILD_DIR
+
+%remove_docs
+
+
+%post -n libllvm -p /sbin/ldconfig
+
+%postun -n libllvm -p /sbin/ldconfig
+
+%if %{with clang}
+%post -n clang -p /sbin/ldconfig
+
+%postun -n clang -p /sbin/ldconfig
+%endif
+
+%posttrans devel
+# link llvm-config to the platform-specific file;
+# use ISA bits as priority so that 64-bit is preferred
+# over 32-bit if both are installed
+/usr/sbin/update-alternatives \
+ --install \
+ %{_bindir}/llvm-config \
+ llvm-config \
+ %{_bindir}/llvm-config-%{__isa_bits} \
+ %{__isa_bits}
+
+%postun devel
+if [ $1 -eq 0 ]; then
+ /usr/sbin/update-alternatives --remove llvm-config \
+ %{_bindir}/llvm-config-%{__isa_bits}
+fi
+exit 0
+
+
+%files
+%defattr(-,root,root,-)
+%license LICENSE.TXT
+%{_bindir}/bugpoint
+%{_bindir}/llc
+%{_bindir}/lli
+%exclude %{_bindir}/llvm-config-%{__isa_bits}
+%{_bindir}/llvm*
+%{_bindir}/macho-dump
+%{_bindir}/opt
+
+%files devel
+%defattr(-,root,root,-)
+%{_bindir}/llvm-config-%{__isa_bits}
+%{_includedir}/%{name}
+%{_includedir}/%{name}-c
+%{_libdir}/%{name}/*.a
+
+%files -n libllvm
+%defattr(-,root,root,-)
+%config(noreplace) %{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf
+%dir %{_libdir}/%{name}
+%if %{with clang}
+%exclude %{_libdir}/%{name}/libclang.so
+%endif
+%{_libdir}/%{name}/*.so
+
+%if %{with clang}
+%files -n clang
+%defattr(-,root,root,-)
+%{_bindir}/clang*
+%{_bindir}/c-index-test
+%{_libdir}/%{name}/libclang.so
+%{_prefix}/lib/clang
+
+%files -n clang-devel
+%defattr(-,root,root,-)
+%{_includedir}/clang
+%{_includedir}/clang-c
+
+%files -n clang-analyzer
+%defattr(-,root,root,-)
+%{_bindir}/scan-build
+%{_bindir}/scan-view
+%{_libdir}/clang-analyzer
+%endif
+
+
+%if %{with doxygen}
+%files apidoc
+%defattr(-,root,root,-)
+%doc apidoc/*
+
+%if %{with clang}
+%files -n clang-apidoc
+%defattr(-,root,root,-)
+%doc clang-apidoc/*
+%endif
+%endif
+
--- /dev/null
+Name: osp-loader
+Summary: osp application loader
+Version: 1.2.1.0
+Release: 2
+Group: TO_BE/FILLED_IN
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(libprivilege-control)
+
+# runtime requires
+Requires: osp-env-config
+
+%description
+osp application loader
+
+%prep
+%setup -q
+
+%build
+%ifarch %{ix86} x86_64
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" %cmake .
+%else
+CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_ARMEL_" %cmake .
+%endif
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+%make_install
+
+mkdir -p %{buildroot}/opt/usr/apps
+
+%files
+%manifest osp-loader.manifest
+/usr/share/license/%{name}
+%{_libdir}/osp/*
+/opt/usr/apps
+
--- /dev/null
+Name: capi-location-manager
+Summary: A Location Manager library in Tizen Native API
+Version: 0.1.11
+Release: 1
+Group: Location/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(location)
+BuildRequires: pkgconfig(capi-base-common)
+
+%description
+A Location Manager library in Tizen Native API.
+
+
+%package devel
+Summary: A Location Manager library in Tizen Native API (Development)
+Group: Location/Development
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE
+%manifest capi-location-manager.manifest
+%{_libdir}/libcapi-location-manager.so.*
+
+%files devel
+%{_includedir}/location/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-location-manager.so
+
+
--- /dev/null
+Name: location-module
+Summary: Location module
+Version: 0.1.22
+Release: 1
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gmodule-2.0)
+BuildRequires: pkgconfig(location)
+BuildRequires: pkgconfig(geoclue)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(libcurl)
+BuildRequires: pkgconfig(json-glib-1.0)
+
+%description
+Location module
+
+
+%package -n location-geoclue-nominatim
+Summary: geoclue-nominatim map-service module for location
+Group: TO_BE/FILLED_IN
+
+%description -n location-geoclue-nominatim
+geoclue-nominatim map-service module for location
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+%configure --prefix=%{_prefix} --enable-dlog --enable-debug
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%files -n location-geoclue-nominatim
+%manifest location-geoclue-nominatim.manifest
+%defattr(-,root,root,-)
+%{_libdir}/location/module/libmap-service-osm*
+
--- /dev/null
+%define PREFIX /usr/apps/org.tizen.lockscreen
+
+Name: org.tizen.lockscreen
+Summary: lockscreen application
+Version: 0.1.16
+Release: 1
+Group: TBD
+License: Apache
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(capi-system-info)
+
+BuildRequires: cmake
+BuildRequires: gettext
+BuildRequires: edje-tools
+%description
+lockscreen application.
+
+%prep
+%setup -q
+
+%build
+LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--as-needed";export LDFLAGS
+cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+mkdir -p %{buildroot}/usr/apps/org.tizen.lockscreen/data
+mkdir -p %{buildroot}/usr/share/license
+install -m 0755 LICENSE.Flora %{buildroot}/usr/share/license/org.tizen.lockscreen
+
+%post
+/sbin/ldconfig
+
+GOPTION="-g 6514"
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest org.tizen.lockscreen.manifest
+%defattr(-,root,root,-)
+%attr(-,inhouse,inhouse) %dir /usr/apps/org.tizen.lockscreen/data
+/usr/apps/org.tizen.lockscreen/*
+/usr/share/packages/org.tizen.lockscreen.xml
+/usr/share/license/org.tizen.lockscreen
+/usr/apps/org.tizen.lockscreen/res/locale/*/LC_MESSAGES/lockscreen.mo
+#/opt/etc/smack/accesses.d/org.tizen.lockscreen.rule
--- /dev/null
+#sbs-git:slp/pkgs/l/lsb lsb 3.2 1eb8dfd6cc0768fd81b1d604eddd82287099af01
+
+Name: lsb
+Summary: LSB support for SLP
+Version: 3.2
+Release: 3
+Group: System/Base
+License: GPLv2
+Source0: %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+Source1002: %{name}
+Provides: /lib/lsb/init-functions
+
+%description
+Linux Standard Base 3.2
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}/lib/lsb
+cp -p init-functions %{buildroot}/lib/lsb
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/license
+cp %{SOURCE1002} $RPM_BUILD_ROOT%{_datadir}/license
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_datadir}/license/%{name}
+/lib/lsb/init-functions
--- /dev/null
+Name: lsof
+Version: 4.87
+Release: 0
+License: Zlib
+Summary: A utility which lists open files on a Linux/UNIX system
+URL: http://people.freebsd.org/~abe/
+Group: Base/Tools
+# lsof contains licensed code that we cannot ship. Therefore we use
+# upstream2downstream.sh script to remove the code before shipping it.
+Source0: %{name}_%{version}-linux-only.tar.xz
+Source1: upstream2downstream.sh
+
+%description
+Lsof stands for LiSt Open Files, and it does just that: it lists
+information about files that are open by the processes running on a
+UNIX system.
+
+%prep
+%setup -q -n %{name}_%{version}-linux-only
+
+%build
+LSOF_VSTR=2.6.16 LINUX_BASE=/proc ./Configure -n linux
+
+make DEBUG="%{optflags}" %{?_smp_mflags}
+
+%install
+install -Dm755 lsof %{buildroot}%{_sbindir}/lsof
+install -Dm644 lsof.8 %{buildroot}%{_mandir}/man8/lsof.8
+
+
+%docs_package
+
+%files
+%{_sbindir}/lsof
--- /dev/null
+Name: ltrace
+Version: 0.7.2
+Release: 0
+BuildRequires: binutils-devel
+BuildRequires: gcc-c++
+BuildRequires: libelf-devel
+Url: http://ltrace.org/
+Summary: Trace the Library and System Calls a Program Makes
+License: GPL-2.0+
+Group: Development/Tools
+Source: ltrace-%{version}.tar.bz2
+Source2: baselibs.conf
+
+%description
+Ltrace is a program that runs the specified command until it exits. It
+intercepts and records the dynamic library calls that are called by the
+executed process and the signals that are received by that process. It
+can also intercept and print the system calls executed by the program.
+
+The program to trace need not be recompiled for this, so you can use
+ltrace on binaries for which you do not have access to the source.
+
+This is still a work in progress, so, for example, the tracking to
+child processes may fail or some things may not work as expected.
+
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="%{optflags}"
+%configure --build=%{_target_cpu}-tizen-linux
+make
+
+%install
+%make_install
+rm -rf %{buildroot}/usr/share/doc/ltrace
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/ltrace
+%{_mandir}/man?/ltrace.?.gz
+%{_mandir}/man?/ltrace.conf.?.gz
+%config /etc/ltrace.conf
+
+%changelog
--- /dev/null
+Name: lua
+Version: 5.1.4
+Release: 0
+License: MIT
+Summary: Small Embeddable Language with Simple Procedural Syntax
+Url: http://www.lua.org
+Group: Base/Libraries
+Source: %{name}-%{version}.tar.gz
+Source1: macros.lua
+Source2: baselibs.conf
+%define major_version 5.1
+BuildRequires: pkg-config
+BuildRequires: readline-devel
+
+%description
+Lua is a programming language originally designed for extending
+applications, but also frequently used as a general-purpose,
+stand-alone language.
+
+Lua combines simple procedural syntax (similar to Pascal) with powerful
+data description constructs based on associative arrays and extensible
+semantics. Lua is dynamically typed, interpreted from byte codes, and
+has automatic memory management, making it ideal for configuration,
+scripting, and rapid prototyping. Lua is implemented as a small library
+of C functions, written in ANSI C, and the implementation goals are
+simplicity, efficiency, portability, and low embedding cost.
+
+%package devel
+Summary: Development files for lua
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Lua is a programming language originally designed for extending
+applications, but also frequently used as a general-purpose,
+stand-alone language.
+
+This package contains files needed for embedding lua into your
+application.
+
+%package -n liblua
+Summary: Small Embeddable Language with Simple Procedural Syntax
+Group: Base/Libraries
+
+%description -n liblua
+Lua is a programming language originally designed for extending
+applications, but also frequently used as a general-purpose,
+stand-alone language.
+
+Lua combines simple procedural syntax (similar to Pascal) with powerful
+data description constructs based on associative arrays and extensible
+semantics. Lua is dynamically typed, interpreted from byte codes, and
+has automatic memory management, making it ideal for configuration,
+scripting, and rapid prototyping. Lua is implemented as a small library
+of C functions, written in ANSI C, and the implementation goals are
+simplicity, efficiency, portability, and low embedding cost.
+
+%package doc
+Summary: Small Embeddable Language with Simple Procedural Syntax
+Group: Documentation
+BuildArch: noarch
+
+%description doc
+Lua is a programming language originally designed for extending
+applications, but also frequently used as a general-purpose,
+stand-alone language.
+
+Lua combines simple procedural syntax (similar to Pascal) with powerful
+data description constructs based on associative arrays and extensible
+semantics. Lua is dynamically typed, interpreted from byte codes, and
+has automatic memory management, making it ideal for configuration,
+scripting, and rapid prototyping. Lua is implemented as a small library
+of C functions, written in ANSI C, and the implementation goals are
+simplicity, efficiency, portability, and low embedding cost.
+
+%prep
+%setup -q -n lua-%{version}
+
+%build
+sed -i 's:LUA_ROOT2 "LIBDIR/lua/%{major_version}/":LUA_ROOT2 \"%{_lib}/lua/%{major_version}/":' src/luaconf.h
+make %{?_smp_mflags} -C src CC="gcc" MYCFLAGS="%{optflags} -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{major_version} all
+
+%install
+make install INSTALL_TOP="%{buildroot}%{_prefix}" INSTALL_LIB="%{buildroot}%{_libdir}" INSTALL_CMOD=%{buildroot}%{_libdir}/lua/%{major_version} INSTALL_MAN="%{buildroot}%{_mandir}/man1"
+install -D -m644 etc/lua.pc %{buildroot}%{_libdir}/pkgconfig/lua.pc
+for file in lua luac ; do
+ mv "%{buildroot}%{_bindir}/${file}" "%{buildroot}%{_bindir}/${file}%{major_version}"
+ mv "%{buildroot}%{_mandir}/man1/${file}.1" "%{buildroot}%{_mandir}/man1/${file}%{major_version}.1"
+done
+install -d -m 0755 %{buildroot}%{_libdir}/lua/%{major_version}
+install -d -m 0755 %{buildroot}%{_datadir}/lua/%{major_version}
+install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.lua
+
+chmod +x %{buildroot}/%{_libdir}/liblua.so.%{major_version}
+
+ln -s lua%{major_version} %{buildroot}%{_bindir}/lua
+
+%post -n liblua -p /sbin/ldconfig
+
+%postun -n liblua -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%{_mandir}/man1/lua%{major_version}.1*
+%{_mandir}/man1/luac%{major_version}.1*
+%{_bindir}/lua
+%{_bindir}/lua%{major_version}
+%{_bindir}/luac%{major_version}
+%dir %{_libdir}/lua
+%dir %{_libdir}/lua/%{major_version}
+%dir %{_datadir}/lua
+%dir %{_datadir}/lua/%{major_version}
+%{_sysconfdir}/rpm/macros.lua
+
+%files -n liblua
+%defattr(-,root,root)
+%license COPYRIGHT
+%{_libdir}/liblua.so.%{major_version}
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/lauxlib.h
+%{_includedir}/lua.h
+%{_includedir}/lua.hpp
+%{_includedir}/luaconf.h
+%{_includedir}/lualib.h
+%{_libdir}/pkgconfig/lua.pc
+%{_libdir}/liblua.a
+%{_libdir}/liblua.so
+
+%files doc
+%defattr(-,root,root)
+%doc doc/*
+
+%changelog
--- /dev/null
+Name: lzo
+Version: 2.03
+Release: 3.15
+License: GPL-2.0+
+Summary: Data compression library with very fast (de)compression
+Url: http://www.oberhumer.com/opensource/lzo/
+Group: System/Libraries
+Source0: http://www.oberhumer.com/opensource/lzo/download/%{name}-%{version}.tar.gz
+BuildRequires: zlib-devel
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+LZO is a portable lossless data compression library written in ANSI C.
+It offers pretty fast compression and very fast decompression.
+Decompression requires no memory. In addition there are slower
+compression levels achieving a quite competitive compression ratio
+while still decompressing at this very high speed.
+
+%package minilzo
+Summary: Mini version of lzo for apps which don't need the full version
+Group: System/Libraries
+Requires: %{name} = %{version}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description minilzo
+A small (mini) version of lzo for embedding into applications which don't need
+full blown lzo compression support.
+
+%package devel
+Summary: Development files for the lzo library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: zlib-devel
+
+%description devel
+LZO is a portable lossless data compression library written in ANSI C.
+It offers pretty fast compression and very fast decompression.
+This package contains development files needed for lzo.
+
+%prep
+%setup -q
+
+
+%build
+
+%configure --disable-static \
+ --disable-dependency-tracking \
+ --enable-shared \
+ CFLAGS="`echo $CFLAGS | sed 's/-O2//g'`"
+
+make %{?_smp_mflags}
+
+# build minilzo too (bz 439979)
+gcc %{optflags} -O2 -g -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
+#gcc -O2 -g -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
+gcc -g -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
+%install
+%make_install
+
+install -m 755 libminilzo.so.0 %{buildroot}%{_libdir}
+ln -s libminilzo.so.0 %{buildroot}%{_libdir}/libminilzo.so
+install -p -m 644 minilzo/minilzo.h %{buildroot}%{_includedir}/lzo
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+%post minilzo -p /sbin/ldconfig
+
+%postun minilzo -p /sbin/ldconfig
+
+
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING THANKS NEWS
+%{_libdir}/liblzo2.so.*
+
+
+%files minilzo
+%defattr(-,root,root,-)
+%doc minilzo/README.LZO
+%{_libdir}/libminilzo.so.0
+
+%files devel
+%defattr(-,root,root,-)
+%doc doc/LZOAPI.TXT doc/LZO.FAQ doc/LZO.TXT
+%{_includedir}/lzo
+%{_libdir}/lib*lzo*.so
+
--- /dev/null
+Name: lzop
+Version: 1.03
+Release: 1
+License: GPLv2+
+Summary: lzop
+URL: http://www.lzop.org
+Group: Applications/Text
+Source: %{name}-%{version}.tar.gz
+Source1001: packaging/lzop.manifest
+BuildRequires: lzo
+BuildRequires: lzo-devel
+
+
+%description
+lzop is a file compressor which is very similar to gzip. lzop uses
+the LZO data compression library for compression services, and its
+main advantages over gzip are much higher compression and
+decompression speed (at the cost of some compression ratio).
+
+lzop is copyrighted OpenSource software distributed under the terms
+of the GNU General Public License (GPL).
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+%configure --disable-nls
+make PR_PROGRAM=%{_bindir}/pr
+
+%install
+%make_install
+
+%clean
+rm -rf %{buildroot}
+
+%docs_package
+
+%files
+%manifest lzop.manifest
+%defattr(-,root,root,-)
+%doc NEWS README COPYING
+%{_bindir}/*
+%{_mandir}/*/*
--- /dev/null
+Name: m4
+Version: 1.4.16
+Release: 0
+License: GPL-3.0+
+Summary: GNU m4
+Url: http://www.gnu.org/software/m4/
+Group: Development/Languages/Other
+Source: http://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.bz2
+Provides: base:/usr/bin/m4
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+GNU m4 is an implementation of the traditional Unix macro processor.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --without-included-regex \
+ gl_cv_func_isnanl_works=yes \
+ gl_cv_func_printf_directive_n=yes
+make %{?_smp_mflags}
+
+%check
+make %{?_smp_mflags} check || true
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/*
+%doc %{_infodir}/*.gz
+%{_mandir}/*/*
+
--- /dev/null
+Name: make
+Url: http://www.gnu.org/software/make/make.html
+Provides: gmake
+Version: 3.82
+Release: 0
+Summary: GNU make
+License: GPL-2.0+
+Group: Development/Tools/Building
+Source: make-%version.tar.bz2
+
+%description
+The GNU make command with extensive documentation.
+
+%prep
+%setup -q
+
+%build
+CFLAGS=$RPM_OPT_FLAGS \
+./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-nls
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+ln -s make $RPM_BUILD_ROOT/usr/bin/gmake
+
+%files
+%defattr(-,root,root)
+%license COPYING
+/usr/bin/make
+/usr/bin/gmake
+%doc /usr/share/info/make.info-*.gz
+%doc /usr/share/info/make.info.gz
+%doc /usr/share/man/man1/make.1.gz
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
+
+%postun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
+
+%changelog
--- /dev/null
+Name: makedepend
+Version: 1.0.4
+Release: 0
+License: MIT
+Summary: Utility to create dependencies in makefiles
+Url: http://xorg.freedesktop.org/
+Group: Development/Tools/Building
+Source0: http://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto)
+Conflicts: xorg-x11-util-devel <= 7.6
+
+%description
+The makedepend program reads each sourcefile in sequence and parses it
+like a C-preprocessor so that it can correctly tell which #include
+directives would be used in a compilation.
+
+These dependencies are then written to a makefile in such a way that
+make will know which object files must be recompiled when a dependency
+has changed.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/makedepend
+%{_mandir}/man1/makedepend.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: man-db
+Version: 2.6.3
+Release: 1
+License: GPL-2.0+
+Summary: A set of documentation tools: man, apropos and whatis
+Url: http://man-db.nongnu.org/
+Group: System/Base
+Source: %{name}-%{version}.tar.xz
+BuildRequires: db4-devel
+BuildRequires: gettext
+BuildRequires: groff
+BuildRequires: pkgconfig(libpipeline)
+Requires: bzip2
+Requires: coreutils
+Requires: groff >= 1.18
+Requires: gzip
+Requires: less
+Requires: lzma
+Provides: man
+
+%description
+The man package includes three tools for finding information and/or
+documentation about your Linux system: man, apropos, and whatis. The
+man system formats and displays on-line manual pages about commands or
+functions on your system. Apropos searches the whatis database
+(containing short descriptions of system commands) for a string.
+Whatis searches its own database for a complete word.
+
+The man package should be installed on your system because it is the
+primary way to find documentation on a Linux system.
+
+%prep
+%setup -q
+
+%build
+%configure --libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --with-db=db4 \
+ --disable-setuid \
+ --enable-mandirs=GNU \
+ --enable-mb-groff \
+ --with-sections="1 n l 8 3 0 2 5 4 9 6 7"
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%find_lang %{name} --with-man --all-name
+
+rm -rf %{buildroot}%{_datadir}/doc/man-db
+
+# groff provides this file
+rm %{buildroot}%{_bindir}/zsoelim
+
+
+%lang_package
+
+%docs_package
+
+%files
+%config(noreplace) %{_sysconfdir}/man_db.conf
+%{_bindir}/apropos
+%{_bindir}/catman
+%{_bindir}/lexgrog
+%{_bindir}/man
+%{_bindir}/mandb
+%{_bindir}/manpath
+%{_bindir}/whatis
+%{_sbindir}/accessdb
+%{_libdir}/man-db/libman-2.6.3.so
+%{_libdir}/man-db/libman.so
+%{_libdir}/man-db/libmandb-2.6.3.so
+%{_libdir}/man-db/libmandb.so
+%{_libdir}/man-db/globbing
+%{_libdir}/man-db/manconv
--- /dev/null
+Name: capi-content-media-content
+Summary: A Media content library in SLP C API
+Version: 0.2.58
+Release: 0
+Group: Multimedia/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(libmedia-service)
+BuildRequires: pkgconfig(media-thumbnail)
+BuildRequires: pkgconfig(libmedia-utils)
+
+
+%description
+A Media content library in SLP C API.
+
+
+%package devel
+Summary: A Media content library in SLP C API (Development)
+Group: Development/Multimedia
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+#License
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2.0
+%manifest capi-content-media-content.manifest
+%{_libdir}/libcapi-content-media-content.so.*
+
+%files devel
+%{_includedir}/media-content/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-content-media-content.so
+
+
--- /dev/null
+%define _optdir /opt/usr
+
+Name: media-data-sdk
+Summary: Media data for SDK. Image/Sounds/Videos and Others.
+Version: 0.1.42
+Release: 1
+Group: TO_BE/FILLED_IN
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): coreutils
+Requires(post): sqlite
+BuildRequires: cmake
+
+%description
+Description: Media data for SDK. Image/Sounds/Videos and Others.
+
+%prep
+%setup -q
+LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{_optdir}
+
+%build
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+##change permission install files
+chmod 666 %{buildroot}/opt/usr/media/Images/*
+
+##delete unusing files
+rm %{buildroot}/opt/usr/media/Downloads/.gitignore
+rm %{buildroot}/opt/usr/media/Videos/.gitignore
+rm %{buildroot}/opt/usr/media/Camera/.gitignore
+rm %{buildroot}/opt/usr/media/Sounds/Voice\ recorder/.gitignore
+
+#Create DB
+mkdir -p %{buildroot}/opt/usr/dbspace
+sqlite3 %{buildroot}/opt/usr/dbspace/.media.db 'PRAGMA journal_mode = PERSIST;
+
+ CREATE TABLE IF NOT EXISTS album (album_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, artist TEXT, album_art TEXT, unique(name, artist));
+ CREATE TABLE IF NOT EXISTS bookmark (bookmark_id INTEGER PRIMARY KEY AUTOINCREMENT, media_uuid TEXT NOT NULL, marked_time INTEGER DEFAULT 0, thumbnail_path TEXT, unique(media_uuid, marked_time));
+ CREATE TABLE IF NOT EXISTS folder (folder_uuid TEXT PRIMARY KEY, path TEXT NOT NULL UNIQUE, name TEXT NOT NULL, modified_time INTEGER DEFAULT 0, storage_type INTEGER, unique(path, name, storage_type));
+ CREATE TABLE IF NOT EXISTS media (media_uuid TEXT PRIMARY KEY, path TEXT NOT NULL UNIQUE, file_name TEXT NOT NULL, media_type INTEGER, mime_type TEXT, size INTEGER DEFAULT 0, added_time INTEGER DEFAULT 0, modified_time INTEGER DEFAULT 0, folder_uuid TEXT NOT NULL, thumbnail_path TEXT, title TEXT, album_id INTEGER DEFAULT 0, album TEXT, artist TEXT, genre TEXT, composer TEXT, year TEXT, recorded_date TEXT, copyright TEXT, track_num TEXT, description TEXT, bitrate INTEGER DEFAULT -1, samplerate INTEGER DEFAULT -1, channel INTEGER DEFAULT -1, duration INTEGER DEFAULT -1, longitude DOUBLE DEFAULT 0, latitude DOUBLE DEFAULT 0, altitude DOUBLE DEFAULT 0, width INTEGER DEFAULT -1, height INTEGER DEFAULT -1, datetaken TEXT, orientation INTEGER DEFAULT -1, burst_id TEXT, played_count INTEGER DEFAULT 0, last_played_time INTEGER DEFAULT 0, last_played_position INTEGER DEFAULT 0, rating INTEGER DEFAULT 0, favourite INTEGER DEFAULT 0, author TEXT, provider TEXT, content_name TEXT, category TEXT, location_tag TEXT, age_rating TEXT, keyword TEXT, is_drm INTEGER DEFAULT 0, storage_type INTEGER, validity INTEGER DEFAULT 1, unique(path, file_name) );
+ CREATE TABLE IF NOT EXISTS playlist ( playlist_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL UNIQUE, thumbnail_path TEXT );
+ CREATE TABLE IF NOT EXISTS playlist_map ( _id INTEGER PRIMARY KEY AUTOINCREMENT, playlist_id INTEGER NOT NULL, media_uuid TEXT NOT NULL, play_order INTEGER NOT NULL );
+ CREATE TABLE IF NOT EXISTS tag ( tag_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL UNIQUE );
+ CREATE TABLE IF NOT EXISTS tag_map ( _id INTEGER PRIMARY KEY AUTOINCREMENT, tag_id INTEGER NOT NULL, media_uuid TEXT NOT NULL, unique(tag_id, media_uuid) );
+ CREATE INDEX folder_folder_uuid_idx on folder (folder_uuid);
+ CREATE INDEX folder_uuid_idx on media (folder_uuid);
+ CREATE INDEX media_album_idx on media (album);
+ CREATE INDEX media_artist_idx on media (artist);
+ CREATE INDEX media_author_idx on media (author);
+ CREATE INDEX media_category_idx on media (category);
+ CREATE INDEX media_composer_idx on media (composer);
+ CREATE INDEX media_content_name_idx on media (content_name);
+ CREATE INDEX media_file_name_idx on media (file_name);
+ CREATE INDEX media_genre_idx on media (genre);
+ CREATE INDEX media_location_tag_idx on media (location_tag);
+ CREATE INDEX media_media_type_idx on media (media_type);
+ CREATE INDEX media_media_uuid_idx on media (media_uuid);
+ CREATE INDEX media_modified_time_idx on media (modified_time);
+ CREATE INDEX media_path_idx on media (path);
+ CREATE INDEX media_provider_idx on media (provider);
+ CREATE INDEX media_title_idx on media (title);
+
+ CREATE VIEW IF NOT EXISTS playlist_view AS
+ SELECT
+ p.playlist_id, p.name, p.thumbnail_path, media_count, pm._id as pm_id, pm.play_order, m.media_uuid, path, file_name, media_type, mime_type, size, added_time, modified_time, m.thumbnail_path, description, rating, favourite, author, provider, content_name, category, location_tag, age_rating, keyword, is_drm, storage_type, longitude, latitude, altitude, width, height, datetaken, orientation, title, album, artist, genre, composer, year, recorded_date, copyright, track_num, bitrate, duration, played_count, last_played_time, last_played_position, samplerate, channel FROM playlist AS p
+ INNER JOIN playlist_map AS pm
+ INNER JOIN media AS m
+ INNER JOIN (SELECT count(playlist_id) as media_count, playlist_id FROM playlist_map group by playlist_id) as cnt_tbl
+ ON (p.playlist_id=pm.playlist_id AND pm.media_uuid = m.media_uuid AND cnt_tbl.playlist_id=pm.playlist_id AND m.validity=1)
+ UNION
+ SELECT
+ playlist_id, name, thumbnail_path, 0, 0, -1, NULL, NULL, -1, -1, -1, -1, -1, NULL, NULL, -1, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -1, -1, -1, -1, -1, -1, -1, -1, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -1, -1, -1, -1, -1, -1, NULL, -1 FROM playlist
+ WHERE playlist_id
+ NOT IN (select playlist_id from playlist_map);
+
+ CREATE VIEW IF NOT EXISTS tag_view AS
+ SELECT
+ t.tag_id, t.name, media_count, tm._id as tm_id, m.media_uuid, path, file_name, media_type, mime_type, size, added_time, modified_time, thumbnail_path, description, rating, favourite, author, provider, content_name, category, location_tag, age_rating, keyword, is_drm, storage_type, longitude, latitude, altitude, width, height, datetaken, orientation, title, album, artist, genre, composer, year, recorded_date, copyright, track_num, bitrate, duration, played_count, last_played_time, last_played_position, samplerate, channel FROM tag AS t
+ INNER JOIN tag_map AS tm
+ INNER JOIN media AS m
+ INNER JOIN (SELECT count(tag_id) as media_count, tag_id FROM tag_map group by tag_id) as cnt_tbl
+ ON (t.tag_id=tm.tag_id AND tm.media_uuid = m.media_uuid AND cnt_tbl.tag_id=tm.tag_id AND m.validity=1)
+ UNION
+ SELECT
+ tag_id, name, 0, 0, NULL, NULL, -1, -1, -1, -1, -1, NULL, NULL, -1, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -1, -1, -1, -1, -1, -1, -1, -1, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -1, -1, -1, -1, -1, -1, NULL, -1 FROM tag
+ WHERE tag_id
+ NOT IN (select tag_id from tag_map);
+
+ CREATE TRIGGER album_cleanup DELETE ON media BEGIN DELETE FROM album WHERE (SELECT count(*) FROM media WHERE album_id=old.album_id)=1 AND album_id=old.album_id;END;
+ CREATE TRIGGER bookmark_cleanup DELETE ON media BEGIN DELETE FROM bookmark WHERE media_uuid=old.media_uuid;END;
+ CREATE TRIGGER folder_cleanup DELETE ON media BEGIN DELETE FROM folder WHERE (SELECT count(*) FROM media WHERE folder_uuid=old.folder_uuid)=1 AND folder_uuid=old.folder_uuid;END;
+ CREATE TRIGGER playlist_map_cleanup DELETE ON media BEGIN DELETE FROM playlist_map WHERE media_uuid=old.media_uuid;END;
+ CREATE TRIGGER playlist_map_cleanup_1 DELETE ON playlist BEGIN DELETE FROM playlist_map WHERE playlist_id=old.playlist_id;END;
+ CREATE TRIGGER tag_map_cleanup DELETE ON media BEGIN DELETE FROM tag_map WHERE media_uuid=old.media_uuid;END;
+ CREATE TRIGGER tag_map_cleanup_1 DELETE ON tag BEGIN DELETE FROM tag_map WHERE tag_id=old.tag_id;END;
+ INSERT INTO media VALUES("60aea677-4742-408e-b5f7-f2628062d06d","/opt/usr/media/Images/Default.jpg","Default.jpg",0,"image/jpeg",632118,3023047,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-a19569ad296e9655d1fbf216f195f801.jpg","Default",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,720,280,"2011:10:20 18:41:26",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("84b3a64a-51ef-4b3a-bbaa-c527fbbcfa42","/opt/usr/media/Images/image1.jpg","image1.jpg",0,"image/jpeg",751750,3023268,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-f5052c8428c4a22231d6ece0c63b74bd.jpg","image1",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:08 15:59:47",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("51d282b7-06d7-4bce-aebc-59e46b15f7e7","/opt/usr/media/Images/image13.jpg","image13.jpg",0,"image/jpeg",549310,3023473,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-825ded447a3ce04d14d737f93d7cee26.jpg","image13",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:59:11",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("dd6d7c0b-273d-47f5-8a37-30ebac9ac3a3","/opt/usr/media/Images/image4.jpg","image4.jpg",0,"image/jpeg",609139,3023702,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-8ea059905f24eea065a7998dc5ff1f7e.jpg","image4",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown"," ",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:44:45",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("21141e5d-e6da-45e2-93d6-5fb5c5870adb","/opt/usr/media/Images/image2.jpg","image2.jpg",0,"image/jpeg",254304,3023930,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-93d14e2e94dfbccc9f38a14c4be6a780.jpg","image2",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:08 14:54:05",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("2ec6f64b-c982-4c6a-9a70-1323d27f4aa5","/opt/usr/media/Images/image9.jpg","image9.jpg",0,"image/jpeg",1168466,3024130,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-e82b0d23bfecbddaad1b98be7674b96e.jpg","image9",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2011:10:20 18:43:39",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("db1c184c-6f31-43b4-b924-8c00ac5b6197","/opt/usr/media/Images/Home_default.jpg","Home_default.jpg",0,"image/jpeg",554116,3024507,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-66784c0b912f077f0a8de56a2f56161e.jpg","Home_default",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,720,1280,"2012:02:07 14:44:33",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("1b25f4d9-ffff-4b83-8dbf-187a0a809985","/opt/usr/media/Images/image15.jpg","image15.jpg",0,"image/jpeg",484926,3024713,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-de79768105a730492b3b28ca33ff89f4.jpg","image15",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 15:00:59",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("b3ee9659-22bb-423d-99d0-ed35240545a8","/opt/usr/media/Images/image12.jpg","image12.jpg",0,"image/jpeg",519167,3024908,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-e32fd6fd44abe296c14de2407bab1f93.jpg","image12",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:50:16",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("0d905e54-4583-4de8-80c1-ee4117e06ddf","/opt/usr/media/Images/image11.jpg","image11.jpg",0,"image/jpeg",656364,3025097,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-773fffb8f086e5954f15407b41c2635d.jpg","image11",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,720,1280,"2012:02:07 14:49:37",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("bc1eae57-376e-4ff3-b6a0-edcff8c7a1b1","/opt/usr/media/Images/image5.jpg","image5.jpg",0,"image/jpeg",773064,3025291,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-c468b6d8820bfc0d9311d76f6575251a.jpg","image5",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:45:14",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("eec305ed-ccb4-4abb-93f9-f087c823b1d4","/opt/usr/media/Images/image6.jpg","image6.jpg",0,"image/jpeg",682883,3025500,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-10555c13cdfe5a763a69e08489de3c70.jpg","image6",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2011:10:20 18:39:26",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("53101826-d64e-4d26-b448-acc1d94511a5","/opt/usr/media/Images/image14.jpg","image14.jpg",0,"image/jpeg",452386,3025742,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-6f7e6adae30603c45be7db083610d0a3.jpg","image14",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:59:44",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("dbf546ed-e984-45de-a85e-b1d750005036","/opt/usr/media/Images/image8.jpg","image8.jpg",0,"image/jpeg",930876,3026032,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-5876701a15ec16bd0226ed00044cad92.jpg","image8",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2011:10:21 10:01:44",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("696835a1-eaec-4602-8310-5e7ad9f4429b","/opt/usr/media/Images/image10.jpg","image10.jpg",0,"image/jpeg",1236980,3027125,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-70a952ceff9175115b8c3fd044cdf978.jpg","image10",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2011:10:20 18:43:24",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("4a76c208-ca95-4b2f-9de1-86c82a45506d","/opt/usr/media/Images/image16.jpg","image16.jpg",0,"image/jpeg",1443416,3027413,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-aa5afe63b8aaa41079f9f37297d0763f.jpg","image16",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,720,1280,"2011:10:20 18:42:06",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("83b9fd32-cd53-4ba7-84b8-c3d507f4701d","/opt/usr/media/Images/image7.jpg","image7.jpg",0,"image/jpeg",1073428,3027698,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-fc4557b53139ca8f35a3f13cea24ed13.jpg","image7",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,720,1280,"2011:10:20 18:41:51",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO media VALUES("a2b3cbf8-82e3-456f-b912-74b0a646da6e","/opt/usr/media/Images/image3.jpg","image3.jpg",0,"image/jpeg",738597,3027977,1337008628,"baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/data/file-manager-service/.thumb/phone/.jpg-03bdfd7e4d43c736819639b84a590b5f.jpg","image3",0,"Unknown","Unknown","Unknown","Unknown","Unknown",NULL,"Unknown","Unknown","Unknown",0,0,0,0,-200.0,-200.0,-200.0,1280,720,"2012:02:07 14:46:13",1,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1);
+ INSERT INTO folder VALUES("baeb79e5-a9da-4667-aeaf-6b98830e4ce8","/opt/usr/media/Images","Images",1337008628,0);
+'
+
+#License
+mkdir -p %{buildroot}/%{_datadir}/license
+cp -rf %{_builddir}/%{name}-%{version}/LICENSE.CCPLv3.0 %{buildroot}/%{_datadir}/license/%{name}
+
+%post
+#change permission
+chmod 664 /opt/usr/dbspace/.media.db
+chmod 664 /opt/usr/dbspace/.media.db-journal
+chmod 775 /opt/usr/data/file-manager-service
+chmod 775 /opt/usr/data/file-manager-service/.thumb
+chmod 775 /opt/usr/data/file-manager-service/.thumb/phone
+chmod 775 /opt/usr/data/file-manager-service/.thumb/mmc
+chmod 666 /opt/usr/media/Images/*
+
+#change owner
+chown -R 5000:5000 /opt/usr/media/*
+
+#change group (6017: db_filemanager 5000: app)
+chgrp 5000 /opt/usr/dbspace
+chgrp 6017 /opt/usr/dbspace/.media.db
+chgrp 6017 /opt/usr/dbspace/.media.db-journal
+chgrp 5000 /opt/usr/data/file-manager-service/
+chgrp 5000 /opt/usr/data/file-manager-service/.thumb
+chgrp 5000 /opt/usr/data/file-manager-service/.thumb/phone
+chgrp 5000 /opt/usr/data/file-manager-service/.thumb/phone/.[a-z0-9]*.*
+chgrp 5000 /opt/usr/data/file-manager-service/.thumb/mmc
+
+#for SMACK
+if [ -f /opt/usr/dbspace/.media.db ]
+then
+ chsmack -a 'media-data::db' /opt/usr/dbspace/.media.db*
+fi
+
+%files
+%manifest media-data-sdk.manifest
+%defattr(-,root,root,-)
+%{_optdir}/data/file-manager-service/plugin-config
+%{_optdir}/data/file-manager-service/.thumb/*
+%{_optdir}/media/*
+%attr(660,root,app) /opt/usr/dbspace/.media.db
+%attr(660,root,app) /opt/usr/dbspace/.media.db-journal
+%config(noreplace) /opt/usr/dbspace/.media.db
+%config(noreplace) /opt/usr/dbspace/.media.db-journal
+
+#License
+%{_datadir}/license/%{name}
+
+%changelog
+* Wed Jun 27 2012 Yong Yeon Kim <yy9875.kim@samsung.com> - 0.1.24
+- delete default files for settings
+
--- /dev/null
+Name: capi-system-media-key
+Summary: A System Information library in SLP C API
+Version: 0.1.0
+Release: 6
+Group: System/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(utilX)
+
+%description
+%{summary}.
+
+
+%package devel
+Summary: A Media Key library in SLP C API (Development)
+Group: Development/API
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license LICENSE
+%{_libdir}/libcapi-system-media-key.so.*
+%manifest capi-system-media-key.manifest
+
+%files devel
+%{_includedir}/system/media_key.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-system-media-key.so
+
+
--- /dev/null
+Name: media-server
+Summary: File manager service server.
+Version: 0.2.46
+Release: 1
+Group: Multimedia/Service
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: media-server.service
+
+Requires(post): /usr/bin/vconftool
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(drm-client)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(notification)
+
+%description
+Description: File manager service server
+
+%package -n libmedia-utils
+Summary: media server runtime library.
+Group: Multimedia/Libraries
+
+%description -n libmedia-utils
+Description : media server runtime library.
+
+
+%package -n libmedia-utils-devel
+Summary: media server development library.
+Group: Development/Multimedia
+Requires: libmedia-utils = %{version}-%{release}
+
+%description -n libmedia-utils-devel
+Description: media server development library.
+
+%prep
+%setup -q
+
+%build
+
+%autogen
+%configure --prefix=%{_prefix} --disable-static
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants
+install -m 644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system/media-server.service
+ln -s ../media-server.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/media-server.service
+
+%post
+vconftool set -t int db/filemanager/dbupdate "1" -f
+vconftool set -t int memory/filemanager/Mmc "0" -i -f
+vconftool set -t string db/private/mediaserver/mmc_info "" -f
+vconftool set -t int file/private/mediaserver/scan_internal "1" -f
+vconftool set -t int file/private/mediaserver/scan_directory "1" -f
+
+%post -n libmedia-utils -p /sbin/ldconfig
+
+%postun -n libmedia-utils -p /sbin/ldconfig
+
+%files
+#%manifest media-server.manifest
+%defattr(-,root,root,-)
+%{_bindir}/media-server
+%{_bindir}/media-scanner
+%{_bindir}/mediadb-update
+%exclude %attr(755,-,-) %{_sysconfdir}/rc.d/init.d/mediasvr
+%exclude /etc/rc.d/rc3.d/S46mediasvr
+%exclude /etc/rc.d/rc5.d/S46mediasvr
+/usr/lib/systemd/system/media-server.service
+/usr/lib/systemd/system/multi-user.target.wants/media-server.service
+%license LICENSE.APLv2.0
+
+
+%files -n libmedia-utils
+%license LICENSE.APLv2.0
+#%manifest libmedia-utils.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libmedia-utils.so.0
+%{_libdir}/libmedia-utils.so.0.0.0
+
+%files -n libmedia-utils-devel
+%defattr(-,root,root,-)
+%{_libdir}/libmedia-utils.so
+%{_libdir}/pkgconfig/libmedia-utils.pc
+%{_includedir}/media-utils/*.h
+
--- /dev/null
+%define _optdir /opt
+%define _appdir %{_optdir}/apps
+%define _opt_datadir %{_optdir}/share
+
+Name: menu-daemon
+Summary: Menu daemon
+Version: 0.2.43
+Release: 1
+Group: apps
+License: Flora Software License
+Source0: menu-daemon-%{version}.tar.gz
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(capi-system-media-key)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(x11)
+
+BuildRequires: cmake
+BuildRequires: edje-bin
+BuildRequires: embryo-bin
+BuildRequires: eet-bin
+BuildRequires: gettext-tools
+Requires(post): /usr/bin/vconftool
+
+%description
+menu-daemon (Grab H/W key, Package manifest file parsing)
+
+%prep
+%setup -q
+
+%build
+export LDFLAGS+="-Wl,--hash-style=both -Wl,--as-needed"
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+chmod +x %{buildroot}/etc/init.d/menudaemon
+chmod +x %{buildroot}/etc/init.d/menudaemon.fast
+
+%post
+vconftool set -t string memory/menuscreen/desktop "0" -i -f
+vconftool set -t int memory/idle-screen/is_idle_screen_launched "0" -i -u 5000 -f
+
+ln -sf /etc/init.d/menudaemon /etc/rc.d/rc3.d/S46menudaemon
+ln -sf /etc/init.d/menudaemon.fast /etc/rc.d/rc4.d/S85menudaemon
+
+%files
+%defattr(-,root,root,-)
+%{_sysconfdir}/init.d/menudaemon
+%{_sysconfdir}/init.d/menudaemon.fast
+%{_bindir}/menu-daemon
+
--- /dev/null
+%define _optdir /opt
+%define _usrdir /usr
+%define _appdir %{_usrdir}/apps
+%define _usr_datadir %{_usrdir}/share
+
+%define _project_name menu-screen
+%define _package_name org.tizen.%{_project_name}
+
+%define _packagedir %{_appdir}/%{_package_name}
+%define _bindir %{_packagedir}/bin
+%define _datadir %{_optdir}%{_packagedir}/data
+%define _resdir %{_packagedir}/res
+%define _sharedir %{_packagedir}/share
+
+%define _localedir %{_resdir}/locale
+
+Name: org.tizen.menu-screen
+Summary: An utility library of the menu screen
+Version: 1.1.1
+Release: 1.1
+Group: TO_BE/FILLED_IN
+License: Flora Software License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(badge)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-evas)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(ecore-imf)
+BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(shortcut)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: cmake
+BuildRequires: edje-tools
+BuildRequires: gettext-tools
+
+
+%description
+An utility library for developers of the menu screen.
+
+
+
+%package devel
+Summary: An utility library of the menu screen (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+An utility library for developers of the menu screen (devel)
+
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_datadir}
+mkdir -p %{buildroot}/usr/share/license
+
+%post
+INHOUSE_ID="5000"
+
+init_vconf()
+{
+ vconftool set -t int memory/idle-screen/top 0 -i -u 5000 -f
+ vconftool set -t string file/private/org.tizen.menu-screen/engine "gl" -i -u 5000 -f
+ vconftool set -t string db/setting/menuscreen/package_name "org.tizen.menu-screen" -i -u 5000 -f
+}
+init_vconf
+
+if [ ! -d %{_datadir}/dbspace ]
+then
+ mkdir -p %{_datadir}/dbspace
+fi
+
+if [ ! -d %{_datadir}/shortcut ]
+then
+ mkdir -p %{_datadir}/shortcut
+else
+ rm -rf %{_datadir}/shortcut/*
+fi
+
+sqlite3 %{_datadir}/dbspace/.menu_screen.db 'PRAGMA journal_mode = PERSIST;
+ create table if not exists shortcut (
+ ROWID INTEGER PRIMARY KEY AUTOINCREMENT,
+ appid TEXT,
+ name TEXT,
+ type INTEGER,
+ content_info TEXT,
+ icon TEXT
+ );
+'
+
+INHOUSE_ID="5000"
+chown -R $INHOUSE_ID:$INHOUSE_ID %{_datadir}
+chown root:$INHOUSE_ID %{_datadir}/dbspace/.menu_screen.db
+chown root:$INHOUSE_ID %{_datadir}/dbspace/.menu_screen.db-journal
+
+chmod 660 %{_datadir}/dbspace/.menu_screen.db
+chmod 660 %{_datadir}/dbspace/.menu_screen.db-journal
+
+if [ -f /usr/lib/rpm-plugins/msm.so ]
+then
+ chsmack -a 'org.tizen.menu-screen' %{_datadir}/dbspace/.menu_screen.db*
+fi
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_bindir}/menu-screen
+%{_resdir}/edje/all_apps_portrait.edj
+%{_resdir}/edje/button_edit.edj
+%{_resdir}/edje/group_4x4_portrait.edj
+%{_resdir}/edje/item_4x4.edj
+%{_resdir}/edje/layout_portrait.edj
+%{_resdir}/edje/index.edj
+%{_resdir}/images/default.png
+%{_localedir}/*/*/*.mo
+%{_usr_datadir}/packages/org.tizen.menu-screen.xml
+%{_usr_datadir}/license/%{name}
+/opt/etc/smack/accesses.d/%{_package_name}.rule
--- /dev/null
+%define glamor 1
+%bcond_with wayland
+
+%define _version 9.1.3
+%define _name_archive MesaLib
+
+Name: mesa
+Version: 9.1.3
+Release: 0
+BuildRequires: gettext-tools
+BuildRequires: makedepend
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake
+BuildRequires: llvm-devel
+BuildRequires: bison
+BuildRequires: fdupes
+BuildRequires: flex
+BuildRequires: gcc-c++
+BuildRequires: expat-devel
+BuildRequires: libtool
+BuildRequires: libxml2-python
+BuildRequires: pkgconfig
+BuildRequires: python
+BuildRequires: pkgconfig(dri2proto) >= 2.1
+BuildRequires: pkgconfig(glproto) >= 1.4.11
+BuildRequires: pkgconfig(libdrm) >= 2.4.24
+%ifarch x86_64 %ix86
+BuildRequires: pkgconfig(libdrm_intel) >= 2.4.24
+%endif
+BuildRequires: pkgconfig(libudev) > 150
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(x11-xcb)
+BuildRequires: pkgconfig(xcb-dri2)
+BuildRequires: pkgconfig(xcb-glx)
+BuildRequires: pkgconfig(xdamage)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xfixes)
+BuildRequires: pkgconfig(xxf86vm)
+%if %{with wayland}
+BuildRequires: pkgconfig(wayland-client)
+BuildRequires: pkgconfig(wayland-server)
+%endif
+BuildRequires: libXvMC-devel
+Url: http://www.mesa3d.org
+Summary: System for rendering interactive 3-D graphics
+License: MIT
+Group: Graphics/Libraries
+Source: %{_name_archive}-%{_version}.tar.bz2
+Source2: baselibs.conf
+Source3: README.updates
+Source5: drirc
+Source6: %name-rpmlintrc
+Provides: Mesa = %version
+
+%description
+Mesa is a 3-D graphics library with an API which is very similar to
+that of OpenGL.* To the extent that Mesa utilizes the OpenGL command
+syntax or state machine, it is being used with authorization from
+Silicon Graphics, Inc.(SGI). However, the author does not possess an
+OpenGL license from SGI, and makes no claim that Mesa is in any way a
+compatible replacement for OpenGL or associated with SGI. Those who
+want a licensed implementation of OpenGL should contact a licensed
+vendor.
+
+Please do not refer to the library as MesaGL (for legal reasons). It's
+just Mesa or The Mesa 3-D graphics library.
+
+* OpenGL is a trademark of Silicon Graphics Incorporated.
+
+%package devel
+Summary: Libraries, includes and more to develop Mesa applications
+Group: Development/Libraries
+Requires: mesa = %version
+Requires: mesa-libEGL-devel = %version
+Requires: mesa-libGL-devel = %version
+Requires: mesa-libGLESv1_CM-devel = %version
+Requires: mesa-libGLESv2-devel = %version
+Requires: mesa-libIndirectGL = %version
+Requires: mesa-libglapi = %version
+%if %{with wayland}
+Requires: libwayland-egl
+%endif
+Requires: libOSMesa = %version
+Requires: libgbm-devel
+
+%description devel
+Mesa is a 3-D graphics library with an API which is very similar to
+that of OpenGL.* To the extent that Mesa utilizes the OpenGL command
+syntax or state machine, it is being used with authorization from
+Silicon Graphics, Inc.(SGI). However, the author does not possess an
+OpenGL license from SGI, and makes no claim that Mesa is in any way a
+compatible replacement for OpenGL or associated with SGI. Those who
+want a licensed implementation of OpenGL should contact a licensed
+vendor.
+
+Please do not refer to the library as MesaGL (for legal reasons). It's
+just Mesa or The Mesa 3-D graphics library.
+
+* OpenGL is a trademark of Silicon Graphics Incorporated.
+
+%package -n libwayland-egl
+Summary: Wayland EGL backend for Mesa
+Group: Graphics/Libraries
+
+%description -n libwayland-egl
+Wayland EGL backend for Mesa.
+
+%package -n mesa-libEGL
+# Kudos to Debian for the descriptions
+Summary: Free implementation of the EGL API
+Group: Graphics/Libraries
+
+%description -n mesa-libEGL
+This package contains the EGL native platform graphics interface
+library. EGL provides a platform-agnostic mechanism for creating
+rendering surfaces for use with other graphics libraries, such as
+OpenGL|ES and OpenVG.
+
+This package contains modules to interface with the existing system
+GLX or DRI2 drivers to provide OpenGL via EGL. The Mesa main package
+provides drivers to provide hardware-accelerated OpenGL|ES and OpenVG
+support.
+
+%package -n mesa-libEGL-devel
+Summary: Development files for the EGL API
+Group: Development/Libraries
+Requires: mesa-libEGL = %version
+# Other requires taken care of by pkgconfig already
+
+%description -n mesa-libEGL-devel
+This package contains the development environment required for
+compiling programs against EGL native platform graphics interface
+library. EGL provides a platform-agnostic mechanism for creating
+rendering surfaces for use with other graphics libraries, such as
+OpenGL|ES and OpenVG.
+
+This package provides the development environment for compiling
+programs against the EGL library.
+
+%package -n mesa-libGL
+Summary: The GL/GLX runtime of the Mesa 3D graphics library
+Group: Graphics/Libraries
+Requires: mesa = %version
+
+%description -n mesa-libGL
+Mesa is a software library for 3D computer graphics that provides a
+generic OpenGL implementation for rendering three-dimensional
+graphics.
+
+GLX ("OpenGL Extension to the X Window System") provides the
+interface connecting OpenGL and the X Window System: it enables
+programs wishing to use OpenGL to do so within a window provided by
+the X Window System.
+
+%package -n mesa-libGL-devel
+Summary: GL/GLX development files of the OpenGL API
+Group: Development/Libraries
+Requires: mesa-libGL = %version
+
+%description -n mesa-libGL-devel
+Mesa is a software library for 3D computer graphics that provides a
+generic OpenGL implementation for rendering three-dimensional
+graphics.
+
+This package includes headers and static libraries for compiling
+programs with Mesa.
+
+%package -n mesa-libGLESv1_CM
+Summary: Free implementation of the OpenGL|ES 1.x API
+Group: Graphics/Libraries
+
+%description -n mesa-libGLESv1_CM
+OpenGL|ES is a cross-platform API for full-function 2D and 3D
+graphics on embedded systems - including consoles, phones, appliances
+and vehicles. It contains a subset of OpenGL plus a number of
+extensions for the special needs of embedded systems.
+
+OpenGL|ES 1.x provides an API for fixed-function hardware.
+
+%package -n mesa-libGLESv1_CM-devel
+Summary: Development files for the EGL API
+Group: Development/Libraries
+Requires: mesa-libGLESv1_CM = %version
+Requires: pkgconfig(egl)
+
+%description -n mesa-libGLESv1_CM-devel
+OpenGL|ES is a cross-platform API for full-function 2D and 3D
+graphics on embedded systems - including consoles, phones, appliances
+and vehicles. It contains a subset of OpenGL plus a number of
+extensions for the special needs of embedded systems.
+
+OpenGL|ES 1.x provides an API for fixed-function hardware.
+
+This package provides a development environment for building programs
+using the OpenGL|ES 1.x APIs.
+
+%package -n mesa-libGLESv2
+Summary: Free implementation of the OpenGL|ES 2.x API
+Group: Graphics/Libraries
+
+%description -n mesa-libGLESv2
+OpenGL|ES is a cross-platform API for full-function 2D and 3D
+graphics on embedded systems - including consoles, phones, appliances
+and vehicles. It contains a subset of OpenGL plus a number of
+extensions for the special needs of embedded systems.
+
+OpenGL|ES 2.x provides an API for programmable hardware including
+vertex and fragment shaders.
+
+%package -n mesa-libGLESv2-devel
+Summary: Development files for the EGL API
+Group: Development/Libraries
+Requires: mesa-libGLESv2 = %version
+Requires: pkgconfig(egl)
+
+%description -n mesa-libGLESv2-devel
+OpenGL|ES is a cross-platform API for full-function 2D and 3D
+graphics on embedded systems - including consoles, phones, appliances
+and vehicles. It contains a subset of OpenGL plus a number of
+extensions for the special needs of embedded systems.
+
+OpenGL|ES 2.x provides an API for programmable hardware including
+vertex and fragment shaders.
+
+This package provides a development environment for building
+applications using the OpenGL|ES 2.x APIs.
+
+%package -n mesa-libGLESv3-devel
+Summary: Development files for the OpenGL ES 3.x API
+Group: Development/Libraries
+Requires: pkgconfig(egl)
+
+%description -n mesa-libGLESv3-devel
+OpenGL|ES is a cross-platform API for full-function 2D and 3D
+graphics on embedded systems - including consoles, phones, appliances
+and vehicles. It contains a subset of OpenGL plus a number of
+extensions for the special needs of embedded systems.
+
+This package provides a development environment for building
+applications using the OpenGL|ES 3.x APIs.
+
+%package -n mesa-libIndirectGL
+# This is the equivalent to Debian's libgl1-mesa-swx11
+Summary: Free implementation of the OpenGL API
+Group: Graphics/Libraries
+
+%description -n mesa-libIndirectGL
+This library provides a pure software rasterizer; it does not provide
+a direct rendering capable library, or one which uses GLX. For that,
+please see Mesa-libGL1.
+
+
+%package -n mesa-libIndirectGL-devel
+Summary: Development Files for the free implementation of the OpenGL API
+Group: Development/Libraries
+Requires: mesa-libIndirectGL = %version
+
+%description -n mesa-libIndirectGL-devel
+This library provides a pure software rasterizer; it does not provide
+a direct rendering capable library, or one which uses GLX. For that,
+please see Mesa-libGL1.
+
+
+%package -n libOSMesa
+Summary: Mesa Off-screen rendering extension
+Group: Graphics/Libraries
+
+%description -n libOSMesa
+OSmesa is a Mesa extension that allows programs to render to an
+off-screen buffer using the OpenGL API without having to create a
+rendering context on an X Server. It uses a pure software renderer.
+
+%package -n libgbm
+Summary: Generic buffer management API
+Group: Graphics/Libraries
+# as per gbm.pc
+Version: 0.0.0
+Release: 0
+
+%description -n libgbm
+This package contains the GBM buffer management library. It provides
+a mechanism for allocating buffers for graphics rendering tied to
+Mesa.
+
+GBM is intended to be used as a native platform for EGL on drm or
+openwfd.
+
+%package -n libgbm-devel
+Summary: Development files for the EGL API
+Group: Development/Libraries
+Version: 0.0.0
+Release: 0
+Requires: libgbm = %version
+
+%description -n libgbm-devel
+This package contains the GBM buffer management library. It provides
+a mechanism for allocating buffers for graphics rendering tied to
+Mesa.
+
+GBM is intended to be used as a native platform for EGL on drm or
+openwfd.
+
+This package provides the development environment for compiling
+programs against the GBM library.
+
+%package -n libxatracker
+Summary: XA state tracker
+Group: Graphics/Libraries
+Version: 1.0.0
+Release: 0
+
+%description -n libxatracker
+This package contains the XA state tracker for gallium3D driver.
+It superseeds the Xorg state tracker and provides an infrastructure
+to accelerate Xorg 2D operations. It is currently used by vmwgfx
+video driver.
+
+%package -n libxatracker-devel
+Summary: Development files for the XA API
+Group: Development/Libraries
+Version: 1.0.0
+Release: 0
+Requires: libxatracker = %version
+
+%description -n libxatracker-devel
+This package contains the XA state tracker for gallium3D driver.
+It superseeds the Xorg state tracker and provides an infrastructure
+to accelerate Xorg 2D operations. It is currently used by vmwgfx
+video driver.
+
+This package provides the development environment for compiling
+programs against the XA state tracker.
+
+
+%package -n libXvMC_softpipe
+Summary: Software implementation of XVMC state tracker
+Group: Graphics/Libraries
+
+%description -n libXvMC_softpipe
+This package contains the Software implementation of the XvMC
+state tracker. This is still "work in progress", i.e. expect
+poor video quality, choppy videos and artefacts all over.
+
+
+%package -n libvdpau_softpipe
+Summary: Software implementation of XVMC state tracker
+Group: Graphics/Libraries
+
+%description -n libvdpau_softpipe
+This package contains the Software implementation of the VDPAU
+state tracker. This is still "work in progress", i.e. expect
+poor video quality, choppy videos and artefacts all over.
+
+%package -n mesa-libglapi
+Summary: Free implementation of the GL API
+Group: Graphics/Libraries
+
+%description -n mesa-libglapi
+The Mesa GL API module is responsible for dispatching all the gl*
+functions. It is intended to be mainly used by the Mesa-libGLES*
+packages.
+
+
+%prep
+%setup -n MesaLib-%{_version} -q
+
+rm -rf docs/README.{VMS,WIN32,OS2}
+
+%build
+
+%install
+rm -f src/mesa/depend
+autoreconf -fi
+%configure --enable-gles1 \
+ --enable-gles2 \
+%if %{with wayland}
+ --with-egl-platforms=x11,drm,wayland \
+%else
+ --with-egl-platforms=x11,drm \
+%endif
+ --enable-shared-glapi \
+ --enable-xa \
+ --enable-texture-float \
+%if %glamor
+ --enable-gbm \
+ --enable-glx-tls \
+%endif
+ --with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \
+%ifarch %ix86 x86_64
+ --enable-gallium-llvm \
+ --with-dri-drivers=i915,i965,swrast \
+ --with-gallium-drivers="swrast,svga" \
+ --enable-xvmc \
+%endif
+%ifarch %arm
+ --with-dri-drivers=swrast \
+ --with-gallium-drivers="" \
+%endif
+ CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
+make %{?_smp_mflags}
+%make_install
+# build and install Indirect Rendering only libGL
+
+make clean
+%configure --enable-xlib-glx \
+ --enable-osmesa \
+ --disable-dri \
+ --with-egl-platforms=x11 \
+ --with-gallium-drivers="" \
+ --with-gl-lib-name=IndirectGL \
+ CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
+
+make %{?_smp_mflags}
+cp -a \
+ src/mesa/drivers/x11/.libs/libIndirectGL.so* \
+ src/mesa/drivers/osmesa/.libs/libOSMesa.so* \
+ $RPM_BUILD_ROOT/usr/%{_lib}
+install -m 644 src/mesa/drivers/osmesa/osmesa.pc \
+ $RPM_BUILD_ROOT/usr/%{_lib}/pkgconfig
+
+# DRI driver update mechanism
+mkdir -p $RPM_BUILD_ROOT/usr/%{_lib}/dri/updates
+install -m 644 $RPM_SOURCE_DIR/README.updates \
+ $RPM_BUILD_ROOT/usr/%{_lib}/dri/updates
+# global drirc file
+mkdir -p $RPM_BUILD_ROOT/etc
+install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%post -n libwayland-egl -p /sbin/ldconfig
+
+%postun -n libwayland-egl -p /sbin/ldconfig
+
+%post -n mesa-libEGL -p /sbin/ldconfig
+
+%postun -n mesa-libEGL -p /sbin/ldconfig
+
+%post -n mesa-libGL -p /sbin/ldconfig
+
+%postun -n mesa-libGL -p /sbin/ldconfig
+
+%post -n mesa-libGLESv1_CM -p /sbin/ldconfig
+
+%postun -n mesa-libGLESv1_CM -p /sbin/ldconfig
+
+%post -n mesa-libGLESv2 -p /sbin/ldconfig
+
+%postun -n mesa-libGLESv2 -p /sbin/ldconfig
+
+%post -n mesa-libIndirectGL -p /sbin/ldconfig
+
+%postun -n mesa-libIndirectGL -p /sbin/ldconfig
+
+%post -n libOSMesa -p /sbin/ldconfig
+
+%postun -n libOSMesa -p /sbin/ldconfig
+
+%post -n libgbm -p /sbin/ldconfig
+
+%postun -n libgbm -p /sbin/ldconfig
+
+%ifnarch %arm
+
+%post -n libxatracker -p /sbin/ldconfig
+
+%postun -n libxatracker -p /sbin/ldconfig
+
+
+
+%post -n libXvMC_softpipe -p /sbin/ldconfig
+
+%postun -n libXvMC_softpipe -p /sbin/ldconfig
+
+%endif
+
+%post -n mesa-libglapi -p /sbin/ldconfig
+
+%postun -n mesa-libglapi -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license docs/COPYING
+%config /etc/drirc
+%{_libdir}/dri/
+%_libdir/libdricore9*.so.*
+
+%files -n mesa-libEGL
+%defattr(-,root,root)
+%_libdir/libEGL.so.1*
+
+%files -n mesa-libEGL-devel
+%defattr(-,root,root)
+%_includedir/EGL
+%_includedir/KHR
+%_libdir/libEGL.so
+%_libdir/pkgconfig/egl.pc
+
+%files -n mesa-libGL
+%defattr(-,root,root)
+%_libdir/libGL.so.1*
+
+%files -n mesa-libGL-devel
+%defattr(-,root,root)
+%dir %_includedir/GL
+%_includedir/GL/*.h
+%_libdir/libGL.so
+%_libdir/pkgconfig/gl.pc
+
+%files -n mesa-libGLESv1_CM
+%defattr(-,root,root)
+%_libdir/libGLESv1_CM.so.1*
+
+%files -n mesa-libGLESv1_CM-devel
+%defattr(-,root,root)
+%_includedir/GLES
+%_libdir/libGLESv1_CM.so
+%_libdir/pkgconfig/glesv1_cm.pc
+
+%files -n mesa-libGLESv2
+%defattr(-,root,root)
+%_libdir/libGLESv2.so.2*
+
+%files -n mesa-libGLESv2-devel
+%defattr(-,root,root)
+%_includedir/GLES2
+%_libdir/libGLESv2.so
+%_libdir/pkgconfig/glesv2.pc
+
+
+%files -n mesa-libIndirectGL
+%defattr(-,root,root)
+%_libdir/libIndirectGL.so.1*
+
+%files -n mesa-libIndirectGL-devel
+%defattr(-,root,root)
+%_libdir/libIndirectGL.so
+
+%files -n libOSMesa
+%defattr(-,root,root)
+%_libdir/libOSMesa.so.8*
+
+%if %{with wayland}
+%files -n libwayland-egl
+%defattr(-,root,root)
+%_libdir/libwayland-egl.so.1*
+%endif
+
+%files -n libgbm
+%defattr(-,root,root)
+%_libdir/libgbm.so.1*
+
+%files -n libgbm-devel
+%defattr(-,root,root)
+%_includedir/gbm.h
+%_libdir/libgbm.so
+%_libdir/pkgconfig/gbm.pc
+
+%ifnarch %arm
+
+%files -n libxatracker
+%defattr(-,root,root)
+%_libdir/libxatracker.so.1*
+
+%files -n libxatracker-devel
+%defattr(-,root,root)
+%_includedir/xa_*.h
+%_libdir/libxatracker.so
+%_libdir/pkgconfig/xatracker.pc
+
+
+%files -n libXvMC_softpipe
+%defattr(-,root,root)
+%_libdir/libXvMCsoftpipe.so
+%_libdir/libXvMCsoftpipe.so.1
+%_libdir/libXvMCsoftpipe.so.1.0.0
+
+%endif
+
+%files -n mesa-libglapi
+%defattr(-,root,root)
+%_libdir/libglapi.so.0*
+
+%files devel
+%defattr(-,root,root)
+%_includedir/GL/internal
+%_libdir/libOSMesa.so
+%_libdir/libglapi.so
+%_libdir/pkgconfig/osmesa.pc
+%if %{with wayland}
+%_libdir/libwayland-egl.so
+%_libdir/pkgconfig/wayland-egl.pc
+%endif
+%_libdir/pkgconfig/dri.pc
+%_libdir/libdricore9*.so
+
+%files -n mesa-libGLESv3-devel
+%defattr(-,root,root)
+%_includedir/GLES3
+
+%changelog
--- /dev/null
+Name: message-port
+Summary: Message Port library
+Version: 1.2.1.0
+Release: 1
+Group: TO_BE/FILLED_IN
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(chromium)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+
+# runtime requires
+Requires: chromium
+
+Requires(post): /sbin/ldconfig
+Requires(post): coreutils
+Requires(postun): /sbin/ldconfig
+
+Provides: libmessage-port.so.1
+
+%description
+Message Port library
+
+%package devel
+Summary: Message Port library (Development)
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Message Port library (DEV)
+
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+install LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%{_libdir}/libmessage-port.so.*
+%manifest message-port.manifest
+/usr/share/license/%{name}
+
+%files devel
+%{_includedir}/appfw/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libmessage-port.so
+
--- /dev/null
+Name: capi-messaging-messages
+Summary: A SMS/MMS library in Tizen Native API
+Version: 0.1.25
+Release: 1
+License: Apache-2.0
+Group: Messaging/API
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(msg-service)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-appfw-application)
+
+%description
+A SMS/MMS library in Tizen Native API.
+
+
+%package devel
+Summary: A SMS/MMS library in Tizen Native API (Development)
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(msg-service)
+Requires: pkgconfig(capi-base-common)
+Group: Development/Messaging
+
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+rm -fr cmake_build_tmp; mkdir cmake_build_tmp
+cd cmake_build_tmp
+%cmake .. -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+cd cmake_build_tmp
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE
+%{_libdir}/libcapi-messaging-messages.so.*
+
+%files devel
+%{_includedir}/messaging/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-messaging-messages.so
--- /dev/null
+%define profile base
+
+Summary: Tizen Package Groups and Images Configurations
+Name: meta-%profile
+Version: 004
+Release: 1
+License: GPL-2.0
+Group: System/Base
+URL: http://www.tizen.org
+Source: %{name}-%{version}.tar.bz2
+
+%description
+Tizen Package Groups and Image Configurations for Base OS
+
+%prep
+%setup -q
+
+%build
+make
+
+%install
+%make_install
+
+
+%files
+%{_datadir}/image-configurations/%profile/*.yaml
+%{_datadir}/image-configurations/%profile/configs/*.yaml
+%{_datadir}/image-configurations/%profile/scripts
+%{_datadir}/image-configurations/%profile/partitions
--- /dev/null
+Summary: Tizen Package Groups and Images Configurations
+Name: meta-common
+Version: 002
+Release: 1
+License: GPL-2.0
+Group: System/Base
+URL: http://www.tizen.org
+Source: %{name}-%{version}.tar.bz2
+
+%description
+Tizen Package Groups and Image Configurations for Base OS
+
+%prep
+%setup -q
+
+%build
+make
+
+%install
+%make_install
+
+
+%files
+/usr/share/package-groups/common/*.yaml
--- /dev/null
+Summary: IVI Meta Data
+Name: meta-ivi
+Version: 002
+Release: 1
+BuildArch: noarch
+License: GPL-2.0
+Group: Base/Configuration
+URL: http://www.tizen.org
+Source: %{name}-%{version}.tar.bz2
+
+%description
+IVI Meta Data.
+Includes patterns and image configurations for IVI images.
+
+%prep
+%setup -q
+
+%build
+make
+
+%install
+%make_install
+
+
+%files
+%attr(644,-,-) %{_datadir}/package-groups/ivi/*.yaml
+%{_datadir}/image-configurations/ivi/*.yaml
+%{_datadir}/image-configurations/ivi/configs/*.yaml
+%{_datadir}/image-configurations/ivi/partitions
+%{_datadir}/image-configurations/ivi/scripts
--- /dev/null
+Name: capi-media-metadata-extractor
+Summary: A media metadata extractor library in SLP C API
+Version: 0.1.0
+Release: 18
+Group: Multimedia/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(mm-fileinfo)
+BuildRequires: pkgconfig(capi-base-common)
+%description
+A media metadata extractor library in SLP C API
+
+%package devel
+Summary: A media metadata extractor library in SLP C API (Development)
+Group: Multimedia/Development
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+A media metadata extractor library in SLP C API.
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2.0
+%manifest capi-media-metadata-extractor.manifest
+%{_libdir}/libcapi-media-metadata-extractor.so
+
+%files devel
+%{_includedir}/media/*.h
+%{_libdir}/pkgconfig/capi-media-metadata-extractor.pc
--- /dev/null
+%define _build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.vanish.rpm
+%define __os_install_post %{nil}
+%define nodebug 1
+
+Name: mic-bootstrap
+Version: 1.0
+Release: 0
+AutoReqProv: 0
+Provides: %{name}
+ExclusiveArch: x86_64 %ix86
+
+Summary: mic bootstrap
+Group: System/Tools
+License: GPLv2
+URL: http://www.tizen.org/
+Source100: baselibs.conf
+Source101: rpmlintrc
+
+BuildRequires: rpm
+#BuildRequires: !rpmlint !rpmlint-min !rpmlint-tizen
+BuildRequires: python-rpm
+BuildRequires: util-linux
+BuildRequires: coreutils
+BuildRequires: python-xml
+BuildRequires: python-zypp
+BuildRequires: kmod-compat
+BuildRequires: psmisc
+BuildRequires: grep
+BuildRequires: lsof
+BuildRequires: mic
+#BuildRequires: busybox
+BuildRequires: syslinux
+BuildRequires: syslinux-extlinux
+BuildRequires: rpm-security-plugin
+
+%description
+used for mic bootstrap, this package will be repackaged for i586 and arm libs.
+it provides a x86 bootstrap environment for unified usage, especially to speed
+up the performance of arm image creation.
+
+%prep
+
+%build
+
+%install
+%if %nodebug
+set +x
+%endif
+
+mkdir -p %buildroot
+mkdir -p %buildroot/bootstrap
+rpm -qla > filestoinclude1
+
+# ignore files - construct sed script
+sedtmp="sedtmp.$$"
+echo "s#^%{_docdir}.*##" >> $sedtmp
+echo "s#^%{_mandir}.*##" >> $sedtmp
+echo "s#^%{_infodir}.*##" >> $sedtmp
+# ignore pyc and pyo
+echo "s#^.*\.pyc\$##" >> $sedtmp
+echo "s#^.*\.pyo\$##" >> $sedtmp
+
+# ignore default filesystem files
+for i in `rpm -ql filesystem`; do
+ echo "s#^${i}\$##" >> $sedtmp
+done
+
+#finish up
+echo "/^\$/d" >> $sedtmp
+
+#execute
+sed -f $sedtmp -i filestoinclude1
+
+# tar copy to bootstrap dir under buildroot
+# prefix /bootstrap will fix conflicts
+tar -T filestoinclude1 -cpf - | ( cd %buildroot/bootstrap && tar -xpf - )
+# tar copy /usr/bin and /usr/sbin to /bin and /sbin to fix symblic lost in tar
+(cd /usr/bin && tar -cpf - *) | (cd %buildroot/bootstrap/bin && tar -xpf -)
+(cd /usr/sbin && tar -cpf - *) | (cd %buildroot/bootstrap/sbin && tar -xpf -)
+rm filestoinclude1
+
+# Todo: refractor
+# no directories, in filelist
+find %buildroot > filestoinclude2
+cat filestoinclude2 | sed -e "s#%{buildroot}##g" | uniq | sort > filestoinclude1
+for i in `cat filestoinclude1`; do
+# no directories
+ if test -h %buildroot/$i || ! test -d %buildroot/$i; then
+ #
+ echo "$i" >> filestoinclude
+ fi
+done
+rm filestoinclude1
+rm filestoinclude2
+
+set -x
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f filestoinclude
+
--- /dev/null
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Name: mic
+Summary: Image Creator for Linux Distributions
+Version: 0.19
+Release: 1
+Group: System/Utilities
+License: GPL-2.0
+BuildArch: noarch
+URL: http://www.tizen.org
+Source0: %{name}_%{version}.tar.gz
+Requires: python-rpm
+Requires: util-linux
+Requires: coreutils
+Requires: python >= 2.5
+Requires: e2fsprogs
+Requires: dosfstools >= 2.11-8
+Requires: syslinux >= 3.82
+Requires: kpartx
+Requires: parted
+Requires: device-mapper
+Requires: /usr/bin/genisoimage
+Requires: cpio
+#Requires: isomd5sum
+Requires: gzip
+Requires: bzip2
+Requires: python-urlgrabber
+Requires: yum >= 3.2.24
+%if ! 0%{?centos_version}
+%if 0%{?suse_version}
+Requires: btrfsprogs
+%else
+Requires: btrfs-progs
+%endif
+%endif
+
+%if 0%{?suse_version}
+Requires: squashfs >= 4.0
+Requires: python-m2crypto
+%else
+Requires: squashfs >= 4.0
+Requires: python-M2Crypto
+%endif
+
+%if 0%{?fedora_version} || 0%{?centos_version}
+Requires: syslinux-extlinux
+%endif
+
+%if 0%{?tizen_version:1}
+Requires: qemu-linux-user
+%else
+Requires: qemu-arm-static
+%endif
+
+Requires: python-zypp
+
+BuildRequires: python-devel
+%if ! 0%{?tizen_version:1}
+BuildRequires: python-docutils
+%endif
+
+Obsoletes: mic2
+
+BuildRoot: %{_tmppath}/%{name}_%{version}-build
+
+%description
+The tool mic is used to create and manipulate images for Linux distributions.
+It is composed of three subcommand\: create, convert, chroot. Subcommand create
+is used to create images with different types; subcommand convert is used to
+convert an image to a specified type; subcommand chroot is used to chroot into
+an image.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+%if ! 0%{?tizen_version:1}
+make man
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%if 0%{?suse_version}
+%{__python} setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix}
+%else
+%{__python} setup.py install --root=$RPM_BUILD_ROOT -O1
+%endif
+
+# install man page
+mkdir -p %{buildroot}/%{_prefix}/share/man/man1
+%if ! 0%{?tizen_version:1}
+install -m644 doc/mic.1 %{buildroot}/%{_prefix}/share/man/man1
+%endif
+
+%files
+%defattr(-,root,root,-)
+%doc doc/*
+%doc README.rst AUTHORS COPYING ChangeLog
+%if ! 0%{?tizen_version:1}
+%{_mandir}/man1/*
+%endif
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
+%{python_sitelib}/*
+%dir %{_prefix}/lib/%{name}
+%{_prefix}/lib/%{name}/*
+%{_bindir}/*
+
--- /dev/null
+Name: capi-content-mime-type
+Summary: A MIME type library in Tizen C API
+Version: 0.0.2
+Release: 2
+Group: APIs
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(xdgmime)
+
+%description
+
+
+%package devel
+Summary: A MIME type library in Tizen C API (Development)
+Group: APIs
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(capi-base-common)
+
+%description devel
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%{_libdir}/lib*.so.*
+%manifest capi-content-mime-type.manifest
+
+%files devel
+%{_includedir}/content/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/lib*.so
+
+
--- /dev/null
+Name: minicontrol
+Summary: minicontrol library
+Version: 0.0.6
+Release: 1
+Group: TBD
+License: Flora
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(ecore-evas)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: cmake
+%description
+Minicontrol library.
+
+%prep
+%setup -q
+
+%package devel
+Summary: Minicontrol library (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Minicontrol library (devel).
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--as-needed"
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/usr/share/license
+cp -f LICENSE.Flora %{buildroot}/usr/share/license/%{name}
+
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest minicontrol.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libminicontrol-provider.so*
+%{_libdir}/libminicontrol-viewer.so*
+%{_libdir}/libminicontrol-monitor.so*
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/*.h
+%{_libdir}/pkgconfig/minicontrol-provider.pc
+%{_libdir}/pkgconfig/minicontrol-monitor.pc
+%{_libdir}/pkgconfig/minicontrol-viewer.pc
--- /dev/null
+Name: mkfontdir
+Version: 1.0.7
+Release: 1
+License: MIT
+Summary: Utility to create index of X font files
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+# mkfontdir is just a wrapper around mkfontscale and won't do anything on it's own.
+Requires: mkfontscale
+Conflicts: xorg-x11 <= 7.6
+
+%description
+mkfontdir creates the fonts.dir files needed by the legacy X server
+core font system. The current implementation is a simple wrapper script
+around the mkfontscale program, which must be built and installed first.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc ChangeLog COPYING README
+%{_bindir}/mkfontdir
+%{_mandir}/man1/mkfontdir.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: mkfontscale
+Version: 1.1.0
+Release: 1
+License: MIT
+Summary: Utility to create index of scalable font files for X
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: zlib-devel
+BuildRequires: pkgconfig(fontenc)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto)
+
+%description
+mkfontscale creates the fonts.scale and fonts.dir index files used by the
+legacy X11 font system.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc ChangeLog COPYING README
+%{_bindir}/mkfontscale
+%{_mandir}/man1/mkfontscale.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: mobile-broadband-provider-info
+Version: 20120614
+Release: 1
+License: Creative Commons Public Domain
+Summary: Moblie Broadband Dataprovider Database
+Url: http://www.gnome.org
+Group: Applications/Internet
+Source0: %{name}-%{version}.tar.xz
+Source101: mobile-broadband-provider-info-rpmlintrc
+
+%description
+This package contains mobile broadband settings for different service providers
+in different countries. The Package contains only informational files so it's
+safe for distributions to grab updates even during feature freeze and
+maintenance stages.
+
+When you want to configure a mobile broadband connections there usually is some
+service provider specific information you have to know before the connection
+can be established. Problem with this information is that it's highly technical
+for an ordinary consumer and it's available only from service providers web
+page or from Microsoft Windows installation media that becomes with tie-in
+subscription devices.
+
+The interesting side of this information is that it's the same for every user
+of a given service provider. This means that service provider specific
+information can be stored in a database. When this database is available the
+information can be fetched there and the ordinary user does not need to bother
+about it.
+
+Service provider specific information is stored in a XML file. XML is not the
+most optimized format for a database, but it's easy to read, understand and
+edit.
+
+The database is released under Creative Commons Public Domain (CC-PD).
+
+%prep
+%setup -q
+
+
+%build
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+
+
+
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_datadir}/pkgconfig/mobile-broadband-provider-info.pc
+%{_datadir}/mobile-broadband-provider-info/*
+
+
--- /dev/null
+Name: mobileap-agent
+Summary: Mobile AP daemon for setting tethering environments
+Version: 0.1.88
+Release: 1
+Group: TO_BE/FILLED_IN
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gthread-2.0)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(libssl)
+BuildRequires: pkgconfig(secure-storage)
+BuildRequires: pkgconfig(capi-network-connection)
+BuildRequires: pkgconfig(capi-network-bluetooth)
+BuildRequires: cmake
+Requires(post): /usr/bin/vconftool
+Requires: iptables
+Requires: dnsmasq
+%description
+Mobile AP daemon for setting tethering environments
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post
+/usr/bin/vconftool set -t int memory/mobile_hotspot/connected_device "0" -u 0 -i -f
+/usr/bin/vconftool set -t int memory/mobile_hotspot/mode "0" -u 0 -i -f
+/usr/bin/vconftool set -t int db/mobile_hotspot/security "0" -u 0 -f
+/usr/bin/vconftool set -t int db/mobile_hotspot/hide "0" -u 0 -f
+
+%files
+%manifest mobileap-agent.manifest
+%defattr(-,root,root,-)
+/usr/share/dbus-1/services/org.tizen.tethering.service
+%{_bindir}/mobileap-agent
+
+%changelog
+* Tue Apr 09 2013 Seungyoun Ju <sy39.ju@samsung.com> 0.1.86-1
+- Fix the multiple notification issue
+- Support i80211n
+- Channel is changed to 6
+- Implement status notification for bluetooth visibility
+- Change the power manager api
+- Implement connection timer
+- Reference count is used
+- Support Mobile AP
+
+* Sat Feb 16 2013 Seungyoun Ju <sy39.ju@samsung.com> 0.1.85-2
+- Function return value is checked
+- Private SSID is considered
+- Build option clean-up and g_type_init is deprecated from glib 2.35
+
+* Thu Feb 14 2013 Seungyoun Ju <sy39.ju@samsung.com> 0.1.84-1
+- User is specified in service file for Dbus auto activation
+
+* Mon Jan 28 2013 Seungyoun Ju <sy39.ju@samsung.com> 0.1.83-1
+- Remove unrequired log
+
+* Thu Jan 24 2013 Seungyoun Ju <sy39.ju@samsung.com> 0.1.82-1
+- Indications for Wi-Fi tethering setting change are added
+- DNS Forward and Use of Tethering cellular profile are removed
+- Dbus service / interface / object names are changed
+
+* Mon Jan 14 2013 Seungyoun Ju <sy39.ju@samsung.com> 0.1.81-1
+- dhcp lease delete is handled based on IP Address
+- DNS Forward by netfilter is implemented
+- Vconf key for flight mode is changed
+
+* Fri Dec 07 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.80-1
+- Notification API's usage is changed
+- Duplicated station information issue is fixed
+- Improper notification type is used
+- Timeout(Auto disconnection) feature is implemented
+- Notification for timeout event is implemented
+
+* Thu Nov 08 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.79-1
+- Notification's API usage is changed
+
+* Tue Nov 06 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.78-1
+- Unnecessary BT API is removed
+
+* Sat Nov 03 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.77-1
+- Prevent issues are fixed
+
+* Tue Oct 30 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.76-1
+- Vconf enum is changed (SETTING_USB_MOBILE_HOTSPOT -> SETTING_USB_TETHERING_MODE)
+- Private code is separated
+
+* Mon Oct 29 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.75-1
+- Code clean-up and path for notification icon is changed
+
+* Thu Oct 22 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.74-1
+- License is added
+
+* Thu Oct 11 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.73-1
+- Source package name is changed (libmobileap -> mobileap-agent)
+
+* Thu Oct 11 2012 Injun Yang <injun.yang@samsung.com> 0.1.72-1
+- Launch kcp-agent
+
+* Fri Sep 28 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.71-1
+- Fix memory corruption
+
+* Fri Sep 21 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.70-1
+- Manifest file is added for SMACK
+
+* Wed Sep 19 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.69-1
+- The code for Legacy APIs is removed
+
+* Wed Sep 14 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.68-1
+- Bluetooth PAN Managed APIs are applied
+- MDM Phase 2 implementation
+
+* Wed Sep 06 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.67-1
+- Connection Managed APIs are applied
+- Network status is not checked in agent
+
+* Wed Aug 01 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.66-1
+- Wi-Fi tethering setting values are managed here
+- Deprecated APIs from glib-2.3.0 are replaced
+- Notification Icon is changed
+
+* Fri Jul 13 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.65-1
+- Wi-Fi tethering disable / enable issues are fixed
+
+* Fri Jul 06 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.64-1
+- Unnecessary dependency is removed
+
+* Mon Jun 25 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.63-1
+- Data usage is fixed
+
+* Thu May 31 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.62-1
+- Wi-Fi tethering security is implemented
+- API for getting USB interface information is implemented
+
+* Wed May 23 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.61-1
+- Tethering app. dependency is added
+
+* Tue May 22 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.60-1
+- Wi-Fi interface name is changed from eth0 to wlan0
+
+* Tue May 22 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.59-1
+- Below changes are applied
+- Ignore mdm failure case
+- CAPI bugs are fixed
+- Bug of _remove_station_info_all() is fixed
+- Launch tethering applicatoin from notification
+
+* Tue May 08 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.58-1
+- Hostapd control interface is implemented
+
+* Mon Apr 09 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.57-1
+- Unused vconfkey is removed
+
+* Wed Mar 14 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.56-1
+- Export API's are changed
+
+* Mon Feb 06 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.55-2
+- Fix build error
+
+* Mon Feb 06 2012 Seungyoun Ju <sy39.ju@samsung.com> 0.1.55-1
+- Test code is modified
+- Code clean-up
+- Notification is implemented
+- MDM bug fix
--- /dev/null
+%define _fontsdir %{_datadir}/fonts
+%define _ttffontsdir %{_fontsdir}/truetype
+%define _miscfontsdir %{_fontsdir}/misc
+%define _fontsconfdir %{_sysconfdir}/fonts
+%define _fontsconfddir %{_fontsconfdir}/conf.d
+%define _fontsconfavaildir %{_datadir}/%{name}/conf.avail
+
+Name: monotype-fonts
+Version: 0.0.1
+Release: 0
+License: Intel Proprietary
+Summary: Fonts package that provides the Clear Sans font
+Url: http://www.intel.com/
+Group: System/Fonts
+Source: %{name}-%{version}.tar.xz
+BuildArch: noarch
+Requires(post): %{_bindir}/fc-cache
+
+%description
+Fonts package that provides the Clear Sans font
+
+%prep
+%setup -q
+
+%build
+
+%install
+mkdir -p %{buildroot}%{_ttffontsdir}
+install -m 0644 ttf/*.ttf %{buildroot}%{_ttffontsdir}/
+
+%post
+if [ -x %{_bindir}/fc-cache ]; then
+ %{_bindir}/fc-cache %{_ttffontsdir} || :
+fi
+
+%postun
+if [ -x %{_bindir}/fc-cache ]; then
+ %{_bindir}/fc-cache %{_ttffontsdir} || :
+fi
+
+%files
+%license COPYING
+%{_ttffontsdir}/*.ttf
--- /dev/null
+%define keepstatic 1
+Name: mpc
+Version: 1.0
+Release: 0
+License: LGPL-3.0+
+Summary: MPC multiple-precision complex shared library
+Url: http://www.multiprecision.org/mpc/
+Group: Development/Libraries/C and C++
+Source: mpc-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: gmp-devel
+BuildRequires: mpfr-devel
+
+%description
+MPC is a C library for the arithmetic of complex numbers with
+arbitrarily high precision and correct rounding of the result. It is
+built upon and follows the same principles as MPFR.
+
+%package -n libmpc
+Summary: MPC multiple-precision complex shared library
+Group: Development/Libraries/C and C++
+
+%description -n libmpc
+MPC is a C library for the arithmetic of complex numbers with
+arbitrarily high precision and correct rounding of the result. It is
+built upon and follows the same principles as MPFR.
+
+%package devel
+Summary: MPC multiple-precision complex library development files
+Group: Development/Libraries/C and C++
+Requires: libmpc = %{version}
+Requires: mpfr-devel
+
+%description devel
+MPC multiple-precision complex library development files.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%check
+make check %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -n libmpc -p /sbin/ldconfig
+
+%postun -n libmpc -p /sbin/ldconfig
+
+
+%files -n libmpc
+%defattr(-,root,root)
+%{_libdir}/libmpc.so.3*
+
+%files devel
+%defattr(-,root,root)
+%doc AUTHORS NEWS COPYING.LESSER
+%doc %{_infodir}/mpc.info.gz
+%{_libdir}/libmpc.a
+%{_libdir}/libmpc.so
+/usr/include/mpc.h
+
+%changelog
--- /dev/null
+%define keepstatic 1
+Name: mpfr
+Version: 3.1.1
+Release: 0
+License: LGPL-3.0+
+Summary: The GNU multiple-precision floating-point library
+Url: http://www.mpfr.org/
+Group: Development/Libraries/C and C++
+Source: mpfr-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: gmp-devel
+
+%description
+The MPFR library is a C library for multiple-precision floating-point
+computations with exact rounding (also called correct rounding). It is
+based on the GMP multiple-precision library.
+
+The main goal of MPFR is to provide a library for multiple-precision
+floating-point computation which is both efficient and has a
+well-defined semantics. It copies the good ideas from the ANSI/IEEE-754
+standard for double-precision floating-point arithmetic (53-bit
+mantissa).
+
+%package -n libmpfr
+Summary: The GNU multiple-precision floating-point shared library
+Group: Development/Libraries/C and C++
+
+%description -n libmpfr
+The MPFR library is a C library for multiple-precision floating-point
+computations with exact rounding (also called correct rounding). It is
+based on the GMP multiple-precision library.
+
+%package devel
+Summary: Development files for the GNU multiple-precision floating-point library
+Group: Development/Libraries/C and C++
+Requires: gmp-devel
+Requires: libmpfr = %{version}
+
+%description devel
+Development files for the GNU multiple-precision floating-point library.
+
+The MPFR library is a C library for multiple-precision floating-point
+computations with exact rounding (also called correct rounding). It is
+based on the GMP multiple-precision library.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --enable-thread-safe \
+ --enable-shared
+make %{?_smp_mflags}
+
+%check
+make check %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -n libmpfr -p /sbin/ldconfig
+
+%postun -n libmpfr -p /sbin/ldconfig
+
+
+%files -n libmpfr
+%license COPYING.LESSER COPYING
+%defattr(-,root,root)
+%{_libdir}/libmpfr.so.4*
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libmpfr.a
+%{_libdir}/libmpfr.so
+%{_includedir}/mpf2mpfr.h
+%{_includedir}/mpfr.h
+
--- /dev/null
+Name: msg-service
+Version: 0.9.2
+Release: 3
+License: Samsung
+Summary: Messaging Framework Library
+Group: System/Libraries
+Source0: %{name}-%{version}.tar.gz
+Source101: msg-service.service
+
+Requires(post): /usr/bin/sqlite3
+Requires(post): /usr/bin/vconftool
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Requires(post): systemd
+Requires(postun): systemd
+BuildRequires: cmake
+BuildRequires: pkgconfig(alarm-service)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(drm-client)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libcurl)
+BuildRequires: pkgconfig(libsystemd-daemon)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(libwbxml2)
+BuildRequires: pkgconfig(media-thumbnail)
+BuildRequires: pkgconfig(mm-fileinfo)
+BuildRequires: pkgconfig(mm-player)
+BuildRequires: pkgconfig(mm-session)
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(network)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(mmutil-imgp)
+BuildRequires: pkgconfig(mmutil-jpeg)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: pkgconfig(sensor)
+BuildRequires: pkgconfig(svi)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(feedback)
+
+%description
+Description: Messaging Framework Library
+
+
+%package devel
+License: Flora License v1.0
+Summary: Messaging Framework Library (development)
+Requires: %{name} = %{version}-%{release}
+Group: Development/Libraries
+
+%description devel
+Description: Messaging Framework Library (development)
+
+
+%package tools
+License: Flora License v1.0
+Summary: Messaging server application
+Requires: %{name} = %{version}-%{release}
+Group: TO_BU / FILL_IN
+Requires(post): /usr/bin/sqlite3
+Requires(post): /usr/bin/vconftool
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description tools
+Description: Messaging server application
+
+
+%package -n sms-plugin
+License: Flora License v1.0
+Summary: SMS plugin library
+Requires: %{name} = %{version}-%{release}
+Group: System/Libraries
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description -n sms-plugin
+Description: SMS plugin library
+
+%package -n mms-plugin
+License: Flora License v1.0
+Summary: MMS plugin library
+Requires: %{name} = %{version}-%{release}
+Group: System/Libraries
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description -n mms-plugin
+Description: MMS plugin library
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+mkdir -p %{buildroot}/etc/config
+
+mkdir -p %{buildroot}/var/log/msgfw
+
+%make_install
+
+mkdir -p %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants
+#install -m 0644 %SOURCE101 %{buildroot}%{_unitdir_user}/
+ln -s ../msg-service.service %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants/msg-service.service
+ln -s ../msg-service-log.service %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants/msg-service-log.service
+
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
+ln -s %{_sysconfdir}/rc.d/init.d/msg-server %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S70msg-server
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d
+ln -s %{_sysconfdir}/rc.d/init.d/msg-server %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S70msg-server
+
+mkdir -p %{buildroot}/opt/usr/data/msg-service
+
+%if 0%{?simulator}
+rm %{buildroot}/etc/config/sysinfo-message.xml
+mv %{buildroot}/etc/config/sysinfo-message.emul.xml %{buildroot}/etc/config/sysinfo-message.xml
+%else
+rm %{buildroot}/etc/config/sysinfo-message.emul.xml
+%endif
+
+
+%post tools -p /sbin/ldconfig
+%post -n sms-plugin -p /sbin/ldconfig
+%post -n mms-plugin -p /sbin/ldconfig
+
+%post
+/sbin/ldconfig
+
+if [ ! -f /opt/usr/dbspace/.msg_service.db ]
+then
+ mkdir -p /opt/usr/dbspace/
+ sqlite3 /opt/usr/dbspace/.msg_service.db "PRAGMA journal_mode = PERSIST;
+
+ CREATE TABLE MSG_CONVERSATION_TABLE (
+ CONV_ID INTEGER PRIMARY KEY ,
+ UNREAD_CNT INTEGER DEFAULT 0 ,
+ SMS_CNT INTEGER DEFAULT 0 ,
+ MMS_CNT INTEGER DEFAULT 0 ,
+ MAIN_TYPE INTEGER DEFAULT 0 ,
+ SUB_TYPE INTEGER DEFAULT 0 ,
+ MSG_DIRECTION INTEGER DEFAULT 0 ,
+ DISPLAY_TIME DATETIME ,
+ DISPLAY_NAME TEXT ,
+ MSG_TEXT TEXT );
+
+ CREATE TABLE MSG_ADDRESS_TABLE (
+ ADDRESS_ID INTEGER PRIMARY KEY ,
+ CONV_ID INTEGER NOT NULL ,
+ ADDRESS_TYPE INTEGER ,
+ RECIPIENT_TYPE INTEGER ,
+ ADDRESS_VAL TEXT ,
+ CONTACT_ID INTEGER ,
+ DISPLAY_NAME TEXT ,
+ FIRST_NAME TEXT ,
+ LAST_NAME TEXT ,
+ IMAGE_PATH TEXT ,
+ SYNC_TIME DATETIME ,
+ FOREIGN KEY (CONV_ID) REFERENCES MSG_CONVERSATION_TABLE (CONV_ID) );
+
+ CREATE TABLE MSG_FOLDER_TABLE (
+ FOLDER_ID INTEGER PRIMARY KEY ,
+ FOLDER_NAME TEXT NOT NULL ,
+ FOLDER_TYPE INTEGER DEFAULT 0 );
+
+ CREATE TABLE MSG_MESSAGE_TABLE (
+ MSG_ID INTEGER PRIMARY KEY ,
+ CONV_ID INTEGER NOT NULL ,
+ FOLDER_ID INTEGER NOT NULL ,
+ STORAGE_ID INTEGER NOT NULL ,
+ MAIN_TYPE INTEGER NOT NULL ,
+ SUB_TYPE INTEGER NOT NULL ,
+ DISPLAY_TIME DATETIME ,
+ DATA_SIZE INTEGER DEFAULT 0 ,
+ NETWORK_STATUS INTEGER DEFAULT 0 ,
+ READ_STATUS INTEGER DEFAULT 0 ,
+ PROTECTED INTEGER DEFAULT 0 ,
+ PRIORITY INTEGER DEFAULT 0 ,
+ MSG_DIRECTION INTEGER NOT NULL ,
+ SCHEDULED_TIME DATETIME ,
+ BACKUP INTEGER DEFAULT 0 ,
+ SUBJECT TEXT ,
+ MSG_DATA TEXT ,
+ THUMB_PATH TEXT ,
+ MSG_TEXT TEXT ,
+ ATTACHMENT_COUNT INTEGER DEFAULT 0 ,
+ FOREIGN KEY (CONV_ID) REFERENCES MSG_CONVERSATION_TABLE (CONV_ID) ,
+ FOREIGN KEY (FOLDER_ID) REFERENCES MSG_FOLDER_TABLE (FOLDER_ID) );
+
+ CREATE TABLE MSG_SIM_TABLE (
+ MSG_ID INTEGER PRIMARY KEY ,
+ SIM_ID INTEGER NOT NULL ,
+ FOREIGN KEY(MSG_ID) REFERENCES MSG_MESSAGE_TABLE(MSG_ID) );
+
+ CREATE TABLE MSG_PUSH_TABLE (
+ MSG_ID INTEGER PRIMARY KEY ,
+ ACTION INTEGER ,
+ CREATED INTEGER ,
+ EXPIRES INTEGER ,
+ ID TEXT ,
+ HREF TEXT ,
+ CONTENT TEXT ,
+ FOREIGN KEY(MSG_ID) REFERENCES MSG_MESSAGE_TABLE(MSG_ID) );
+
+ CREATE TABLE MSG_CBMSG_TABLE (
+ MSG_ID INTEGER PRIMARY KEY ,
+ CB_MSG_ID INTEGER NOT NULL ,
+ FOREIGN KEY(MSG_ID) REFERENCES MSG_MESSAGE_TABLE(MSG_ID) );
+
+ CREATE TABLE MSG_SYNCML_TABLE (
+ MSG_ID INTEGER PRIMARY KEY ,
+ EXT_ID INTEGER NOT NULL ,
+ PINCODE INTEGER NOT NULL ,
+ FOREIGN KEY(MSG_ID) REFERENCES MSG_MESSAGE_TABLE(MSG_ID) );
+
+ CREATE TABLE MSG_SCHEDULED_TABLE (
+ MSG_ID INTEGER PRIMARY KEY ,
+ ALARM_ID INTEGER NOT NULL ,
+ FOREIGN KEY(MSG_ID) REFERENCES MSG_MESSAGE_TABLE(MSG_ID) );
+
+ CREATE TABLE MSG_SMS_SENDOPT_TABLE (
+ MSG_ID INTEGER PRIMARY KEY ,
+ DELREP_REQ INTEGER NOT NULL ,
+ KEEP_COPY INTEGER NOT NULL ,
+ REPLY_PATH INTEGER NOT NULL ,
+ FOREIGN KEY(MSG_ID) REFERENCES MSG_MESSAGE_TABLE(MSG_ID) );
+
+ CREATE TABLE MSG_FILTER_TABLE (
+ FILTER_ID INTEGER PRIMARY KEY ,
+ FILTER_TYPE INTEGER NOT NULL ,
+ FILTER_VALUE TEXT NOT NULL ,
+ FILTER_ACTIVE INTEGER DEFAULT 0 );
+
+ CREATE TABLE MSG_MMS_MESSAGE_TABLE (
+ MSG_ID INTEGER PRIMARY KEY ,
+ TRANSACTION_ID TEXT ,
+ MESSAGE_ID TEXT ,
+ FWD_MESSAGE_ID TEXT ,
+ CONTENTS_LOCATION TEXT ,
+ FILE_PATH TEXT ,
+ VERSION INTEGER NOT NULL ,
+ DATA_TYPE INTEGER DEFAULT -1 ,
+ DATE DATETIME ,
+ HIDE_ADDRESS INTEGER DEFAULT 0 ,
+ ASK_DELIVERY_REPORT INTEGER DEFAULT 0 ,
+ REPORT_ALLOWED INTEGER DEFAULT 0 ,
+ READ_REPORT_ALLOWED_TYPE INTEGER DEFAULT 0 ,
+ ASK_READ_REPLY INTEGER DEFAULT 0 ,
+ READ INTEGER DEFAULT 0 ,
+ READ_REPORT_SEND_STATUS INTEGER DEFAULT 0 ,
+ READ_REPORT_SENT INTEGER DEFAULT 0 ,
+ PRIORITY INTEGER DEFAULT 0 ,
+ KEEP_COPY INTEGER DEFAULT 0 ,
+ MSG_SIZE INTEGER NOT NULL ,
+ MSG_CLASS INTEGER DEFAULT -1 ,
+ EXPIRY_TIME DATETIME ,
+ CUSTOM_DELIVERY_TIME INTEGER DEFAULT 0 ,
+ DELIVERY_TIME DATETIME ,
+ MSG_STATUS INTEGER DEFAULT -1 ,
+ FOREIGN KEY(MSG_ID) REFERENCES MSG_MESSAGE_TABLE(MSG_ID) );
+
+ CREATE TABLE MSG_MMS_PREVIEW_INFO_TABLE (
+ MSG_ID INTEGER NOT NULL ,
+ TYPE INTEGER,
+ VALUE TEXT,
+ COUNT INTEGER,
+ FOREIGN KEY(MSG_ID) REFERENCES MSG_MESSAGE_TABLE(MSG_ID) );
+
+ CREATE TABLE MSG_REPORT_TABLE (
+ MSG_ID INTEGER NOT NULL ,
+ ADDRESS_VAL TEXT ,
+ STATUS_TYPE INTEGER ,
+ STATUS INTEGER DEFAULT 0 ,
+ TIME DATETIME );
+
+ CREATE TABLE MSG_PUSHCFG_TABLE (
+ PUSH_ID INTEGER PRIMARY KEY ,
+ CONTENT_TYPE TEXT,
+ APP_ID TEXT,
+ PKG_NAME TEXT,
+ LAUNCH INTEGER,
+ APPCODE INTEGER,
+ SECURE INTEGER );
+
+ CREATE INDEX MSG_CONVERSATION_INDEX ON MSG_CONVERSATION_TABLE(CONV_ID);
+ CREATE INDEX MSG_FOLDER_INDEX ON MSG_FOLDER_TABLE(FOLDER_ID);
+ CREATE INDEX MSG_MESSAGE_INDEX ON MSG_MESSAGE_TABLE(MSG_ID, CONV_ID, FOLDER_ID);
+
+ INSERT INTO MSG_FOLDER_TABLE VALUES (1, 'INBOX', 1);
+ INSERT INTO MSG_FOLDER_TABLE VALUES (2, 'OUTBOX', 2);
+ INSERT INTO MSG_FOLDER_TABLE VALUES (3, 'SENTBOX', 2);
+ INSERT INTO MSG_FOLDER_TABLE VALUES (4, 'DRAFT', 3);
+ INSERT INTO MSG_FOLDER_TABLE VALUES (5, 'CBMSGBOX', 1);
+ INSERT INTO MSG_FOLDER_TABLE VALUES (6, 'SPAMBOX', 4);
+ INSERT INTO MSG_FOLDER_TABLE VALUES (7, 'SMS TEMPLATE', 5);
+ INSERT INTO MSG_FOLDER_TABLE VALUES (8, 'MMS TEMPLATE', 5);
+
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (1, 'text/vnd.wap.si', 'X-Wap-Application-Id: x-wap-application:wml.ua', '', 0, 1, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (2, 'application/vnd.wap.sic', 'X-Wap-Application-Id: x-wap-application:wml.ua', '', 0, 2, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (3, 'text/vnd.wap.sl', 'X-Wap-Application-Id: x-wap-application:wml.ua', '', 0, 3, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (4, 'application/vnd.wap.slc', 'X-Wap-Application-Id: x-wap-application:wml.ua', '', 0, 4, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (5, 'text/vnd.wap.co', 'X-Wap-Application-Id: x-wap-application:wml.ua', '', 0, 5, 0);
+
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (6, 'application/vnd.wap.coc', 'X-Wap-Application-Id: x-wap-application:wml.ua', '', 0, 6, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (7, 'application/vnd.wap.mms-message', 'X-Wap-Application-Id: x-wap-application:mms.ua', '', 0, 7, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (8, 'application/vnd.wap.sia', 'X-Wap-Application-Id: x-wap-application:push.sia', '', 0, 8, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (9, 'application/vnd.syncml.dm+wbxml', 'X-Wap-Application-Id: x-wap-application:push.syncml.dm', '', 0, 9, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (10, 'application/vnd.syncml.dm+xml', 'X-Wap-Application-Id: x-wap-application:push.syncml.dm', '', 0, 10, 0);
+
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (11, 'application/vnd.syncml.notification', 'X-Wap-Application-Id: x-wap-application:push.syncml.dm', '', 0, 11, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (12, 'application/vnd.syncml.ds.notification', 'X-Wap-Application-Id: x-wap-application:push.syncml.ds', '', 0, 12, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (13, 'application/vnd.syncml+wbxml', 'X-Wap-Application-Id:x-wap-application:push.syncml', '', 0, 13, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (14, 'application/vnd.wap.locc+wbxml', 'X-Wap-Application-Id: x-wap-application:loc.ua', '', 0, 14, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (15, 'application/vnd.wap.loc+xml', 'X-Wap-Application-Id: x-wap-application:loc.ua', '', 0, 15, 0);
+
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (16, 'application/vnd.oma.dd+xml', 'X-Wap-Application-Id: x-wap-application:loc.ua', '', 0, 16, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (17, 'application/vnd.oma.drm.message', 'X-Wap-Application-Id: x-wap-application:drm.ua', '', 0, 17, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (18, 'application/vnd.oma.drm.content', 'X-Wap-Application-Id: x-wap-application:drm.ua', '', 0, 18, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (19, 'application/vnd.oma.drm.rights+xml', 'X-Wap-Application-Id: x-wap-application:drm.ua', '', 0, 19, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (20, 'application/vnd.oma.drm.rights+wbxml', 'X-Wap-Application-Id: x-wap-application:drm.ua', '', 0, 20, 0);
+
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (21, 'application/vnd.oma.drm.ro+xml', 'X-Wap-Application-Id: x-wap-application:drm.ua', '', 0, 21, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (22, 'application/vnd.oma.drm.roap-pdu+xml', 'X-Wap-Application-Id: x-wap-application:drm.ua', '', 0, 22, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (23, 'application/vnd.oma.drm.roap-trigger+xml', 'X-Wap-Application-Id: x-wap-application:drm.ua', '', 0, 23, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (24, 'application/vnd.oma.drm.roap-trigger+wbxml', 'X-Wap-Application-Id: x-wap-application:drm.ua', '', 0, 24, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (25, 'text/vnd.wap.connectivity-xml', 'X-Wap-Application-Id: x-wap-application:drm.ua', '', 0, 26, 0);
+
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (26, 'application/vnd.wap.connectivity-wbxml', 'X-Wap-Application-Id: x-wap-samsung:provisioning.ua', '', 0, 27, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (27, 'application/x-wap-prov.browser-settings', 'X-Wap-Application-Id: x-wap-samsung:provisioning.ua', '', 0, 28, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (28, 'application/x-wap-prov.browser-bookmarks', 'X-Wap-Application-Id: x-wap-samsung:provisioning.ua', '', 0, 29, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (29, 'application/x-wap-prov.syncset+xml', 'X-Wap-Application-Id: x-wap-samsung:provisioning.ua', '', 0, 30, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (30, 'application/x-wap-prov.syncset+wbxml', 'X-Wap-Application-Id: x-wap-samsung:provisioning.ua', '', 0, 31, 0);
+
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (31, 'text/vnd.wap.emn+xml', 'X-Wap-Application-Id: x-wap-application:emn.ua', '', 0, 32, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (32, 'application/vnd.wap.emn+wbxml', 'X-Wap-Application-Id: x-wap-application:emn.ua', '', 0, 33, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (33, 'application/vnd.wv.csp.cir', 'X-Wap-Application-Id: x-wap-application:wv.ua', '', 0, 34, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (34, 'application/vnd.omaloc-supl-init', 'X-Wap-Application-Id: x-oma-application:ulp.ua', '', 0, 44, 0);
+ INSERT INTO MSG_PUSHCFG_TABLE VALUES (35, 'application/vnd.wap.emn+wbxml', 'X-oma-docomo:xmd.mail.ua', '', 0, 45, 1);"
+fi
+
+chown :6011 /opt/usr/dbspace/.msg_service.db
+chown :6011 /opt/usr/dbspace/.msg_service.db-journal
+chmod 660 /opt/usr/dbspace/.msg_service.db
+chmod 660 /opt/usr/dbspace/.msg_service.db-journal
+mkdir -p /opt/usr/data/msg-service
+chgrp db_msg_service /opt/usr/data/msg-service
+
+if [ -f %{_libdir}/rpm-plugins/msm.so ]
+then
+ chsmack -a 'msg-service::db' /opt/usr/dbspace/.msg_service.db*
+ chsmack -a "_" -e "_" /etc/rc.d/init.d/msg-server
+ chsmack -a "_" -e "_" /etc/rc.d/rc3.d/S70msg-server
+ chsmack -a "_" -e "_" /etc/rc.d/rc5.d/S70msg-server
+fi
+
+########## Setting Config Value (Internal keys) ##########
+vcuid=5000
+# Message Server Status
+vconftool set -t bool memory/msg/ready 0 -i -g 5000 -u $vcuid
+
+# SMS Send Options
+vconftool set -t int db/msg/network_mode 2 -u $vcuid
+
+# New Message Count
+vconftool set -t int db/msg/recv_sms 0 -u $vcuid
+vconftool set -t int db/msg/recv_mms 0 -u $vcuid
+
+########## Setting Config Value (Private keys) ##########
+# General Options
+vconftool set -t bool db/private/msg-service/general/keep_copy 1 -u $vcuid
+vconftool set -t bool db/private/msg-service/general/auto_erase 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/general/block_msg 0 -u $vcuid
+vconftool set -t int db/private/msg-service/general/contact_sync_time 0 -u $vcuid
+
+# SMS Send Options
+vconftool set -t int db/private/msg-service/sms_send/dcs 3 -u $vcuid
+vconftool set -t bool db/private/msg-service/sms_send/reply_path 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/sms_send/delivery_report 0 -u $vcuid
+vconftool set -t int db/private/msg-service/sms_send/save_storage 1 -u $vcuid
+
+# SMSC
+vconftool set -t int db/private/msg-service/smsc/total_count 1 -u $vcuid
+vconftool set -t int db/private/msg-service/smsc/selected 0 -u $vcuid
+
+vconftool set -t int db/private/msg-service/smsc/pid/0 1 -u $vcuid
+vconftool set -t int db/private/msg-service/smsc/val_period/0 255 -u $vcuid
+vconftool set -t string db/private/msg-service/smsc/name/0 "" -u $vcuid
+vconftool set -t int db/private/msg-service/smsc/ton/0 1 -u $vcuid
+vconftool set -t int db/private/msg-service/smsc/npi/0 1 -u $vcuid
+vconftool set -t string db/private/msg-service/smsc/address/0 "" -u $vcuid
+
+vconftool set -t int db/private/msg-service/smsc/pid/1 0 -u $vcuid
+vconftool set -t int db/private/msg-service/smsc/val_period/1 0 -u $vcuid
+vconftool set -t string db/private/msg-service/smsc/name/1 "" -u $vcuid
+vconftool set -t int db/private/msg-service/smsc/ton/1 0 -u $vcuid
+vconftool set -t int db/private/msg-service/smsc/npi/1 0 -u $vcuid
+vconftool set -t string db/private/msg-service/smsc/address/1 "" -u $vcuid
+
+vconftool set -t int db/private/msg-service/smsc/pid/2 0 -u $vcuid
+vconftool set -t int db/private/msg-service/smsc/val_period/2 0 -u $vcuid
+vconftool set -t string db/private/msg-service/smsc/name/2 "" -u $vcuid
+vconftool set -t int db/private/msg-service/smsc/ton/2 0 -u $vcuid
+vconftool set -t int db/private/msg-service/smsc/npi/2 0 -u $vcuid
+vconftool set -t string db/private/msg-service/smsc/address/2 "" -u $vcuid
+
+# MMS Send Options
+vconftool set -t int db/private/msg-service/mms_send/msg_class 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_send/priority 1 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_send/expiry_time 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_send/custom_delivery 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_send/sender_visibility 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_send/delivery_report 1 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_send/read_reply 1 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_send/keep_copy 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_send/body_replying 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_send/hide_recipients 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_send/report_allowed 1 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_send/reply_charging 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_send/reply_charging_deadline 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_send/reply_charging_size 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_send/delivery_time 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_send/creation_mode 2 -u $vcuid
+
+# MMS Receive Options
+vconftool set -t int db/private/msg-service/mms_recv/home_network 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_recv/abroad_network 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_recv/read_receipt 1 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_recv/delivery_receipt 1 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_recv/reject_unknown 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_recv/reject_advertisement 0 -u $vcuid
+
+# MMS Receive Options
+vconftool set -t int db/private/msg-service/mms_style/font_size 30 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_style/font_style/bold 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_style/font_style/italic 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/mms_style/font_style/underline 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_style/font_color/red 255 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_style/font_color/green 255 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_style/font_color/blue 255 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_style/font_color/hue 255 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_style/bg_color/red 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_style/bg_color/green 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_style/bg_color/blue 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_style/bg_color/hue 255 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_style/page_dur 2 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_style/page_custom_dur 0 -u $vcuid
+vconftool set -t int db/private/msg-service/mms_style/page_dur_manual 0 -u $vcuid
+
+# Push Msg Options
+vconftool set -t bool db/private/msg-service/push_msg/recv_option 1 -u $vcuid
+vconftool set -t int db/private/msg-service/push_msg/service_load 1 -u $vcuid
+
+# CB Msg Options
+vconftool set -t bool db/private/msg-service/cb_msg/receive 1 -f -u $vcuid
+vconftool set -t bool db/private/msg-service/cb_msg/save 1 -f -u $vcuid
+vconftool set -t int db/private/msg-service/cb_msg/max_sim_count 0 -u $vcuid
+vconftool set -t int db/private/msg-service/cb_msg/channel_count 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/cb_msg/language/0 1 -f -u $vcuid
+vconftool set -t bool db/private/msg-service/cb_msg/language/1 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/cb_msg/language/2 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/cb_msg/language/3 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/cb_msg/language/4 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/cb_msg/language/5 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/cb_msg/language/6 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/cb_msg/language/7 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/cb_msg/language/8 0 -u $vcuid
+vconftool set -t bool db/private/msg-service/cb_msg/language/9 0 -u $vcuid
+
+# Voice Mail Options
+vconftool set -t string db/private/msg-service/voice_mail/voice_mail_number "5500" -f -u $vcuid
+vconftool set -t int db/private/msg-service/voice_mail/voice_mail_count 0 -u $vcuid
+
+# MMS Size Options
+vconftool set -t int db/private/msg-service/size_opt/msg_size 300 -u $vcuid
+
+# SIM message count
+vconftool set -t int db/private/msg-service/sim_count/used_cnt 0 -u $vcuid
+vconftool set -t int db/private/msg-service/sim_count/total_cnt 0 -u $vcuid
+
+# SIM information
+vconftool set -t int memory/private/msg-service/sim_changed 0 -i -u $vcuid
+vconftool set -t string memory/private/msg-service/sim_imsi "" -i -u $vcuid
+vconftool set -t bool memory/private/msg-service/national_sim 0 -i -u $vcuid
+vconftool set -t string memory/private/msg-service/msisdn "" -i -u $vcuid
+
+vconftool set -t int db/private/msg-service/notification_priv_id 0 -u $vcuid
+
+/sbin/ldconfig
+/bin/systemctl daemon-reload
+if [ "$1" = "1" ]; then
+ systemctl stop msg-service.service
+fi
+
+%postun -p /sbin/ldconfig
+
+%postun tools -p /sbin/ldconfig
+%postun -n sms-plugin -p /sbin/ldconfig
+%postun -n mms-plugin -p /sbin/ldconfig
+
+%files
+%manifest msg-service.manifest
+%defattr(-,root,root,-)
+%dir %attr(775,root,db_msg_service) /opt/usr/data/msg-service
+%{_libdir}/libmsg_plugin_manager.so
+%{_libdir}/libmsg_mapi.so.*
+%{_libdir}/libmsg_framework_handler.so
+%{_libdir}/libmsg_transaction_manager.so
+%{_libdir}/libmsg_utils.so
+%{_libdir}/libmsg_transaction_proxy.so
+%{_libdir}/libmsg_vobject.so
+/usr/share/license/msg-service/LICENSE.Flora
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libmsg_mapi.so
+%{_libdir}/pkgconfig/msg-service.pc
+%{_includedir}/msg-service/*
+
+%files tools
+%manifest msg-service-tools.manifest
+%defattr(-,root,root,-)
+%{_bindir}/msg-helper
+%{_bindir}/msg-server
+%{_datadir}/media/Sherbet.wav
+%attr(0644,root,root)/usr/share/msg-service/plugin.cfg
+%{_sysconfdir}/rc.d/init.d/msg-server
+%{_sysconfdir}/rc.d/rc3.d/S70msg-server
+%{_sysconfdir}/rc.d/rc5.d/S70msg-server
+%{_unitdir_user}/msg-service.service
+%{_unitdir_user}/msg-service-log.service
+%{_unitdir_user}/tizen-middleware.target.wants/msg-service.service
+%{_unitdir_user}/tizen-middleware.target.wants/msg-service-log.service
+/usr/share/license/msg-service/LICENSE.Flora
+/opt/etc/smack/accesses.d/msg-service.rule
+/etc/config/sysinfo-message.xml
+
+%attr(0755,app,app)/var/log/msgfw
+
+
+%files -n sms-plugin
+%manifest sms-plugin.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libmsg_sms_plugin.so
+/usr/share/license/msg-service/LICENSE.Flora
+
+%files -n mms-plugin
+%manifest mms-plugin.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libmsg_mms_plugin.so
+/usr/share/license/msg-service/LICENSE.Flora
+
+%changelog
+* Wed Oct 25 2012 Sangkoo Kim <sangkoo.kim@samsung.com>
+- New release version
+
+* Wed Aug 8 2012 KeeBum Kim <keebum.kim@samsung.com>
+- Apply New TAPI.
+- Modify transaction data size of sos recipient list.
+
+* Tue Aug 7 2012 KeeBum Kim <keebum.kim@samsung.com>
+- Fix contact sync defect.
+- New MessageFW API.
+
+* Fri Jul 27 2012 KeeBum Kim <keebum.kim@samsung.com>
+- Change devman_haptic.h to devman_managed.h.
+- Modify to set MSG_SERVER_READY before sim status check.
+- Fix bug in sim message save related operations.
+- Limit sim related APIs not to work on sim not available status.
+- Modify indicator icon image path & related.
+
+* Tue Jul 17 2012 KeeBum Kim <keebum.kim@samsung.com>
+- Modify MAX_SEGMENT_NUM to 15.
+- Modify MMplayer related to support interrupted event.
+- Fix bug in storage change callback which could cause on submit request.
+
+* Fri Jun 29 2012 Sangkoo Kim <sangkoo.kim@samsung.com>
+- Modify vconf key path for sos sending option.
+
+* Mon Jun 18 2012 Seunghwan Lee <sh.cat.lee@samsung.com>
+- Storage change callback for scheduled message
+- code chage to support glib2-2.32
+- Apply Backup && Restore of Mms Type
+
+* Fri Jun 15 2012 Sangkoo Kim <sangkoo.kim@samsung.com>
+- Update display time for scheduled message when it is sent.
+
+* Thu Jun 14 2012 Seunghwan Lee <sh.cat.lee@samsung.com>
+- Comment the test app in CMakefile.
+- Modify MMS BG color of vconf value.
+- Bug fixed wrong query in MsgStoCheckReadReportIsSent
+- Add '-i' option for vconf keys of memory type
+- Add smsc vconf keys(default value).
+- To avoid msg incoming sound and notification on SOS
+
+* Fri Jun 8 2012 Sangkoo Kim <sangkoo.kim@samsung.com>
+- Add '-i' option for vconf keys of memory type.
+- Add smsc vconf keys(default value).
+- To avoid msg incoming sound and notification on SOS state.
+- Change BGcolor to black && font colore to white.
+
+* Wed May 31 2012 Keebum Kim <keebum.kim@samsung.com>
+- Apply Mdm policy.
+- SOS message.
+- Fix horizontality development problem.
+- Remove vconf key for new message count. (db/badge/com.samsung.message)
+- Change vconf key path of "mms_send/msg_class" to private.
+
+* Thu May 24 2012 Keebum Kim <keebum.kim@samsung.com>
+- Add new MAPI.
+
+* Fri May 18 2012 Sangkoo Kim <sangkoo.kim@samsung.com>
+- Modify to support new DRM service.
+- Rename private vconf keys.
+- Modify .postinst and .spec file to pre-install used vconf keys.
+- Remove compile warnings.
+- Fix bug in manual retrieve operation.
+
+* Fri May 11 2012 Jaeyun Jeong <jyjeong@samsung.com>
+- Fix DB conflict which cause db lock.
+- Fix bug in Find My Mobile function.
+- Add '*' and '#' symbol as valid number.
+
+* Wed May 9 2012 Keebum Kim <keebum.kim@samsung.com>
+- Change mobile tracker related vconf key define values.
+- Apply MDM policy for allowing text messaging.
+- Fix bug for getting thumbnail path.
+- Enable functionality of scheduled message.
+- Change alarm setting of scheduled message from volatile type to non-volatile.
+- Fix error in search query.
+
+* Thu May 3 2012 Keebum Kim <keebum.kim@samsung.com>
+- Change some thread list related APIs to support DB change.
+- DB change to support multiple recipient.
+
+* Thu Apr 19 2012 Keebum Kim <keebum.kim@samsung.com>
+- Modify to manage contact sync time by vconf.
+- Use g_idle_add() routine for updating unread message count(vconf values).
+- apply try{}catch{} code for handling unexpected exception to avoid thread terminating.
+- Fix bug for allocated size of replacing string.
+- Resolve search problem for special characters.
+- add xmlFree.
+
+* Tue Apr 10 2012 Keebum Kim <keebum.kim@samsung.com>
+- Remove unused vconf keys.
+- Initialize SMSC selected_index.
+- Remove systemd related.
+
+* Thu Apr 05 2012 Jaeyun Jeong <jyjeong@samsung.com>
+- Add notification property(NOTIFICATION_PROP_DISPLAY_ONLY_SIMMODE)
+- Fix S1-2397/2417/2418/2419.
+- Remove sent status callback check during submit request.
+- Modify offset and limit operation on search.
+- Remove invalid folder and file.
+- Change browser launching API from aul to service-capi.
+- Remove unused file.
+- Invalid type checking is fixed.
+
+* Fri Mar 16 2012 Jaeyun Jeong <jyjeong@samsung.com>
+- Add #include <sys/stat.h> to support chmod related defines.
+- Fix DRM content issue(unregistered mo content)
+
+* Wed Mar 14 2012 Jaeyun Jeong <jyjeong@samsung.com>
+- Modify plugin configuration file location for FOTA.
+- Remove the db query which create sample data.
+
+* Wed Feb 29 2012 Jaeyun Jeong <jyjeong@samsung.com>
+- Update msg-service.spec for OBS.
+- Fix TC execute failure.
+- Fix S1-1419(Removed mms raw file issue after rebooting)
--- /dev/null
+Name: mtdev
+Version: 1.1.3
+Release: 0
+License: MIT
+Summary: Multitouch Protocol Translation Library
+Url: http://bitmath.org/code/mtdev/
+Group: System/Libraries
+Source: http://bitmath.org/code/mtdev/mtdev-%{version}.tar.bz2
+BuildRequires: pkgconfig
+
+%description
+The mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol. The events put into mtdev may be from any MT device, specifically type A without contact tracking, type A with contact tracking, or type B with contact tracking. See the kernel documentation for further details.
+
+%package -n libmtdev
+Summary: Multitouch Protocol Translation Library
+Group: System/Libraries
+
+%description -n libmtdev
+The mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol. The events put into mtdev may be from any MT device, specifically type A without contact tracking, type A with contact tracking, or type B with contact tracking. See the kernel documentation for further details.
+
+%package devel
+Summary: Development package for mtdev library
+Group: Development/Libraries/C and C++
+Requires: glibc-devel
+Requires: libmtdev = %{version}
+
+%description devel
+This package contains the files needed to compile programs that use mtdev library.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -n libmtdev -p /sbin/ldconfig
+
+%postun -n libmtdev -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%doc COPYING
+%{_bindir}/*
+
+%files -n libmtdev
+%defattr(-, root, root)
+%{_libdir}/lib*.so.*
+
+%files devel
+%defattr(-, root, root)
+%{_libdir}/lib*.so
+%{_includedir}/*
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+Name: mtools
+Version: 4.0.17
+Release: 0
+License: GPL-3.0+
+Summary: Access Files on an MS-DOS File System
+Url: http://mtools.linux.lu/
+Group: System/Filesystems
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: autoconf
+BuildRequires: makeinfo
+
+%description
+Mtools allows uncomplicated access to an MS-DOS file system on disk
+without mounting it. It includes commands for working with MS-DOS
+files: mdir, mcd, mcopy, and mformat.
+
+XDF support for OS/2 is also provided.
+
+%package doc
+License: GPL-3.0+ and GFDL-1.3
+Summary: Access Files on an MS-DOS File System
+Group: System/Filesystems
+Requires: %{name} = %{version}
+
+%description doc
+Mtools allows uncomplicated access to an MS-DOS file system on disk
+without mounting it. It includes commands for working with MS-DOS
+files: mdir, mcd, mcopy, and mformat.
+
+XDF support for OS/2 is also provided.
+
+%prep
+%setup -q
+
+%build
+autoconf --force
+export CC=gcc
+export INSTALL_PROGRAM="install"
+%configure \
+ --includedir=/usr/src/linux/include
+
+%install
+install -d -m 755 %{buildroot}%{_sysconfdir}
+%make_install
+cp -p mtools.conf %{buildroot}%{_sysconfdir}
+
+rm -rf %{buildroot}%{_mandir}/man?*/f*
+rm -rf %{buildroot}%{_bindir}/f*
+
+%docs_package
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%config %{_sysconfdir}/mtools.conf
+%{_bindir}/*
+
+
+%changelog
--- /dev/null
+Name: multipath-tools
+BuildRequires: device-mapper-devel
+BuildRequires: libaio-devel
+BuildRequires: readline-devel
+Url: http://christophe.varoqui.free.fr/
+Requires: device-mapper
+Requires: kpartx
+Requires(pre): coreutils grep
+Version: 0.4.9
+Release: 0
+Summary: Tools to Manage Multipathed Devices with the device-mapper
+License: BSD-3-Clause ; GPL-2.0+ ; LGPL-2.1+ ; MIT
+Group: System/Base
+Source: multipath-tools-%{version}.tar.bz2
+%description
+This package provides the tools to manage multipathed devices by
+instructing the device-mapper multipath module what to do. The tools
+are:
+
+- multipath: scans the system for multipathed devices, assembles
+ them, and updates the device-mapper's maps
+
+- multipathd: waits for maps events then execs multipath
+
+- devmap-name: provides a meaningful device name to udev for devmaps
+
+- kpartx: maps linear devmaps to device partitions, which makes
+multipath maps partionable
+
+
+
+%package -n kpartx
+Summary: Manages partition tables on device-mapper devices
+Group: System/Base
+Requires: device-mapper
+
+%description -n kpartx
+The kpartx program maps linear devmaps to device partitions, which
+makes multipath maps partionable.
+
+
+
+Authors:
+--------
+ Christophe Varoqui <christophe.varoqui@free.fr>
+
+%prep
+%setup -q -n multipath-tools-%{version}
+%build
+cd kpartx
+make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%_libdir
+
+%install
+pushd kpartx
+make DESTDIR=$RPM_BUILD_ROOT LIB=%_libdir install
+popd
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT;
+
+%files
+%defattr(-,root,root)
+
+%files -n kpartx
+%license COPYING
+%defattr(-,root,root)
+%config /usr/lib/udev/rules.d/kpartx.rules
+/sbin/kpartx
+%dir /lib/udev
+/lib/udev/kpartx_id
+%{_mandir}/man8/kpartx.8*
+
+%changelog
--- /dev/null
+# By default we build with distro-default compilation flags which
+# enables optimizations. If you want to build with full debugging
+# ie. with optimization turned off and full debug info (-O0 -g3)
+# pass '--with debug' to rpmbuild on the command line. Similary
+# you can chose to compile with/without pulse, ecore, glib, qt,
+# dbus, and telephony support. --without squashpkg will prevent
+# squashing the -core and -plugins-base packages into the base
+# murphy package.
+
+%{!?_with_debug:%{!?_without_debug:%define _without_debug 0}}
+%{!?_with_lua:%{!?_without_lua:%define _with_lua 1}}
+%{!?_with_pulse:%{!?_without_pulse:%define _with_pulse 1}}
+%{!?_with_ecore:%{!?_without_ecore:%define _without_ecore 1}}
+%{!?_with_glib:%{!?_without_glib:%define _with_glib 1}}
+%{!?_with_qt:%{!?_without_qt:%define _without_qt 1}}
+%{!?_with_dbus:%{!?_without_dbus:%define _with_dbus 1}}
+%{!?_with_telephony:%{!?_without_telephony:%define _with_telephony 1}}
+%{!?_with_audiosession:%{!?_without_audiosession:%define _without_audiosession 0}}
+%{!?_with_websockets:%{!?_without_websockets:%define _with_websockets 1}}
+%{!?_with_squashpkg:%{!?_without_squashpkg:%define _with_squashpkg 1}}
+
+# TODO: take care of /lib vs /lib64...
+%define systemddir /lib/systemd
+
+Summary: Murphy policy framework
+Name: murphy
+Version: 0.0.29
+Release: 1
+License: BSD-3-Clause
+Group: System/Service
+URL: http://01.org/murphy/
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%endif
+
+Requires(post): /bin/systemctl
+Requires(postun): /bin/systemctl
+
+BuildRequires: flex
+BuildRequires: bison
+BuildRequires: pkgconfig(lua)
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+BuildRequires: pkgconfig(libpulse)
+%endif
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+BuildRequires: pkgconfig(ecore)
+BuildRequires: mesa-libEGL
+BuildRequires: mesa-libGLESv2
+BuildRequires: mesa-libgbm
+%endif
+%if %{?_with_glib:1}%{!?_with_glib:0}
+BuildRequires: pkgconfig(glib-2.0)
+%endif
+%if %{?_with_qt:1}%{!?_with_qt:0}
+BuildRequires: pkgconfig(QtCore)
+%endif
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+BuildRequires: pkgconfig(dbus-1)
+%endif
+%if %{?_with_telephony:1}%{!?_with_telephony:0}
+BuildRequires: pkgconfig(ofono)
+%endif
+%if %{?_with_audiosession:1}%{!?_with_audiosession:0}
+BuildRequires: pkgconfig(audio-session-mgr)
+%endif
+%if %{?_with_websockets:1}%{!?_with_websockets:0}
+BuildRequires: libwebsockets-devel
+%endif
+BuildRequires: pkgconfig(json)
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%package core
+Summary: Murphy core runtime libraries
+Group: System/Libraries
+
+%package plugins-base
+Summary: The basic set of Murphy plugins
+Group: System/Service
+Requires: %{name} = %{version}
+Requires: %{name}-core = %{version}
+%endif
+
+%package devel
+Summary: The header files and libraries needed for Murphy development
+Group: System/Libraries
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+
+%package doc
+Summary: Documentation for Murphy
+Group: SDK/Documentation
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+%package pulse
+Summary: Murphy PulseAudio mainloop integration
+Group: System/Libraries
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+
+%package pulse-devel
+Summary: Murphy PulseAudio mainloop integration development files
+Group: System/Libraries
+Requires: %{name}-pulse = %{version}
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+%endif
+
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+%package ecore
+Summary: Murphy EFL/ecore mainloop integration
+Group: System/Libraries
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+
+%package ecore-devel
+Summary: Murphy EFL/ecore mainloop integration development files
+Group: System/Libraries
+Requires: %{name}-ecore = %{version}
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+%endif
+
+%if %{?_with_glib:1}%{!?_with_glib:0}
+%package glib
+Summary: Murphy glib mainloop integration
+Group: System/Libraries
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+
+%package glib-devel
+Summary: Murphy glib mainloop integration development files
+Group: System/Libraries
+Requires: %{name}-glib = %{version}
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+%endif
+
+%if %{?_with_qt:1}%{!?_with_qt:0}
+%package qt
+Summary: Murphy Qt mainloop integration
+Group: System/Libraries
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+
+%package qt-devel
+Summary: Murphy Qt mainloop integration development files
+Group: System/Libraries
+Requires: %{name}-qt = %{version}
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+%endif
+
+%package tests
+Summary: Various test binaries for Murphy
+Group: System/Testing
+Requires: %{name} = %{version}
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+Requires: %{name}-core = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
+
+%description
+This package contains the basic daemon.
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%description core
+This package contains the core runtime libraries.
+
+%description plugins-base
+This package contains a basic set of plugins.
+%endif
+
+%description devel
+This package contains header files and libraries necessary for development.
+
+%description doc
+This package contains documentation.
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+%description pulse
+This package contains the Murphy PulseAudio mainloop integration runtime files.
+
+%description pulse-devel
+This package contains the Murphy PulseAudio mainloop integration development
+files.
+%endif
+
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+%description ecore
+This package contains the Murphy EFL/ecore mainloop integration runtime files.
+
+%description ecore-devel
+This package contains the Murphy EFL/ecore mainloop integration development
+files.
+%endif
+
+%if %{?_with_glib:1}%{!?_with_glib:0}
+%description glib
+This package contains the Murphy glib mainloop integration runtime files.
+
+%description glib-devel
+This package contains the Murphy glib mainloop integration development
+files.
+%endif
+
+%if %{?_with_qt:1}%{!?_with_qt:0}
+%description qt
+This package contains the Murphy Qt mainloop integration runtime files.
+
+%description qt-devel
+This package contains the Murphy Qt mainloop integration development
+files.
+%endif
+
+%description tests
+This package contains various test binaries for Murphy.
+
+%prep
+%setup -q
+
+%build
+%if %{?_with_debug:1}%{!?_with_debug:0}
+export CFLAGS="-O0 -g3"
+V="V=1"
+%endif
+
+CONFIG_OPTIONS=""
+DYNAMIC_PLUGINS="domain-control"
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-pulse"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-pulse"
+%endif
+
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-ecore"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-ecore"
+%endif
+
+%if %{?_with_glib:1}%{!?_with_glib:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-glib"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-glib"
+%endif
+
+%if %{?_with_qt:1}%{!?_with_qt:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-qt"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-qt"
+%endif
+
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-dbus"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-dbus"
+%endif
+
+%if %{?_with_telephony:1}%{!?_with_telephony:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-telephony"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-telephony"
+%endif
+
+%if %{?_with_audiosession:1}%{!?_with_audiosession:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-resource-asm"
+DYNAMIC_PLUGINS="$DYNAMIC_PLUGINS,resource-asm"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-resource-asm"
+%endif
+
+%if %{?_with_websockets:1}%{!?_with_websockets:0}
+CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-websockets"
+%else
+CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-websockets"
+%endif
+
+NUM_CPUS="`cat /proc/cpuinfo | tr -s '\t' ' ' | \
+grep '^processor *:' | wc -l`"
+[ -z "$NUM_CPUS" ] && NUM_CPUS=1
+
+./bootstrap && \
+%configure $CONFIG_OPTIONS --with-dynamic-plugins=$DYNAMIC_PLUGINS && \
+make clean && \
+make -j$(($NUM_CPUS + 1)) $V
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+
+# Make sure we have a plugin dir even if all the basic plugins
+# are configured to be built in.
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/murphy/plugins
+
+# Get rid of any *.la files installed by libtool.
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+# Clean up also the murphy DB installation.
+rm -f $RPM_BUILD_ROOT%{_libdir}/murphy/*.la
+
+# Generate list of linkedin plugins (depends on the configuration).
+outdir="`pwd`"
+pushd $RPM_BUILD_ROOT >& /dev/null && \
+find ./%{_libdir}/murphy/plugins -name libmurphy-plugin-*.so* | \
+sed 's#^./*#/#g' > $outdir/filelist.plugins-base && \
+popd >& /dev/null
+
+# Generate list of header files, filtering ones that go to subpackages.
+outdir="`pwd`"
+pushd $RPM_BUILD_ROOT >& /dev/null && \
+find ./%{_includedir}/murphy | \
+egrep -v '((pulse)|(ecore)|(glib)|(qt))-glue' | \
+sed 's#^./*#/#g' > $outdir/filelist.devel-includes && \
+popd >& /dev/null
+
+# Replace the default sample/test config files with the packaging ones.
+cp packaging.in/murphy-lua.conf $RPM_BUILD_ROOT%{_sysconfdir}/murphy/murphy.conf
+cp packaging.in/murphy.lua $RPM_BUILD_ROOT%{_sysconfdir}/murphy/murphy.lua
+
+# Copy plugin configuration files in place.
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/murphy/plugins/amb
+cp packaging.in/amb-config.lua \
+$RPM_BUILD_ROOT%{_sysconfdir}/murphy/plugins/amb/config.lua
+
+# Copy the systemd service file in place.
+mkdir -p $RPM_BUILD_ROOT%{systemddir}/system
+cp packaging.in/murphyd.service $RPM_BUILD_ROOT%{systemddir}/system
+
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d
+cp packaging.in/org.Murphy.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/org.Murphy.conf
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/bin/systemctl enable murphyd.service
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%post core
+%endif
+ldconfig
+
+%postun
+if [ "$1" = "0" ]; then
+/bin/systemctl disable murphyd.service
+fi
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%postun core
+%endif
+ldconfig
+
+%if %{?_with_glib:1}%{!?_with_glib:0}
+%post glib
+ldconfig
+
+%postun glib
+ldconfig
+%endif
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+%post pulse
+ldconfig
+
+%postun pulse
+ldconfig
+%endif
+
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+%post ecore
+ldconfig
+
+%postun ecore
+ldconfig
+%endif
+
+%if %{?_with_qt:1}%{!?_with_qt:0}
+%post qt
+lfconfig
+
+%postun qt
+ldconfig
+%endif
+
+%if %{?_with_squashpkg:1}%{!?_with_squashpkg:0}
+%files -f filelist.plugins-base
+%else
+%files
+%endif
+%defattr(-,root,root,-)
+%{_bindir}/murphyd
+%config %{_sysconfdir}/murphy
+%{systemddir}/system/murphyd.service
+%if %{?_with_audiosession:1}%{!?_with_audiosession:0}
+%{_sbindir}/asm-bridge
+%endif
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+%{_sysconfdir}/dbus-1/system.d
+%config %{_sysconfdir}/dbus-1/system.d/org.Murphy.conf
+%endif
+%if %{?_with_websockets:1}%{!?_with_websockets:0}
+%{_datadir}/murphy
+%endif
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%files core
+%defattr(-,root,root,-)
+%endif
+%{_libdir}/libmurphy-common.so.*
+%{_libdir}/libmurphy-core.so.*
+%{_libdir}/libmurphy-resolver.so.*
+%{_libdir}/libmurphy-resource.so.*
+%{_libdir}/libmurphy-resource-backend.so.*
+%if %{?_with_lua:1}%{!?_with_lua:0}
+%{_libdir}/libmurphy-lua-utils.so.*
+%{_libdir}/libmurphy-lua-decision.so.*
+%endif
+%{_libdir}/libmurphy-domain-controller.so.*
+%{_libdir}/murphy/*.so.*
+%{_libdir}/libbreedline*.so.*
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+%{_libdir}/libmurphy-dbus.so.*
+%endif
+
+%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
+%files plugins-base -f filelist.plugins-base
+%defattr(-,root,root,-)
+%endif
+%{_libdir}/murphy/plugins
+
+%files devel -f filelist.devel-includes
+%defattr(-,root,root,-)
+# %{_includedir}/murphy/config.h
+# %{_includedir}/murphy/common.h
+# #%{_includedir}/murphy/core.h
+# %{_includedir}/murphy/common
+# %{_includedir}/murphy/core
+# %{_includedir}/murphy/resolver
+# %{_includedir}/murphy/resource
+# # hmmm... should handle disabled plugins properly.
+# %{_includedir}/murphy/domain-control
+# %{_includedir}/murphy/plugins
+%{_includedir}/murphy-db
+%{_libdir}/libmurphy-common.so
+%{_libdir}/libmurphy-core.so
+%{_libdir}/libmurphy-resolver.so
+%{_libdir}/libmurphy-resource.so
+%{_libdir}/libmurphy-resource-backend.so
+%if %{?_with_lua:1}%{!?_with_lua:0}
+%{_libdir}/libmurphy-lua-utils.so
+%{_libdir}/libmurphy-lua-decision.so
+%endif
+%{_libdir}/libmurphy-domain-controller.so
+%{_libdir}/murphy/*.so
+%{_libdir}/pkgconfig/murphy-common.pc
+%{_libdir}/pkgconfig/murphy-core.pc
+%{_libdir}/pkgconfig/murphy-resolver.pc
+#%{_libdir}/pkgconfig/murphy-resource.pc
+%if %{?_with_lua:1}%{!?_with_lua:0}
+%{_libdir}/pkgconfig/murphy-lua-utils.pc
+%{_libdir}/pkgconfig/murphy-lua-decision.pc
+%endif
+%{_libdir}/pkgconfig/murphy-domain-controller.pc
+%{_libdir}/pkgconfig/murphy-db.pc
+%{_libdir}/pkgconfig/murphy-resource.pc
+%{_includedir}/breedline
+%{_libdir}/libbreedline*.so
+%{_libdir}/pkgconfig/breedline*.pc
+%if %{?_with_dbus:1}%{!?_with_dbus:0}
+#%{_includedir}/murphy/dbus
+%{_libdir}/libmurphy-dbus.so
+%{_libdir}/pkgconfig/murphy-dbus.pc
+%endif
+
+%files doc
+%defattr(-,root,root,-)
+%doc %{_docdir}/../murphy/AUTHORS
+%doc %{_docdir}/../murphy/CODING-STYLE
+%license %{_docdir}/../murphy/COPYING
+%doc %{_docdir}/../murphy/ChangeLog
+%doc %{_docdir}/../murphy/INSTALL
+%doc %{_docdir}/../murphy/NEWS
+%doc %{_docdir}/../murphy/README
+
+%if %{?_with_pulse:1}%{!?_with_pulse:0}
+%files pulse
+%defattr(-,root,root,-)
+%{_libdir}/libmurphy-pulse.so.*
+
+%files pulse-devel
+%defattr(-,root,root,-)
+%{_includedir}/murphy/common/pulse-glue.h
+%{_libdir}/libmurphy-pulse.so
+%{_libdir}/pkgconfig/murphy-pulse.pc
+%endif
+
+%if %{?_with_ecore:1}%{!?_with_ecore:0}
+%files ecore
+%defattr(-,root,root,-)
+%{_libdir}/libmurphy-ecore.so.*
+
+%files ecore-devel
+%defattr(-,root,root,-)
+%{_includedir}/murphy/common/ecore-glue.h
+%{_libdir}/libmurphy-ecore.so
+%{_libdir}/pkgconfig/murphy-ecore.pc
+%endif
+
+%if %{?_with_glib:1}%{!?_with_glib:0}
+%files glib
+%defattr(-,root,root,-)
+%{_libdir}/libmurphy-glib.so.*
+
+%files glib-devel
+%defattr(-,root,root,-)
+%{_includedir}/murphy/common/glib-glue.h
+%{_libdir}/libmurphy-glib.so
+%{_libdir}/pkgconfig/murphy-glib.pc
+%endif
+
+%if %{?_with_qt:1}%{!?_with_qt:0}
+%files qt
+%defattr(-,root,root,-)
+%{_libdir}/libmurphy-qt.so.*
+
+%files qt-devel
+%defattr(-,root,root,-)
+%{_includedir}/murphy/common/qt-glue.h
+%{_libdir}/libmurphy-qt.so
+%{_libdir}/pkgconfig/murphy-qt.pc
+%endif
+
+%files tests
+%defattr(-,root,root,-)
+%{_bindir}/resource-client
+%{_bindir}/resource-api-test
+%{_bindir}/resource-api-fuzz
+%{_bindir}/test-domain-controller
+%{_bindir}/murphy-console
+
+%changelog
+* Tue Nov 27 2012 Krisztian Litkey <krisztian.litkey@intel.com> -
+- Initial build for 2.0alpha.
--- /dev/null
+Name: nano
+Version: 2.3.1
+Release: 1
+Summary: Pico Editor Clone with Enhancements
+
+License: GPL-3.0+
+Url: http://www.nano-editor.org/
+Group: Productivity/Editors/Other
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: file-devel
+BuildRequires: pkgconfig(ncurses)
+
+%description
+GNU nano is a small and friendly text editor. It aims to emulate the
+Pico text editor while also offering a few enhancements.
+
+
+%prep
+%setup -q
+
+# Remove build time references so build-compare can do its work
+FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
+FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
+sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/nano.c
+sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/nano.c
+
+%build
+%configure --disable-rpath --enable-utf8
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+# Remove doc files from /usr/share/nano (they should be in defaultdocdir)
+rm -rf %{buildroot}%{_datadir}/nano/man-html/
+rm -rf %{buildroot}%{_mandir}/fr
+
+%find_lang %{name} --all-name
+
+%docs_package
+
+%lang_package
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_bindir}/nano
+%{_bindir}/rnano
+%{_datadir}/nano/
+
+
+%changelog
--- /dev/null
+Name: nasm
+Version: 2.10.07
+Release: 0
+License: BSD-2-Clause
+Summary: Netwide Assembler (An x86 Assembler)
+Url: http://nasm.sourceforge.net/
+Group: Development/Languages
+Source: nasm-%{version}.tar.xz
+BuildRequires: makeinfo
+
+%description
+NASM is a prototype general-purpose x86 assembler. It can currently
+output several binary formats, including ELF, a.out, Win32, and OS/2.
+
+Read the licence agreement in /usr/share/doc/packages/nasm/Licence.
+
+%prep
+%setup -q
+
+%package doc
+License: LGPL-2.1+
+Summary: Documentation for Nasm
+Group: Development/Languages
+
+%description doc
+This package contains the documentation for Nasm.
+
+%build
+touch -r ./ver.c ./ver.c.stamp
+TS=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
+sed -i "s/__DATE__/\"$TS\"/g" ver.c
+touch -r ./ver.c.stamp ./ver.c
+%configure
+make all
+
+cd doc
+make html info nasmdoc.ps nasmdoc.txt
+
+%install
+install -d -m 755 %{buildroot}/usr/bin
+install -d -m 755 %{buildroot}/%{_mandir}/man1
+install -d -m 755 %{buildroot}/%{_docdir}/nasm
+install -d -m 755 %{buildroot}/%{_docdir}/nasm/rdoff
+install -d -m 755 %{buildroot}/%{_docdir}/nasm/html
+install -d -m 755 %{buildroot}/%{_infodir}
+make INSTALLROOT=%{buildroot} install
+make INSTALLROOT=%{buildroot} rdf_install
+install -m 644 AUTHORS CHANGES ChangeLog LICENSE TODO README doc/*.txt \
+ %{buildroot}/%{_docdir}/nasm
+install -m 644 rdoff/README rdoff/doc/* \
+ %{buildroot}/%{_docdir}/nasm/rdoff
+install -m 644 doc/html/* %{buildroot}%{_docdir}/nasm/html
+install -m 644 ndisasm.1 nasm.1 rdoff/*.1 %{buildroot}%{_mandir}/man1
+install -m 644 doc/info/* %{buildroot}%{_infodir}
+
+%files
+%defattr(-,root,root)
+%license LICENSE
+/usr/bin/*
+%doc %{_mandir}/man1/*.1.gz
+
+%files doc
+%defattr(-,root,root)
+%doc %{_docdir}/nasm
+%doc %{_infodir}/nasm*
+
+%changelog
--- /dev/null
+#
+# spec file for package ncurses
+#
+# Copyright (c) 2012 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.
+
+#
+
+
+Name: ncurses
+#!BuildIgnore: terminfo
+BuildRequires: gcc-c++
+BuildRequires: pkg-config
+%define terminfo() %{_datadir}/%{0}/%{1}
+%define tabset() %{_datadir}/%{0}/%{1}
+Version: 5.9
+Release: 0
+Summary: New curses Libraries
+License: MIT
+Group: Base/Libraries
+Url: http://invisible-island.net/ncurses/ncurses.html
+Source0: ncurses-%{version}.tar.gz
+Source2: handle.linux
+Source4: ncurses-rpmlintrc
+Source6: edit.sed
+Source7: baselibs.conf
+%global _sysconfdir /etc
+%global _miscdir %{_datadir}/misc
+%global _incdir %{_includedir}
+%global root %{_tmppath}/%{name}-%{version}-store
+%global abi %(ver=%{version}; echo ${ver%.*})
+
+%description
+As soon as a text application needs to directly control its output to
+the screen (if it wants to place the cursor at location (x,y) then
+write text), ncurses is used. The panel and the forms libraries are
+included in this package. These new libraries support color, special
+characters, and panels.
+
+
+%package -n ncurses-utils
+Summary: Tools using the new curses libraries
+License: MIT
+Group: Base/Utilities
+Provides: ncurses:%{_bindir}/tput
+
+%description -n ncurses-utils
+The ncurses based utilities are as follows:
+
+clear -- emits clear-screen for current terminal
+
+tabs -- set tabs on a terminal
+
+toe -- table of entries utility
+
+tput -- shell-script access to terminal capabilities.
+
+tset -- terminal-initialization utility
+
+reset -- terminal initialization utility
+
+%package -n terminfo-base
+Summary: A terminal descriptions database
+License: MIT
+Group: Base/Utilities
+Provides: ncurses:%{_datadir}/tabset
+
+%description -n terminfo-base
+This is the terminfo basic database, maintained in the ncurses package.
+This database is the official successor to the 4.4BSD termcap file and
+contains information about any known terminal. The ncurses library
+makes use of this database to use terminals correctly.
+
+%if %abi == 5
+
+%package -n libncurses
+Summary: The New curses Libraries
+License: MIT
+Group: Base/Libraries
+Requires: terminfo-base
+Provides: ncurses = %{version}
+Obsoletes: ncurses < %{version}
+Recommends: ncurses-utils = %{version}
+
+%description -n libncurses
+The ncurses library is used by the most curses based terminal
+applications for controling its output and input to the screen.
+
+%endif
+
+%package -n libncurses6
+Summary: The New curses Libraries
+License: MIT
+Group: Base/Libraries
+Requires: terminfo-base
+%if %abi == 5
+Provides: ncurses = 6.0
+%else
+Provides: ncurses = %{version}
+%endif
+
+%description -n libncurses6
+The ncurses library is used by the most curses based terminal
+applications for controling its output and input to the screen.
+
+%package -n terminfo
+Summary: A terminal descriptions database
+License: Public-Domain
+Group: Base/Utilities
+
+%description -n terminfo
+This is the terminfo reference database, maintained in the ncurses
+package. This database is the official successor to the 4.4BSD termcap
+file and contains information about any known terminal. The ncurses
+library makes use of this database to use terminals correctly. If you
+just use the Linux console, xterm, and VT100, you probably will not
+need this database -- a minimal /usr/share/terminfo tree for these
+terminals is already included in the terminfo-base package.
+
+%package -n ncurses-devel
+Summary: Include Files and Libraries mandatory for Development
+License: MIT
+Group: Base/Development
+Provides: ncurses:%{_incdir}/ncurses.h
+Requires: ncurses = %{version}-%{release}
+%if %abi >= 6
+Requires: libncurses6 = %{version}-%{release}
+%else
+Requires: libncurses = %{version}-%{release}
+Requires: libncurses6 = %{version}-%{release}
+%endif
+
+%description -n ncurses-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q -n ncurses-%{version}
+rm -vf include/ncurses_dll.h
+rm -vf mkdirs.sh
+rm -vf tar-copy.sh
+rm -vf mk-dlls.sh
+
+%build
+ cflags ()
+ {
+ local flag=$1; shift
+ local var=$1; shift
+ test -n "${flag}" -a -n "${var}" || return
+ case "${!var}" in
+ *${flag}*) return
+ esac
+ set -o noclobber
+ case "$flag" in
+ -Wl,*)
+ if echo 'int main () { return 0; }' | \
+ ${CC:-gcc} -Werror $flag -o /dev/null -xc - > /dev/null 2>&1 ; then
+ eval $var=\${$var:+\$$var\ }$flag
+ fi
+ ;;
+ *)
+ if ${CC:-gcc} -Werror $flag -S -o /dev/null -xc /dev/null > /dev/null 2>&1 ; then
+ eval $var=\${$var:+\$$var\ }$flag
+ fi
+ if ${CXX:-g++} -Werror $flag -S -o /dev/null -xc++ /dev/null > /dev/null 2>&1 ; then
+ eval $var=\${$var:+\$$var\ }$flag
+ fi
+ esac
+ set +o noclobber
+ }
+
+ test ! -f /.buildenv || . /.buildenv
+ OPATH=$PATH
+ FALLBK="xterm,linux,vt100,vt102"
+ CC=gcc
+ CXX=g++
+ CFLAGS="${RPM_OPT_FLAGS} -pipe -D_REENTRANT"
+ if [[ "$BUILD_BASENAME" = debug-* ]] ; then
+ CFLAGS="${CFLAGS} -g -DTRACE"
+ fi
+ cflags -Wl,-O2 LDFLAGS
+ cflags -Wl,-Bsymbolic-functions LDFLAGS
+ cflags -Wl,--hash-size=8599 LDFLAGS
+ cflags -Wl,--as-needed LDFLAGS
+ CXXFLAGS=$CFLAGS
+ test -n "$TERM" || TERM=linux
+ GZIP="-9"
+ export CC CFLAGS CXX CXXFLAGS GZIP TERM LDFLAGS
+ #
+ # Detect 64bit architecures and be sure that
+ # we use an unsigned long for chtype to be
+ # backward compatible with ncurses 5.4
+ #
+ echo 'int main () { return !(sizeof(void*) >= 8); }' | gcc -x c -o test64 -
+ if ./test64 ; then
+ WITHCHTYPE="--with-chtype=long"
+ else
+ WITHCHTYPE=""
+ CFLAGS="${CFLAGS} -D_LARGEFILE64_SOURCES -D_FILE_OFFSET_BITS=64"
+ fi
+ rm -f ./test64
+ #
+ # For security of some configure and install scripts
+ #
+ TMPDIR=$(mktemp -d /tmp/ncurses.XXXXXXXX) || exit 1
+ trap 'rm -rf ${TMPDIR}' EXIT
+ export TMPDIR
+ #
+ # No --enable-term-driver as this had crashed last time
+ # in ncurses/tinfo/lib_setup.c due to the fact that
+ # _nc_globals.term_driver was a NULL function pointer
+ #
+ # No --enable-tcap-names because we may have to recompile
+ # programs or foreign programs won't work
+ #
+ # No --enable-safe-sprintf because this seems to
+ # crash on some architectures
+ #
+ # No --enable-xmc-glitch because this seems to break yast2
+ # on console/konsole (no magic cookie support on those?)
+ #
+ # No --with-termlib=tinfo because libncurses depend on
+ # libtinfo (is linked with) and therefore there is no
+ # advantage about splitting of a libtinfo (IMHO).
+ #
+ touch --reference=README config.sub config.guess
+ %configure \
+ --without-ada \
+ --without-debug \
+ --without-profile \
+ --without-manpage-tbl \
+ --with-shared \
+ --with-normal \
+ --with-manpage-format=gzip \
+ --with-manpage-renames=${PWD}/man/man_db.renames \
+ --with-manpage-aliases \
+ --with-ospeed=speed_t \
+ --with-gpm \
+ --with-dlsym \
+ --with-termlib=tinfo \
+ --with-ticlib=tic \
+ --with-xterm-kbs=del \
+ --disable-root-environ \
+ --disable-termcap \
+ --disable-overwrite \
+ --disable-rpath \
+ --disable-leaks \
+ --disable-xmc-glitch \
+ --enable-symlinks \
+ --enable-big-core \
+ --enable-const \
+ --enable-hashmap \
+ --enable-no-padding \
+ --enable-symlinks \
+ --enable-sigwinch \
+ --enable-pc-files \
+ --with-pkg-config-libdir=%{_libdir}/pkgconfig \
+ --with-pkg-config \
+ --enable-colorfgbg \
+ --enable-sp-funcs \
+%if %abi >= 6
+ --with-pthread \
+ --enable-reentrant \
+ --enable-ext-mouse \
+ --disable-widec \
+ --enable-ext-colors \
+%else
+ --without-pthread \
+ --disable-reentrant \
+ --disable-ext-mouse \
+ --disable-widec \
+ --disable-ext-colors \
+%endif
+ --enable-weak-symbols \
+ --enable-wgetch-events \
+ --enable-pthreads-eintr \
+ --enable-string-hacks \
+ --prefix=%{_prefix} \
+ --exec-prefix=%{_prefix}\
+ --libdir=%{_libdir} \
+ --datadir=%{_datadir} \
+ --mandir=%{_mandir} \
+ --includedir=%{_incdir} \
+ "${WITHCHTYPE}" \
+ --disable-widec \
+ --disable-tic-depends \
+ --with-ticlib=tic
+ #--with-pkg-config-libdir=%{_libdir}/pkgconfig \
+ #
+ # The configure line
+ #
+ c=$(grep '^ *$ *\./configure' config.log)
+ #
+ # This is a hack to be able to boot strap
+ # a libncurses with correct fallback.c.
+ #
+ make %{?_smp_mflags} -C include
+ make %{?_smp_mflags} -C ncurses fallback.c FALLBACK_LIST=""
+ make %{?_smp_mflags} -C progs termsort.c transform.h infocmp tic
+ rm -f ncurses/fallback.c
+ PATH=$PWD/progs:$OPATH
+ LD_LIBRARY_PATH=$PWD/lib
+ export LD_LIBRARY_PATH PATH
+ pushd ncurses/
+ TERMINFO=$PWD/tmp
+ export TERMINFO
+ mkdir -p $TERMINFO
+%if 0%{?_crossbuild}
+export BUILD_TIC=/usr/bin/tic
+%else
+export BUILD_TIC=$PWD/../progs/tic
+%endif
+ $BUILD_TIC -I -r -e $FALLBK ../misc/terminfo.src > terminfo.src
+ $BUILD_TIC -o $TERMINFO -s terminfo.src
+ sh -e ./tinfo/MKfallback.sh $TERMINFO ../misc/terminfo.src $BUILD_TIC ${FALLBK//,/ } > fallback.c
+ rm -rf $TERMINFO
+ unset TERMINFO
+ cp -p fallback.c ../fallback.c.backup
+ popd
+ PATH=$OPATH
+ unset LD_LIBRARY_PATH
+ #
+ # Refresh second install path
+ #
+ rm -rf %{root}
+ mkdir %{root}
+ #
+ # Now rebuild libncurses and do the rest of this job
+ #
+ find -name fallback.o | xargs -r rm -vf
+ cp fallback.c.backup ncurses/fallback.c
+ make %{?_smp_mflags}
+ lib=%{_libdir}
+ inc=%{_incdir}/ncurses
+ # must not use %jobs here (would lead to: ln: ncurses.h already exists)
+ make install DESTDIR=%{root} includedir=${inc} libdir=${lib}
+ ln -sf ${inc##*/}/{curses,ncurses,term,termcap}.h %{root}${inc%%/*}/
+ sh %{S:6} --cflags "-I${inc}" --libs "-lncurses" --libs "-ltinfo" %{root}%{_bindir}/ncurses5-config
+%if %abi < 6
+ #
+ # Now use --with-pthread for reentrant pthread support (abi > 5).
+ #
+ eval ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --disable-widec --disable-ext-colors --without-progs
+ find -name fallback.o | xargs -r rm -vf
+ cp fallback.c.backup ncurses/fallback.c
+ make %{?_smp_mflags}
+ lib=%{_libdir}/ncurses6
+ inc=%{_incdir}/ncurses6/ncurses
+ # must not use %jobs here (would lead to: ln: ncurses.h already exists)
+ make install.libs install.includes DESTDIR=%{root} includedir=${inc} libdir=${lib}
+ ln -sf ${inc##*/}/{curses,ncurses,term}.h %{root}${inc%%/*}/
+ sh %{S:6} --cflags "-I${inc} -I${inc%%/*}" --libs "-L${lib} -lncurses" --libs "-ltinfo" %{root}%{_bindir}/ncurses6-config
+ pushd man
+ sh ../edit_man.sh normal installing %{root}%{_mandir} . ncurses6-config.1
+ popd
+%endif
+ #
+ # Now use --enable-widec for UTF8/wide character support.
+ # The libs with 16 bit wide characters are binary incompatible
+ # to the normal 8bit wide character libs.
+ #
+%if %abi >= 6
+ eval ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs
+%else
+ eval ./${c#*./} --disable-ext-mouse --enable-widec --disable-ext-colors --without-progs
+%endif
+ find -name fallback.o | xargs -r rm -vf
+ cp fallback.c.backup ncurses/fallback.c
+ make %{?_smp_mflags}
+ lib=%{_libdir}
+ inc=%{_incdir}/ncursesw
+ # must not use %jobs here (would lead to: ln: ncurses.h already exists)
+ make install.libs install.includes DESTDIR=%{root} includedir=${inc} libdir=${lib}
+ sh %{S:6} --cflags "-I${inc}" --libs "-lncursesw" --libs "-ltinfo" %{root}%{_bindir}/ncursesw5-config
+ pushd man
+ sh ../edit_man.sh normal installing %{root}%{_mandir} . ncursesw5-config.1
+ popd
+%if %abi < 6
+ #
+ # Do both --enable-widec and --with-pthread (abi > 5).
+ #
+ eval ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs
+ find -name fallback.o | xargs -r rm -vf
+ cp fallback.c.backup ncurses/fallback.c
+ make %{?_smp_mflags}
+ lib=%{_libdir}/ncurses6
+ inc=%{_incdir}/ncurses6/ncursesw
+ # must not use %jobs here (would lead to: ln: ncurses.h already exists)
+ make install.libs install.includes DESTDIR=%{root} includedir=${inc} libdir=${lib}
+ sh %{S:6} --cflags "-I${inc} -I${inc%%/*}" --libs "-L${lib} -lncursesw" --libs "-ltinfo" %{root}%{_bindir}/ncursesw6-config
+ pushd man
+ sh ../edit_man.sh normal installing %{root}%{_mandir} . ncursesw6-config.1
+ popd
+%endif
+
+%install
+ GZIP="-9"
+ export GZIP
+ (cd %{root}/; tar -cpsSf - *)|tar -xpsSf - -C %{buildroot}/
+ rm -rf %{root}
+ #mkdir -p %{buildroot}/%{_lib}
+ for model in libncurses libncursest libncursesw libncursestw libtinfo
+ do
+ #for lib in %{buildroot}%{_libdir}/${model}.so.* ; do
+ # test -e "${lib}" || continue
+ # mv "${lib}" %{buildroot}/%{_lib}/ || continue
+ #done
+ for lib in %{buildroot}/%{_libdir}/${model}.so.%{abi} ; do
+ test -e "${lib}" || continue
+ test -L "${lib}" || continue
+ lib=${lib#%{buildroot}}
+ lnk=%{buildroot}%{_libdir}/${model}.so
+ case "${lib##*/}" in
+ libncurses*)
+ rm -f ${lnk}
+ echo '/* GNU ld script */' > ${lnk}
+ echo "INPUT(${lib} AS_NEEDED(-ltinfo))" >> ${lnk}
+ ;;
+ #*) ln -sf ${lib} %{buildroot}%{_libdir}/${model}.so
+ esac
+ done
+ done
+%if 0
+ lnk=%{buildroot}%{_libdir}/libtermcap.so
+ echo '/* GNU ld script */' > ${lnk}
+ echo "INPUT(AS_NEEDED(-ltinfo))" >> ${lnk}
+%endif
+ chmod 0755 %{buildroot}/%{_libdir}/lib*.so.*
+ chmod 0755 %{buildroot}/%{_libdir}/lib*.so.*
+ chmod a-x %{buildroot}/%{_libdir}/lib*.a
+%if %abi < 6
+ if test -d %{buildroot}%{_libdir}/ncurses6 ; then
+ mv %{buildroot}%{_libdir}/ncurses6/*.so.6* %{buildroot}%{_libdir}/
+ for lib in %{buildroot}%{_libdir}/ncurses6/*.so
+ do
+ lnk=$lib
+ lib=/%{_libdir}/${lib##*/}.6
+ case "${lib##*/}" in
+ libncurses*)
+ rm -f "${lnk}"
+ echo '/* GNU ld script */' > ${lnk}
+ echo "INPUT(${lib} AS_NEEDED(-ltinfo))" >> ${lnk}
+ ;;
+ libtinfo*)
+ test -L "${lnk}" || continue
+ ln -sf ${lib} ${lnk}
+ ;;
+ *)
+ test -L "${lnk}" || continue
+ ln -sf ../${lib##*/} ${lnk}
+ esac
+ done
+ for model in libncurses libncursest libncursesw libncursestw libtinfo
+ do
+ for lib in %{buildroot}%{_libdir}/${model}.so.* ; do
+ test -e "${lib}" || continue
+ #mv "${lib}" %{buildroot}/%{_lib}/ || continue
+ done
+ for lib in %{buildroot}/%{_libdir}/${model}.so.6 ; do
+ test -e "${lib}" || continue
+ test -L "${lib}" || continue
+ lib=${lib#%{buildroot}}
+ lnk=%{buildroot}%{_libdir}/ncurses6/${model}.so
+ case "${lib##*/}" in
+ libncurses*)
+ rm -f ${lnk}
+ echo '/* GNU ld script */' > ${lnk}
+ echo 'SEARCH_DIR(%{_libdir}/ncurses6)' >> ${lnk}
+ echo "INPUT(${lib} AS_NEEDED(-ltinfo))" >> ${lnk}
+ ;;
+ *) : #ln -sf ${lib} %{buildroot}%{_libdir}/ncurses6/${model}.so
+ esac
+ done
+ done
+ chmod 0755 %{buildroot}/%{_libdir}/lib*.so.6*
+ chmod 0755 %{buildroot}/%{_libdir}/lib*.so.6*
+ chmod a-x %{buildroot}/%{_libdir}/ncurses6/lib*.a
+ fi
+%endif
+ test -n "%{buildroot}" || ldconfig -N
+ mkdir -p %{buildroot}%{_defaultdocdir}/ncurses
+ bzip2 -c misc/terminfo.src > misc/terminfo.src.bz2
+ install -m 644 misc/terminfo.src.bz2 %{buildroot}%{_defaultdocdir}/ncurses/
+ install -m 644 doc/html/*.html %{buildroot}%{_defaultdocdir}/ncurses/
+ bzip2 doc/ncurses-intro.doc -c > doc/ncurses-intro.txt.bz2
+ install -m 644 doc/ncurses-intro.txt.bz2 %{buildroot}%{_defaultdocdir}/ncurses/
+ bzip2 doc/hackguide.doc -c > doc/hackguide.txt.bz2
+ install -m 644 doc/hackguide.txt.bz2 %{buildroot}%{_defaultdocdir}/ncurses/
+ install -m 644 README %{buildroot}%{_defaultdocdir}/ncurses/
+ install -m 644 NEWS %{buildroot}%{_defaultdocdir}/ncurses/
+ mkdir -p %{buildroot}%{_sysconfdir}
+ mkdir -p %{buildroot}%{_miscdir}
+ LD_LIBRARY_PATH=$PWD/lib
+ export LD_LIBRARY_PATH
+ pushd ncurses/
+ { echo "# See annotated version in %{_defaultdocdir}/ncurses/terminfo.src.bz2"
+%if 0%{?_crossbuild}
+ BUILD_TIC=/usr/bin/tic
+%else
+ BUILD_TIC=$PWD/../progs/tic
+%endif
+ $BUILD_TIC -C -r ../misc/terminfo.src | grep -E -v '^#'; } > termcap
+ # Gererate new termcap entries for various linux consoles
+ TERMCAP=termcap \
+ TERMINFO=%{buildroot}%{_datadir}/terminfo \
+ bash %{SOURCE2}
+ install -m 0644 termcap.new %{buildroot}%{_miscdir}/termcap
+ popd
+ unset LD_LIBRARY_PATH
+ if test `%{_bindir}/id -u` = '0' ; then
+ chown root:root %{buildroot}%{_miscdir}/termcap
+ chmod 0644 %{buildroot}%{_miscdir}/termcap
+ fi
+ ln -sf %{_miscdir}/termcap %{buildroot}%{_sysconfdir}/termcap
+ (cat > default.list) <<-EOF
+ %{tabset std}
+ %{tabset stdcrt}
+ %{tabset vt100}
+ %{tabset vt300}
+ %{terminfo a/ansi}
+ %{terminfo d/dumb}
+ %{terminfo g/gnome}
+ %{terminfo g/gnome-rh72}
+ %{terminfo k/klone+color}
+ %{terminfo k/kvt}
+ %{terminfo l/linux}
+ %{terminfo l/linux-m}
+ %{terminfo l/linux-nic}
+ %{terminfo m/mlterm}
+ %{terminfo n/nxterm}
+ %{terminfo r/rxvt}
+ %{terminfo s/screen}
+ %{terminfo s/screen-w}
+ %{terminfo s/screen-256color}
+ %{terminfo s/sun}
+ %{terminfo u/unknown}
+ %{terminfo v/vt100}
+ %{terminfo v/vt102}
+ %{terminfo v/vt220}
+ %{terminfo v/vt220-8}
+ %{terminfo v/vt220-8bit}
+ %{terminfo v/vt320}
+ %{terminfo v/vt52}
+ %{terminfo x/xterm}
+ %{terminfo x/xterm-color}
+ %{terminfo x/xterm-256color}
+ %{terminfo x/xterm-basic}
+ %{terminfo x/xterm-nic}
+ %{terminfo x/xterm-r6}
+ EOF
+ find %{buildroot}%{tabset ""} %{buildroot}%{terminfo ""} \
+ \( -type f -or -type l \) | \
+ sed "s@^%{buildroot}@@g" | \
+ grep -v -F -x -f default.list \
+ > extension.list
+ rm -f %{buildroot}%{_prefix}/lib/terminfo
+%if %abi < 6
+
+%post -n libncurses -p /sbin/ldconfig
+
+%postun -n libncurses -p /sbin/ldconfig
+%endif
+
+%post -n libncurses6 -p /sbin/ldconfig
+
+%postun -n libncurses6 -p /sbin/ldconfig
+
+%files -n terminfo-base -f default.list
+%defattr(-,root,root)
+%{_sysconfdir}/termcap
+%config %{_miscdir}/termcap
+%dir %{_datadir}/tabset/
+%dir %{_datadir}/terminfo/
+%dir %{_datadir}/terminfo/*/
+
+%files -n ncurses-utils
+%defattr(-,root,root)
+%{_bindir}/clear
+%{_bindir}/reset
+%{_bindir}/tabs
+%{_bindir}/toe
+%{_bindir}/tput
+%{_bindir}/tset
+%doc %{_mandir}/man1/clear.1.gz
+%doc %{_mandir}/man1/reset.1.gz
+%doc %{_mandir}/man1/tabs.1.gz
+%doc %{_mandir}/man1/toe.1.gz
+%doc %{_mandir}/man1/tput.1.gz
+%doc %{_mandir}/man1/tset.1.gz
+%doc %{_mandir}/man5/*.gz
+%if %abi == 5
+
+%files -n libncurses
+%defattr(-,root,root)
+%{_libdir}/lib*.so.5*
+%endif
+
+%files -n libncurses6
+%defattr(-,root,root)
+%{_libdir}/lib*.so.6*
+
+%files -n ncurses-devel
+%defattr(-,root,root)
+%dir %{_defaultdocdir}/ncurses/
+%doc %{_defaultdocdir}/ncurses/*
+%{_bindir}/ncurses*-config
+%{_bindir}/captoinfo
+%{_bindir}/infocmp
+%{_bindir}/infotocap
+%{_bindir}/tic
+%dir %{_incdir}/ncurses/
+%dir %{_incdir}/ncursesw/
+%dir %{_incdir}/ncurses6/
+%dir %{_incdir}/ncurses6/ncurses/
+%dir %{_incdir}/ncurses6/ncursesw/
+%{_incdir}/*.h
+%{_incdir}/ncurses*/*.h
+%{_incdir}/ncurses*/*/*.h
+%dir %{_libdir}/ncurses6/
+%{_libdir}/lib*.a
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/ncurses6/lib*.a
+%{_libdir}/ncurses6/lib*.so
+%doc %{_mandir}/man1/*-config.1.gz
+%doc %{_mandir}/man1/captoinfo.1.gz
+%doc %{_mandir}/man1/infocmp.1.gz
+%doc %{_mandir}/man1/infotocap.1.gz
+%doc %{_mandir}/man1/tic.1.gz
+%doc %{_mandir}/man3/*.gz
+%doc %{_mandir}/man7/*.gz
+
+
+%files -f extension.list -n terminfo
+%defattr(-,root,root)
+
+%changelog
--- /dev/null
+Name: neard-tizen
+Summary: Near Field Communication Manager
+Version: 0.10
+Release: 1
+Group: System/Networking
+License: GPLv2
+Source0: http://www.kernel.org/pub/linux/network/nfc/neard-%{version}.tar.bz2
+Source1: init
+Source2: neard.service
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(libnl-2.0)
+
+Requires: systemd
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+
+%description
+Near Field Communication Manager
+
+
+
+%package devel
+Summary: Development files for NFC Manager
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+neard-devel contains development files for use with neard.
+
+%package test
+Summary: Test Scripts for NFC Manager
+Group: Development/Tools
+Requires: %{name} = %{version}-%{release}
+Requires: dbus-python
+Requires: pygobject
+
+%description test
+Scripts for testing neard and its functionality
+
+%prep
+%setup -q
+
+%build
+./bootstrap
+%configure \
+ --enable-debug \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-nfctype1=builtin \
+ --enable-nfctype2=builtin \
+ --enable-nfctype3=builtin \
+ --enable-nfctype4=builtin \
+ --disable-p2p \
+ --enable-test
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/etc/rc.d/init.d
+cp %{SOURCE1} %{buildroot}/etc/rc.d/init.d/neard
+chmod +x %{buildroot}/etc/rc.d/init.d/neard
+
+# Systemd service file
+install -d %{buildroot}%{_libdir}/systemd/system/
+install -m 644 %{S:2} %{buildroot}%{_libdir}/systemd/system/neard.service
+install -d %{buildroot}%{_libdir}/systemd/system/network.target.wants/
+ln -s ../neard.service %{buildroot}%{_libdir}/systemd/system/network.target.wants/neard.service
+
+%post
+systemctl daemon-reload
+systemctl restart neard.service
+
+%preun
+systemctl stop neard.service
+
+%postun
+systemctl daemon-reload
+
+%files
+%doc COPYING
+%{_mandir}/*
+/usr/libexec/nfc/neard
+/etc/dbus-1/system.d/org.neard.conf
+/etc/rc.d/init.d/*
+%{_libdir}/systemd/system/neard.service
+%{_libdir}/systemd/system/network.target.wants/neard.service
+
+%files devel
+%{_includedir}/near/*.h
+%{_libdir}/pkgconfig/*.pc
+
+%files test
+%defattr(-,root,root,-)
+%{_libdir}/neard/test/*
--- /dev/null
+Name: net-config
+Summary: TIZEN Network Configuration Module
+Version: 0.1.90_21
+Release: 1
+Group: System/Network
+License: Apache License Version 2.0
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(wifi-direct)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(syspopup-caller)
+Requires(post): /usr/bin/vconftool
+Requires: systemd
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+
+%description
+TIZEN Network Configuration Module
+
+%prep
+%setup -q
+
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_datadir}/dbus-1/services
+cp resources/usr/share/dbus-1/services/net.netconfig.service %{buildroot}%{_datadir}/dbus-1/services/net.netconfig.service
+mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
+cp resources/etc/dbus-1/system.d/net-config.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/net-config.conf
+mkdir -p %{buildroot}/opt/etc
+cp resources/opt/etc/resolv.conf %{buildroot}/opt/etc/resolv.conf
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
+cp resources/etc/rc.d/init.d/net-config %{buildroot}%{_sysconfdir}/rc.d/init.d/net-config
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
+ln -s ../init.d/net-config %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S60net-config
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d
+ln -s ../init.d/net-config %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S60net-config
+
+# Systemd service file
+mkdir -p %{buildroot}%{_libdir}/systemd/system/
+cp resources/usr/lib/systemd/system/net-config.service %{buildroot}%{_libdir}/systemd/system/net-config.service
+mkdir -p %{buildroot}%{_libdir}/systemd/system/network.target.wants/
+ln -s ../net-config.service %{buildroot}%{_libdir}/systemd/system/network.target.wants/net-config.service
+
+#License
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/net-config
+
+%post
+
+vconftool set -t int memory/dnet/state 0 -i
+vconftool set -t int memory/wifi/state 0 -i
+vconftool set -t int memory/wifi/strength 0 -i
+vconftool set -t int memory/wifi/bgscan_mode 0 -i
+
+vconftool set -t int memory/dnet/cellular 0 -i
+vconftool set -t int memory/dnet/wifi 0 -i
+vconftool set -t int memory/dnet/network_config 0 -i
+vconftool set -t int memory/dnet/status 0 -i
+vconftool set -t string memory/dnet/ip "" -i
+vconftool set -t string memory/dnet/proxy "" -i
+
+vconftool set -t string memory/wifi/connected_ap_name "" -i
+
+vconftool set -t string db/wifi/bssid_address ""
+
+#Default Call Statistics
+vconftool set -t int db/dnet/statistics/cellular/totalsnt "0"
+vconftool set -t int db/dnet/statistics/cellular/totalrcv "0"
+vconftool set -t int db/dnet/statistics/cellular/lastsnt "0"
+vconftool set -t int db/dnet/statistics/cellular/lastrcv "0"
+vconftool set -t int db/dnet/statistics/wifi/totalsnt "0"
+vconftool set -t int db/dnet/statistics/wifi/totalrcv "0"
+vconftool set -t int db/dnet/statistics/wifi/lastsnt "0"
+vconftool set -t int db/dnet/statistics/wifi/lastrcv "0"
+
+vconftool set -t int file/private/wifi/last_power_state "0"
+
+systemctl daemon-reload
+if [ "$1" == "1" ]; then
+ systemctl restart net-config.service
+fi
+
+%preun
+if [ "$1" == "0" ]; then
+ systemctl stop net-config.service
+fi
+
+%postun
+systemctl daemon-reload
+if [ "$1" == "1" ]; then
+ systemctl restart net-config.service
+fi
+
+%files
+%manifest net-config.manifest
+%{_sbindir}/*
+%attr(644,root,root) /opt/etc/resolv.conf
+%{_datadir}/dbus-1/services/*
+%{_sysconfdir}/dbus-1/system.d/*
+%{_sysconfdir}/rc.d/init.d/net-config
+%{_sysconfdir}/rc.d/rc3.d/S60net-config
+%{_sysconfdir}/rc.d/rc5.d/S60net-config
+%{_libdir}/systemd/system/net-config.service
+%{_libdir}/systemd/system/network.target.wants/net-config.service
+%{_datadir}/license/net-config
--- /dev/null
+%define _usrdir /usr
+%define _appdir %{_usrdir}/apps
+
+Name: org.tizen.net-popup
+Summary: Network Notification Popup application
+Version: 0.2.1_17
+Release: 1
+Group: App/Network
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(syspopup)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(status)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: gettext
+
+%description
+Network Notification Popup application
+
+%prep
+%setup -q
+
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_sysconfdir}/smack/accesses.d/
+cp -v org.tizen.net-popup.rule %{buildroot}%{_sysconfdir}/smack/accesses.d/
+
+#License
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE.Flora %{buildroot}%{_datadir}/license/org.tizen.net-popup
+
+
+%files
+%manifest org.tizen.net-popup.manifest
+%{_appdir}/org.tizen.net-popup/bin/net-popup
+%{_datadir}/packages/org.tizen.net-popup.xml
+%{_datadir}/license/org.tizen.net-popup
+%{_datadir}/locale/*/LC_MESSAGES/net-popup.mo
+%{_sysconfdir}/smack/accesses.d/org.tizen.net-popup.rule
--- /dev/null
+Summary: Basic networking tools
+Name: net-tools
+Version: 2.0_20121208git
+Release: 0
+License: GPLv2+
+Group: System/Base
+URL: http://sourceforge.net/projects/net-tools/
+
+# git archive --format=tar --remote=git://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools master | xz > net-tools-%%{version}.%%{checkout}.tar.xz
+Source0: net-tools-%{version}.tar.xz
+Source1: net-tools-config.h
+Source2: net-tools-config.make
+
+%description
+The net-tools package contains basic networking tools,
+including ifconfig, netstat, route, and others.
+Most of them are obsolete. For replacement check iproute package.
+
+%prep
+%setup -q
+
+cp %SOURCE1 ./config.h
+cp %SOURCE2 ./config.make
+
+%build
+export CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fpie"
+export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
+
+make
+
+%install
+make BASEDIR=%{buildroot} mandir=%{_mandir} install
+
+mkdir -p %{buildroot}/usr/sbin
+mkdir -p %{buildroot}/usr/bin
+mv %{buildroot}/bin/ifconfig %{buildroot}/usr/sbin
+mv %{buildroot}/bin/route %{buildroot}/usr/sbin
+mv %{buildroot}/bin/netstat %{buildroot}/usr/bin
+
+
+rm %{buildroot}/sbin/rarp
+
+# remove hostname (has its own package)
+rm %{buildroot}/bin/dnsdomainname
+rm %{buildroot}/bin/domainname
+rm %{buildroot}/bin/hostname
+rm %{buildroot}/bin/nisdomainname
+rm %{buildroot}/bin/ypdomainname
+
+%docs_package
+
+
+%files
+%license COPYING
+/usr/bin/netstat
+/usr/sbin/ifconfig
+/usr/sbin/route
+/sbin/arp
+/sbin/ipmaddr
+/sbin/iptunnel
+/sbin/nameif
+/sbin/plipconfig
+/sbin/slattach
+/sbin/mii-tool
--- /dev/null
+Name: nettle
+Version: 2.4
+Release: 0
+Summary: Cryptographic Library
+License: LGPL-2.1+ and GPL-2.0+
+Group: Security/Crypto Libraries
+Source0: ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-%{version}.tar.gz
+Source1: baselibs.conf
+BuildRequires: gmp-devel
+BuildRequires: pkgconfig
+
+%description
+Nettle is a cryptographic library that is designed to fit easily in more or
+less any context: In crypto toolkits for object-oriented languages (C++,
+Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
+
+%package -n libhogweed
+
+Summary: Cryptographic Library for Public Key Algorithms
+License: LGPL-2.1+
+Group: Security/Crypto Libraries
+
+%description -n libhogweed
+Nettle is a cryptographic library that is designed to fit easily in more or
+less any context: In crypto toolkits for object-oriented languages (C++,
+Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
+
+The libhogweed library contains public key algorithms to use with libnettle.
+
+%package -n libnettle-devel
+Summary: Cryptographic Library
+License: LGPL-2.1+
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: gmp-devel
+Requires: libhogweed = %{version}
+Requires: libnettle = %{version}
+
+%description -n libnettle-devel
+Nettle is a cryptographic library that is designed to fit easily in more or
+less any context: In crypto toolkits for object-oriented languages (C++,
+Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
+
+%package -n libnettle
+
+Summary: Cryptographic Tools
+License: LGPL-2.1+ and GPL-2.0+
+Group: Security/Crypto Libraries
+
+%description -n libnettle
+Nettle is a cryptographic library that is designed to fit easily in more or
+less any context: In crypto toolkits for object-oriented languages (C++,
+Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
+
+This package contains a few command-line tools to perform cryptographic
+operations using the nettle library.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --enable-shared
+
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+
+%post -n libnettle -p /sbin/ldconfig
+
+%postun -n libnettle -p /sbin/ldconfig
+
+%post -n libhogweed -p /sbin/ldconfig
+
+%postun -n libhogweed -p /sbin/ldconfig
+
+
+%files -n libnettle
+%defattr(-,root,root)
+%license COPYING*
+%{_libdir}/libnettle.so.*
+
+%files -n libhogweed
+%defattr(-,root,root)
+%{_libdir}/libhogweed.so.*
+
+%files -n libnettle-devel
+%defattr(-,root,root)
+%{_includedir}/nettle
+%{_libdir}/libnettle.so
+%{_libdir}/libhogweed.so
+%{_infodir}/nettle.info%{ext_info}
+%{_libdir}/pkgconfig/hogweed.pc
+%{_libdir}/pkgconfig/nettle.pc
+
+%files -n nettle
+%defattr(-,root,root)
+%{_bindir}/nettle-lfib-stream
+%{_bindir}/pkcs1-conv
+%{_bindir}/sexp-conv
+%{_bindir}/nettle-hash
+
+%changelog
--- /dev/null
+Name: capi-telephony-network-info
+Summary: A Telephony Network Information library in Tizen Native API
+Version: 0.1.0
+Release: 11
+Group: C API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(capi-base-common)
+
+%description
+A Telephony Network Information library in Tizen Native API.
+
+
+%package devel
+Summary: A Telephony Network Information library in Tizen Native API (Development)
+Group: C API
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+A Telephony Network Information library in Tizen Native API.
+
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest capi-telephony-network-info.manifest
+%{_libdir}/libcapi-telephony-network-info.so.*
+
+%files devel
+%{_includedir}/telephony/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-telephony-network-info.so
+
--- /dev/null
+Name: nfc-manager
+Summary: NFC framework manager
+Version: 0.0.45
+Release: 0
+Group: libs
+License: Flora Software License
+Source0: %{name}-%{version}.tar.gz
+Source1: libnfc-manager-0.init.in
+Source2: nfc-manager.service
+Requires: sys-assert
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(bluetooth-api)
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(svi)
+BuildRequires: pkgconfig(capi-media-wav-player)
+BuildRequires: pkgconfig(smartcard-service)
+BuildRequires: pkgconfig(smartcard-service-common)
+BuildRequires: pkgconfig(libssl)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: cmake
+BuildRequires: gettext-tools
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/vconftool
+requires(postun): /sbin/ldconfig
+
+
+%description
+NFC library Manager.
+
+
+%prep
+%setup -q
+
+
+%package devel
+Summary: Download agent
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+
+%description devel
+NFC library Manager (devel)
+
+
+%package -n nfc-common-lib
+Summary: NFC common library
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+
+%description -n nfc-common-lib
+NFC Common library.
+
+
+%package -n nfc-common-lib-devel
+Summary: NFC common library (devel)
+Group: libs
+Requires: %{name} = %{version}-%{release}
+
+
+%description -n nfc-common-lib-devel
+NFC common library (devel)
+
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--as-needed"
+mkdir cmake_tmp
+cd cmake_tmp
+LDFLAGS="$LDFLAGS" %cmake ..
+
+make
+
+
+%install
+cd cmake_tmp
+%make_install
+cd ..
+%__mkdir -p %{buildroot}/etc/init.d/
+%__cp -af %SOURCE1 %{buildroot}/etc/init.d/libnfc-manager-0
+chmod 755 %{buildroot}/etc/init.d/libnfc-manager-0
+mkdir -p %{buildroot}/usr/share/license
+cp -af LICENSE.Flora %{buildroot}/usr/share/license/nfc-common-lib
+cp -af LICENSE.Flora %{buildroot}/usr/share/license/nfc-manager
+
+mkdir -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants
+cp -af %{SOURCE2} %{buildroot}/usr/lib/systemd/system/
+ln -s ../nfc-manager.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/nfc-manager.service
+
+
+%post
+/sbin/ldconfig
+vconftool set -t bool db/nfc/feature 1 -u 5000 -f
+vconftool set -t bool db/nfc/enable 0 -u 5000 -f
+vconftool set -t bool db/nfc/sbeam 0 -u 5000 -f
+vconftool set -t int db/nfc/se_type 0 -u 5000 -f
+vconftool set -t bool db/nfc/predefined_item_state 0 -u 5000 -f
+vconftool set -t string db/nfc/predefined_item "None" -u 5000 -f
+
+ln -s /etc/init.d/libnfc-manager-0 /etc/rc.d/rc3.d/S81libnfc-manager-0 -f
+ln -s /etc/init.d/libnfc-manager-0 /etc/rc.d/rc5.d/S81libnfc-manager-0 -f
+
+mkdir -p /opt/etc/nfc_debug
+chown :5000 /opt/etc/nfc_debug
+chmod 775 /opt/etc/nfc_debug
+
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ systemctl restart nfc-manager.service
+fi
+
+
+%postun
+/sbin/ldconfig
+mkdir -p /etc/rc.d/rc3.d
+mkdir -p /etc/rc.d/rc5.d
+rm -f /etc/rc.d/rc3.d/S81libnfc-manager-0
+rm -f /etc/rc.d/rc5.d/S81libnfc-manager-0
+
+if [ $1 == 0 ]; then
+ systemctl stop nfc-manager.service
+fi
+systemctl daemon-reload
+
+
+%post -n nfc-common-lib -p /sbin/ldconfig
+
+
+%postun -n nfc-common-lib -p /sbin/ldconfig
+
+
+%files
+%manifest nfc-manager.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libnfc.so.1
+%{_libdir}/libnfc.so.1.0.0
+%{_prefix}/bin/nfc-manager-daemon
+%{_prefix}/bin/ndef-tool
+/etc/init.d/libnfc-manager-0
+%{_datadir}/dbus-1/services/org.tizen.nfc_service.service
+/usr/share/license/nfc-manager
+/usr/lib/systemd/system/nfc-manager.service
+/usr/lib/systemd/system/multi-user.target.wants/nfc-manager.service
+
+
+%files devel
+%manifest nfc-manager-devel.manifest
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/nfc.pc
+%{_includedir}/nfc/*.h
+%{_libdir}/libnfc.so
+
+
+%files -n nfc-common-lib
+%manifest nfc-common-lib.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libnfc-common-lib.so.1
+%{_libdir}/libnfc-common-lib.so.1.0.0
+/usr/share/license/nfc-common-lib
+/usr/share/nfc-manager-daemon/sounds/*
+
+
+%files -n nfc-common-lib-devel
+%manifest nfc-common-lib-devel.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libnfc-common-lib.so
+%{_libdir}/pkgconfig/nfc-common-lib.pc
+%{_includedir}/nfc-common-lib/*.h
--- /dev/null
+#sbs-git:slp/api/nfc capi-network-nfc 0.0.1 14f15050f8f6ff8217421da04fa5d66e834e2016
+Name: capi-network-nfc
+Summary: A NFC library in SLP C API
+Version: 0.0.8
+Release: 0
+Group: API/C API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(nfc)
+BuildRequires: pkgconfig(nfc-common-lib)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+
+%description
+A NFC library in SLP C API.
+
+
+%package devel
+Summary: A NFC library in SLP C API -- Development Files
+Group: API/C API
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+A NFC library in SLP C API.
+
+This package contains the development files for %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp -af %{_builddir}/%{name}-%{version}/packaging/capi-network-nfc %{buildroot}/usr/share/license/
+
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest capi-network-nfc.manifest
+%{_libdir}/libcapi-network-nfc.so*
+/usr/share/license/capi-network-nfc
+
+%files devel
+%{_includedir}/network/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-network-nfc.so
--- /dev/null
+Name: notification
+Summary: notification library
+Version: 0.2.3
+Release: 1
+Group: Applications/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(com-core)
+
+BuildRequires: cmake
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/sqlite3
+Requires(postun): /sbin/ldconfig
+
+%description
+Notificaiton library.
+
+%prep
+%setup -q
+
+%package devel
+Summary: Notification library (devel)
+Group: Development/Applications
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Notificaiton library (devel).
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post
+/sbin/ldconfig
+
+if [ ! -f /opt/dbspace/.notification.db ]
+then
+ sqlite3 /opt/dbspace/.notification.db 'PRAGMA journal_mode = PERSIST;
+ create table if not exists noti_list (
+ type INTEGER NOT NULL,
+ layout INTEGER NOT NULL default 0,
+ caller_pkgname TEXT NOT NULL,
+ launch_pkgname TEXT,
+ image_path TEXT,
+ group_id INTEGER default 0,
+ internal_group_id INTEGER default 0,
+ priv_id INTERGER NOT NULL,
+ title_key TEXT,
+ b_text TEXT,
+ b_key TEXT,
+ b_format_args TEXT,
+ num_format_args INTEGER default 0,
+ text_domain TEXT,
+ text_dir TEXT,
+ time INTEGER default 0,
+ insert_time INTEGER default 0,
+ args TEXT,
+ group_args TEXT,
+ b_execute_option TEXT,
+ b_service_responding TEXT,
+ b_service_single_launch TEXT,
+ b_service_multi_launch TEXT,
+ sound_type INTEGER default 0,
+ sound_path TEXT,
+ vibration_type INTEGER default 0,
+ vibration_path TEXT,
+ led_operation INTEGER default 0,
+ led_argb INTEGER default 0,
+ led_on_ms INTEGER default -1,
+ led_off_ms INTEGER default -1,
+ flags_for_property INTEGER default 0,
+ flag_simmode INTEGER default 0,
+ display_applist INTEGER,
+ progress_size DOUBLE default 0,
+ progress_percentage DOUBLE default 0,
+ rowid INTEGER PRIMARY KEY AUTOINCREMENT,
+ UNIQUE (caller_pkgname, priv_id)
+ );
+ create table if not exists noti_group_data (
+ caller_pkgname TEXT NOT NULL,
+ group_id INTEGER default 0,
+ badge INTEGER default 0,
+ title TEXT,
+ content TEXT,
+ loc_title TEXT,
+ loc_content TEXT,
+ count_display_title INTEGER,
+ count_display_content INTEGER,
+ rowid INTEGER PRIMARY KEY AUTOINCREMENT,
+ UNIQUE (caller_pkgname, group_id)
+ );
+ create table if not exists ongoing_list (
+ caller_pkgname TEXT NOT NULL,
+ launch_pkgname TEXT,
+ icon_path TEXT,
+ group_id INTEGER default 0,
+ internal_group_id INTEGER default 0,
+ priv_id INTERGER NOT NULL,
+ title TEXT,
+ content TEXT,
+ default_content TEXT,
+ loc_title TEXT,
+ loc_content TEXT,
+ loc_default_content TEXT,
+ text_domain TEXT,
+ text_dir TEXT,
+ args TEXT,
+ group_args TEXT,
+ flag INTEGER default 0,
+ progress_size DOUBLE default 0,
+ progress_percentage DOUBLE default 0,
+ rowid INTEGER PRIMARY KEY AUTOINCREMENT,
+ UNIQUE (caller_pkgname, priv_id)
+ );
+ '
+fi
+
+chown :5000 /opt/dbspace/.notification.db
+chown :5000 /opt/dbspace/.notification.db-journal
+chmod 660 /opt/dbspace/.notification.db
+chmod 660 /opt/dbspace/.notification.db-journal
+chsmack -a 'notification::db' /opt/dbspace/.notification.db*
+vconftool set -t string memory/private/libstatus/message "" -i -g 5000
+
+%postun -p /sbin/ldconfig
+
+%files
+%license LICENSE.APLv2.0
+%manifest notification.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libnotification.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/notification/*.h
+%{_libdir}/libnotification.so
+%{_libdir}/pkgconfig/notification.pc
--- /dev/null
+Name: nspr
+Version: 4.9.2
+Release: 0
+License: MPL-2.0
+Summary: Netscape Portable Runtime
+Url: http://www.mozilla.org/projects/nspr/
+Group: System/Libraries
+Source: ftp://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/nspr-%{version}.tar.bz2
+Source1: baselibs.conf
+BuildRequires: gcc-c++
+BuildRequires: pkg-config
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+NSPR provides platform independence for non-GUI operating system
+facilities. These facilities include threads, thread synchronization,
+normal file and network I/O, interval timing and calendar time, basic
+memory management (malloc and free), and shared library linking.
+
+%package devel
+Summary: Netscape Portable Runtime development files
+Group: Development/Libraries/Other
+Requires: nspr = %{version}
+
+%description devel
+NSPR provides platform independence for non-GUI operating system
+facilities. These facilities include threads, thread synchronization,
+normal file and network I/O, interval timing and calendar time, basic
+memory management (malloc and free), and shared library linking.
+
+%prep
+%setup -n nspr-%{version} -q
+cd mozilla
+
+%build
+# set buildtime to "last-modification-time"
+modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
+BUILD_STRING="$(date -u -d "${modified}" "+%%F %%T")"
+BUILD_TIME="$(date -u -d "${modified}" "+%%s000000")"
+#
+cd mozilla/nsprpub
+export CFLAGS="%{optflags}"
+./configure --enable-optimize="$CFLAGS" \
+ --disable-debug \
+%ifarch x86_64
+ --enable-64bit \
+%endif
+ --libdir=%{_libdir} \
+ --includedir=%{_includedir}/nspr4 \
+ --prefix=%{_prefix}
+make SH_DATE="$BUILD_STRING" SH_NOW="$BUILD_TIME" %{?_smp_mflags}
+%check
+# Run test suite
+perl ./mozilla/nsprpub/pr/tests/runtests.pl 2>&1 | tee output.log
+TEST_FAILURES=`grep -c FAILED ./output.log` || :
+if [ $TEST_FAILURES -ne 0 ]; then
+ echo "error: test suite returned failure(s)"
+ exit 1
+fi
+echo "test suite completed"
+
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_libdir}/nspr
+mkdir -p %{buildroot}%{_libdir}/pkgconfig
+mkdir -p %{buildroot}%{_includedir}/nspr4
+cp mozilla/nsprpub/config/nspr-config %{buildroot}%{_bindir}/
+cp mozilla/nsprpub/config/nspr.pc %{buildroot}%{_libdir}/pkgconfig
+cp -L mozilla/nsprpub/dist/lib/*.so %{buildroot}%{_libdir}
+cp -L mozilla/nsprpub/dist/lib/*.a %{buildroot}%{_libdir}/nspr/
+cp -rL mozilla/nsprpub/dist/include/nspr/* %{buildroot}%{_includedir}/nspr4/
+# #31667
+chmod -x %{buildroot}%{_includedir}/nspr4/prvrsion.h
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%{_libdir}/*.so
+
+%files devel
+%defattr(-, root, root)
+%{_bindir}/nspr-config
+%{_libdir}/pkgconfig/nspr.pc
+%{_includedir}/nspr4/
+%exclude %{_includedir}/nspr4/md/*
+%{_libdir}/nspr/
+
+%changelog
--- /dev/null
+Name: nss-mdns
+Version: 0.10
+Release: 0
+Url: http://0pointer.de/lennart/projects/nss-mdns/
+Summary: Host Name Resolution Via Multicast DNS (Zeroconf) for glibc
+License: LGPL-2.1+
+Group: Productivity/Networking/DNS/Utilities
+Source: %{name}-%{version}.tar.bz2
+Source1: nss-mdns-config
+Source2: baselibs.conf
+
+%description
+nss-mdns is a plug-in for the GNU Name Service Switch (NSS)
+functionality of the GNU C Library (glibc) providing a hostname
+resolution via Multicast DNS (aka Zeroconf, aka Apple Rendezvous, aka
+Apple Bonjour), and effectively allowing name resolution by common
+Unix/Linux programs in the ad-hoc mDNS domain .local.
+
+nss-mdns provides only client functionality, which means that you have
+to run a mDNS responder daemon separately from nss-mdns if you want to
+register the local hostname via mDNS. I recommend Avahi.
+
+By default, nss-mdns tries to contact a running avahi-daemon to resolve
+hostnames and addresses and makes use of its superior record cacheing.
+
+%prep
+%setup -q
+
+%build
+%configure --libdir=/%{_lib}
+
+%install
+%make_install
+install -D -m0755 %{SOURCE1} %{buildroot}%{_sbindir}/nss-mdns-config
+
+%post
+/sbin/ldconfig
+if [ "$1" -eq 1 ] ; then
+ nss-mdns-config --enable
+fi
+
+%preun
+if [ "$1" -eq 0 ] ; then
+ nss-mdns-config --disable
+fi
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%doc LICENSE
+%{_sbindir}/nss-mdns-config
+/%{_lib}/libnss_mdns.so.2
+/%{_lib}/libnss_mdns_minimal.so.2
+/%{_lib}/libnss_mdns4.so.2
+/%{_lib}/libnss_mdns4_minimal.so.2
+/%{_lib}/libnss_mdns6.so.2
+/%{_lib}/libnss_mdns6_minimal.so.2
--- /dev/null
+%global nss_softokn_fips_version 3.12.4
+
+Name: nss
+BuildRequires: gcc-c++
+BuildRequires: nspr-devel
+BuildRequires: pkg-config
+BuildRequires: zlib-devel
+BuildRequires: pkgconfig(sqlite3)
+Version: 3.13.6
+Release: 0
+Summary: Network Security Services
+License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
+Group: Security/Crypto Libraries
+Url: http://www.mozilla.org/projects/security/pki/nss/
+# cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r <RTM_TAG> NSS
+Source: nss-%{version}.tar.bz2
+Source1: nss.pc.in
+Source3: nss-config.in
+Source4: %{name}-rpmlintrc
+Source5: baselibs.conf
+Source6: setup-nsssysinit.sh
+Source7: cert9.db
+Source8: key4.db
+Source9: pkcs11.txt
+%define nspr_ver 4.9.2
+Requires(pre): nspr >= %nspr_ver
+Requires(pre): libfreebl3 >= %{nss_softokn_fips_version}
+Requires(pre): libsoftokn3 >= %{nss_softokn_fips_version}
+Requires: nss-certs
+%define nssdbdir %{_sysconfdir}/pki/nssdb
+%define run_testsuite 0
+
+%description
+Network Security Services (NSS) is a set of libraries designed to
+support cross-platform development of security-enabled server
+applications. Applications built with NSS can support SSL v2 and v3,
+TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3
+certificates, and other security standards.
+
+
+%package devel
+Summary: Network (Netscape) Security Services development files
+Group: Development/Libraries
+Requires: libfreebl3
+Requires: libsoftokn3
+Requires: nspr-devel
+Requires: nss = %{version}-%{release}
+
+%description devel
+Network Security Services (NSS) is a set of libraries designed to
+support cross-platform development of security-enabled server
+applications. Applications built with NSS can support SSL v2 and v3,
+TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3
+certificates, and other security standards.
+
+
+%package tools
+Summary: Tools for developing, debugging, and managing applications that use NSS
+Group: Security/Crypto Libraries
+Requires(pre): nss >= %{version}
+
+%description tools
+The NSS Security Tools allow developers to test, debug, and manage
+applications that use NSS.
+
+
+%package sysinit
+Summary: System NSS Initialization
+Group: System/Management
+Requires: nss >= %{version}
+Requires(post): coreutils
+
+%description sysinit
+Default Operation System module that manages applications loading
+NSS globally on the system. This module loads the system defined
+PKCS #11 modules for NSS and chains with other NSS modules to load
+any system or user configured modules.
+
+
+%package -n libfreebl3
+Summary: Freebl library for the Network Security Services
+Group: Security/Crypto Libraries
+
+%description -n libfreebl3
+Network Security Services (NSS) is a set of libraries designed to
+support cross-platform development of security-enabled server
+applications. Applications built with NSS can support SSL v2 and v3,
+TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3
+certificates, and other security standards.
+
+This package installs the freebl library from NSS.
+
+
+%package -n libsoftokn3
+Summary: Network Security Services Softoken Module
+Group: Security/Network
+Requires: libfreebl3 = %{version}-%{release}
+
+%description -n libsoftokn3
+Network Security Services (NSS) is a set of libraries designed to
+support cross-platform development of security-enabled server
+applications. Applications built with NSS can support SSL v2 and v3,
+TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3
+certificates, and other security standards.
+
+Network Security Services Softoken Cryptographic Module
+
+
+%package certs
+Summary: CA certificates for NSS
+Group: Security/Certificate Management
+
+%description certs
+This package contains the integrated CA root certificates from the
+Mozilla project.
+
+
+%prep
+%setup -n nss-%{version} -q
+cd mozilla
+
+%build
+#modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
+#DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
+#TIME="\"$(date -d "${modified}" "+%%R")\""
+#find . -name '*.[ch]' -print -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
+
+cd mozilla/security/nss
+export FREEBL_NO_DEPEND=1
+export NSPR_INCLUDE_DIR=`nspr-config --includedir`
+export NSPR_LIB_DIR=`nspr-config --libdir`
+export OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+export LIBDIR=%{_libdir}
+%ifarch x86_64
+export USE_64=1
+%endif
+export NSS_USE_SYSTEM_SQLITE=1
+MAKE_FLAGS="BUILD_OPT=1 NSS_ENABLE_ECC=1"
+make nss_build_all $MAKE_FLAGS
+# run testsuite
+%if 0%{?run_testsuite}
+export BUILD_OPT=1
+export HOST="localhost"
+export DOMSUF=" "
+export USE_IP=TRUE
+export IP_ADDRESS="127.0.0.1"
+cd tests
+./all.sh
+if grep "FAILED" ../../../tests_results/security/localhost.1/output.log ; then
+ echo "Testsuite FAILED"
+ exit 1
+fi
+%endif
+
+%install
+mkdir -p $RPM_BUILD_ROOT%{_libdir}
+mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/nss
+mkdir -p $RPM_BUILD_ROOT%{_includedir}/nss3
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+mkdir -p $RPM_BUILD_ROOT%{_sbindir}
+mkdir -p $RPM_BUILD_ROOT%{nssdbdir}
+pushd mozilla/dist/Linux*
+# copy headers
+cp -rL ../public/nss/*.h $RPM_BUILD_ROOT%{_includedir}/nss3
+# copy dynamic libs
+cp -L lib/libnss3.so \
+ lib/libnssdbm3.so \
+ lib/libnssdbm3.chk \
+ lib/libnssutil3.so \
+ lib/libnssckbi.so \
+ lib/libnsssysinit.so \
+ lib/libsmime3.so \
+ lib/libsoftokn3.so \
+ lib/libsoftokn3.chk \
+ lib/libssl3.so \
+ $RPM_BUILD_ROOT%{_libdir}
+cp -L lib/libfreebl3.so \
+ lib/libfreebl3.chk \
+ $RPM_BUILD_ROOT/%{_libdir}
+# copy static libs
+cp -L lib/libcrmf.a \
+ lib/libnssb.a \
+ lib/libnssckfw.a \
+ $RPM_BUILD_ROOT%{_libdir}
+# copy tools
+cp -L bin/certutil \
+ bin/cmsutil \
+ bin/crlutil \
+ bin/modutil \
+ bin/pk12util \
+ bin/signtool \
+ bin/signver \
+ bin/ssltap \
+ $RPM_BUILD_ROOT%{_bindir}
+# copy unsupported tools
+cp -L bin/atob \
+ bin/btoa \
+ bin/derdump \
+ bin/ocspclnt \
+ bin/pp \
+ bin/selfserv \
+ bin/shlibsign \
+ bin/strsclnt \
+ bin/symkeyutil \
+ bin/tstclnt \
+ bin/vfyserv \
+ bin/vfychain \
+ $RPM_BUILD_ROOT%{_libexecdir}/nss
+# prepare pkgconfig file
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
+sed "s:%%LIBDIR%%:%{_libdir}:g
+s:%%VERSION%%:%{version}:g
+s:%%NSPR_VERSION%%:%{nspr_ver}:g" \
+ %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/nss.pc
+# prepare nss-config file
+popd
+NSS_VMAJOR=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'`
+NSS_VMINOR=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'`
+NSS_VPATCH=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'`
+cat %{SOURCE3} | sed -e "s,@libdir@,%{_libdir},g" \
+ -e "s,@prefix@,%{_prefix},g" \
+ -e "s,@exec_prefix@,%{_prefix},g" \
+ -e "s,@includedir@,%{_includedir}/nss3,g" \
+ -e "s,@MOD_MAJOR_VERSION@,$NSS_VMAJOR,g" \
+ -e "s,@MOD_MINOR_VERSION@,$NSS_VMINOR,g" \
+ -e "s,@MOD_PATCH_VERSION@,$NSS_VPATCH,g" \
+ > $RPM_BUILD_ROOT/%{_bindir}/nss-config
+chmod 755 $RPM_BUILD_ROOT/%{_bindir}/nss-config
+# setup-nsssysinfo.sh
+install -m 744 %{SOURCE6} $RPM_BUILD_ROOT%{_sbindir}/
+# create empty NSS database
+#LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/modutil -force -dbdir "sql:$RPM_BUILD_ROOT%{nssdbdir}" -create
+#LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/certutil -N -d "sql:$RPM_BUILD_ROOT%{nssdbdir}" -f /dev/null 2>&1 > /dev/null
+#chmod 644 "$RPM_BUILD_ROOT%{nssdbdir}"/*
+#sed "s:%{buildroot}::g
+#s/^library=$/library=libnsssysinit.so/
+#/^NSS/s/\(Flags=internal\)\(,[^m]\)/\1,moduleDBOnly\2/" \
+# $RPM_BUILD_ROOT%{nssdbdir}/pkcs11.txt > $RPM_BUILD_ROOT%{nssdbdir}/pkcs11.txt.sed
+# mv $RPM_BUILD_ROOT%{nssdbdir}/pkcs11.txt{.sed,}
+# copy empty NSS database
+install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{nssdbdir}
+install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{nssdbdir}
+install -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{nssdbdir}
+# create shlib sigs after extracting debuginfo
+%define __spec_install_post \
+ %{?__debug_package:%{__debug_install_post}} \
+ %{__arch_install_post} \
+ %{__os_install_post} \
+ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libexecdir}/nss/shlibsign -i $RPM_BUILD_ROOT%{_libdir}/libsoftokn3.so \
+ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libexecdir}/nss/shlibsign -i $RPM_BUILD_ROOT%{_libdir}/libnssdbm3.so \
+ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libexecdir}/nss/shlibsign -i $RPM_BUILD_ROOT/%{_libdir}/libfreebl3.so \
+%{nil}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%post -n libfreebl3 -p /sbin/ldconfig
+
+%postun -n libfreebl3 -p /sbin/ldconfig
+
+%post -n libsoftokn3 -p /sbin/ldconfig
+
+%postun -n libsoftokn3 -p /sbin/ldconfig
+
+%post sysinit
+/sbin/ldconfig
+# make sure the current config is enabled
+%{_sbindir}/setup-nsssysinit.sh on
+
+%preun sysinit
+if [ $1 = 0 ]; then
+ %{_sbindir}/setup-nsssysinit.sh off
+fi
+
+%postun sysinit -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-, root, root)
+%{_libdir}/libnss3.so
+%{_libdir}/libnssutil3.so
+%{_libdir}/libsmime3.so
+%{_libdir}/libssl3.so
+
+%files devel
+%defattr(644, root, root, 755)
+%{_includedir}/nss3/
+%{_libdir}/*.a
+%{_libdir}/pkgconfig/*
+%attr(755,root,root) %{_bindir}/nss-config
+
+%files tools
+%defattr(-, root, root)
+%{_bindir}/*
+%exclude %{_sbindir}/setup-nsssysinit.sh
+%{_libexecdir}/nss/
+%exclude %{_bindir}/nss-config
+
+%files sysinit
+%defattr(-, root, root)
+%dir %{_sysconfdir}/pki
+%dir %{_sysconfdir}/pki/nssdb
+%config(noreplace) %{_sysconfdir}/pki/nssdb/*
+%{_libdir}/libnsssysinit.so
+%{_sbindir}/setup-nsssysinit.sh
+
+%files -n libfreebl3
+%defattr(-, root, root)
+%{_libdir}/libfreebl3.so
+%{_libdir}/libfreebl3.chk
+
+%files -n libsoftokn3
+%defattr(-, root, root)
+%{_libdir}/libsoftokn3.so
+%{_libdir}/libsoftokn3.chk
+%{_libdir}/libnssdbm3.so
+%{_libdir}/libnssdbm3.chk
+
+%files certs
+%defattr(-, root, root)
+%{_libdir}/libnssckbi.so
+
+%changelog
--- /dev/null
+%define with_server 1
+
+Name: obexd
+Summary: D-Bus service for Obex Client access
+License: GPL-2.0+
+Group: System/Service
+Version: 0.48
+Release: 0
+Url: http://www.bluez.org/
+Source0: obexd-%{version}.tar.xz
+Source1: obexd-server.desktop
+Source2: obexd-setup.sh
+
+BuildRequires: libtool
+BuildRequires: update-desktop-files
+BuildRequires: pkgconfig(bluez) >= 4.99
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libical)
+
+%description
+obexd is an implementation of the Obex Push protocol, common on mobile phones and
+other Bluetooth-equipped devices.
+
+%package client
+Summary: D-Bus service for Obex Server access
+Group: System/Service
+Requires: obexd
+
+%description client
+Client to allow sending files using the Obex Push protocol
+
+%if 0%{?with_server}
+
+%package server
+Summary: D-Bus service for Obex Server service
+Group: System/Service
+Conflicts: obex-data-server
+Requires: obexd
+
+%description server
+Server to allow receiving and sharing files using the Obex Push protocol
+%endif
+
+%package test
+Summary: Test Programs for OBEX
+Group: Development/Tools
+Requires: %{name} = %{version}-%{release}
+Requires: dbus-python
+Requires: python-gobject
+Requires: python-xml
+
+%description test
+Scripts for testing OBEX and its functionality
+
+%prep
+%setup -q
+
+%build
+autoreconf -f -i
+%configure --libexecdir=%{_libdir}/obex --with-phonebook=dummy \
+%if ! 0%{?with_server}
+ --disable-server \
+%endif
+ --disable-static
+unset LD_AS_NEEDED
+make %{?_smp_mflags}
+sed -i -e "s,@libexecdir@,%{_libdir}/obex,g" %{SOURCE1}
+
+%install
+%make_install
+
+mkdir examples/
+
+%if 0%{?with_server}
+mkdir -p %{buildroot}/%{_sysconfdir}/xdg/autostart/
+install -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/xdg/autostart/
+install -m 0755 %{SOURCE2} %{buildroot}/%{_libdir}/obex/obexd-setup.sh
+%endif
+
+chmod 755 test/*
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+
+%files client
+%defattr(-,root,root,-)
+%dir %{_libdir}/obex
+%{_libdir}/obex/obex-client
+%{_datadir}/dbus-1/services/obex-client.service
+
+%if 0%{?with_server}
+
+%files server
+%defattr(-,root,root,-)
+%dir %{_libdir}/obex
+%{_libdir}/obex/obexd
+%{_libdir}/obex/obexd-setup.sh
+%{_datadir}/dbus-1/services/obexd.service
+%{_sysconfdir}/xdg/autostart/obexd-server.desktop
+%endif
+
+%files test
+%defattr(-,root,root,-)
+%doc test/*
+
--- /dev/null
+Name: ofono
+Version: 1.12
+Release: 0
+License: GPL-2.0
+Summary: Open Source Telephony
+Url: http://ofono.org
+Group: Telephony/Cellular
+Source0: %{name}-%{version}.tar.bz2
+Source1012: ofono.manifest
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig(bluez) >= 4.85
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libudev) >= 145
+BuildRequires: pkgconfig(mobile-broadband-provider-info)
+Requires: dbus
+Requires: systemd
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+
+
+%description
+Open Source Telephony stack.
+
+%package devel
+Summary: Headers for oFono
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development headers and libraries for oFono
+
+%package test
+Summary: Test Scripts for oFono
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: dbus-python
+Requires: python-gobject
+Requires: python-xml
+
+%description test
+Scripts for testing oFono and its functionality
+
+%prep
+%setup -q
+
+cp %{SOURCE1012} .
+
+%build
+autoreconf --force --install
+
+%configure --disable-static \
+ --enable-test \
+ --with-systemdunitdir=%{_unitdir}
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/network.target.wants
+ln -s ../ofono.service %{buildroot}%{_prefix}/lib/systemd/system/network.target.wants/ofono.service
+
+%install_service multi-user.target.wants ofono.service
+
+%docs_package
+
+%files
+%license COPYING
+%manifest ofono.manifest
+%config %{_sysconfdir}/dbus-1/system.d/*.conf
+%{_sbindir}/*
+%{_unitdir}/network.target.wants/ofono.service
+%{_unitdir}/ofono.service
+%{_unitdir}/multi-user.target.wants/ofono.service
+%config %{_sysconfdir}/ofono/phonesim.conf
+
+%files devel
+%{_includedir}/ofono/*.h
+%{_libdir}/pkgconfig/ofono.pc
+
+%files test
+%{_libdir}/%{name}/test/*
+
--- /dev/null
+Name: oma-dm-agent
+Summary: oma-dm-agent daemon for FOTA,DM,CP,FMM Service
+Version: 0.1.69
+Release: 1
+Group: TO_BE/FILLED_IN
+License: Apache License, Version 2.0
+Source0: oma-dm-agent-%{version}.tar.gz
+
+#Requires(post): /sbin/ldconfig
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(libwbxml2)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(check)
+BuildRequires: pkgconfig(sync-agent)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(push)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(location)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(capi-telephony-sim)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(dbus-glib-1)
+#BuildRequires: pkgconfig(oauth)
+#BuildRequires: pkgconfig(samsung-sso-svc)
+
+#BuildRequires: pkgconfig(appcore-efl)
+#BuildRequires: pkgconfig(appcore-common)
+BuildRequires: libgcrypt-devel
+BuildRequires: expat-devel
+BuildRequires: cmake
+
+
+%description
+oma-dm-agent Daemon servcie
+
+%package -n dm-private-plugins
+Summary: DM Private Plugins
+Group: TO_BE_FILLED
+
+%description -n dm-private-plugins
+dm private plugins for sync-agent
+
+%package -n dm-public-plugins
+Summary: DM Public Plugins
+Group: TO_BE_FILLED
+
+%description -n dm-public-plugins
+dm public plugins for sync-agent
+
+%prep
+%setup -q
+
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+
+if [ ! -d %{buildroot}/opt/usr/dbspace ]
+then
+ mkdir -p %{buildroot}/opt/usr/dbspace
+fi
+
+sqlite3 %{buildroot}/opt/usr/dbspace/.dm_service.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
+sqlite3 %{buildroot}/opt/usr/dbspace/.omadmagent.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
+sqlite3 %{buildroot}/opt/usr/dbspace/.momanager.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
+
+%make_install
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%post
+if [ ! -d /etc/rc.d/rc3.d ]
+then
+ mkdir -p /etc/rc.d/rc3.d
+fi
+if [ ! -d /etc/rc.d/rc5.d ]
+then
+ mkdir -p /etc/rc.d/rc5.d
+fi
+
+if [ ! -f /etc/rc.d/rc3.d/S91oma-dm-agent ]
+then
+ ln -s /etc/init.d/oma-dm /etc/rc.d/rc3.d/S91oma-dm-agent
+fi
+if [ ! -f /etc/rc.d/rc5.d/S91oma-dm-agent ]
+then
+ ln -s /etc/init.d/oma-dm /etc/rc.d/rc5.d/S91oma-dm-agent
+fi
+
+#/etc/init.d/oma-dm start
+
+
+%preun
+/etc/init.d/oma-dm stop
+
+
+%postun
+
+rm -f /tmp/agent_fw_event_omadm*
+rm -f /tmp/agent_fw_noti_reply_omadm*
+
+rm -f /etc/rc.d/rc3.d/S91oma-dm-agent
+rm -f /etc/rc.d/rc5.d/S91oma-dm-agent
+
+rm -f /opt/usr/dbspace/.dm_service.db /opt/usr/dbspace/.dm_service.db-journal
+rm -f /opt/usr/dbspace/.omadmagent.db /opt/usr/dbspace/.omadmagent.db-journal
+rm -f /opt/usr/dbspace/.momanager.db /opt/usr/dbspace/.momanager.db-journal
+
+rm -rf /usr/share/oma-dm-cfg
+
+
+%files
+%attr(600,root,root) /opt/usr/dbspace/.dm_service.db
+%attr(600,root,root) /opt/usr/dbspace/.dm_service.db-journal
+%attr(600,root,root) /opt/usr/dbspace/.omadmagent.db
+%attr(600,root,root) /opt/usr/dbspace/.omadmagent.db-journal
+%attr(600,root,root) /opt/usr/dbspace/.momanager.db
+%attr(600,root,root) /opt/usr/dbspace/.momanager.db-journal
+
+%manifest oma-dm-agent.manifest
+%defattr(-,root,root,-)
+/usr/share/dbus-1/services/*
+/usr/bin/oma-dm-agent
+
+/usr/share/oma-dm-cfg/ddf/*
+/usr/share/oma-dm-cfg/delta_size/*
+/usr/share/oma-dm-cfg/fw-init/*
+/usr/share/oma-dm-cfg/ipc/*
+
+
+%defattr(700,root,root)
+/usr/share/oma-dm-cfg/csc-setting/change_csc_value.sh
+/usr/share/oma-dm-cfg/imei-setting/change_imei_callnum.sh
+
+/etc/init.d/oma-dm
+
+%files -n dm-private-plugins
+%manifest dm-private-plugins.manifest
+%defattr(-,root,root,-)
+/usr/lib/sync-agent/dm-private/*
+/usr/include/sync-agent/plugin/plugin_slp_device_dm.h
+
+%files -n dm-public-plugins
+%manifest dm-public-plugins.manifest
+%defattr(-,root,root,-)
+/usr/lib/sync-agent/dm-public/*
+
--- /dev/null
+Name: oma-ds-agent
+Summary: oma-ds-agent daemon for data sync
+Version: 0.1.66
+Release: 1
+Group: TO_BE/FILLED_IN
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: packaing/oma-ds-agent.service
+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: expat-devel
+BuildRequires: cmake
+Requires: sys-assert
+
+
+%description
+oma-ds-agent daemon (development headers)
+
+%package -n ds-public-plugins
+Summary: DS Public Plugins
+Group: TO_BE_FILLED
+
+%description -n ds-public-plugins
+ds public plugins for sync-agent
+
+
+%prep
+%setup -q
+
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+
+if [ ! -d %{buildroot}/opt/dbspace ]
+then
+ mkdir -p %{buildroot}/opt/dbspace
+fi
+
+sqlite3 %{buildroot}/opt/dbspace/.omasyncagent.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
+
+%make_install
+
+# systemd service script sertup
+mkdir -p %{buildroot}/usr/lib/systemd/system/graphical.target.wants
+install -m 0644 %SOURCE1 %{buildroot}/usr/lib/systemd/system/
+ln -s ../oma-ds-agent.service %{buildroot}/usr/lib/systemd/system/graphical.target.wants/oma-ds-agent.service
+
+%clean
+rm -rf %{buildroot}
+
+
+%post
+if [ ! -d /opt/dbspace ]
+then
+ mkdir /opt/dbspace
+fi
+if [ ! -d /etc/rc.d/rc3.d ]
+then
+ mkdir /etc/rc.d/rc3.d
+fi
+if [ ! -d /etc/rc.d/rc5.d ]
+then
+ mkdir /etc/rc.d/rc5.d
+fi
+
+if [ ! -f /etc/rc.d/rc3.d/S91oma-ds-agent ]
+then
+ln -s /etc/init.d/oma-ds /etc/rc.d/rc3.d/S91oma-ds-agent
+fi
+
+if [ ! -f /etc/rc.d/rc5.d/S91oma-ds-agent ]
+then
+ ln -s /etc/init.d/oma-ds /etc/rc.d/rc5.d/S91oma-ds-agent
+fi
+
+#/etc/init.d/oma-ds start
+
+
+%preun
+/etc/init.d/oma-ds stop
+
+
+%postun
+
+rm -f /tmp/agent_fw_event_omads*
+rm -f /tmp/agent_fw_noti_reply_omads*
+
+rm -f /etc/rc.d/rc3.d/S91oma-ds-agent
+rm -f /etc/rc.d/rc5.d/S91oma-ds-agent
+
+rm -f /opt/dbspace/.omasyncagent.db /opt/dbspace/.omasyncagent.db-journal
+
+rm -rf /usr/share/oma-ds-cfg
+
+
+%files
+%attr(600,root,root) /opt/dbspace/.omasyncagent.db
+%attr(600,root,root) /opt/dbspace/.omasyncagent.db-journal
+
+%manifest oma-ds-agent.manifest
+%defattr(-,root,root,-)
+/usr/share/dbus-1/services/*
+/usr/bin/oma-ds-agent
+
+/usr/share/oma-ds-cfg/*
+
+%defattr(700,root,root)
+/etc/init.d/oma-ds
+
+%defattr(644,root,root)
+/usr/lib/systemd/system/oma-ds-agent.service
+/usr/lib/systemd/system/graphical.target.wants/oma-ds-agent.service
+
+%files -n ds-public-plugins
+%manifest ds-public-plugins.manifest
+%defattr(-,root,root,-)
+/usr/lib/sync-agent/ds-public/*
--- /dev/null
+Name: openal-soft
+Version: 1.13
+Release: 1
+License: LGPL-2.0+
+Summary: A cross-platform 3D audio API
+URL: http://connect.creativelabs.com/openal/
+Group: System/Libraries
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: cmake
+
+%description
+OpenAL is a cross-platform 3D audio API appropriate for use with gaming
+applications and many other types of audio applications.
+
+%package devel
+Summary: openal-soft development package
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development package for OpenAL, a cross-platform 3D audio API
+appropriate for use with gaming applications and many other types of
+audio applications.
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license COPYING
+%{_bindir}/openal-info
+%{_libdir}/libopenal.so.*
+
+%files devel
+%{_includedir}/AL/*.h
+%{_libdir}/libopenal.so
+%{_libdir}/pkgconfig/openal.pc
--- /dev/null
+Name: openconnect
+Version: 4.99
+Release: 0
+License: LGPL-2.1+
+Summary: Open client for Cisco AnyConnect VPN
+Url: http://www.infradead.org/openconnect.html
+Group: Networking/Security
+Source0: ftp://ftp.infradead.org/pub/%{name}/%{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(libproxy-1.0)
+BuildRequires: openssl-devel
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: vpnc
+Requires: vpnc
+
+%description
+This package provides a client for Cisco's "AnyConnect" VPN, which uses
+HTTPS and DTLS protocols. AnyConnect is supported by the ASA5500 Series,
+by IOS 12.4(9)T or later on Cisco SR500, 870, 880, 1800, 2800, 3800,
+7200 Series and Cisco 7301 Routers, and probably others.
+
+%package devel
+Summary: Development files and headers for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Recommends: pkg-config
+
+%description devel
+This package provides a client for Cisco's "AnyConnect" VPN, which uses
+HTTPS and DTLS protocols. AnyConnect is supported by the ASA5500 Series,
+by IOS 12.4(9)T or later on Cisco SR500, 870, 880, 1800, 2800, 3800,
+7200 Series and Cisco 7301 Routers, and probably others.
+
+This packages provides development files and headers needed to build
+packages against openconnect
+
+
+%prep
+%setup -q
+
+%build
+%autogen
+%configure --docdir=%{_docdir}/%{name}/ --disable-nls
+make
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%license COPYING.LGPL
+%{_libdir}/libopenconnect.so.*
+%{_mandir}/man8/*
+%{_sbindir}/openconnect
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/openconnect.h
+%{_libdir}/libopenconnect.so
+%{_libdir}/pkgconfig/openconnect.pc
+
+%docs_package
+
+
+%changelog
--- /dev/null
+Name: opencore-amr
+Summary: opencore AMRNB dev package
+Version: 0.1.2
+Release: 4
+Group: libdevel
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+
+
+%description
+opencore AMRNB dev package
+
+
+%package devel
+Summary: opencore AMRNB dev package (Developement)
+Group: TO_BE_FILLED
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+opencore AMRNB dev package (Developement)
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+%configure
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+%make_install
+
+%post
+
+%postun
+
+
+%files
+%manifest opencore-amr.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libopencore-amrnb.so.0
+%{_libdir}/libopencore-amrnb.so.0.0.2
+%{_libdir}/libopencore-amrwb.so.0
+%{_libdir}/libopencore-amrwb.so.0.0.2
+%{_datadir}/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/opencore-amrnb/*.h
+%{_includedir}/opencore-amrwb/*.h
+%{_libdir}/libopencore-amrnb.so
+%{_libdir}/libopencore-amrwb.so
+%{_libdir}/pkgconfig/opencore-amrnb.pc
+%{_libdir}/pkgconfig/opencore-amrwb.pc
--- /dev/null
+#
+# spec file for package opencv
+#
+# Copyright (c) 2012 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/
+#
+
+
+%bcond_with ffmpeg
+
+Name: opencv
+%define libname lib%{name}
+%define soname 2_4
+Version: 2.4.4
+Release: 0
+Summary: Collection of algorithms for computer vision
+License: BSD-3-Clause
+Group: Development/Libraries/C and C++
+Url: http://%{name}.willowgarage.com/wiki/
+Source0: http://downloads.sourceforge.net/project/%{name}library/%{name}-unix/%{version}/OpenCV-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: cmake
+BuildRequires: fdupes
+#BuildRequires: gstreamer-0_10-plugins-base-devel
+BuildRequires: gstreamer-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libtiff-devel
+BuildRequires: zlib-devel
+BuildRequires: pkgconfig(glu)
+
+%description
+OpenCV means Intel® Open Source Computer Vision Library. It is a collection of C
+functions and a few C++ classes that implement some popular Image Processing and
+Computer Vision algorithms.
+
+%package -n %{libname}%{soname}
+Summary: Development files for using the OpenCV library
+Group: Development/Libraries/C and C++
+
+%description -n %{libname}%{soname}
+The Open Computer Vision Library is a collection of algorithms and sample code
+for various computer vision problems. The library is compatible with IPL and
+utilizes Intel Integrated Performance Primitives for better performance.
+
+%package devel
+Summary: Development files for using the OpenCV library
+Group: Development/Libraries/C and C++
+Requires: %{libname}%{soname} = %{version}
+Requires: %{name} = %{version}
+
+%description devel
+This package contains the OpenCV C/C++ library and header files, as well as
+documentation. It should be installed if you want to develop programs that will
+use the OpenCV library.
+
+%prep
+%setup -qn OpenCV-%{version}
+
+# Windows specific and with wrong end of line
+rm -f doc/packaging.txt
+chmod +x samples/c/build_all.sh
+sed -i 's/\r$//' samples/c/adaptiveskindetector.cpp \
+ samples/c/latentsvmdetect.cpp \
+ samples/gpu/hog.cpp \
+ samples/python/camshift.py
+
+%build
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{optflags}"
+mkdir build
+cd build
+cmake -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX='%{_prefix}' \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DBUILD_TESTS=OFF \
+ -DINSTALL_C_EXAMPLES=ON \
+ -DINSTALL_PYTHON_EXAMPLES=OFF \
+ -DLIB_SUFFIX=$(echo %{_lib} | cut -b4-) \
+ -DENABLE_OMIT_FRAME_POINTER=OFF \
+ -DWITH_QT=OFF \
+ -DWITH_OPENGL=ON \
+ -DWITH_UNICAP=ON \
+ -DWITH_XINE=ON \
+ ..
+make %{?_smp_mflags} VERBOSE=1
+
+%install
+cd build
+make DESTDIR=%{?buildroot:%{buildroot}} install/fast
+#mkdir -p %{buildroot}%{_docdir}
+#mv %{buildroot}%{_datadir}/OpenCV/doc %{buildroot}%{_docdir}/%{name}-doc
+#mv %{buildroot}%{_datadir}/OpenCV/samples %{buildroot}%{_docdir}/%{name}-doc/examples
+#dos2unix %{buildroot}%{_docdir}/%{name}-doc/examples/python*/*.py
+#dos2unix %{buildroot}%{_docdir}/%{name}-doc/examples/gpu/*.cpp
+%fdupes -s %{buildroot}%{_docdir}/%{name}-doc/examples
+
+%clean
+rm -rf %{buildroot}
+
+%post -n %{libname}%{soname} -p /sbin/ldconfig
+
+%postun -n %{libname}%{soname} -p /sbin/ldconfig
+
+%files -n %{libname}%{soname}
+%defattr(-, root, root, 0755)
+%{_libdir}/lib*.so.*
+
+%files -n %{name}
+%defattr(0644, root, root, 0755)
+%attr(0755, root, root) %{_bindir}/%{name}_*
+%{_datadir}/OpenCV
+%exclude %{_datadir}/OpenCV/OpenCVConfig*.cmake
+
+%files devel
+%defattr(0644, root, root, 0755)
+%{_includedir}/opencv
+%{_includedir}/opencv2
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_datadir}/OpenCV/OpenCVConfig*.cmake
+
+#%files -n python-%{name}
+#%defattr(0644, root, root, 0755)
+#%{python_sitearch}/cv.py
+#%{python_sitearch}/cv2.so
+
+%changelog
--- /dev/null
+%ifarch %{ix86}
+%define PKGPATH "pkgconfig_i686"
+%else
+%define PKGPATH "pkgconfig_arm"
+%endif
+
+Name: opengl-es
+Summary: Meta Package for the OpenGL ES library
+Version: 0.1.1
+Release: 4
+Group: Graphics/Library
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+%ifarch %{ix86}
+Requires: simulator-opengl
+%else
+Requires: opengl-es-drv
+%endif
+
+
+%description
+metapackage for the OpenGL ES library
+ This is a meta package that will point to the latest OpenGL ES driver.
+ .
+ It does not provide any drivers itself..
+
+%package devel
+Summary: Meta Package for development files of the OpenGL ES library
+Group: Development/Graphics
+Requires: %{name} = %{version}-%{release}
+
+%ifarch %{ix86}
+Requires: simulator-opengl-devel
+%else
+Requires: opengl-es-drv-devel
+%endif
+
+%description devel
+metapackage for development files of the OpenGL ES library
+ This is a meta package that will point to the latest development libraries,
+ header files needed by programs that want to compile with OpenGL ES.
+ .
+ It does not provide any development files itself..
+
+
+
+%prep
+%setup -q
+
+
+%build
+
+
+%install
+
+mkdir -p %{buildroot}%{_libdir}/pkgconfig
+cp -a ./%{PKGPATH}/*.pc %{buildroot}%{_libdir}/pkgconfig/
+
+
+%files
+%license LICENSE
+%manifest opengl-es.manifest
+%defattr(-,root,root,-)
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/opengl-es-11.pc
+%{_libdir}/pkgconfig/opengl-es-20.pc
--- /dev/null
+Name: openssh
+%define _appdefdir %{_prefix}/share/X11/app-defaults
+BuildRequires: autoconf
+BuildRequires: openssl-devel
+BuildRequires: pam-devel
+Requires: /usr/bin/netstat
+Requires(pre): pwdutils coreutils
+Version: 6.0p1
+Release: 0
+%define xversion 1.2.4.1
+Summary: Secure Shell Client and Server (Remote Login Program)
+License: BSD-3-Clause and MIT
+Group: System/Network
+Url: http://www.openssh.com/
+Source: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
+Source2: sshd.pamd
+Source8: ssh-askpass
+Source11: sshd-gen-keys-start
+Source12: sshd.service
+Source13: sshd.socket
+Source14: sshd@.service
+BuildRequires: systemd
+
+%{!?_initddir:%global _initddir %{_initrddir}}
+
+%description
+SSH (Secure Shell) is a program for logging into and executing commands
+on a remote machine. It is intended to replace rsh (rlogin and rsh) and
+provides openssl (secure encrypted communication) between two untrusted
+hosts over an insecure network.
+
+xorg-x11 (X Window System) connections and arbitrary TCP/IP ports can
+also be forwarded over the secure channel.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fiv
+PIEFLAGS="-fpie"
+export CFLAGS="%{optflags} $PIEFLAGS -fstack-protector"
+export CXXFLAGS="%{optflags} $PIEFLAGS -fstack-protector"
+export LDFLAGS="-pie"
+%configure \
+ --with-ssl-engine \
+ --sysconfdir=%{_sysconfdir}/ssh \
+ --libexecdir=%{_libexecdir}/ssh \
+ --with-pam \
+ --with-privsep-path=/var/lib/empty \
+ --with-sandbox=rlimit \
+ --disable-strip \
+ --with-xauth=%{_prefix}/bin/xauth \
+ --target=%{_target_cpu}-tizen-linux
+make %{?_smp_mflags}
+
+%install
+make DESTDIR=%{buildroot}/ install
+install -d -m 755 %{buildroot}%{_sysconfdir}/pam.d
+install -d -m 755 %{buildroot}/var/lib/sshd
+install -m 644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/sshd
+# install shell script to automate the process of adding your public key to a remote machine
+install -m 755 contrib/ssh-copy-id %{buildroot}%{_bindir}
+install -m 644 contrib/ssh-copy-id.1 %{buildroot}%{_mandir}/man1
+sed -e "s,@LIBEXEC@,%{_libexecdir},g" < %{S:8} > %{buildroot}%{_libexecdir}/ssh/ssh-askpass
+rm -f %{buildroot}%{_datadir}/Ssh.bin
+sed -i -e s@/usr/libexec@%{_libexecdir}@g %{buildroot}%{_sysconfdir}/ssh/sshd_config
+
+install -D -m 0755 %{SOURCE11} %{buildroot}%{_sbindir}/sshd-gen-keys-start
+# systemd
+install -D -m 0644 %{SOURCE12} %{buildroot}%{_unitdir}/sshd.service
+install -D -m 0644 %{SOURCE13} %{buildroot}%{_unitdir}/sshd.socket
+install -D -m 0644 %{SOURCE14} %{buildroot}%{_unitdir}/sshd@.service
+
+mkdir -p %{buildroot}/%{_unitdir}/sockets.target.wants
+ln -s ../sshd.socket %{buildroot}/%{_unitdir}/sockets.target.wants/sshd.socket
+
+rm -rf %{buildroot}/%{_mandir}/cat*
+rm -rf %{buildroot}/%{_mandir}/man*
+
+
+
+%pre
+getent group sshd >/dev/null || %{_sbindir}/groupadd -o -r sshd
+getent passwd sshd >/dev/null || %{_sbindir}/useradd -r -g sshd -d /var/lib/sshd -s /bin/false -c "SSH daemon" sshd
+
+
+
+%files
+%defattr(-,root,root)
+%dir %attr(755,root,root) /var/lib/sshd
+%attr(0755,root,root) %dir %{_sysconfdir}/ssh
+%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/moduli
+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/ssh/ssh_config
+%attr(0640,root,root) %config(noreplace) %{_sysconfdir}/ssh/sshd_config
+%attr(0644,root,root) %config %{_sysconfdir}/pam.d/sshd
+%attr(0755,root,root) %{_bindir}/ssh
+%{_bindir}/scp
+%{_bindir}/sftp
+%{_bindir}/slogin
+%{_bindir}/ssh-*
+%{_sbindir}/*
+%attr(0755,root,root) %dir %{_libexecdir}/ssh
+%attr(0755,root,root) %{_libexecdir}/ssh/sftp-server
+%attr(0755,root,root) %{_libexecdir}/ssh/ssh-keysign
+%attr(0755,root,root) %{_libexecdir}/ssh/ssh-pkcs11-helper
+%attr(0755,root,root) %{_libexecdir}/ssh/ssh-askpass
+%{_sbindir}/sshd-gen-keys-start
+%{_unitdir}/sshd.service
+%{_unitdir}/sshd@.service
+%{_unitdir}/sockets.target.wants/*.socket
+%{_unitdir}/sshd.socket
+
+%changelog
--- /dev/null
+Name: openssl
+BuildRequires: bc
+BuildRequires: ed
+BuildRequires: pkg-config
+BuildRequires: zlib-devel
+%define ssletcdir %{_sysconfdir}/ssl
+%define num_version 1.0.0
+Provides: ssl
+Version: 1.0.1c
+Release: 0
+Summary: Secure Sockets and Transport Layer Security
+License: OpenSSL
+Group: Security/Crypto Libraries
+Url: http://www.openssl.org/
+Source: http://www.%{name}.org/source/%{name}-%{version}.tar.gz
+# to get mtime of file:
+Source1: openssl.changes
+Source2: baselibs.conf
+
+%description
+The OpenSSL Project is a collaborative effort to develop a robust,
+commercial-grade, full-featured, and open source toolkit implementing
+the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS
+v1) protocols with full-strength cryptography. The project is managed
+by a worldwide community of volunteers that use the Internet to
+communicate, plan, and develop the OpenSSL toolkit and its related
+documentation.
+
+Derivation and License
+
+OpenSSL is based on the excellent SSLeay library developed by Eric A.
+Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
+Apache-style license, which basically means that you are free to get it
+and to use it for commercial and noncommercial purposes.
+
+%package -n libopenssl
+Summary: Secure Sockets and Transport Layer Security
+Group: Security/Crypto Libraries
+
+%description -n libopenssl
+The OpenSSL Project is a collaborative effort to develop a robust,
+commercial-grade, full-featured, and open source toolkit implementing
+the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS
+v1) protocols with full-strength cryptography. The project is managed
+by a worldwide community of volunteers that use the Internet to
+communicate, plan, and develop the OpenSSL toolkit and its related
+documentation.
+
+Derivation and License
+
+OpenSSL is based on the excellent SSLeay library developed by Eric A.
+Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
+Apache-style license, which basically means that you are free to get it
+and to use it for commercial and noncommercial purposes.
+
+
+%package -n libopenssl-devel
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Obsoletes: openssl-devel < %{version}
+Requires: %name = %version
+Requires: libopenssl = %{version}
+Requires: zlib-devel
+Provides: openssl-devel = %{version}
+
+%description -n libopenssl-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%package misc
+Summary: Additional data files and scripts for %{name}
+Group: Security/Crypto Libraries
+
+%description misc
+Additional data files and scripts for %{name}.
+
+%package doc
+Summary: Additional Package Documentation
+Group: Security/Crypto Libraries
+BuildArch: noarch
+
+%description doc
+This package contains optional documentation provided in addition to
+this package's base documentation.
+
+%prep
+%setup -q
+
+echo "adding/overwriting some entries in the 'table' hash in Configure"
+# $dso_scheme:$shared_target:$shared_cflag:$shared_ldflag:$shared_extension:$ranlib:$arflags
+export DSO_SCHEME='dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::'
+cat <<EOF_ED | ed -s Configure
+/^);
+-
+i
+#
+# local configuration added from specfile
+# ... MOST of those are now correct in openssl's Configure already,
+# so only add them for new ports!
+#
+#config-string, $cc:$cflags:$unistd:$thread_cflag:$sys_id:$lflags:$bn_ops:$cpuid_obj:$bn_obj:$des_obj:$aes_obj:$bf_obj:$md5_obj:$sha1_obj:$cast_obj:$rc4_obj:$rmd160_obj:$rc5_obj:$wp_obj:$cmll_obj:$dso_scheme:$shared_target:$shared_cflag:$shared_ldflag:$shared_extension:$ranlib:$arflags:$multilib
+#"linux-elf", "gcc:-DL_ENDIAN ::-D_REENTRANT::-ldl:BN_LLONG \${x86_gcc_des} \${x86_gcc_opts}:\${x86_elf_asm}:$DSO_SCHEME:",
+#"linux-ia64", "gcc:-DL_ENDIAN -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR:\${ia64_asm}: $DSO_SCHEME:",
+#"linux-ppc", "gcc:-DB_ENDIAN ::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:\${no_asm}: $DSO_SCHEME:",
+#"linux-ppc64", "gcc:-DB_ENDIAN -DMD32_REG_T=int::-D_REENTRANT::-ldl:RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL SIXTY_FOUR_BIT_LONG:\${no_asm}: $DSO_SCHEME:64",
+"linux-elf-arm","gcc:-DL_ENDIAN ::-D_REENTRANT::-ldl:BN_LLONG:\${no_asm}: $DSO_SCHEME:",
+"linux-mips", "gcc:-DB_ENDIAN ::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:\${no_asm}: $DSO_SCHEME:",
+"linux-sparcv7","gcc:-DB_ENDIAN ::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:\${no_asm}: $DSO_SCHEME:",
+#"linux-sparcv8","gcc:-DB_ENDIAN -DBN_DIV2W -mv8 ::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::asm/sparcv8.o::::::::::::: $DSO_SCHEME:",
+#"linux-x86_64", "gcc:-DL_ENDIAN -DNO_ASM -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG:\${no_asm}: $DSO_SCHEME:64",
+#"linux-s390", "gcc:-DB_ENDIAN ::(unknown): :-ldl:BN_LLONG:\${no_asm}: $DSO_SCHEME:",
+#"linux-s390x", "gcc:-DB_ENDIAN -DNO_ASM -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG:\${no_asm}: $DSO_SCHEME:64",
+"linux-parisc", "gcc:-DB_ENDIAN ::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR DES_PTR DES_UNROLL DES_RISC1:\${no_asm}: $DSO_SCHEME:",
+.
+wq
+EOF_ED
+# fix ENGINESDIR path
+sed -i 's,/lib/engines,/%_lib/engines,' Configure
+# Record mtime of changes file instead of build time
+CHANGES=`stat --format="%y" %SOURCE1`
+sed -i -e "s|#define DATE \(.*\).LC_ALL.*date.|#define DATE \1$CHANGES|" crypto/Makefile
+
+%build
+RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -s "s/--param=ssp-buffer-size=32//g")
+export RPM_OPT_FLAGS
+
+./config --test-sanity
+#
+config_flags="threads shared no-rc5 no-idea \
+enable-camellia enable-md2 \
+zlib \
+--prefix=%{_prefix} \
+--libdir=%{_lib} \
+--openssldir=%{ssletcdir} \
+$RPM_OPT_FLAGS -std=gnu99 \
+-Wa,--noexecstack \
+-fomit-frame-pointer \
+-DTERMIO \
+-DPURIFY \
+-DSSL_FORBID_ENULL \
+-D_GNU_SOURCE \
+$(getconf LFS_CFLAGS) \
+-Wall \
+-fstack-protector "
+#
+#%{!?do_profiling:%define do_profiling 0}
+#%if %do_profiling
+# # generate feedback
+# ./config $config_flags
+# make depend CC="gcc %cflags_profile_generate"
+# make CC="gcc %cflags_profile_generate"
+# LD_LIBRARY_PATH=`pwd` make rehash CC="gcc %cflags_profile_generate"
+# LD_LIBRARY_PATH=`pwd` make test CC="gcc %cflags_profile_generate"
+# LD_LIBRARY_PATH=`pwd` apps/openssl speed
+# make clean
+# # compile with feedback
+# # but not if it makes a cipher slower:
+# #find crypto/aes -name '*.da' | xargs -r rm
+# ./config $config_flags %cflags_profile_feedback
+# make depend
+# make
+# LD_LIBRARY_PATH=`pwd` make rehash
+# LD_LIBRARY_PATH=`pwd` make test
+#%else
+# OpenSSL relies on uname -m (not good). Thus that little sparc line.
+ ./config \
+ $config_flags
+ make depend
+ make
+ LD_LIBRARY_PATH=`pwd` make rehash
+ #LD_LIBRARY_PATH=`pwd` make test
+#%endif
+# show settings
+make TABLE
+echo $RPM_OPT_FLAGS
+eval $(egrep PLATFORM='[[:alnum:]]' Makefile)
+grep -B1 -A22 "^\*\*\* $PLATFORM$" TABLE
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make MANDIR=%{_mandir} INSTALL_PREFIX=$RPM_BUILD_ROOT install
+install -d -m755 $RPM_BUILD_ROOT%{ssletcdir}/certs
+ln -sf ./%{name} $RPM_BUILD_ROOT/%{_includedir}/ssl
+mkdir $RPM_BUILD_ROOT/%{_datadir}/ssl
+mv $RPM_BUILD_ROOT/%{ssletcdir}/misc $RPM_BUILD_ROOT/%{_datadir}/ssl/
+# ln -s %{ssletcdir}/certs $RPM_BUILD_ROOT/%{_datadir}/ssl/certs
+# ln -s %{ssletcdir}/private $RPM_BUILD_ROOT/%{_datadir}/ssl/private
+# ln -s %{ssletcdir}/openssl.cnf $RPM_BUILD_ROOT/%{_datadir}/ssl/openssl.cnf
+#
+
+# avoid file conflicts with man pages from other packages
+#
+pushd $RPM_BUILD_ROOT/%{_mandir}
+# some man pages now contain spaces. This makes several scripts go havoc, among them /usr/sbin/Check.
+# replace spaces by underscores
+#for i in man?/*\ *; do mv -v "$i" "${i// /_}"; done
+which readlink &>/dev/null || function readlink { ( set +x; target=$(file $1 2>/dev/null); target=${target//* }; test -f $target && echo $target; ) }
+for i in man?/*; do
+ if test -L $i ; then
+ LDEST=`readlink $i`
+ rm -f $i ${i}ssl
+ ln -sf ${LDEST}ssl ${i}ssl
+ else
+ mv $i ${i}ssl
+ fi
+ case `basename ${i%.*}` in
+ asn1parse|ca|config|crl|crl2pkcs7|crypto|dgst|dhparam|dsa|dsaparam|enc|gendsa|genrsa|nseq|openssl|passwd|pkcs12|pkcs7|pkcs8|rand|req|rsa|rsautl|s_client|s_server|smime|spkac|ssl|verify|version|x509)
+ # these are the pages mentioned in openssl(1). They go into the main package.
+ echo %doc %{_mandir}/${i}ssl.gz >> $OLDPWD/filelist.doc;;
+ *)
+ # the rest goes into the openssl-doc package.
+ echo %doc %{_mandir}/${i}ssl.gz >> $OLDPWD/filelist.doc;;
+ esac
+done
+popd
+#
+# check wether some shared library has been installed
+#
+ls -l $RPM_BUILD_ROOT%{_libdir}
+test -f $RPM_BUILD_ROOT%{_libdir}/libssl.so.%{num_version}
+test -f $RPM_BUILD_ROOT%{_libdir}/libcrypto.so.%{num_version}
+test -L $RPM_BUILD_ROOT%{_libdir}/libssl.so
+test -L $RPM_BUILD_ROOT%{_libdir}/libcrypto.so
+#
+# see what we've got
+#
+cat > showciphers.c <<EOF
+#include <openssl/err.h>
+#include <openssl/ssl.h>
+int main(){
+unsigned int i;
+SSL_CTX *ctx;
+SSL *ssl;
+SSL_METHOD *meth;
+ meth = SSLv23_client_method();
+ SSLeay_add_ssl_algorithms();
+ ctx = SSL_CTX_new(meth);
+ if (ctx == NULL) return 0;
+ ssl = SSL_new(ctx);
+ if (!ssl) return 0;
+ for (i=0; ; i++) {
+ int j, k;
+ SSL_CIPHER *sc;
+ sc = (meth->get_cipher)(i);
+ if (!sc) break;
+ k = SSL_CIPHER_get_bits(sc, &j);
+ printf("%s\n", sc->name);
+ }
+ return 0;
+};
+EOF
+gcc $RPM_OPT_FLAGS -I${RPM_BUILD_ROOT}%{_includedir} -c showciphers.c
+gcc -o showciphers showciphers.o -L${RPM_BUILD_ROOT}%{_libdir} -lssl -lcrypto
+LD_LIBRARY_PATH=${RPM_BUILD_ROOT}%{_libdir} ./showciphers > AVAILABLE_CIPHERS || true
+cat AVAILABLE_CIPHERS
+# Do not install demo scripts executable under /usr/share/doc
+find demos -type f -perm /111 -exec chmod 644 {} \;
+
+#process openssllib
+mkdir $RPM_BUILD_ROOT/%{_lib}
+mv $RPM_BUILD_ROOT%{_libdir}/libssl.so.%{num_version} $RPM_BUILD_ROOT/%{_lib}/
+mv $RPM_BUILD_ROOT%{_libdir}/libcrypto.so.%{num_version} $RPM_BUILD_ROOT/%{_lib}/
+mv $RPM_BUILD_ROOT%{_libdir}/engines $RPM_BUILD_ROOT/%{_lib}/
+cd $RPM_BUILD_ROOT%{_libdir}/
+ln -sf /%{_lib}/libssl.so.%{num_version} ./libssl.so
+ln -sf /%{_lib}/libcrypto.so.%{num_version} ./libcrypto.so
+
+cd $RPM_BUILD_DIR
+
+
+%post -n libopenssl -p /sbin/ldconfig
+
+%postun -n libopenssl -p /sbin/ldconfig
+
+%files -n libopenssl
+%defattr(-, root, root)
+%license LICENSE
+/%{_lib}/libssl.so.%{num_version}
+/%{_lib}/libcrypto.so.%{num_version}
+/%{_lib}/engines
+
+%files -n libopenssl-devel
+%defattr(-, root, root)
+%{_includedir}/%{name}/
+%{_includedir}/ssl
+%exclude %{_libdir}/libcrypto.a
+%exclude %{_libdir}/libssl.a
+%{_libdir}/libssl.so
+%{_libdir}/libcrypto.so
+%_libdir/pkgconfig/libcrypto.pc
+%_libdir/pkgconfig/libssl.pc
+%_libdir/pkgconfig/openssl.pc
+
+%files doc -f filelist.doc
+%defattr(-, root, root)
+%doc doc/* demos
+%doc showciphers.c
+
+%files
+%defattr(-, root, root)
+%license LICENSE
+%dir %{ssletcdir}
+%dir %{ssletcdir}/certs
+%config (noreplace) %{ssletcdir}/openssl.cnf
+%attr(700,root,root) %{ssletcdir}/private
+%dir %{_datadir}/ssl
+%{_bindir}/%{name}
+
+%files misc
+%{_datadir}/ssl/misc
+%{_bindir}/c_rehash
+
+
+%changelog
--- /dev/null
+Name: oprofile
+Version: 0.9.8
+Release: 0
+License: GPL-2.0+ and LGPL-2.1+
+Summary: System wide profiler
+Url: http://oprofile.sf.net
+Group: Base/Tools
+Source: %{name}-%{version}.tar.gz
+BuildRequires: binutils-devel
+BuildRequires: pkgconfig(popt)
+Requires: which
+Requires(pre): pwdutils
+
+%description
+OProfile is a profiling system for systems running Linux. The
+profiling runs transparently during the background, and profile data
+can be collected at any time. OProfile makes use of the hardware performance
+counters provided on Intel P6, and AMD Athlon family processors, and can use
+the RTC for profiling on other x86 processor types.
+
+See the HTML documentation for further details.
+
+%package devel
+Summary: Header files and libraries for developing apps which will use oprofile
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Header files and libraries for developing apps which will use oprofile.
+
+%package jit
+Summary: Libraries required for profiling Java and other JITed code
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description jit
+This package includes a base JIT support library, as well as a Java
+agent library.
+
+%prep
+%setup -q
+
+%build
+%configure --enable-gui=no
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
+echo "%{_libdir}/oprofile" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/oprofile-%{_arch}.conf
+
+rm -rf %{buildroot}%{_datadir}/doc
+
+%pre
+getent group oprofile >/dev/null || groupadd -r -g 16 oprofile
+getent passwd oprofile >/dev/null || \
+useradd -g oprofile -d /var/lib/oprofile -M -r -u 16 -s /sbin/nologin \
+ -c "Special user account to be used by OProfile" oprofile
+exit 0
+
+%postun
+# do not try to remove existing oprofile user or group
+
+%post jit -p /sbin/ldconfig
+
+%postun jit -p /sbin/ldconfig
+
+%docs_package
+
+%files
+%license COPYING
+%{_bindir}/ophelp
+%{_bindir}/opimport
+%{_bindir}/opannotate
+%{_bindir}/opcontrol
+%{_bindir}/opgprof
+%{_bindir}/opreport
+%{_bindir}/oprofiled
+%{_bindir}/oparchive
+%{_bindir}/opjitconv
+%{_bindir}/op-check-perfevents
+%{_bindir}/operf
+%{_datadir}/oprofile
+
+%files devel
+%{_includedir}/opagent.h
+
+%files jit
+%config %{_sysconfdir}/ld.so.conf.d/*
+%{_libdir}/oprofile
--- /dev/null
+Name: orc
+Version: 0.4.16
+Release: 0
+License: BSD-3-Clause
+Summary: The Oil Runtime Compiler
+Url: http://code.entropywave.com/projects/orc/
+Group: Multimedia/Libraries
+Source: http://code.entropywave.com/download/orc/%{name}-%{version}.tar.gz
+BuildRequires: libxslt-tools
+BuildRequires: pkg-config
+Provides: %{name}-devel = %{version}
+
+%description
+Orc is a library and set of tools for compiling and executing very simple
+programs that operate on arrays of data. The “language” is a generic
+assembly language that represents many of the features available in SIMD
+architectures, including saturated addition and subtraction, and many
+arithmetic operations.
+
+%package -n liborc
+Summary: The Oil Runtime Compiler Library
+Group: Multimedia/Libraries
+
+%description -n liborc
+Orc is a library and set of tools for compiling and executing very simple
+programs that operate on arrays of data. The “language” is a generic
+assembly language that represents many of the features available in SIMD
+architectures, including saturated addition and subtraction, and many
+arithmetic operations.
+
+%package doc
+Summary: The Oil Runtime Compiler Library - Documentation
+Group: Documentation
+
+%description doc
+Orc is a library and set of tools for compiling and executing very simple
+programs that operate on arrays of data. The “language” is a generic
+assembly language that represents many of the features available in SIMD
+architectures, including saturated addition and subtraction, and many
+arithmetic operations.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --disable-static \
+ --disable-gtk-doc
+make %{?_smp_mflags}
+%check
+%ifnarch %arm
+make check
+%endif
+
+%install
+%make_install
+# These are some examples that seem not to make sense to be distributed
+rm -rf %{buildroot}%{_libdir}/orc
+
+
+%post -n liborc -p /sbin/ldconfig
+
+%postun -n liborc -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/orc-bugreport
+%{_bindir}/orcc
+%{_includedir}/orc-0.4/
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/orc-0.4.pc
+%{_datadir}/aclocal/orc.m4
+
+%files doc
+%defattr(-,root,root)
+%{_datadir}/gtk-doc/html/orc/
+
+%files -n liborc
+%defattr(-,root,root)
+%{_libdir}/liborc*-0.4.so.*
--- /dev/null
+Name: p11-kit
+Version: 0.18.4
+Release: 0
+License: BSD-3-Clause
+Summary: Library to work with PKCS#11 modules
+Url: http://p11-glue.freedesktop.org/p11-kit.html
+Group: Security/Crypto Libraries
+Source0: http://p11-glue.freedesktop.org/releases/%{name}-%{version}.tar.gz
+Source99: baselibs.conf
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(libtasn1)
+
+%description
+p11-kit provides a way to load and enumerate PKCS#11 modules, as well
+as a standard configuration setup for installing PKCS#11 modules in
+such a way that they're discoverable.
+
+%package -n libp11-kit
+Summary: Library to work with PKCS#11 modules
+
+%description -n libp11-kit
+p11-kit provides a way to load and enumerate PKCS#11 modules, as well
+as a standard configuration setup for installing PKCS#11 modules in
+such a way that they're discoverable.
+
+%package tools
+Summary: Library to work with PKCS#11 modules -- Tools
+
+%description tools
+p11-kit provides a way to load and enumerate PKCS#11 modules, as well
+as a standard configuration setup for installing PKCS#11 modules in
+such a way that they're discoverable.
+
+%package devel
+Summary: Library to work with PKCS#11 modules -- Development Files
+Requires: libp11-kit = %{version}
+
+%description devel
+p11-kit provides a way to load and enumerate PKCS#11 modules, as well
+as a standard configuration setup for installing PKCS#11 modules in
+such a way that they're discoverable.
+
+%prep
+%setup -q
+
+%build
+%configure --without-trust-paths
+make %{?_smp_mflags}
+
+%install
+%make_install
+# Create pkcs11 config directory
+test ! -e %{buildroot}%{_sysconfdir}/pkcs11/modules
+install -d %{buildroot}%{_sysconfdir}/pkcs11/modules
+# Remove sample config away to doc folder. Having the sample there would conflict
+# with future versions of the library on file level. As replacement, we package
+# the file as documentation file.
+rm %{buildroot}%{_sysconfdir}/pkcs11/pkcs11.conf.example
+
+%post -n libp11-kit -p /sbin/ldconfig
+
+%postun -n libp11-kit -p /sbin/ldconfig
+
+%files -n libp11-kit
+%defattr(-,root,root)
+# Package the example conf file as documentation. Like this we're sure that we will
+# not introduce conflicts with this version of the library and future ones.
+%doc p11-kit/pkcs11.conf.example
+%license COPYING
+%dir %{_sysconfdir}/pkcs11
+%dir %{_sysconfdir}/pkcs11/modules/
+%{_libdir}/libp11-kit.so.*
+%{_libdir}/p11-kit-proxy.so
+%dir %{_libdir}/pkcs11
+%dir %{_libdir}/p11-kit
+%{_libdir}/pkcs11/p11-kit-trust.so
+%{_libdir}/p11-kit/p11-kit-extract-trust
+%dir %_datadir/p11-kit
+%dir %_datadir/p11-kit/modules
+%_datadir/p11-kit/modules/p11-kit-trust.module
+
+%files tools
+%defattr(-,root,root)
+%{_bindir}/p11-kit
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/p11-kit-1/
+%{_libdir}/libp11-kit.so
+%{_libdir}/pkgconfig/p11-kit-1.pc
+%doc %dir %{_datadir}/gtk-doc
+%doc %dir %{_datadir}/gtk-doc/html
+%doc %{_datadir}/gtk-doc/html/p11-kit/
+
+%changelog
--- /dev/null
+%bcond_with tizen_profile
+
+Summary: Tizen IVI Package Groups
+Name: package-groups
+Version: 001
+Release: 1
+BuildArch: noarch
+License: GPL-2.0
+Group: Base/Configuration
+URL: http://www.tizen.org
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: meta-common
+BuildRequires: meta-ivi
+BuildRequires: pattern-tools
+BuildRequires: python
+BuildRequires: xsltproc
+
+
+%description
+Tizen IVI Package Groups. Used with meta-* packages to generate package group patterns.
+
+%prep
+%setup -q
+
+%build
+%ifarch %{arm}
+ %define __arch arm
+%else
+ %define __arch i586
+%endif
+
+mkdir -p input output
+for pp in common ivi; do
+ test -d %{_datadir}/package-groups/$pp && cp %{_datadir}/package-groups/$pp/*.yaml input
+done
+
+merge-patterns -a %__arch --pattern-dir=input/ --output-dir=output/
+xsltproc /usr/share/package-groups/stylesheets/comps.xsl output/patterns.xml > output/group.xml
+
+
+%install
+install -d %{buildroot}/usr/share/package-groups
+install -m 644 output/patterns.xml %{buildroot}/usr/share/package-groups
+install -m 644 output/group.xml %{buildroot}/usr/share/package-groups
+
+%files
+%{_datadir}/package-groups/*.xml
+
--- /dev/null
+Name: capi-appfw-package-manager
+Summary: Package Manager API
+Version: 0.0.28
+Release: 1
+Group: API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(capi-base-common)
+
+%description
+The Package Manager API provides functions to install, uninstall the package,
+and also privides event listening function.
+
+%package devel
+Summary: Package Manager API (Development)
+Group: API
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The Package Manager API provides functions to install, uninstall the package,
+and also privides event listening function. (DEV)
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest capi-appfw-package-manager.manifest
+%{_libdir}/libcapi-appfw-package-manager.so.*
+%{_bindir}/pkgmgr_tool
+
+%files devel
+%{_includedir}/appfw/package_manager.h
+%{_includedir}/appfw/package_info.h
+%{_libdir}/libcapi-appfw-package-manager.so
+%{_libdir}/pkgconfig/*.pc
+
+
--- /dev/null
+Name: pacrunner
+Version: 0.6
+Release: 0
+License: GPL-2.0+
+Url: http://connman.net/
+Summary: Proxy configuration daemon
+Group: Connectivity/Connection Management
+Source: %{name}-%{version}.tar.xz
+BuildRequires: v8-devel
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libcurl)
+%description
+PACrunner - Proxy configuration daemon.
+
+%package test
+Summary: Test Scripts for pacrunner
+Group: Development/Tools
+Requires: %{name} = %{version}
+
+%description test
+PACrunner - Proxy configuration daemon.
+
+Pacrunner tests
+
+%package proxy-tools
+Summary: Libproxy library Tools
+Group: Connectivity/Connection Management
+Requires: %{name}-libproxy = %{version}
+
+%description proxy-tools
+PACrunner - Proxy configuration daemon.
+
+Libproxy library Tools.
+
+%package libproxy
+Summary: Libproxy library
+Group: Connectivity/Connection Management
+Requires: %{name} = %{version}
+Provides: libproxy <= 0.4.11-2
+Obsoletes: libproxy <= 0.4.11-2
+Provides: libproxy-pacrunner-webkit <= 0.4.11-2
+Obsoletes: libproxy-pacrunner-webkit <= 0.4.11-2
+
+%description libproxy
+PACrunner - Proxy configuration daemon.
+
+Libproxy library.
+
+%package libproxy-devel
+Summary: Libproxy library Development Files
+Group: Development/Libraries
+Requires: pacrunner-libproxy = %{version}
+Provides: libproxy-devel <= 0.4.11-2
+Obsoletes: libproxy-devel <= 0.4.11-2
+
+%description libproxy-devel
+PACrunner - Proxy configuration daemon.
+
+Libproxy library Development Files.
+
+%prep
+%setup -q
+
+%build
+%reconfigure --enable-v8 \
+ --enable-libproxy \
+ --enable-curl \
+ --enable-test
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%post libproxy -p /sbin/ldconfig
+
+%postun libproxy -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_sysconfdir}/dbus-1/system.d/pacrunner.conf
+/usr/sbin/pacrunner
+/usr/share/dbus-1/system-services/org.pacrunner.service
+
+%files proxy-tools
+%defattr(-,root,root)
+%{_bindir}/proxy
+
+%files libproxy
+%defattr(-,root,root)
+%{_libdir}/libproxy.so.*
+
+%files libproxy-devel
+%defattr(-,root,root)
+%{_includedir}/proxy.h
+%{_libdir}/libproxy.so
+%{_libdir}/pkgconfig/libproxy-1.0.pc
+
+%files test
+%{_libdir}/pacrunner/test/create-proxy-config
+%{_libdir}/pacrunner/test/find-proxy-for-url
+%{_bindir}/manual-proxy-test
+
+%changelog
--- /dev/null
+%define _sbindir /sbin
+%define _moduledir %{_libdir}/security
+%define _secconfdir %{_sysconfdir}/security
+%define _pamconfdir %{_sysconfdir}/pam.d
+
+Name: pam
+Version: 1.1.6
+Release: 1
+License: BSD and GPLv2+ and BSD with advertising
+Summary: PAM
+Url: http://www.linux-pam.org/
+Group: Security/Access Control
+Source0: Linux-PAM-%{version}.tar.bz2
+Source1: system-auth
+Source2: other
+
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: db4-devel
+BuildRequires: flex
+BuildRequires: gcc
+BuildRequires: libtool
+BuildRequires: net-tools
+BuildRequires: zlib-devel
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/install
+Requires(postun): /sbin/ldconfig
+
+%description
+PAM (Pluggable Authentication Modules) is a system security tool that
+allows system administrators to set authentication policy without
+having to recompile programs that handle authentication.
+
+%package -n pam-modules-extra
+Summary: Extra modules provided by PAM not used in the base system
+Group: Security/Access Control
+Requires: pam = %{version}
+
+%description -n pam-modules-extra
+PAM (Pluggable Authentication Modules) is a system security tool that
+allows system administrators to set authentication policy without
+having to recompile programs that handle authentication. This package
+contains extra modules for use by programs that are not used in the
+default Tizen install.
+
+%package devel
+Summary: Files needed for developing PAM-aware applications and modules for PAM
+Group: Development/Libraries
+Requires: pam = %{version}
+
+%description devel
+PAM (Pluggable Authentication Modules) is a system security tool that
+allows system administrators to set authentication policy without
+having to recompile programs that handle authentication. This package
+contains header files and static libraries used for building both
+PAM-aware applications and modules for use with PAM.
+
+%prep
+%setup -q -n Linux-PAM-%{version}
+
+libtoolize -f #--copy --force && aclocal && autoheader
+autoreconf
+
+%build
+CFLAGS="-fPIC %{optflags} " ; export CFLAGS
+
+%configure \
+ --libdir=%{_libdir} \
+ --includedir=%{_includedir}/security \
+ --enable-isadir=../..%{_moduledir} \
+ --disable-audit \
+ --disable-nls \
+ --with-db-uniquename=_pam \
+ --with-libiconv-prefix=/usr \
+ --enable-read-both-confs &&
+
+make %{?_smp_flags} CFLAGS="$CFLAGS -lfl -lcrypt"
+
+%install
+%make_install
+
+# RPM uses docs from source tree
+rm -rf %{buildroot}%{_datadir}/doc/Linux-PAM
+# Included in setup package
+rm -f %{buildroot}%{_sysconfdir}/environment
+
+for phase in auth acct passwd session ; do
+ ln -sf pam_unix.so %{buildroot}%{_moduledir}/pam_unix_${phase}.so
+done
+
+# Install default pam configuration files
+install -d -m 0755 %{buildroot}%{_pamconfdir}
+install -m 0644 %{SOURCE1} %{buildroot}%{_pamconfdir}/
+install -m 0644 %{SOURCE2} %{buildroot}%{_pamconfdir}/
+
+%post
+/sbin/ldconfig
+if [ ! -a /var/log/faillog ] ; then
+ /usr/bin/install -m 600 /dev/null /var/log/faillog
+fi
+if [ ! -a /var/log/tallylog ] ; then
+ /usr/bin/install -m 600 /dev/null /var/log/tallylog
+fi
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license Copyright
+%{_sbindir}/pam_tally
+%{_sbindir}/pam_tally2
+%attr(4755,root,root) %{_sbindir}/pam_timestamp_check
+%attr(4755,root,root) %{_sbindir}/unix_chkpwd
+%attr(0700,root,root) %{_sbindir}/unix_update
+%attr(0755,root,root) %{_sbindir}/mkhomedir_helper
+%{_sysconfdir}/security/limits.conf
+%{_libdir}/libpam.so.*
+%{_libdir}/libpam_misc.so.*
+%{_libdir}/libpamc.so.*
+%dir %{_moduledir}
+%{_moduledir}/pam_deny.so
+%{_moduledir}/pam_env.so
+%{_moduledir}/pam_keyinit.so
+%{_moduledir}/pam_limits.so
+%{_moduledir}/pam_loginuid.so
+%{_moduledir}/pam_namespace.so
+%{_moduledir}/pam_nologin.so
+%{_moduledir}/pam_permit.so
+%{_moduledir}/pam_lastlog.so
+%{_moduledir}/pam_rootok.so
+%{_moduledir}/pam_securetty.so
+%{_moduledir}/pam_succeed_if.so
+%{_moduledir}/pam_unix.so
+%{_moduledir}/pam_wheel.so
+%{_moduledir}/pam_xauth.so
+%{_moduledir}/pam_filter
+%{_moduledir}/pam_mkhomedir.so
+%dir %{_secconfdir}
+%config(noreplace) %{_secconfdir}/access.conf
+%config(noreplace) %{_secconfdir}/group.conf
+%config(noreplace) %{_secconfdir}/namespace.conf
+#%dir %{_secconfdir}/namespace.d
+%attr(755,root,root) %config(noreplace) %{_secconfdir}/namespace.init
+%config(noreplace) %{_secconfdir}/pam_env.conf
+%config(noreplace) %{_secconfdir}/time.conf
+%dir %{_pamconfdir}
+%{_pamconfdir}/system-auth
+%{_pamconfdir}/other
+
+%files -n pam-modules-extra
+%{_moduledir}/pam_access.so
+%{_moduledir}/pam_debug.so
+%{_moduledir}/pam_echo.so
+%{_moduledir}/pam_exec.so
+%{_moduledir}/pam_faildelay.so
+%{_moduledir}/pam_filter.so
+%{_moduledir}/pam_ftp.so
+%{_moduledir}/pam_group.so
+%{_moduledir}/pam_issue.so
+%{_moduledir}/pam_listfile.so
+%{_moduledir}/pam_localuser.so
+%{_moduledir}/pam_mail.so
+%{_moduledir}/pam_motd.so
+%{_moduledir}/pam_pwhistory.so
+%{_moduledir}/pam_rhosts.so
+%{_moduledir}/pam_shells.so
+%{_moduledir}/pam_stress.so
+%{_moduledir}/pam_tally.so
+%{_moduledir}/pam_time.so
+%{_moduledir}/pam_timestamp.so
+%{_moduledir}/pam_umask.so
+%{_moduledir}/pam_unix_acct.so
+%{_moduledir}/pam_unix_auth.so
+%{_moduledir}/pam_unix_passwd.so
+%{_moduledir}/pam_unix_session.so
+%{_moduledir}/pam_warn.so
+
+%files devel
+%{_includedir}/security/*
+%{_libdir}/libpam.so
+%{_libdir}/libpam_misc.so
+%{_libdir}/libpamc.so
+%{_libdir}/security/pam_tally2.so
+
+%docs_package
--- /dev/null
+# When updating the binary version, do not forget to also update baselibs.conf
+%define pango_binary_version 1.8.0
+%bcond_with introspection
+
+Name: pango
+Version: 1.34.1
+Release: 0
+License: LGPL-2.1+
+Summary: Library for Layout and Rendering of Text
+Url: http://www.pango.org/
+Group: System/i18n
+Source: http://download.gnome.org/sources/pango/1.32/%{name}-%{version}.tar.xz
+Source2: macros.pango
+Source99: baselibs.conf
+BuildRequires: gcc-c++
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(cairo)
+BuildRequires: pkgconfig(fontconfig)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(glib-2.0) >= 2.33.12
+BuildRequires: pkgconfig(gobject-2.0)
+%if %{with introspection}
+BuildRequires: pkgconfig(gobject-introspection-1.0)
+%endif
+BuildRequires: pkgconfig(harfbuzz) >= 0.9.3
+BuildRequires: pkgconfig(libthai) >= 0.1.9
+BuildRequires: pkgconfig(xft) >= 2.0.0
+BuildRequires: pkgconfig(xrender)
+
+%description
+Pango is a library for layout and rendering of text, with an emphasis
+on internationalization. It can be used anywhere that text layout
+is needed.
+
+Pango forms the core of text and font handling for GTK+.
+
+%package -n libpango
+Summary: Library for Layout and Rendering of Text
+Group: System/i18n
+Provides: %{name} = %{version}
+Obsoletes: %{name} < %{version}
+Requires(post): %{name}-tools
+
+%description -n libpango
+Pango is a library for layout and rendering of text, with an emphasis
+on internationalization. It can be used anywhere that text layout
+is needed.
+
+Pango forms the core of text and font handling for GTK+.
+
+%package -n typelib-Pango
+Summary: Library for Layout and Rendering of Text -- Introspection bindings
+Group: System/i18n
+
+%description -n typelib-Pango
+Pango is a library for layout and rendering of text, with an emphasis
+on internationalization. It can be used anywhere that text layout
+is needed.
+
+Pango forms the core of text and font handling for GTK+.
+
+This package provides the GObject Introspection bindings for Pango.
+
+%package tools
+Summary: Library for Layout and Rendering of Text -- Tools
+Group: System/i18n
+
+%description tools
+Pango is a library for layout and rendering of text, with an emphasis
+on internationalization. It can be used anywhere that text layout
+is needed.
+
+Pango forms the core of text and font handling for GTK+.
+
+%package module-thai-lang
+Summary: Library for Layout and Rendering of Text -- Module for the Thai Language
+Group: System/i18n
+Provides: locale(pango:th_TH)
+Requires(post): %{name}-tools
+Requires(postun): %{name}-tools
+
+%description module-thai-lang
+Pango is a library for layout and rendering of text, with an emphasis
+on internationalization. It can be used anywhere that text layout
+is needed.
+
+Pango forms the core of text and font handling for GTK+.
+
+%package devel
+Summary: Library for Layout and Rendering of Text -- Development Files
+Group: Development/Libraries
+Requires: libpango = %{version}
+%if %{with introspection}
+Requires: typelib-Pango = %{version}
+%endif
+
+%description devel
+Pango is a library for layout and rendering of text, with an emphasis
+on internationalization. It can be used anywhere that text layout
+is needed.
+
+Pango forms the core of text and font handling for GTK+.
+
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q
+
+%build
+NOCONFIGURE=1 ./autogen.sh
+%configure --disable-static --with-pic
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_sysconfdir}/pango/
+touch %{buildroot}%{_libdir}/pango/%{pango_binary_version}/pango.modules
+%if "%{_lib}" == "lib64"
+mv %{buildroot}%{_bindir}/pango-querymodules %{buildroot}%{_bindir}/pango-querymodules-64
+%endif
+# Install rpm macros
+mkdir -p %{buildroot}%{_sysconfdir}/rpm
+cp %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm
+# Convenient %%define for the scriplets
+%if "%{_lib}" == "lib64"
+%define _pango_querymodules %{_bindir}/pango-querymodules-64
+%else
+%define _pango_querymodules %{_bindir}/pango-querymodules
+%endif
+%define _pango_querymodules_update_cache %{_pango_querymodules} --update-cache
+
+%post -n libpango
+/sbin/ldconfig
+%if 0
+# In case libpango gets installed before pango-tools, we don't want to
+# fail. So we make the call to pango-querymodules dependent on the
+# existence of the binary. This is why we also have a %%post for
+# pango-tools.
+%endif
+if test -f %{_pango_querymodules}; then
+ %{_pango_querymodules_update_cache}
+fi
+
+%if 0
+# No need to call pango-querymodules in postun:
+# - if it's an upgrade, it will have been called in post
+# - if it's an uninstall, we don't care about this anymore
+%endif
+
+%postun -n libpango -p /sbin/ldconfig
+
+%post module-thai-lang
+%{_pango_querymodules_update_cache}
+
+%postun module-thai-lang
+%{_pango_querymodules_update_cache}
+
+%post tools
+%if 0
+# If we install pango-tools for the first time, then we should run it in case
+# libpango was installed first (ie, if
+# %%{_libdir}/pango/%%{pango_binary_version} already exists) which means
+# pango-querymodules couldn't run there.
+%endif
+if [ $1 == 1 ]; then
+ test -d %{_libdir}/pango/%{pango_binary_version}
+ if test $? -eq 0; then
+ %{_pango_querymodules_update_cache}
+ fi
+fi
+
+
+
+%docs_package
+
+%files -n libpango
+%defattr(-,root,root)
+%license COPYING
+%dir %{_libdir}/pango
+%dir %{_libdir}/pango/%{pango_binary_version}
+%ghost %{_libdir}/pango/%{pango_binary_version}/pango.modules
+%dir %{_libdir}/pango/%{pango_binary_version}/modules
+%{_libdir}/pango/%{pango_binary_version}/modules/pango-arabic-lang.so
+%{_libdir}/pango/%{pango_binary_version}/modules/pango-basic-fc.so
+%{_libdir}/pango/%{pango_binary_version}/modules/pango-indic-lang.so
+%{_libdir}/lib*.so.*
+%dir %{_sysconfdir}/pango
+
+%if %{with introspection}
+%files -n typelib-Pango
+%defattr(-,root,root)
+%{_libdir}/girepository-1.0/Pango-1.0.typelib
+%{_libdir}/girepository-1.0/PangoCairo-1.0.typelib
+%{_libdir}/girepository-1.0/PangoFT2-1.0.typelib
+%{_libdir}/girepository-1.0/PangoXft-1.0.typelib
+%endif
+
+
+%files tools
+%defattr(-, root, root)
+%{_bindir}/pango-querymodules*
+%{_bindir}/pango-view
+
+# We have this module in a subpackage because it requires additional libraries.
+
+%files module-thai-lang
+%defattr(-, root, root)
+%{_libdir}/pango/%{pango_binary_version}/modules/pango-thai-lang.so
+
+%files devel
+%defattr(-, root, root)
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/pango-1.0/
+%if %{with introspection}
+%{_datadir}/gir-1.0/*.gir
+%endif
+%{_sysconfdir}/rpm/macros.pango
--- /dev/null
+%define _sbindir /sbin
+
+Name: parted
+Version: 3.1
+Release: 1
+License: GPL-3.0+
+Summary: The GNU disk partition manipulation program
+Url: http://www.gnu.org/software/parted
+Group: Applications/System
+
+Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
+
+BuildRequires: gettext-devel
+BuildRequires: libtool
+BuildRequires: libuuid-devel
+BuildRequires: ncurses-devel
+BuildRequires: readline-devel
+BuildRequires: texinfo
+BuildRequires: pkgconfig(ext2fs)
+
+%description
+The GNU Parted program allows you to create, destroy, resize, move,
+and copy hard disk partitions. Parted can be used for creating space
+for new operating systems, reorganizing disk usage, and copying data
+to new hard disks.
+
+%package devel
+Summary: Files for developing apps which will manipulate disk partitions
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: pkgconfig
+
+%description devel
+The GNU Parted library is a set of routines for hard disk partition
+manipulation. If you want to develop programs that manipulate disk
+partitions and filesystems using the routines provided by the GNU
+Parted library, you need to install this package.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static --disable-device-mapper --with-readline --with-libdir=%{_libdir} --exec-prefix=/usr
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%find_lang %{name}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%lang_package
+
+%docs_package
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_sbindir}/parted
+%{_sbindir}/partprobe
+%{_libdir}/libparted*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/parted
+%{_libdir}/libparted.so
+%{_libdir}/libparted-fs-resize.so
+%{_libdir}/pkgconfig/libparted.pc
+
--- /dev/null
+Name: patch
+Version: 2.7
+Release: 1
+License: GPL-3.0
+Summary: The GNU patch command, for modifying/upgrading files
+Url: http://www.gnu.org/software/patch/patch.html
+Group: Development/Tools
+Source0: ftp://ftp.gnu.org/gnu/patch/patch-%{version}.tar.xz
+Source1001: patch.manifest
+
+%description
+The patch program applies diff files to originals. The diff command
+is used to compare an original to a changed file. Diff lists the
+changes made to the file. A person who has the original file can then
+use the patch command with the diff file to add the changes to their
+original file (patching the file).
+
+Patch should be installed because it is a common way of upgrading
+applications.
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+CFLAGS="%{optflags} -D_GNU_SOURCE"
+
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%license COPYING
+%manifest patch.manifest
+%{_bindir}/*
+%doc %{_mandir}/*/*
--- /dev/null
+Name: patchelf
+Version: 0.6
+Release: 0
+License: GPL-3.0
+Summary: A utility for patching ELF binaries
+Url: http://nixos.org/patchelf.html
+Group: Development/Libraries/C and C++
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: gcc-c++
+# not working here
+ExcludeArch: ppc ppc64 %arm
+
+%description
+PatchELF is a simple utility for modifing existing ELF executables and
+libraries. It can change the dynamic loader ("ELF interpreter") of
+executables and change the RPATH of executables and libraries.
+
+%prep
+%setup -q
+
+%build
+%configure
+make
+
+%check
+make check
+
+%install
+%make_install
+rm %{buildroot}/usr/share/doc/patchelf/README
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%doc README
+/usr/bin/*
+%{_mandir}/man*/patchelf.*
+
+%changelog
--- /dev/null
+Summary: Pattern Tools
+Name: pattern-tools
+Version: 001
+Release: 1
+License: GPLv2
+Group: System/Base
+URL: http://www.tizen.org
+Source: %{name}-%{version}.tar.bz2
+Requires: libxslt
+Requires: python-yaml
+Requires: python-lxml
+
+%description
+Tools for managing package groups and patterns.
+
+%prep
+%setup -q
+
+%build
+make
+
+%install
+%make_install
+
+
+%files
+%{_bindir}/merge-patterns
+%{_datadir}/package-groups/stylesheets/*.xsl
--- /dev/null
+Name: pbzip2
+Version: 1.1.6
+Release: 0
+Summary: Parallel implementation of bzip2
+URL: http://www.compression.ca/pbzip2/
+License: BSD
+Group: Applications/Other
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: bzip2-devel
+BuildRequires: gcc-c++
+
+%description
+PBZIP2 is a parallel implementation of the bzip2 block-sorting file
+compressor that uses pthreads and achieves near-linear speedup on SMP
+machines. The output of this version is fully compatible with bzip2
+v1.0.2 or newer (ie: anything compressed with pbzip2 can be
+decompressed with bzip2).
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags}
+
+%install
+install -Dm755 pbzip2 %{buildroot}%{_bindir}/pbzip2
+install -Dm644 pbzip2.1 %{buildroot}%{_mandir}/man1/pbzip2.1
+ln -s pbzip2 %{buildroot}%{_bindir}/pbunzip2
+ln -s pbzip2 %{buildroot}%{_bindir}/pbzcat
+
+%docs_package
+
+%files
+%license COPYING
+%{_bindir}/pbzip2
+%{_bindir}/pbunzip2
+%{_bindir}/pbzcat
--- /dev/null
+Name: pc-installer
+Version: 0.1
+Release: 0
+License: GPLv2
+Summary: PC Installer
+Group: Base/System
+Source: %{name}-%{version}.tar.xz
+Requires: rsync
+Requires: plymouth
+Requires: syslinux-extlinux
+Requires: btrfs-progs
+Requires: snapper
+
+%description
+Installs a system from a live USB stick to a local hard-disk.
+
+%prep
+%setup -q
+
+%build
+
+%install
+install -d %{buildroot}/usr/sbin
+install -d %{buildroot}/usr/lib/systemd/system
+
+install -m 0644 systemd/pc-installer.service %{buildroot}/usr/lib/systemd/system
+install -m 0775 scripts/* %{buildroot}/%{_sbindir}/pc-installer
+
+
+%files
+%defattr(-,root,root)
+%{_sbindir}/pc-installer
+/usr/lib/systemd/system/pc-installer.service
+
+%changelog
+
--- /dev/null
+Name: pciutils
+Version: 3.1.10
+Release: 0
+License: GPL-2.0+
+Summary: PCI utilities for Kernel version 2
+Url: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
+Group: Base/Device Management
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: pkg-config
+BuildRequires: zlib-devel
+Requires: pciutils-ids
+
+%description
+lspci: This program displays detailed information about all PCI busses
+and devices in the system, replacing the original /proc/pci interface.
+
+setpci: This program allows reading from and writing to PCI device
+configuration registers. For example, you can adjust the latency timers
+with it.
+
+update-pciids: This program downloads the current version of the
+pci.ids file.
+
+%package -n libpci
+Summary: PCI utility library
+Group: Base/Device Management
+
+%description -n libpci
+libpci offers access to the PCI configuration space.
+
+%package devel
+Summary: Library and Include Files of the PCI utilities
+Group: Development/Libraries
+Requires: libpci = %{version}
+
+%description devel
+This package contains the files that are necessary for software
+development using the PCI utilities.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags} OPT="%{optflags} -Wall" PREFIX=%{_prefix} LIBDIR=%{_libdir} SBINDIR=%{_sbindir} STRIP="" SHARED="yes" IDSDIR=%{_datadir}/hwdata
+
+%install
+make install PREFIX=%{buildroot}%{_prefix} SBINDIR=%{buildroot}%{_sbindir} \
+ ROOT=%{buildroot}/ MANDIR=%{buildroot}/%{_mandir} STRIP="" \
+ SHARED="yes" LIBDIR=%{buildroot}/%{_libdir} IDSDIR=%{buildroot}/%{_datadir}/hwdata
+mkdir -p %{buildroot}%{_includedir}/pci
+cp -p lib/{pci,header,config,types}.h %{buildroot}%{_includedir}/pci/
+rm -rf %{buildroot}%{_datadir}/hwdata/pci.ids*
+install -D -m 0644 lib/libpci.pc %{buildroot}%{_libdir}/pkgconfig/libpci.pc
+ln -sf libpci.so.3 %{buildroot}%{_libdir}/libpci.so
+
+%post -n libpci -p /sbin/ldconfig
+
+%postun -n libpci -p /sbin/ldconfig
+
+%docs_package
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%{_sbindir}/*
+
+%files -n libpci
+%defattr(-,root,root)
+%{_libdir}/libpci.so.*
+
+%files devel
+%defattr(-, root, root)
+%{_includedir}/pci/
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libpci.pc
+
+%changelog
--- /dev/null
+%define keepstatic 1
+Name: pcre
+Version: 8.31
+Release: 0
+License: BSD-3-Clause
+Summary: A library for Perl-compatible regular expressions
+Url: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
+Group: System/Libraries
+Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: pkg-config
+
+%description
+The PCRE library is a set of functions that implement regular
+expression pattern matching using the same syntax and semantics
+as Perl 5.
+
+%package devel
+Summary: A library for Perl-compatible regular expressions
+Group: System/Libraries
+Requires: libpcre = %{version}
+Requires: libpcrecpp = %{version}
+Requires: libpcreposix = %{version}
+Requires: libstdc++-devel
+
+%description devel
+The PCRE library is a set of functions that implement regular
+expression pattern matching using the same syntax and semantics
+as Perl 5.
+
+%package devel-static
+Summary: A library for Perl-compatible regular expressions
+Group: System/Libraries
+Requires: pcre-devel = %{version}
+
+%description devel-static
+The PCRE library is a set of functions that implement regular
+expression pattern matching using the same syntax and semantics
+as Perl 5.
+This package contains static versions of the PCRE libraries.
+
+%package -n libpcre
+Summary: A library for Perl-compatible regular expressions
+Group: System/Libraries
+Provides: %{name} = %{version}
+Obsoletes: %{name} < %{version}
+
+%description -n libpcre
+The PCRE library is a set of functions that implement regular
+expression pattern matching using the same syntax and semantics
+as Perl 5.
+
+%package -n libpcreposix
+Summary: A library for Perl-compatible regular expressions
+Group: System/Libraries
+
+%description -n libpcreposix
+The PCRE library is a set of functions that implement regular
+expression pattern matching using the same syntax and semantics
+as Perl 5.
+
+%package -n libpcrecpp
+Summary: A library for Perl-compatible regular expressions
+Group: System/Libraries
+
+%description -n libpcrecpp
+The PCRE library is a set of functions that implement regular
+expression pattern matching using the same syntax and semantics
+as Perl 5.
+
+%package doc
+Summary: A library for Perl-compatible regular expressions
+Group: System/Libraries
+BuildArch: noarch
+
+%description doc
+The PCRE library is a set of functions that implement regular
+expression pattern matching using the same syntax and semantics
+as Perl 5.
+
+%package tools
+Summary: A library for Perl-compatible regular expressions
+Group: System/Libraries
+
+%description tools
+The PCRE library is a set of functions that implement regular
+expression pattern matching using the same syntax and semantics
+as Perl 5.
+
+%prep
+%setup -q
+
+%build
+# Available JIT archs see sljit/sljitConfig.h
+autoreconf -fiv
+%configure \
+%ifarch %ix86 x86_64 %arm ppc ppc64 mips
+ --enable-jit \
+%endif
+ --enable-static \
+ --with-link-size=2 \
+ --with-match-limit=10000000 \
+ --enable-newline-is-lf \
+ --enable-utf8 \
+ --enable-unicode-properties
+make %{?_smp_mflags}
+
+
+%check
+export LANG=POSIX
+%ifarch %arm
+make test || echo make test failed
+%else
+make test
+%endif
+
+%install
+%make_install
+mkdir -p %{buildroot}/%{_defaultdocdir}
+mv %{buildroot}/usr/share/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre-doc
+rm -f %{buildroot}%{_libdir}/*.la
+
+
+%post -n libpcre -p /sbin/ldconfig
+
+%postun -n libpcre -p /sbin/ldconfig
+
+%post -n libpcrecpp -p /sbin/ldconfig
+
+%postun -n libpcrecpp -p /sbin/ldconfig
+
+%post -n libpcreposix -p /sbin/ldconfig
+
+%postun -n libpcreposix -p /sbin/ldconfig
+
+%files -n libpcre
+%license COPYING
+%{_libdir}/libpcre.so.*
+
+%files -n libpcrecpp
+%license COPYING
+%{_libdir}/libpcrecpp.so.*
+
+%files -n libpcreposix
+%license COPYING
+%{_libdir}/libpcreposix.so.*
+
+%files tools
+%license COPYING
+%{_bindir}/pcregrep
+%{_bindir}/pcretest
+%{_mandir}/man1/pcregrep.*
+%{_mandir}/man1/pcretest.*
+
+%files doc
+%doc doc/html doc/*.txt
+
+%files devel
+%{_bindir}/pcre-config
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libpcre.pc
+%{_libdir}/pkgconfig/libpcrecpp.pc
+%{_libdir}/pkgconfig/libpcreposix.pc
+%{_mandir}/man1/pcre-config.*
+%{_mandir}/man3/*.gz
+
+%files devel-static
+%{_libdir}/*.a
+
--- /dev/null
+#
+# spec file for package perl-Crypt-SSLeay
+#
+# Copyright (c) 2011 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/
+#
+
+# norootforbuild
+
+
+Name: perl-Crypt-SSLeay
+%define cpan_name Crypt-SSLeay
+Summary: OpenSSL support for LWP
+Version: 0.64
+Release: 0
+License: GPL-1.0+ or Artistic-1.0
+Group: Development/Perl
+Url: http://search.cpan.org/dist/Crypt-SSLeay/
+#Source: http://www.cpan.org/authors/id/N/NA/NANIS/Crypt-SSLeay-0.58.tar.gz
+Source: %{cpan_name}-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl-macros
+BuildRequires: perl(MIME::Base64)
+BuildRequires: openssl-devel
+Requires: perl(MIME::Base64)
+Requires: openssl
+
+%description
+This Perl module provides support for the HTTPS protocol under LWP, to
+allow an 'LWP::UserAgent' object to perform GET, HEAD and POST requests.
+Please see LWP for more information on POST requests.
+
+The 'Crypt::SSLeay' package provides 'Net::SSL', which is loaded by
+'LWP::Protocol::https' for https requests and provides the necessary SSL
+glue.
+
+This distribution also makes following deprecated modules available:
+
+ Crypt::SSLeay::CTX
+ Crypt::SSLeay::Conn
+ Crypt::SSLeay::X509
+
+Work on Crypt::SSLeay has been continued only to provide https support for
+the LWP (libwww-perl) libraries.
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+### rpmlint
+# wrong-file-end-of-line-encoding
+%{__perl} -pi -e 's|\r\n|\n|' README
+
+%build
+export CRYPT_SSLEAY_DEFAULT=/usr
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} %{?_smp_mflags}
+
+%check
+%{__make} test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+
+%files -f %{name}.files
+%defattr(-,root,root,-)
+
+%changelog
--- /dev/null
+#
+# spec file for package perl-Devel-Symdump
+#
+# Copyright (c) 2011 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: perl-Devel-Symdump
+Version: 2.08
+Release: 11
+License: Artistic-1.0
+%define cpan_name Devel-Symdump
+Summary: Dump symbol names or the symbol table
+Url: http://cpan.org/modules/by-module/Devel/
+Group: Development/Libraries/Perl
+Source: %{cpan_name}-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod) >= 1.00
+BuildRequires: perl-macros
+Requires: perl(Carp)
+
+%description
+%{cpan_name} module for perl
+This little package serves to access the symbol table of perl.
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+
+%build
+CFLAGS="%{optflags}" perl Makefile.PL
+make %{?_smp_mflags}
+
+%check
+make test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
+# normally you only need to check for doc files
+%defattr(-,root,root)
+%doc ChangeLog SIGNATURE
+
+%changelog
--- /dev/null
+%bcond_with pod
+
+Name: perl-Error
+Version: 0.17017
+Release: 7
+License: GPL-1.0+ or Artistic-1.0
+%define cpan_name Error
+Summary: Error/exception handling in an OO-ish way
+Url: http://search.cpan.org/dist/Error/
+Group: Development/Libraries/Perl
+#Source: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-0.17016.tar.gz
+Source: %{cpan_name}-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl(Module::Build)
+BuildRequires: perl-macros
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+%if %{with pod}
+BuildRequires: perl(Test::Pod) >= 1.14
+BuildRequires: perl(Test::Pod::Coverage) >= 1.04
+%endif
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(warnings)
+Requires: perl(Scalar::Util)
+Requires: perl(warnings)
+
+%description
+The 'Error' package provides two interfaces. Firstly 'Error' provides a
+procedural interface to exception handling. Secondly 'Error' is a base
+class for errors/exceptions that can either be thrown, for subsequent
+catch, or can simply be recorded.
+
+Errors in the class 'Error' should not be thrown directly, but the user
+should throw errors from a sub-class of 'Error'.
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+
+%build
+perl Build.PL installdirs=vendor
+./Build build flags=%{?_smp_mflags}
+
+%check
+./Build test
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+%perl_gen_filelist
+
+%files -f %{name}.files
+%defattr(-,root,root,-)
+%doc ChangeLog examples README
+
+%changelog
--- /dev/null
+Name: perl-HTML-Parser
+Version: 3.69
+Release: 0
+License: GPL-2.0+ or Artistic
+Summary: Perl module for parsing HTML
+Url: http://search.cpan.org/dist/HTML-Parser/
+Group: Development/Libraries
+Source0: HTML-Parser-%{version}.tar.gz
+BuildRequires: perl(HTML::Tagset) >= 3.03
+Requires: perl(HTML::Tagset) >= 3.03
+
+%description
+The HTML-Parser module for perl to parse and extract information from
+HTML documents, including the HTML::Entities, HTML::HeadParser,
+HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules.
+
+%prep
+%setup -q -n HTML-Parser-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%docs_package
+
+%files -f %{name}.files
--- /dev/null
+Name: perl-HTML-Tagset
+Version: 3.20
+Release: 0
+License: GPL-2.0+ or Artistic
+Summary: HTML::Tagset - data tables useful in parsing HTML
+Url: http://search.cpan.org/dist/HTML-Tagset/
+Group: Development/Libraries
+Source0: HTML-Tagset-%{version}.tar.gz
+BuildRequires: perl
+BuildArch: noarch
+
+%description
+This module contains several data tables useful in various kinds of
+HTML parsing operations, such as tag and entity names.
+
+%prep
+%setup -q -n HTML-Tagset-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
--- /dev/null
+#
+# spec file for package perl-Net-DBus
+#
+# Copyright (c) 2011 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: perl-Net-DBus
+Version: 1.0.0
+Release: 1
+License: GPL-2.0+
+%define cpan_name Net-DBus
+Summary: Perl extension for the DBus message system
+Url: http://search.cpan.org/dist/Net-DBus/
+Group: Development/Libraries
+Source: http://www.cpan.org/authors/id/D/DA/DANBERR/%{cpan_name}-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+BuildRequires: perl(XML::Twig)
+BuildRequires: perl-macros
+# MANUAL
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(pkg-config)
+Requires: perl(XML::Twig)
+
+%description
+Net::DBus provides a Perl API for the DBus message system. The DBus Perl
+interface is currently operating against the 0.32 development version of
+DBus, but should work with later versions too, providing the API changes
+have not been too drastic.
+
+Users of this package are either typically, service providers in which case
+the the Net::DBus::Service manpage and the Net::DBus::Object manpage
+modules are of most relevance, or are client consumers, in which case the
+Net::DBus::RemoteService manpage and the Net::DBus::RemoteObject manpage
+are of most relevance.
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%check
+make test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc AUTHORS CHANGES examples LICENSE Net-DBus.spec README
+
+%changelog
--- /dev/null
+#
+# spec file for package perl-Pod-Coverage
+#
+# Copyright (c) 2012 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: perl-Pod-Coverage
+Version: 0.22
+Release: 0
+License: GPL-1.0+ or Artistic-1.0
+%define cpan_name Pod-Coverage
+Summary: Checks if the documentation of a module is comprehensive
+Url: http://search.cpan.org/dist/Pod-Coverage/
+Group: Development/Libraries/Perl
+Source: http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl(Devel::Symdump) >= 2.01
+BuildRequires: perl-macros
+Requires: perl(Devel::Symdump) >= 2.01
+BuildArch: noarch
+
+%description
+Developers hate writing documentation. They'd hate it even more if their
+computer tattled on them, but maybe they'll be even more thankful in the
+long run. Even if not, _perlmodstyle_ tells you to, so you must obey.
+
+This module provides a mechanism for determining if the pod for a given
+module is comprehensive.
+
+It expects to find either a '=head(n>1)' or an '=item' block documenting a
+subroutine.
+
+Consider: # an imaginary Foo.pm package Foo;
+
+ =item foo
+
+ The foo sub
+
+ = cut
+
+ sub foo {}
+ sub bar {}
+
+ 1;
+ __END__
+
+In this example 'Foo::foo' is covered, but 'Foo::bar' is not, so the 'Foo'
+package is only 50% (0.5) covered
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%check
+make test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
+%defattr(-,root,root,755)
+
+%changelog
--- /dev/null
+#
+# spec file for package perl-Switch
+#
+# Copyright (c) 2011 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: perl-Switch
+Version: 2.16
+Release: 4
+License: GPL-1.0+ or Artistic-1.0
+%define cpan_name Switch
+Summary: A switch statement for Perl
+Url: http://search.cpan.org/dist/Switch/
+Group: Development/Libraries
+Source: http://www.cpan.org/authors/id/R/RG/RGARCIA/%{cpan_name}-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl-macros
+BuildArch: noarch
+
+%description
+The Switch.pm module implements a generalized case mechanism that covers
+most (but not all) of the numerous possible combinations of switch and case
+values described above.
+
+The module augments the standard Perl syntax with two new control
+statements: 'switch' and 'case'. The 'switch' statement takes a single
+scalar argument of any type, specified in parentheses. 'switch' stores this
+value as the current switch value in a (localized) control variable. The
+value is followed by a block which may contain one or more Perl statements
+(including the 'case' statement described below). The block is
+unconditionally executed once the switch value has been cached.
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%check
+make test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
+%defattr(-,root,root,755)
+
+%changelog
--- /dev/null
+#
+# spec file for package perl-Test-Pod-Coverage
+#
+# Copyright (c) 2011 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: perl-Test-Pod-Coverage
+Version: 1.08
+Release: 0
+License: Artistic-1.0 or GPL-1.0+
+%define cpan_name Test-Pod-Coverage
+Summary: Test::Pod::Coverage Perl module
+Url: http://search.cpan.org/dist/Test-Pod-Coverage/
+Group: Development/Libraries/Perl
+Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-Coverage-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl(Pod::Coverage)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl-macros
+Requires: perl(Pod::Coverage)
+BuildArch: noarch
+
+%description
+Test::Pod::Coverage Perl module
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%check
+make test
+
+%install
+%perl_make_install
+# do not perl_process_packlist (noarch)
+# remove .packlist file
+rm -rf %{buildroot}%perl_vendorarch
+# remove perllocal.pod file
+rm -rf %{buildroot}%perl_archlib
+%perl_gen_filelist
+
+%files -f %{name}.files
+%defattr(-,root,root,-)
+
+%changelog
--- /dev/null
+#
+# spec file for package perl-Test-Pod
+#
+# Copyright (c) 2011 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: perl-Test-Pod
+Version: 1.45
+Release: 1
+License: Artistic-2.0 or GPL-2.0
+%define cpan_name Test-Pod
+Summary: check for POD errors in files
+Url: http://search.cpan.org/dist/Test-Pod/
+Group: Development/Libraries/Perl
+Source: http://www.cpan.org/authors/id/D/DW/DWHEELER/%{cpan_name}-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(Pod::Simple) >= 3.05
+BuildRequires: perl(Test::More) >= 0.62
+Requires: perl(File::Spec)
+Requires: perl(Pod::Simple) >= 3.05
+Requires: perl(Test::Builder::Tester) >= 1.02
+Requires: perl(Test::More) >= 0.62
+BuildArch: noarch
+
+%description
+Check POD files for errors or warnings in a test file, using 'Pod::Simple'
+to do the heavy lifting.
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+
+%build
+perl Build.PL installdirs=vendor
+./Build build flags=%{?_smp_mflags}
+
+%check
+./Build test
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+%perl_gen_filelist
+
+%files -f %{name}.files
+%defattr(644,root,root,755)
+
+%changelog
--- /dev/null
+#
+
+Name: perl-TimeDate
+Version: 1.20
+Release: 1
+Summary: A Perl module for time and date manipulation
+
+License: GPL+ or Artistic
+Url: http://search.cpan.org/dist/TimeDate/
+Group: Development/Libraries
+Source0: http://www.cpan.org/authors/id/G/GB/GBARR/TimeDate-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+BuildRequires: perl(ExtUtils::MakeMaker)
+Requires: perl
+BuildArch: noarch
+
+%description
+This module includes a number of smaller modules suited for
+manipulation of time and date strings with Perl. In particular, the
+Date::Format and Date::Parse modules can display and read times and
+dates in various formats, providing a more reliable interface to
+textual representations of points in time.
+
+%prep
+%setup -q -n TimeDate-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%check
+make test
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+%{_fixperms} %{buildroot}/*
+
+
+%files
+%defattr(-,root,root,-)
+%{perl_vendorlib}/Date/*
+%{perl_vendorlib}/Time/*
+%doc %{_mandir}/man3/*.3*
+
+
--- /dev/null
+Name: perl-URI
+Version: 1.60
+Release: 1
+License: GPL-2.0+ or Artistic
+Summary: A Perl module implementing URI parsing and manipulation
+Url: http://search.cpan.org/dist/URI/
+Group: Development/Libraries
+Source0: URI-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl(MIME::Base64)
+BuildArch: noarch
+
+%description
+This module implements the URI class. Objects of this class represent
+"Uniform Resource Identifier references" as specified in RFC 2396 (and
+updated by RFC 2732).
+
+%prep
+%setup -q -n URI-%{version}
+chmod 644 uri-test
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
--- /dev/null
+#
+# - WWW::Curl -
+# This spec file was automatically generated by cpan2rpm [ver: 2.028]
+# The following arguments were used:
+# --version 4.05 WWW-Curl
+# For more information on cpan2rpm please visit: http://perl.arix.com/
+#
+
+%define pkgname WWW-Curl
+%define filelist %{pkgname}-%{version}-filelist
+%define NVR %{pkgname}-%{version}-%{release}
+%define maketest 0
+
+name: perl-WWW-Curl
+summary: WWW::Curl is a Perl extension interface for libcurl
+version: 4.05
+release: 4.1
+vendor: szbalint@cpan.org
+packager: Arix International <cpan2rpm@arix.com>
+license: Artistic
+group: Applications/CPAN
+url: http://www.cpan.org
+buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n)
+BuildRequires: pkgconfig(libcurl)
+BuildRequires: pkgconfig(libcrypto)
+BuildRequires: pkgconfig(libcares)
+Requires: libcurl
+BuildRequires: perl-Test-Pod-Coverage
+prefix: %(echo %{_prefix})
+source: %{name}-%{version}.tar.bz2
+
+%description
+This module provides a Perl interface to libcurl. It is not intended to be a standalone module
+and because of this, the main libcurl documentation should be consulted for API details at
+L<http://curl.haxx.se>. The documentation you're reading right now only contains the Perl specific
+details, some sample code and the differences between the C API and the Perl one.
+
+#
+# This package was generated automatically with the cpan2rpm
+# utility. To get this software or for more information
+# please visit: http://perl.arix.com/
+#
+
+%prep
+%setup
+chmod -R u+w %{_builddir}/%{name}-%{version}
+
+%build
+grep -rsl '^#!.*perl' . |
+grep -v '.bak$' |xargs --no-run-if-empty \
+%__perl -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)'
+CFLAGS="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL `%{__perl} -MExtUtils::MakeMaker -e ' print qq|PREFIX=%{buildroot}%{_prefix}| if \$ExtUtils::MakeMaker::VERSION =~ /5\.9[1-6]|6\.0[0-5]/ '`
+%{__make}
+%if %maketest
+%{__make} test
+%endif
+
+%install
+[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
+
+%{makeinstall} `%{__perl} -MExtUtils::MakeMaker -e ' print \$ExtUtils::MakeMaker::VERSION <= 6.05 ? qq|PREFIX=%{buildroot}%{_prefix}| : qq|DESTDIR=%{buildroot}| '`
+
+cmd=/usr/share/spec-helper/compress_files
+[ -x $cmd ] || cmd=/usr/lib/rpm/brp-compress
+[ -x $cmd ] && $cmd
+
+# SuSE Linux
+if [ -e /etc/SuSE-release -o -e /etc/UnitedLinux-release ]
+then
+ %{__mkdir_p} %{buildroot}/var/adm/perl-modules
+ %{__cat} `find %{buildroot} -name "perllocal.pod"` \
+ | %{__sed} -e s+%{buildroot}++g \
+ > %{buildroot}/var/adm/perl-modules/%{name}
+fi
+
+# remove special files
+find %{buildroot} -name "perllocal.pod" \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ |xargs -i rm -f {}
+
+# no empty directories
+find %{buildroot}%{_prefix} \
+ -type d -depth \
+ -exec rmdir {} \; 2>/dev/null
+
+%{__perl} -MFile::Find -le '
+ find({ wanted => \&wanted, no_chdir => 1}, "%{buildroot}");
+ print "%doc README.Win32 template inc Changes README LICENSE";
+ for my $x (sort @dirs, @files) {
+ push @ret, $x unless indirs($x);
+ }
+ print join "\n", sort @ret;
+
+ sub wanted {
+ return if /auto$/;
+
+ local $_ = $File::Find::name;
+ my $f = $_; s|^\Q%{buildroot}\E||;
+ return unless length;
+ return $files[@files] = $_ if -f $f;
+
+ $d = $_;
+ /\Q$d\E/ && return for reverse sort @INC;
+ $d =~ /\Q$_\E/ && return
+ for qw|/etc %_prefix/man %_prefix/bin %_prefix/share|;
+
+ $dirs[@dirs] = $_;
+ }
+
+ sub indirs {
+ my $x = shift;
+ $x =~ /^\Q$_\E\// && $x ne $_ && return 1 for @dirs;
+ }
+ ' > %filelist
+
+[ -z %filelist ] && {
+ echo "ERROR: empty %files listing"
+ exit -1
+ }
+
+%clean
+[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
+
+%files -f %filelist
+%defattr(-,root,root)
+
+%changelog
+* Thu Dec 4 2008 root@vsltsus103
+- Initial build.
--- /dev/null
+#
+# spec file for package perl-X11-Protocol
+#
+# Copyright (c) 2011 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: perl-X11-Protocol
+Version: 0.56
+Release: 1
+# MANUAL
+License: GPL-1.0+ or Artistic-1.0
+%define cpan_name X11-Protocol
+Summary: Perl module for the X Window System Protocol, version 11
+Url: http://search.cpan.org/dist/X11-Protocol/
+Group: Development/Libraries/Perl
+Source: http://www.cpan.org/authors/id/S/SM/SMCCAM/%{cpan_name}-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+
+%description
+X11::Protocol is a client-side interface to the X11 Protocol (see X(1) for
+information about X11), allowing perl programs to display windows and
+graphics on X11 servers.
+
+A full description of the protocol is beyond the scope of this
+documentation; for complete information, see the _X Window System Protocol,
+X Version 11_, available as Postscript or *roff source from
+'ftp://ftp.x.org', or _Volume 0: X Protocol Reference Manual_ of O'Reilly &
+Associates's series of books about X (ISBN 1-56592-083-X,
+'http://www.oreilly.com'), which contains most of the same information.
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
+%defattr(-,root,root,755)
+
+%changelog
--- /dev/null
+Name: perl-XML-Parser
+%define cpan_name XML-Parser
+Summary: A perl module for parsing XML documents
+Version: 2.41
+Release: 9
+License: GPL-1.0+ or Artistic-1.0
+Group: Development/Libraries/Perl
+AutoReqProv: on
+Url: http://www.cpan.org/modules/by-module/XML/
+Source: %{cpan_name}-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: libexpat-devel
+
+%description
+This module provides ways to parse XML documents. It is built on top of
+ XML::Parser::Expat, which is a lower level interface to James Clark's expat
+ library. Each call to one of the parsing methods creates a new instance of
+ XML::Parser::Expat which is then used to parse the document. Expat options may
+ be provided when the XML::Parser object is created. These options are then
+ passed on to the Expat object on each parse call. They can also be given as
+ extra arguments to the parse methods, in which case they override options
+ given at XML::Parser creation time.
+
+The behavior of the parser is controlled either by "Style" and/or "Handlers"
+ options, or by "setHandlers" method. These all provide mechanisms for
+ XML::Parser to set the handlers needed by XML::Parser::Expat. If neither
+ Style nor Handlers are specified, then parsing just checks the document
+ for being well-formed.
+
+When underlying handlers get called, they receive as their first parameter
+ the Expat object, not the Parser object.
+
+You will find examples in
+/usr/share/doc/packages/perl-XML-Parser/samples. For documentation
+read the XML::Parser and XML::Parser::Expat man pages.
+
+
+%prep
+%setup -n XML-Parser-%{version} -q
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
+%{__make}
+
+%check
+%{__make} test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.files
+%defattr(0644,root,root,0755)
+
+%changelog
--- /dev/null
+Name: perl-XML-Simple
+Version: 2.18
+Release: 0
+License: Artistic-1.0
+Summary: Easy API to read/write XML (Perl module)
+Url: http://cpan.org/modules/by-module/XML/
+Group: Development/Libraries/Perl
+Source: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-Simple-%{version}.tar.gz
+BuildRequires: perl-XML-Parser
+BuildRequires: perl-macros
+Requires: perl-XML-Parser
+
+%description
+XML::Simple - Easy API to read/write XML (esp config files)
+
+%prep
+%setup -q -n XML-Simple-%{version}
+
+%build
+perl Makefile.PL
+make
+
+%check
+make test
+
+%install
+%perl_make_install
+%perl_process_packlist
+
+%files
+%defattr(-,root,root)
+%doc %{_mandir}/man?/*
+%{perl_vendorlib}/XML
+%{perl_vendorarch}/auto/XML
+
+%changelog
--- /dev/null
+#
+# spec file for package perl-XML-Twig
+#
+# Copyright (c) 2011 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: perl-XML-Twig
+Version: 3.39
+Release: 1
+License: GPL-1.0+ or Artistic-1.0
+Summary: Tree interface to XML documents
+Url: http://search.cpan.org/dist/XML::Twig
+Group: Development/Libraries/Perl
+# http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-Twig-%{version}.tar.gz
+Source: XML-Twig-%{version}.tar.gz
+BuildRequires: perl-XML-Parser
+BuildRequires: perl-macros
+Requires: perl-XML-Parser
+
+%description
+XML::Twig is (yet another!) XML transformation module.
+
+Its strong points: can be used to process huge documents while still
+being in tree mode; not bound by DOM or SAX, so it is very perlish and
+offers a very comprehensive set of methods; simple to use; DWIMs as
+much as possible
+
+What it doesn't offer: full SAX support (it can export SAX, but only
+reads XML), full XPath support (unless you use XML::Twig::XPath), nor
+DOM support.
+
+Other drawbacks: it is a big module, and with over 500 methods
+available it can be a bit overwhelming. A good starting point is the
+tutorial at http://xmltwig.com/xmltwig/tutorial/index.html. In fact the
+whole XML::Twig page at http://xmltwig.com/xmltwig/ has plenty of
+information to get you started with XML::Twig
+
+%prep
+%setup -q -n XML-Twig-%{version}
+
+%build
+perl Makefile.PL
+make
+
+%check
+make test
+
+%install
+%perl_make_install
+%perl_process_packlist
+
+%files
+%defattr(-,root,root)
+%dir %{perl_vendorlib}/XML
+%{perl_vendorlib}/XML/Twig.pm
+%{perl_vendorlib}/XML/Twig
+%{_bindir}/xml_grep
+%{_bindir}/xml_merge
+%{_bindir}/xml_pp
+%{_bindir}/xml_spellcheck
+%{_bindir}/xml_split
+%doc %{_mandir}/man1/xml_*.1%{ext_man}
+%doc %{_mandir}/man3/XML::Twig.%{perl_man3ext}%{ext_man}
+
+%changelog
--- /dev/null
+# This spec file originally comes from openSUSE, with copyright notice below:
+#
+# Copyright (c) 2011 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.
+
+Name: perl-YAML
+Version: 0.84
+Release: 0
+License: GPL-2.0+ or Artistic-1.0
+%define cpan_name YAML
+Summary: YAML Ain't Markup Language (tm)
+Url: http://search.cpan.org/dist/YAML/
+Group: Development/Libraries/Perl
+Source: %{cpan_name}-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl-macros
+BuildArch: noarch
+
+%description
+The YAML.pm module implements a YAML Loader and Dumper based on the YAML
+1.0 specification. the http://www.yaml.org/spec/ manpage
+
+YAML is a generic data serialization language that is optimized for human
+readability. It can be used to express the data structures of most modern
+programming languages. (Including Perl!!!)
+
+For information on the YAML syntax, please refer to the YAML specification.
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
--- /dev/null
+Name: perl-gettext
+Version: 1.05
+Release: 151
+License: Artistic-1.0 ; GPL-2.0+
+%define cpan_name gettext
+Summary: Message handling functions
+Url: http://search.cpan.org/dist/gettext/
+Group: Development/Libraries/Perl
+Source: http://www.cpan.org/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz
+BuildRequires: perl
+
+%description
+The gettext module permits access from perl to the gettext() family of
+functions for retrieving message strings from databases constructed to
+internationalize software.
+
+gettext(), dgettext(), and dcgettext() attempt to retrieve a string
+matching their 'msgid' parameter within the context of the current locale.
+dcgettext() takes the message's category and the text domain as parameters
+while dcgettext() defaults to the LC_MESSAGES category and gettext()
+defaults to LC_MESSAGES and uses the current text domain. If the string is
+not found in the database, then 'msgid' is returned.
+
+textdomain() sets the current text domain and returns the previously active
+domain.
+
+_bindtextdomain(domain, dirname)_ instructs the retrieval functions to look
+for the databases belonging to domain 'domain' in the directory 'dirname'
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%check
+make test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
+%defattr(644,root,root,755)
+
+%changelog
--- /dev/null
+Name: perl-libwww-perl
+Version: 5.836
+Release: 0
+License: GPL-2.0+ or Artistic
+Summary: A Perl interface to the World-Wide Web
+Url: http://search.cpan.org/dist/libwww-perl/
+Group: Development/Libraries
+Source0: libwww-perl-%{version}.tar.gz
+BuildRequires: perl(Compress::Zlib)
+BuildRequires: perl(URI)
+Requires: perl(Compress::Zlib)
+Requires: perl-HTML-Parser >= 3.33
+BuildArch: noarch
+
+%description
+The libwww-perl collection is a set of Perl modules which provides a
+simple and consistent application programming interface to the
+World-Wide Web. The main focus of the library is to provide classes
+and functions that allow you to write WWW clients. The library also
+contain modules that are of more general use and even classes that
+help you implement simple HTTP servers.
+
+%prep
+%setup -q -n libwww-perl-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
--- /dev/null
+Name: perl
+Summary: The Perl interpreter
+License: Artistic-1.0 or GPL-2.0+
+Group: Platform Development/Perl
+Version: 5.16.3
+Release: 0
+%define pversion 5.16.3
+Url: http://www.perl.org/
+Source: perl-%{version}.tar.bz2
+Source1: %name-rpmlintrc
+Source2: macros.perl
+Source3: README.macros
+Source4: baselibs.conf
+BuildRequires: db4-devel
+BuildRequires: gdbm-devel
+BuildRequires: bzip2-devel
+BuildRequires: ncurses-devel
+BuildRequires: zlib-devel
+#
+Provides: /bin/perl
+Provides: perl-500
+Provides: perl-macros
+Provides: perl(:MODULE_COMPAT_%pversion)
+Obsoletes: perl-macros
+Provides: perl-base
+Obsoletes: perl-base
+Provides: perl-Filter-Simple
+Provides: perl-I18N-LangTags
+Provides: perl-MIME-Base64
+Provides: perl-Storable
+Provides: perl-Test-Simple = 0.98-%{release}
+Obsoletes: perl-Filter-Simple
+Obsoletes: perl-I18N-LangTags
+Obsoletes: perl-MIME-Base64
+Obsoletes: perl-Storable
+Obsoletes: perl-Test-Simple < 0.98
+Provides: perl-Text-Balanced
+Provides: perl-Time-HiRes
+Provides: perl-libnet
+Obsoletes: perl-Text-Balanced
+Obsoletes: perl-Time-HiRes
+Obsoletes: perl-libnet
+Provides: perl-Compress-Raw-Zlib
+Provides: perl-Compress-Zlib
+Obsoletes: perl-Compress-Raw-Zlib
+Obsoletes: perl-Compress-Zlib
+Provides: perl-IO-Compress-Base
+Provides: perl-IO-Compress-Zlib
+Provides: perl-IO-Zlib
+Obsoletes: perl-IO-Compress-Base
+Obsoletes: perl-IO-Compress-Zlib
+Obsoletes: perl-IO-Zlib
+Provides: perl-Archive-Tar
+Provides: perl-Module-Build
+# 0.39 is smaller than 0.3601, but this is what spec files require
+Provides: perl(Module::Build) = 0.3900
+Obsoletes: perl-Archive-Tar
+Obsoletes: perl-Module-Build
+Provides: perl-Locale-Maketext-Simple
+Provides: perl-Module-Pluggable
+Obsoletes: perl-Locale-Maketext-Simple
+Obsoletes: perl-Module-Pluggable
+Provides: perl-Pod-Escapes
+Provides: perl-Pod-Simple
+Obsoletes: perl-Pod-Escapes
+Obsoletes: perl-Pod-Simple
+Provides: perl-ExtUtils-ParseXS
+Provides: perl-version
+Obsoletes: perl-ExtUtils-ParseXS
+Obsoletes: perl-version
+
+%description
+perl - Practical Extraction and Report Language
+
+Perl is optimized for scanning arbitrary text files, extracting
+information from those text files, and printing reports based on that
+information. It is also good for many system management tasks. Perl is
+intended to be practical (easy to use, efficient, and complete) rather
+than beautiful (tiny, elegant, and minimal).
+
+Some of the modules available on CPAN can be found in the "perl"
+series.
+
+
+%package doc
+Summary: Perl Documentation
+Group: Platform Development/Perl
+Requires: perl = %{version}
+Provides: perl:/usr/share/man/man3/CORE.3pm.gz
+BuildArch: noarch
+
+%description doc
+Perl man pages and pod files.
+
+%prep
+%setup -q -n perl-%{version}
+cp -p %{S:3} .
+
+%build
+RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -e "s/--param=ssp-buffer-size=32//g" )
+export RPM_OPT_FLAGS
+cp -a lib savelib
+export LD_AS_NEEDED=0
+export BZIP2_LIB=%{_libdir}
+export BZIP2_INCLUDE=%{_includedir}
+export BUILD_BZIP2=0
+options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe'"
+# always use glibc's setenv
+options="$options -Accflags='-DPERL_USE_SAFE_PUTENV'"
+options="$options -Dotherlibdirs=/usr/lib/perl5/site_perl"
+chmod 755 ./configure.gnu
+./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open -Duseshrplib=\'true\' $options
+make %{?_smp_mflags}
+cp -p libperl.so savelibperl.so
+cp -p lib/Config.pm saveConfig.pm
+cp -p lib/Config_heavy.pl saveConfig_heavy.pl
+make clean > /dev/null
+make clobber
+rm -rf lib
+mv savelib lib
+./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open $options
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+cp -a $RPM_BUILD_ROOT/usr/lib/perl5/site_perl $RPM_BUILD_ROOT/usr/lib/perl5/vendor_perl
+cpa=`echo $RPM_BUILD_ROOT/usr/lib/perl5/*/*/CORE | sed -e 's@/CORE$@@'`
+cp=`echo "$cpa" | sed -e 's@/[^/]*$@@'`
+vpa=`echo $cpa | sed -e 's@/perl5/@/perl5/vendor_perl/@'`
+vp=`echo "$vpa" | sed -e 's@/[^/]*$@@'`
+install -d $vp/auto
+install -d $vpa/auto
+install -m 555 savelibperl.so $cpa/CORE/libperl.so
+install -m 444 saveConfig.pm $cpa/Config.pm
+install -m 444 saveConfig_heavy.pl $cpa/Config_heavy.pl
+# install macros.perl file
+install -D -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.perl
+pushd /usr/include
+( rpm -ql glibc-devel | fgrep '.h'
+ find /usr/include/asm/ -name \*.h
+ find /usr/include/asm-generic -name \*.h
+ find /usr/include/linux -name \*.h
+) | while read f; do
+ $RPM_BUILD_ROOT/usr/bin/perl -I$cp -I$cpa $RPM_BUILD_ROOT/usr/bin/h2ph -d $vpa ${f/\/usr\/include\//} || :
+done
+popd
+d="`gcc -print-file-name=include`"
+test -f "$d/stdarg.h" && (cd $d ; $RPM_BUILD_ROOT/usr/bin/perl -I$cp -I$cpa $RPM_BUILD_ROOT/usr/bin/h2ph -d $vpa stdarg.h stddef.h float.h)
+# remove broken pm - we don't have the module
+rm $RPM_BUILD_ROOT/usr/lib/perl5/*/Pod/Perldoc/ToTk.pm
+# we don't need this in here
+rm $RPM_BUILD_ROOT/usr/lib/perl5/*/*/CORE/libperl.a
+#touch $RPM_BUILD_ROOT/usr/share/man/man3/perllocal.3pm
+#touch $cpa/perllocal.pod
+# test CVE-2007-5116
+$RPM_BUILD_ROOT/usr/bin/perl -e '$r=chr(128)."\\x{100}";/$r/'
+# test perl-regexp-refoverflow.diff
+$RPM_BUILD_ROOT/usr/bin/perl -e '/\6666666666/'
+cat << EOF > perl-base-filelist
+/usr/lib/perl5/%pversion/B/Deparse.pm
+/usr/lib/perl5/%pversion/Carp.pm
+/usr/lib/perl5/%pversion/Carp/
+/usr/lib/perl5/%pversion/Class/
+/usr/lib/perl5/%pversion/Config/
+/usr/lib/perl5/%pversion/Digest.pm
+/usr/lib/perl5/%pversion/Digest/
+/usr/lib/perl5/%pversion/Exporter.pm
+/usr/lib/perl5/%pversion/Exporter/
+/usr/lib/perl5/%pversion/File/
+/usr/lib/perl5/%pversion/Getopt/
+/usr/lib/perl5/%pversion/IPC/
+/usr/lib/perl5/%pversion/Text/
+/usr/lib/perl5/%pversion/Tie/Hash.pm
+/usr/lib/perl5/%pversion/XSLoader.pm
+/usr/lib/perl5/%pversion/warnings.pm
+/usr/lib/perl5/%pversion/warnings/
+/usr/lib/perl5/%pversion/AutoLoader.pm
+/usr/lib/perl5/%pversion/FileHandle.pm
+/usr/lib/perl5/%pversion/SelectSaver.pm
+/usr/lib/perl5/%pversion/Symbol.pm
+/usr/lib/perl5/%pversion/base.pm
+/usr/lib/perl5/%pversion/bytes.pm
+/usr/lib/perl5/%pversion/bytes_heavy.pl
+/usr/lib/perl5/%pversion/constant.pm
+/usr/lib/perl5/%pversion/fields.pm
+/usr/lib/perl5/%pversion/feature.pm
+/usr/lib/perl5/%pversion/integer.pm
+/usr/lib/perl5/%pversion/locale.pm
+/usr/lib/perl5/%pversion/overload.pm
+/usr/lib/perl5/%pversion/overloading.pm
+/usr/lib/perl5/%pversion/strict.pm
+/usr/lib/perl5/%pversion/unicore/Heavy.pl
+/usr/lib/perl5/%pversion/utf8.pm
+/usr/lib/perl5/%pversion/utf8_heavy.pl
+/usr/lib/perl5/%pversion/vars.pm
+/usr/lib/perl5/%pversion/version.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/Data/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/Digest/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/File/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/List/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/Scalar/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Dir.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/File.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Handle.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Pipe.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Poll.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Seekable.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Select.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Socket.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Socket/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/B.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/Config.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/Config_heavy.pl
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/Cwd.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/DynaLoader.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/Errno.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/Fcntl.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/POSIX.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/Socket.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/attributes.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Data/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Digest/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Fcntl/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/File/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/IO/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/List/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Cwd/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Socket/
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX/POSIX.bs
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX/POSIX.so
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/lib.pm
+/usr/lib/perl5/%pversion/*-linux-thread-multi*/re.pm
+EOF
+
+
+
+%files -f perl-base-filelist
+%defattr(-,root,root)
+%dir /usr/lib/perl5
+%dir /usr/lib/perl5/%pversion
+%dir /usr/lib/perl5/%pversion/B
+%dir /usr/lib/perl5/%pversion/*-linux-thread-multi*
+%dir /usr/lib/perl5/%pversion/*-linux-thread-multi*/auto
+%dir /usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX
+%config %{_sysconfdir}/rpm/macros.perl
+/usr/lib/perl5/*
+/usr/bin/*
+
+%files doc
+%defattr(-,root,root)
+%doc README.macros
+%exclude /usr/lib/perl5/*/pod/perldiag.pod
+%doc /usr/lib/perl5/*/pod
+%doc %{_mandir}/man?/*
+
+%changelog
--- /dev/null
+Name: pims-ipc
+Summary: library for PIMs IPC
+Version: 0.0.28
+Release: 1
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(libsystemd-daemon)
+BuildRequires: pkgconfig(libzmq)
+
+%description
+library for PIMs IPC
+
+%package devel
+Summary: DB library for calendar
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+library for PIMs IPC (developement files)
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest pims-ipc.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libpims-ipc.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/pims-ipc/*.h
+%{_libdir}/*.so
+%{_libdir}/pims_ipc_test
+%{_libdir}/pkgconfig/pims-ipc.pc
--- /dev/null
+Name: pixman
+Version: 0.28.2
+Release: 0
+License: MIT
+Summary: Pixel manipulation library
+Url: http://www.x.org/
+Group: Graphics/Libraries
+Source: %{name}-%{version}.tar.gz
+Source1: baselibs.conf
+BuildRequires: pkgconfig(libpng12)
+
+%description
+The pixel-manipulation library for X and cairo.
+
+%package devel
+Summary: Development components for the pixman library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+The pixel-manipulation library for X and cairo.
+
+Development components for the pixman library.
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-arm-iwmmxt
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libpixman-1*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/pixman-1
+%{_includedir}/pixman-1/pixman.h
+%{_includedir}/pixman-1/pixman-version.h
+%{_libdir}/libpixman-1*.so
+%{_libdir}/pkgconfig/pixman-1.pc
+
--- /dev/null
+Name: pkg-config
+Version: 0.28
+Release: 0
+Summary: A library management system
+License: GPL-2.0+
+Group: Base/Tools
+Url: http://pkgconfig.freedesktop.org/
+Source: http://pkgconfig.freedesktop.org/releases/%{name}-%{version}.tar.gz
+Provides: pkgconfig = %{version}
+# pkg-config has a virtual internal pkg-config.pc file, so we should provide it
+Provides: pkgconfig(pkg-config) = %{version}
+
+%description
+The pkg-config program is used to retrieve information about installed
+libraries in the system. It is typically used to compile and link
+against one or more libraries.
+
+%prep
+%setup -q
+
+%build
+%configure\
+ --with-internal-glib \
+%if "%{_lib}" == "lib"
+ --with-pc_path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:%{_libdir}/pkgconfig:%{_datadir}/pkgconfig:/opt/kde3/%{_lib}/pkgconfig
+%else
+ --with-pc_path=/usr/local/%{_lib}/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:%{_libdir}/pkgconfig:%{_datadir}/pkgconfig:/opt/kde3/%{_lib}/pkgconfig
+%endif
+make %{?_smp_mflags}
+
+%install
+%make_install
+rm %{buildroot}%{_datadir}/doc/pkg-config/pkg-config-guide.html
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/pkg-config
+%{_bindir}/*-pkg-config
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/pkg.m4
+
+%docs_package
+
+%changelog
--- /dev/null
+Name: pkgmgr-info
+Summary: Packager Manager infomation api for package
+Version: 0.0.110
+Release: 1
+Group: Application Framework/Package Management
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(db-util)
+BuildRequires:pkgconfig(libxml-2.0)
+
+%description
+Packager Manager infomation api for packaging
+
+%package devel
+Summary: Packager Manager infomation api (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description devel
+Packager Manager infomation api (devel)
+
+%package parser
+Summary: Library for manifest parser
+Group: Application Framework/Package Management
+Requires: %{name} = %{version}-%{release}
+
+%description parser
+Library for manifest parser
+
+%package parser-devel
+Summary: Dev package for libpkgmgr-parser
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description parser-devel
+Dev package for libpkgmgr-parser
+
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post
+/sbin/ldconfig
+
+mkdir -p /opt/usr/apps/tmp
+chown 5100:5100 /opt/usr/apps/tmp
+chmod 771 /opt/usr/apps/tmp
+chsmack -a '*' /opt/usr/apps/tmp
+chsmack -t /opt/usr/apps/tmp
+
+touch /opt/usr/apps/tmp/pkgmgr_tmp.txt
+
+chsmack -a 'pkgmgr::db' /opt/usr/apps/tmp/pkgmgr_tmp.txt
+
+%postun -p /sbin/ldconfig
+
+%post -n pkgmgr-info-parser -p /sbin/ldconfig
+
+%postun -n pkgmgr-info-parser -p /sbin/ldconfig
+%files
+%manifest pkgmgr-info.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libpkgmgr-info.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/pkgmgr-info.h
+%{_libdir}/pkgconfig/pkgmgr-info.pc
+%{_libdir}/libpkgmgr-info.so
+
+%files parser
+%manifest pkgmgr-parser.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libpkgmgr_parser.so.*
+%{_prefix}/etc/package-manager/preload/preload_list.txt
+%{_prefix}/etc/package-manager/preload/manifest.xsd
+%{_prefix}/etc/package-manager/preload/xml.xsd
+%{_prefix}/etc/package-manager/parser_path.conf
+
+%files parser-devel
+%defattr(-,root,root,-)
+%{_includedir}/pkgmgr/pkgmgr_parser.h
+%{_includedir}/pkgmgr/pkgmgr_parser_db.h
+%{_libdir}/pkgconfig/pkgmgr-parser.pc
+%{_libdir}/libpkgmgr_parser.so
--- /dev/null
+Name: capi-media-player
+Summary: A Media Player library in Tizen Native API
+Version: 0.1.0
+Release: 57
+Group: Multimedia/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(mm-player)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-media-sound-manager)
+BuildRequires: pkgconfig(mm-ta)
+
+%description
+A Media Player library in Tizen Native API.
+
+
+%package devel
+Summary: A Media Player library in Tizen Native API (Development)
+Group: Development/Multimedia
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2
+%manifest capi-media-player.manifest
+%{_libdir}/libcapi-media-player.so.*
+
+%files devel
+%{_includedir}/media/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-media-player.so
+
+
--- /dev/null
+%define plymouthdaemon_execdir %{_sbindir}
+%define plymouthclient_execdir %{_bindir}
+%define plymouth_libdir %{_libdir}
+%define plymouth_initrd_file /boot/initrd-plymouth.img
+
+Name: plymouth
+Version: 0.8.8
+Release: 0
+Summary: Graphical Boot Animation and Logger
+License: GPL-2.0+
+Group: Base/Startup
+Url: http://freedesktop.org/software/plymouth/releases
+Source0: %{name}-%{version}.tar.bz2
+Source1: boot-duration
+BuildRequires: automake
+BuildRequires: kernel-headers
+BuildRequires: libtool
+BuildRequires: xz
+BuildRequires: pkgconfig(systemd)
+BuildRequires: pkgconfig(libdrm)
+%ifarch %ix86 x86_64
+BuildRequires: pkgconfig(libdrm_intel)
+%endif
+BuildRequires: pkgconfig(libkms)
+Requires: systemd >= 44
+Requires(post): plymouth-scripts
+Requires(post): dracut
+
+%description
+Plymouth provides an attractive graphical boot animation in
+place of the text messages that normally get shown. Text
+messages are instead redirected to a log file for viewing
+after boot.
+
+%package -n libply-boot-client
+Summary: Plymouth core library
+Group: Development/Libraries
+
+%description -n libply-boot-client
+This package contains the libply-boot-client library used by Plymouth.
+
+%package -n libply-splash-core
+Summary: Plymouth core library
+Group: Development/Libraries
+
+%description -n libply-splash-core
+This package contains the libply-splash-core library
+used by graphical Plymouth splashes.
+
+%package -n libply-splash-graphics
+Summary: Plymouth graphics libraries
+Group: Development/Libraries
+BuildRequires: libpng-devel
+
+%description -n libply-splash-graphics
+This package contains the libply-splash-graphics library
+used by graphical Plymouth splashes.
+
+%package -n libply
+Summary: Plymouth core library
+Group: Development/Libraries
+Requires: libply-boot-client = %{version}
+
+%description -n libply
+This package contains the libply library used by Plymouth.
+
+%package devel
+Summary: Libraries and headers for writing Plymouth splash plugins
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: %{name}-x11-renderer = %{version}
+Requires: libply-boot-client = %{version}
+Requires: libply-splash-core = %{version}
+Requires: libply-splash-graphics = %{version}
+Requires: libply = %{version}
+Requires: pkgconfig
+
+%description devel
+This package contains the libply and libplybootsplash libraries
+and headers needed to develop 3rd party splash plugins for Plymouth.
+
+
+%package x11-renderer
+Summary: Plymouth X11 renderer
+Group: Base/Startup
+Requires: %{name} = %{version}
+
+%description x11-renderer
+This package provides the X11 renderer which allows to test plymouth
+behavior on environments with a valid DISPLAY.
+
+%package scripts
+Summary: Plymouth related scripts
+Group: Base/Startup
+Requires: coreutils
+Requires: cpio
+Requires: findutils
+Requires: gzip
+Requires: plymouth
+BuildArch: noarch
+
+%description scripts
+This package contains scripts that help integrate Plymouth with
+the system.
+
+%package plugin-label
+Summary: Plymouth label plugin
+Group: Base/Startup
+BuildRequires: pkgconfig(cairo)
+BuildRequires: pkgconfig(pango) >= 1.21.0
+Requires: libply-splash-core = %{version}
+
+%description plugin-label
+This package contains the label control plugin for
+Plymouth. It provides the ability to render text on
+graphical boot splashes using pango and cairo.
+
+%package plugin-fade-throbber
+Summary: Plymouth "Fade-Throbber" plugin
+Group: Base/Startup
+Requires: libply-splash-core = %{version}
+Requires: libply-splash-graphics = %{version}
+Requires: libply = %{version}
+
+%description plugin-fade-throbber
+This package contains the "Fade-In" boot splash plugin for
+Plymouth. It features a centered image that fades in and out
+while other images pulsate around during system boot up.
+
+%package plugin-throbgress
+Summary: Plymouth "Throbgress" plugin
+Group: Base/Startup
+Requires: %{name}-plugin-label = %{version}
+Requires: libply-splash-core = %{version}
+Requires: libply-splash-graphics = %{version}
+Requires: libply = %{version}
+
+%description plugin-throbgress
+This package contains the "throbgress" boot splash plugin for
+Plymouth. It features a centered logo and animated spinner that
+spins repeatedly while a progress bar advances at the bottom of
+the screen.
+
+%package plugin-space-flares
+Summary: Plymouth "space-flares" plugin
+Group: Base/Startup
+Requires: %{name}-plugin-label = %{version}
+Requires: libply-splash-core = %{version}
+Requires: libply-splash-graphics = %{version}
+Requires: libply = %{version}
+
+%description plugin-space-flares
+This package contains the "space-flares" boot splash plugin for
+Plymouth. It features a corner image with animated flares.
+
+%package plugin-two-step
+Summary: Plymouth "two-step" plugin
+Group: Base/Startup
+Requires: libply-splash-core = %{version}
+Requires: libply-splash-graphics = %{version}
+Requires: libply = %{version}
+Requires: plymouth-plugin-label
+
+%description plugin-two-step
+This package contains the "two-step" boot splash plugin for
+Plymouth. It features a two phased boot process that starts with
+a progressing animation synced to boot time and finishes with a
+short, fast one-shot animation.
+
+%package plugin-script
+Summary: Plymouth "script" plugin
+Group: Base/Startup
+Requires: libply-splash-core = %{version}
+Requires: libply-splash-graphics = %{version}
+Requires: libply = %{version}
+
+%description plugin-script
+This package contains the "script" boot splash plugin for
+Plymouth. It features an extensible, scriptable boot splash
+language that simplifies the process of designing custom
+boot splash themes.
+
+%package theme-fade-in
+Summary: Plymouth "Fade-In" theme
+Group: Base/Startup
+Requires: %{name}-plugin-fade-throbber = %{version}
+Requires: plymouth-plugin-label
+Requires(post): %{name}-scripts
+BuildArch: noarch
+
+%description theme-fade-in
+This package contains the "Fade-In" boot splash theme for
+Plymouth. It features a centered logo that fades in and out
+while stars twinkle around the logo during system boot up.
+
+%package theme-spinfinity
+Summary: Plymouth "Spinfinity" theme
+Group: Base/Startup
+Requires: %{name}-plugin-throbgress = %{version}
+Requires(pre): %{name}
+Requires(post): %{name}-scripts
+BuildArch: noarch
+
+%description theme-spinfinity
+This package contains the "Spinfinity" boot splash theme for
+Plymouth. It features a centered logo and animated spinner that
+spins in the shape of an infinity sign.
+
+%package theme-spinner
+Summary: Plymouth "Spinner" theme
+Group: Base/Startup
+Requires: %{name}-plugin-two-step = %{version}
+Requires(post): %{name}-scripts
+BuildArch: noarch
+
+%description theme-spinner
+This package contains the "spinner" boot splash theme for
+Plymouth.
+
+%package theme-solar
+Summary: Plymouth "Solar" theme
+Group: Base/Startup
+Requires: %{name}-plugin-space-flares = %{version}
+Requires(post): %{name}-scripts
+BuildArch: noarch
+
+%description theme-solar
+This package contains the "Solar" boot splash theme for
+Plymouth. It features a blue flamed sun with animated solar flares.
+
+%package theme-script
+Summary: Plymouth "Script" plugin
+Group: Base/Startup
+Requires: %{name}-plugin-script = %{version}
+Requires(post): %{name}-scripts
+BuildArch: noarch
+
+%description theme-script
+This package contains the "script" boot splash theme for
+Plymouth. It it is a simple example theme the uses the "script"
+plugin.
+
+%prep
+%setup -q
+
+# replace builddate with patch0date
+sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
+
+# Change the default theme
+sed -i -e 's/fade-in/tizen/g' src/plymouthd.defaults
+
+%build
+autoreconf -fiv
+%configure --disable-static \
+ --disable-gtk \
+ --enable-systemd-integration \
+ --enable-tracing --disable-tests \
+ --with-background-start-color-stop=0x1A3D1F \
+ --with-background-end-color-stop=0x4EA65C \
+ --with-background-color=0x3391cd \
+ --disable-gdm-transition \
+ --without-system-root-install \
+ --without-rhgb-compat-link \
+ --with-boot-tty=/dev/tty7 \
+ --with-shutdown-tty=/dev/tty1 \
+ --without-gdm-autostart-file \
+ --with-release-file=/etc/os-release
+
+make %{?_smp_mflags}
+
+%install
+
+%make_install
+rm -f %{buildroot}/%{_bindir}/rhgb-client
+#rm -f %{buildroot}%{_libexecdir}/plymouth/plymouth-generate-initrd
+#rm -f %{buildroot}%{_libexecdir}/plymouth/plymouth-populate-initrd
+
+# Glow isn't quite ready for primetime
+rm -rf %{buildroot}%{_datadir}/plymouth/glow/
+rm -rf %{buildroot}%{_datadir}/plymouth/themes/glow/
+rm -f %{buildroot}%{_libdir}/plymouth/glow.so
+#mv %{buildroot}/%_lib/systemd %{buildroot}/%{_libdir}
+
+mkdir -p %{buildroot}%{_localstatedir}/lib/plymouth
+mkdir -p %{buildroot}%{_localstatedir}/run/plymouth
+cp $RPM_SOURCE_DIR/boot-duration %{buildroot}%{_datadir}/plymouth/default-boot-duration
+cp $RPM_SOURCE_DIR/boot-duration %{buildroot}%{_localstatedir}/lib/plymouth
+cp %{buildroot}/%{_datadir}/plymouth/plymouthd.defaults %{buildroot}/%{_sysconfdir}/plymouth/plymouth.conf
+
+%post
+if [ ! -e /.buildenv ]; then
+ [ -f %{_localstatedir}/lib/plymouth/boot-duration ] || cp -f %{_datadir}/plymouth/default-boot-duration %{_localstatedir}/lib/plymouth/boot-duration
+ %{_libexecdir}/plymouth/plymouth-update-initrd
+fi
+[ -x /bin/systemctl ] && /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+
+%postun
+if [ $1 -eq 0 ]; then
+ rm -f %{_libdir}/plymouth/default.so
+ rm -f /boot/initrd-plymouth.img
+ [ -x /bin/systemctl ] && /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+fi
+
+
+%post -n libply-boot-client -p /sbin/ldconfig
+
+%postun -n libply-boot-client -p /sbin/ldconfig
+
+%post -n libply-splash-core -p /sbin/ldconfig
+
+%postun -n libply-splash-core -p /sbin/ldconfig
+
+%post -n libply-splash-graphics -p /sbin/ldconfig
+
+%postun -n libply-splash-graphics -p /sbin/ldconfig
+
+%post -n libply -p /sbin/ldconfig
+
+%postun -n libply -p /sbin/ldconfig
+
+%post theme-spinfinity
+if [ $1 -eq 1 -a ! -e /.buildenv ]; then
+ export LIB=%{_libdir}
+ if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
+ %{_sbindir}/plymouth-set-default-theme -R spinfinity
+ fi
+fi
+
+%postun theme-spinfinity
+if [ $1 -eq 0 ]; then
+ export LIB=%{_libdir}
+ if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "spinfinity" ]; then
+ %{_sbindir}/plymouth-set-default-theme -R --reset
+ fi
+fi
+
+%post theme-fade-in
+if [ $1 -eq 1 -a ! -e /.buildenv ]; then
+ export LIB=%{_libdir}
+ if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
+ %{_sbindir}/plymouth-set-default-theme -R fade-in
+ fi
+fi
+
+%postun theme-fade-in
+if [ $1 -eq 0 ]; then
+ export LIB=%{_libdir}
+ if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "fade-in" ]; then
+ %{_sbindir}/plymouth-set-default-theme -R --reset
+ fi
+fi
+
+%post theme-solar
+if [ $1 -eq 1 -a ! -e /.buildenv ]; then
+ export LIB=%{_libdir}
+ if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
+ %{_sbindir}/plymouth-set-default-theme -R solar
+ fi
+fi
+
+%postun theme-solar
+if [ $1 -eq 0 ]; then
+ export LIB=%{_libdir}
+ if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "solar" ]; then
+ %{_sbindir}/plymouth-set-default-theme -R --reset
+ fi
+fi
+
+
+%docs_package
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%{_libexecdir}/plymouth/*
+%dir %{_datadir}/plymouth
+%dir %{_datadir}/plymouth/themes
+%dir %{_datadir}/plymouth/themes/details
+%dir %{_datadir}/plymouth/themes/text
+%dir %{_localstatedir}/lib/plymouth
+%dir %{_libdir}/plymouth
+%dir %{_libdir}/plymouth/renderers
+%dir %{_sysconfdir}/plymouth
+%config(noreplace) %{_sysconfdir}/plymouth/plymouthd.conf
+%config(noreplace) %{_sysconfdir}/plymouth/plymouth.conf
+%{plymouthdaemon_execdir}/plymouthd
+%{plymouthclient_execdir}/plymouth
+%{_libdir}/plymouth/details.so
+%{_libdir}/plymouth/text.so
+%{_libdir}/plymouth/renderers/drm*
+%{_libdir}/plymouth/renderers/frame-buffer*
+%{_datadir}/plymouth/default-boot-duration
+%{_datadir}/plymouth/themes/details/details.plymouth
+%{_datadir}/plymouth/themes/text/text.plymouth
+%{_datadir}/plymouth/plymouthd.defaults
+%{_datadir}/plymouth/bizcom.png
+%ghost %{_localstatedir}/run/plymouth
+%{_localstatedir}/spool/plymouth
+%ghost %{_localstatedir}/lib/plymouth/boot-duration
+%{_unitdir}/*
+
+%files devel
+%defattr(-, root, root)
+%{plymouth_libdir}/libply.so
+%{plymouth_libdir}/libply-splash-core.so
+%{_libdir}/libply-boot-client.so
+%{_libdir}/libply-splash-graphics.so
+%{_libdir}/pkgconfig/ply-splash-core.pc
+%{_libdir}/pkgconfig/ply-splash-graphics.pc
+%{_libdir}/pkgconfig/ply-boot-client.pc
+%{_includedir}/plymouth-1
+
+%files -n libply-boot-client
+%defattr(-, root, root)
+%{_libdir}/libply-boot-client.so.2*
+
+%files -n libply-splash-core
+%defattr(-, root, root)
+%{plymouth_libdir}/libply-splash-core.so.2*
+
+%files -n libply-splash-graphics
+%defattr(-, root, root)
+%{_libdir}/libply-splash-graphics.so.2*
+
+%files -n libply
+%defattr(-, root, root)
+%{plymouth_libdir}/libply.so.2*
+
+%files scripts
+%defattr(-, root, root)
+%dir %{_libexecdir}/plymouth
+%{_sbindir}/plymouth-set-default-theme
+%{_libexecdir}/plymouth/plymouth-update-initrd
+#/lib/mkinitrd/scripts/boot-plymouth.sh
+#/lib/mkinitrd/scripts/boot-plymouth.chroot.sh
+#/lib/mkinitrd/scripts/setup-plymouth.sh
+
+
+%files x11-renderer
+#%defattr(-,root,root,-)
+#%{_libdir}/plymouth/renderers/x11*
+
+%files plugin-label
+%defattr(-, root, root)
+%{_libdir}/plymouth/label.so
+
+%files plugin-fade-throbber
+%defattr(-, root, root)
+%{_libdir}/plymouth/fade-throbber.so
+
+%files theme-fade-in
+%defattr(-, root, root)
+%dir %{_datadir}/plymouth/themes/fade-in
+%{_datadir}/plymouth/themes/fade-in/bullet.png
+%{_datadir}/plymouth/themes/fade-in/entry.png
+%{_datadir}/plymouth/themes/fade-in/lock.png
+%{_datadir}/plymouth/themes/fade-in/star.png
+%{_datadir}/plymouth/themes/fade-in/fade-in.plymouth
+
+%files plugin-throbgress
+%defattr(-, root, root)
+%{_libdir}/plymouth/throbgress.so
+
+%files theme-spinfinity
+%defattr(-, root, root)
+%dir %{_datadir}/plymouth/themes/spinfinity
+%{_datadir}/plymouth/themes/spinfinity/box.png
+%{_datadir}/plymouth/themes/spinfinity/bullet.png
+%{_datadir}/plymouth/themes/spinfinity/entry.png
+%{_datadir}/plymouth/themes/spinfinity/lock.png
+%{_datadir}/plymouth/themes/spinfinity/throbber-[0-3][0-9].png
+%{_datadir}/plymouth/themes/spinfinity/spinfinity.plymouth
+
+%files plugin-space-flares
+%defattr(-, root, root)
+%{_libdir}/plymouth/space-flares.so
+
+%files theme-spinner
+%defattr(-, root, root)
+%dir %{_datadir}/plymouth/themes/spinner
+%{_datadir}/plymouth/themes/spinner/*.*
+
+%files theme-solar
+%defattr(-, root, root)
+%dir %{_datadir}/plymouth/themes/solar
+%{_datadir}/plymouth/themes/solar/*.png
+%{_datadir}/plymouth/themes/solar/solar.plymouth
+
+%files plugin-two-step
+%defattr(-, root, root)
+%{_libdir}/plymouth/two-step.so
+
+%files plugin-script
+%defattr(-, root, root)
+%{_libdir}/plymouth/script.so
+
+%files theme-script
+%defattr(-, root, root)
+%dir %{_datadir}/plymouth/themes/script/
+%{_datadir}/plymouth/themes/script/*.png
+%{_datadir}/plymouth/themes/script/script.script
+%{_datadir}/plymouth/themes/script/script.plymouth
+
+%changelog
--- /dev/null
+Name: capi-location-poi
+Summary: A Location POI library in Tizen Native API
+Version: 0.1.3
+Release: 1
+Group: Location/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(location)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-location-manager)
+%description
+A Location POI library in Tizen Native API.
+
+
+%package devel
+Summary: A Location POI library in Tizen Native API (Development)
+Group: Location/Development
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE
+%manifest capi-location-poi.manifest
+%{_libdir}/libcapi-location-poi.so.*
+
+%files devel
+%{_includedir}/location/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-location-poi.so
+
--- /dev/null
+Name: poppler-data
+Version: 0.4.6
+Release: 0
+License: BSD-3-Clause ; GPL-2.0
+Summary: Encoding Files for use with libpoppler
+Url: http://poppler.freedesktop.org/
+Group: System/Libraries
+Source: http://poppler.freedesktop.org/%{name}-%{version}.tar.gz
+BuildArch: noarch
+
+%description
+This package consists of encoding files for use with poppler. The
+encoding files are optional and poppler will automatically read them if
+they are present. When installed, the encoding files enables poppler
+to correctly render CJK and Cyrrilic properly.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags} prefix=%{_prefix}
+
+%install
+%makeinstall prefix=%{_prefix}
+
+%files
+%defattr (-, root, root)
+%license COPYING COPYING.adobe COPYING.gpl2
+%{_datadir}/poppler
+
+%changelog
--- /dev/null
+%define poppler_data_version 0.2.1
+%define full_iconv 0
+%bcond_with introspection
+
+Name: poppler
+Version: 0.22.1
+Release: 1
+Url: http://poppler.freedesktop.org/
+Summary: PDF Rendering Library
+License: GPL-2.0+
+Group: System/Libraries
+Source: http://poppler.freedesktop.org/%{name}-%{version}.tar.gz
+BuildRequires: gcc-c++
+%if %{with introspection}
+BuildRequires: gobject-introspection-devel
+%endif
+BuildRequires: gettext-devel
+BuildRequires: libjpeg8-devel
+BuildRequires: libtiff-devel
+BuildRequires: update-desktop-files
+BuildRequires: zlib-devel
+BuildRequires: pkgconfig(cairo) >= 1.10.0
+BuildRequires: pkgconfig(cairo-ft) >= 1.10.0
+BuildRequires: pkgconfig(cairo-pdf)
+BuildRequires: pkgconfig(cairo-ps)
+BuildRequires: pkgconfig(cairo-svg)
+BuildRequires: pkgconfig(fontconfig)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(gobject-2.0) >= 2.18
+BuildRequires: pkgconfig(lcms2)
+BuildRequires: pkgconfig(libpng)
+
+%description
+Poppler is a PDF rendering library, forked from the xpdf PDF viewer
+developed by Derek Noonburg of Glyph and Cog, LLC.
+
+%package -n libpoppler
+Summary: PDF Rendering Library
+License: GPL-2.0
+Group: System/Libraries
+
+%description -n libpoppler
+Poppler is a PDF rendering library, forked from the xpdf PDF viewer
+developed by Derek Noonburg of Glyph and Cog, LLC.
+
+%if %{full_iconv}
+%package -n libpoppler-cpp
+Summary: PDF Rendering Library
+License: GPL-2.0
+Group: System/Libraries
+
+%description -n libpoppler-cpp
+Poppler is a PDF rendering library, forked from the xpdf PDF viewer
+developed by Derek Noonburg of Glyph and Cog, LLC.
+%endif
+
+%package -n libpoppler-glib
+Summary: PDF Rendering Library - GLib Wrapper
+License: GPL-2.0+
+Group: System/Libraries
+Requires: libpoppler >= %{version}
+
+%description -n libpoppler-glib
+Poppler is a PDF rendering library, forked from the xpdf PDF viewer
+developed by Derek Noonburg of Glyph and Cog, LLC.
+
+%package -n typelib-Poppler
+Summary: PDF Rendering Library - Introspection bindings
+License: GPL-2.0+
+Group: System/Libraries
+
+%description -n typelib-Poppler
+Poppler is a PDF rendering library, forked from the xpdf PDF viewer
+developed by Derek Noonburg of Glyph and Cog, LLC.
+
+This package provides the GObject Introspection bindings for Poppler.
+
+
+%package tools
+Summary: PDF Rendering Library Tools
+License: GPL-2.0
+Group: Development/Tools
+Requires: libpoppler >= %{version}
+
+%description tools
+Poppler is a PDF rendering library, forked from the xpdf PDF viewer
+developed by Derek Noonburg of Glyph and Cog, LLC.
+
+%package -n libpoppler-devel
+Summary: PDF rendering library
+License: GPL-2.0
+Group: Development/Libraries
+Requires: libpoppler = %{version}
+Requires: libstdc++-devel
+
+%description -n libpoppler-devel
+Poppler is a PDF rendering library, forked from the xpdf PDF viewer
+developed by Derek Noonburg of Glyph and Cog, LLC.
+
+%package -n libpoppler-glib-devel
+Summary: PDF rendering library - GLib Wrapper
+License: GPL-2.0
+Group: Development/Libraries
+Requires: libpoppler-glib = %{version}
+%if %{with introspection}
+Requires: typelib-Poppler = %{version}
+%endif
+
+%description -n libpoppler-glib-devel
+Poppler is a PDF rendering library, forked from the xpdf PDF viewer
+developed by Derek Noonburg of Glyph and Cog, LLC.
+
+%prep
+%setup -q -n poppler-%{version}
+
+%build
+autoreconf -fi
+%configure\
+ --enable-xpdf-headers\
+ --disable-static\
+ --enable-shared\
+ --enable-zlib \
+ --disable-gtk-test
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -n libpoppler -p /sbin/ldconfig
+
+%post -n libpoppler-glib -p /sbin/ldconfig
+
+%postun -n libpoppler -p /sbin/ldconfig
+
+%postun -n libpoppler-glib -p /sbin/ldconfig
+
+%if %{full_iconv}
+%post -n libpoppler-cpp -p /sbin/ldconfig
+
+%postun -n libpoppler-cpp -p /sbin/ldconfig
+%endif
+
+%files -n libpoppler
+%defattr (-, root, root)
+%doc AUTHORS COPYING ChangeLog NEWS README README-XPDF TODO
+%{_libdir}/libpoppler.so.*
+
+%files -n libpoppler-glib
+%defattr (-, root, root)
+%{_libdir}/libpoppler-glib.so.*
+
+%if %{with introspection}
+%files -n typelib-Poppler
+%defattr (-, root, root)
+%{_libdir}/girepository-1.0/Poppler-0.18.typelib
+%endif
+
+%files tools
+%defattr (-, root, root)
+%doc COPYING
+%{_bindir}/*
+%doc %{_mandir}/man1/*.*
+
+%if %{full_iconv}
+%files -n libpoppler-cpp
+%defattr(-, root, root)
+%{_libdir}/libpoppler-cpp.so.*
+%endif
+
+%files -n libpoppler-devel
+%defattr (-, root, root)
+%{_includedir}/poppler
+%exclude %{_includedir}/poppler/glib
+%{_libdir}/libpoppler.so
+%{_libdir}/pkgconfig/poppler.pc
+%{_libdir}/pkgconfig/poppler-cairo.pc
+%if %{full_iconv}
+%{_libdir}/libpoppler-cpp.so
+%{_libdir}/pkgconfig/poppler-cpp.pc
+%endif
+%{_libdir}/pkgconfig/poppler-splash.pc
+%files -n libpoppler-glib-devel
+%defattr (-, root, root)
+%{_includedir}/poppler/glib
+%{_libdir}/libpoppler-glib.so
+%{_libdir}/pkgconfig/poppler-glib.pc
+%if %{with introspection}
+%{_datadir}/gir-1.0/Poppler-0.18.gir
+%endif
+%doc %{_datadir}/gtk-doc/html/poppler/
--- /dev/null
+Name: popt
+Version: 1.16
+Release: 0
+License: XFree86-1.0
+Summary: A C library for parsing command line parameters
+Url: http://www.rpm5.org/
+Group: Base/Libraries
+Source: popt-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: pkgconfig
+
+%description
+Popt is a C library for parsing command line parameters. Popt was
+heavily influenced by the getopt() and getopt_long() functions. It
+improves on them by allowing more powerful argument expansion. Popt can
+parse arbitrary argv[] style arrays and automatically set variables
+based on command line arguments. Popt allows command line arguments to
+be aliased via configuration files and includes utility functions for
+parsing arbitrary strings into argv[] arrays using shell-like rules.
+
+%package -n libpopt
+Summary: A C library for parsing command line parameters
+Group: Base/Libraries
+Provides: popt = %{version}
+Obsoletes: popt < %{version}
+
+%description -n libpopt
+Popt is a C library for parsing command line parameters. Popt was
+heavily influenced by the getopt() and getopt_long() functions. It
+improves on them by allowing more powerful argument expansion. Popt can
+parse arbitrary argv[] style arrays and automatically set variables
+based on command line arguments. Popt allows command line arguments to
+be aliased via configuration files and includes utility functions for
+parsing arbitrary strings into argv[] arrays using shell-like rules.
+
+%package devel
+Summary: Development files for the popt library
+Group: Development/Libraries
+Requires: libpopt = %{version}
+
+%description devel
+The popt-devel package includes header files and libraries necessary
+for developing programs which use the popt C library. It contains the
+API documentation of the popt library, too.
+
+%prep
+%setup -q
+%build
+%configure --with-pic --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%if "%{_libdir}" != "%{_prefix}/lib"
+install -d -m755 %{buildroot}/%{_libdir}/pkgconfig
+mv %{buildroot}%{_prefix}/lib/pkgconfig/%{name}.pc %{buildroot}/%{_libdir}/pkgconfig/%{name}.pc
+%endif
+
+%find_lang %{name}
+
+%post -n libpopt -p /sbin/ldconfig
+
+%postun -n libpopt -p /sbin/ldconfig
+
+%lang_package
+
+%files -n libpopt
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libpopt.so.*
+
+%files devel
+%defattr(-,root,root)
+%doc README
+%{_libdir}/libpopt.so
+%{_includedir}/popt.h
+%{_mandir}/man3/popt.3*
+%{_libdir}/pkgconfig/popt.pc
+
+%changelog
--- /dev/null
+Name: power-manager
+Summary: Power manager
+Version: 1.3.23
+Release: 9
+Group: framework/system
+License: APLv2
+Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/power-manager.manifest
+Requires(post): /usr/bin/vconftool
+Source1: power-manager.service
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(sensor)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(device-node)
+BuildRequires: pkgconfig(heynoti)
+Requires(post): system-server
+
+%description
+Description: Power manager
+
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+%ifnarch %arm
+%if 0%{?simulator}
+#for emulator
+CFLAGS+=" -DTIZEN_EMUL"
+%else
+#for real device
+CFLAGS+=" -DX86"
+%endif
+export CFLAGS
+%endif
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants
+install -m 0644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system/power-manager.service
+ln -s ../power-manager.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/power-manager.service
+
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/
+ln -s %{_sysconfdir}/init.d/pmctrl %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S35power-manager
+ln -s %{_sysconfdir}/init.d/pmctrl %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S00power-manager
+
+%post
+vconftool set -t int memory/pm/state 0 -i
+vconftool set -t int memory/pm/battery_timetofull -1 -i
+vconftool set -t int memory/pm/battery_timetoempty -1 -i
+vconftool set -t int memory/pm/custom_brightness_status 0 -i -g 5000
+vconftool set -t bool memory/pm/brt_changed_lpm 0 -i
+vconftool set -t int memory/pm/current_brt 60 -i -g 5000
+vconftool set -t int memory/pm/sip_status 0 -i -g 5000
+
+heynotitool set system_wakeup
+heynotitool set pm_event
+
+mkdir -p /etc/udev/rules.d
+if ! [ -L /etc/udev/rules.d/91-power-manager.rules ]; then
+ ln -s %{_datadir}/power-manager/udev-rules/91-power-manager.rules /etc/udev/rules.d/91-power-manager.rules
+fi
+
+%files
+%manifest power-manager.manifest
+%{_sysconfdir}/rc.d/init.d/pmctrl
+%{_sysconfdir}/rc.d/rc3.d/S35power-manager
+%{_sysconfdir}/rc.d/rc5.d/S00power-manager
+%{_bindir}/pm_event
+%{_bindir}/pmctrl
+%{_bindir}/power_manager
+/usr/lib/systemd/system/power-manager.service
+/usr/lib/systemd/system/multi-user.target.wants/power-manager.service
+%{_datadir}/power-manager/udev-rules/91-power-manager.rules
--- /dev/null
+Name: capi-system-power
+Summary: A power library in SLP C API
+Version: 0.1.1
+Release: 1
+Group: System/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1001: capi-system-power.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(vconf)
+
+%description
+
+%package devel
+Summary: A power library in SLP C API (Development)
+Group: Development/System
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2
+%manifest capi-system-power.manifest
+%{_libdir}/libcapi-system-power.so.*
+
+%files devel
+%{_includedir}/system/power.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-system-power.so
+
+
--- /dev/null
+Name: powertop
+Version: 2.3
+Release: 1
+License: GPL-2.0
+Summary: PowerTop is tool that is used for power diagnostics
+Url: http://www.01.org
+Group: Platform Development/Tools
+Source0: https://01.org/powertop/sites/default/files/downloads/%{name}-%{version}.tar.gz
+
+BuildRequires: gettext
+BuildRequires: zlib-devel
+BuildRequires: pkgconfig(libnl-1)
+BuildRequires: pkgconfig(libpci)
+BuildRequires: pkgconfig(ncurses)
+
+%description
+PowerTop is tool that detects which Linux programs
+and kernel tunables are resulting in the largest
+power consumption and use of battery time. By
+fixing (or closing) these applications or
+processes, you can immediately see the power
+savings in the tool. You'll also see the estimated
+time left for battery power if you are running a
+laptop.
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%find_lang %{name}
+
+%lang_package
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_sbindir}/powertop
+%{_mandir}/man8/powertop.8.gz
--- /dev/null
+Name: ppl
+Version: 0.11.2
+Release: 0
+License: GPL-3.0+
+Summary: The Parma Polyhedra Library
+Url: http://www.cs.unipr.it/ppl/
+Group: Development/Libraries/C and C++
+Source: ppl-%{version}.tar.bz2
+Source1: baselibs.conf
+BuildRequires: gcc-c++
+BuildRequires: gmp-devel >= 4.1.3
+
+%description
+The Parma Polyhedra Library (PPL) is a library for the manipulation of
+(not necessarily closed) convex polyhedra and other numerical
+abstractions. The applications of convex polyhedra include program
+analysis, optimized compilation, integer and combinatorial optimization
+and statistical data-editing. The Parma Polyhedra Library comes with
+several user friendly interfaces, is fully dynamic (available virtual
+memory is the only limitation to the dimension of anything), written in
+accordance to all the applicable standards, exception-safe, rather
+efficient, thoroughly documented, and free software. This package
+provides all what is necessary to run applications using the PPL
+through its C and C++ interfaces.
+
+%package devel
+Summary: Development tools for the Parma Polyhedra Library C and C++ interfaces
+Group: Development/Libraries/C and C++
+Requires: gmp-devel >= 4.1.3
+Requires: libppl = %{version}
+Requires: libppl_c = %{version}
+
+%description devel
+The header files, Autoconf macro, and ppl-config tool for developing
+applications using the Parma Polyhedra Library through its C and C++
+interfaces.
+
+%package devel-static
+Summary: Static libraries for the Parma Polyhedra Library C and C++ interfaces
+Group: Development/Libraries/C and C++
+Requires: ppl-devel = %{version}
+
+%description devel-static
+Static libraries for the Parma Polyhedra Library C and C++ interfaces.
+
+%package -n libppl
+Summary: Shared library for the Parma Polyhedra Library
+Group: Development/Libraries/C and C++
+
+%description -n libppl
+Shared library for the Parma Polyhedra Library.
+
+%package -n libppl_c
+Summary: Shared library for the Parma Polyhedra Library C bindings
+Group: Development/Libraries/C and C++
+
+%description -n libppl_c
+Shared library for the Parma Polyhedra Library C bindings.
+
+%package doc
+Summary: Documentation for the Parma Polyhedra Library
+Group: Development/Libraries/C and C++
+BuildArch: noarch
+
+%description doc
+This package contains all the documentations required by programmers
+using the Parma Polyhedra Library (PPL). Install this package if you
+want to program with the PPL.
+
+%prep
+%setup -q -n ppl-%{version}
+
+%build
+%configure --enable-shared --with-pic --disable-rpath \
+ --disable-watchdog
+#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+#sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+make %{?_smp_mflags}
+
+%install
+make DESTDIR=%{buildroot} INSTALL="install -p" install
+# We don't build the binary, so delete its manpage
+rm -f %{buildroot}%{_mandir}/man1/ppl_lpsol.1
+# We don't build pwl
+rm -Rf %{buildroot}%{_datadir}/doc/pwl
+# The pdf is enough
+rm -f %{buildroot}%{_datadir}/doc/%{name}/ppl-user-*.ps.gz
+rm -f %{buildroot}%{_datadir}/doc/%{name}/ChangeLog
+rm -f %{buildroot}%{_datadir}/doc/%{name}/TODO
+rm -f %{buildroot}%{_datadir}/doc/%{name}/gpl.*
+rm -f %{buildroot}%{_datadir}/doc/%{name}/fdl.ps.gz
+rm -f %{buildroot}%{_datadir}/doc/%{name}/fdl.pdf
+rm -Rf %{buildroot}%{_datadir}/doc/%{name}/ppl-user-prolog-interface-%{version}*
+rm -Rf %{buildroot}%{_datadir}/doc/%{name}/ppl-user-ocaml-interface-%{version}*
+rm -Rf %{buildroot}%{_datadir}/doc/%{name}/ppl-user-java-interface-%{version}*
+
+%post -n libppl -p /sbin/ldconfig
+
+%postun -n libppl -p /sbin/ldconfig
+
+%post -n libppl_c -p /sbin/ldconfig
+
+%postun -n libppl_c -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%dir %{_datadir}/doc/%{name}
+%doc %{_datadir}/doc/%{name}/BUGS
+%doc %{_datadir}/doc/%{name}/COPYING
+%doc %{_datadir}/doc/%{name}/CREDITS
+%doc %{_datadir}/doc/%{name}/NEWS
+%doc %{_datadir}/doc/%{name}/README
+%{_bindir}/ppl_lcdd
+%{_bindir}/ppl_pips
+%{_mandir}/man1/ppl_lcdd.1.gz
+%{_mandir}/man1/ppl_pips.1.gz
+
+%files -n libppl
+%defattr(-,root,root,-)
+%{_libdir}/libppl.so.*
+
+%files -n libppl_c
+%defattr(-,root,root,-)
+%{_libdir}/libppl_c.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc %{_datadir}/doc/%{name}/README.configure
+%{_includedir}/ppl.hh
+%{_includedir}/ppl_c.h
+%{_libdir}/libppl.so
+%{_libdir}/libppl_c.so
+%{_bindir}/ppl-config
+%{_mandir}/man1/ppl-config.1.gz
+%{_mandir}/man3/libppl.3.gz
+%{_mandir}/man3/libppl_c.3.gz
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/ppl.m4
+%{_datadir}/aclocal/ppl_c.m4
+
+%files devel-static
+%defattr(-,root,root,-)
+%{_libdir}/libppl.a
+%{_libdir}/libppl.la
+%{_libdir}/libppl_c.a
+%{_libdir}/libppl_c.la
+
+%files doc
+%defattr(-,root,root,-)
+%doc %{_datadir}/doc/%{name}/README.doc
+%doc %{_datadir}/doc/%{name}/fdl.txt
+%doc %{_datadir}/doc/%{name}/ppl-user-%{version}-html/
+%doc %{_datadir}/doc/%{name}/ppl-user-c-interface-%{version}-html/
+%doc %{_datadir}/doc/%{name}/ppl-user-%{version}.pdf
+%doc %{_datadir}/doc/%{name}/ppl-user-c-interface-%{version}.pdf
--- /dev/null
+Name: prelink
+BuildRequires: gcc-c++
+BuildRequires: glibc-devel-static
+BuildRequires: libelf0-devel
+Summary: An ELF Prelinking Utility
+License: GPL-2.0+
+Group: System/Base
+Version: 20111012
+Release: 0
+Url: http://people.redhat.com/jakub/prelink/
+Source: http://people.redhat.com/jakub/prelink/%name-%version.tar.bz2
+Source2: %name.conf
+# It does not work at all on ia64, so let's listen upstream supported
+# architectures
+ExclusiveArch: %{ix86} alpha sparc sparc64 s390 s390x x86_64 ppc ppc64
+
+%description
+The prelink program is a utility that modifies shared libraries and
+executables in the ELF format so that far less relocations need to be
+resolved at run time. This decreases program start-up time.
+
+Be aware that prelink can modify all libraries and executables on your
+system. Applications which monitor changes in files or RPM itself
+will no longer work.
+
+%prep
+%setup -q -n prelink
+
+%build
+# This package failed when testing with -Wl,-as-needed being default.
+# So we disable it here, if you want to retest, just delete this comment and the line below.
+export LD_AS_NEEDED=0
+# Uninitialized memory in dynamic loader in ifunc3 test.
+export -n MALLOC_PERTURB_
+unset MALLOC_PERTURB_
+
+CFLAGS="$RPM_OPT_FLAGS" \
+./configure --prefix=/usr --mandir=%{_mandir} || cat config.log
+make %{?jobs:-j%jobs}
+
+%check
+make -C testsuite check-harder
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/etc
+sed -e "s,LIBDIR,%_lib," %{SOURCE2} > $RPM_BUILD_ROOT/etc/prelink.conf
+mkdir -p $FILLUP_DIR $RPM_BUILD_ROOT/sbin/conf.d
+install -m 0755 -d $RPM_BUILD_ROOT/var/lib/prelink
+mkdir -p $RPM_BUILD_ROOT/etc/rpm
+cat > $RPM_BUILD_ROOT/etc/rpm/macros.prelink <<EOF
+# rpm-4.1 verifies prelinked libraries using a prelink undo helper.
+# Note: The 2nd token is used as argv[0] and "library" is a
+# placeholder that will be deleted and replaced with the appropriate
+# library file path.
+%__prelink_undo_cmd /usr/sbin/prelink prelink -y library
+EOF
+
+
+%docs_package
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%dir /var/lib/prelink
+%dir /etc/rpm
+%config(noreplace) /etc/prelink.conf
+%config /etc/rpm/macros.prelink
+%_sbindir/prelink
+%_bindir/execstack
+
+%changelog
--- /dev/null
+%global DATADIR /opt
+
+Name: print-service
+Summary: print service library
+Version: 1.2.9
+Release: 1
+Group: System/Libraries
+License: Flora Software License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: glib2-devel
+BuildRequires: binutils-devel
+BuildRequires: cups-devel
+BuildRequires: libxml2-devel
+BuildRequires: capi-appfw-application-devel
+Requires: glib2
+Requires: cups
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+print-service library
+
+%package devel
+Summary: print library - development file
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+print library - development file
+
+%package -n print-driver-data
+Summary: printer data - ppd, cts, data files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description -n print-driver-data
+printer data - ppd, cts, data files
+
+%package tests
+Summary: testing utilities
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description tests
+Set of utilities for testing different parts of library
+
+%prep
+%setup -q
+
+%build
+%cmake . -DENABLE_OM_TESTS=On
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/LICENSE.Flora %{buildroot}/usr/share/license/%{name}
+cp %{_builddir}/%{buildsubdir}/LICENSE.Flora %{buildroot}/usr/share/license/print-driver-data
+
+%clean
+rm -rf %{buildroot}
+
+%post
+/sbin/ldconfig
+
+if ! [ -d /opt/etc/cups/ppd/hp ]
+then
+ mkdir -p /opt/etc/cups/ppd/hp
+fi
+if ! [ -d /opt/etc/cups/ppd/epson ]
+then
+ mkdir -p /opt/etc/cups/ppd/epson
+fi
+if ! [ -d /opt/etc/cups/ppd/samsung ]
+then
+ mkdir -p /opt/etc/cups/ppd/samsung
+fi
+chown -R 5000:5000 /opt/etc/cups/ppd
+
+if [ -f /usr/lib/rpm-plugins/msm.so ]
+then
+ chsmack -a mobileprint /opt/etc/cups/ppd/
+ chsmack -a mobileprint /opt/etc/cups/ppd/hp
+ chsmack -a mobileprint /opt/etc/cups/ppd/epson
+ chsmack -a mobileprint /opt/etc/cups/ppd/samsung
+ chsmack -t /opt/etc/cups/ppd
+ chsmack -t /opt/etc/cups/ppd/hp
+ chsmack -t /opt/etc/cups/ppd/epson
+ chsmack -t /opt/etc/cups/ppd/samsung
+fi
+
+%post -n print-driver-data
+mkdir -p /usr/share/cups/model/samsung
+ln -sf /usr/share/cups/ppd/samsung/cms /usr/share/cups/model/samsung/cms
+
+%postun -n print-driver-data
+if [ -e /usr/share/cups/model/samsung/cms ]
+then
+ rm /usr/share/cups/model/samsung/cms
+fi
+if [ -f /opt/etc/cups/ppd/hp/hp.drv ]
+then
+ rm /opt/etc/cups/ppd/hp/hp.drv
+fi
+if [ -f /opt/etc/cups/ppd/samsung/samsung.drv ]
+then
+ rm /opt/etc/cups/ppd/samsung/samsung.drv
+fi
+if [ -f /opt/etc/cups/ppd/epson/epson.drv ]
+then
+ rm /opt/etc/cups/ppd/epson/epson.drv
+fi
+
+%postun
+/sbin/ldconfig
+
+
+%files
+%manifest print-service.manifest
+%defattr(-,root,root,-)
+%attr(0755,root,root) %{_bindir}/getppd
+/usr/share/license/%{name}
+%{_libdir}/*.so*
+%exclude %{_libdir}/libopmap.so*
+
+%files devel
+%defattr(644,root,root,-)
+%{_includedir}/print-service/*.h
+%{_libdir}/pkgconfig/*
+
+%files -n print-driver-data
+%manifest print-driver-data.manifest
+%defattr(-,root,root,-)
+/usr/share/license/print-driver-data
+%dir /usr/share/cups/ppd/
+/usr/share/cups/ppd/*
+%exclude %{DATADIR}/etc/cups/ppd/hp_product.list
+%exclude %{DATADIR}/etc/cups/ppd/hp.list
+%exclude %{DATADIR}/etc/cups/ppd/epson.list
+%exclude %{DATADIR}/etc/cups/ppd/samsung.list
+
+%files -n print-service-tests
+%defattr(-,root,root,-)
+%{_bindir}/getppdvalue
+%attr(0755,root,root) %{_bindir}/ppd_test.sh
+%attr(0755,root,root) %{_bindir}/test-opmap
+%attr(0755,root,root) %{_bindir}/print-test-opmap.sh
+%{_libdir}/libopmap.so*
+%attr(-,app,app) %{DATADIR}/etc/cups/ppd/hp.list
+%attr(-,app,app) %{DATADIR}/etc/cups/ppd/hp_product.list
+%attr(-,app,app) %{DATADIR}/etc/cups/ppd/epson.list
+%attr(-,app,app) %{DATADIR}/etc/cups/ppd/samsung.list
+
+%changelog
+
--- /dev/null
+Name: privacy-manager-server
+Summary: Privacy Management
+Version: 0.0.3
+Release: 1
+Group: Security/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: privacy-manager-server.service
+BuildRequires: cmake
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: gettext-tools
+BuildRequires: edje-tools
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(bundle)
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+Privacy Management
+
+%package -n privacy-manager-server-devel
+Summary: privacy-manager server
+Group: Development/Libraries
+Requires: privacy-manager-server = %{version}-%{release}
+
+%description -n privacy-manager-server-devel
+privacy-manager server devel
+
+%package -n privacy-manager-client
+Summary: privacy-manager client
+Group: System/Libraries
+Requires: privacy-manager-server = %{version}-%{release}
+
+%description -n privacy-manager-client
+privacy-manager client
+
+%package -n privacy-manager-client-devel
+Summary: privacy-manager client devel
+Group: Development/Libraries
+Requires: privacy-manager-client = %{version}-%{release}
+
+%description -n privacy-manager-client-devel
+Privacy Management(development files)
+
+%package -n capi-security-privacy-manager
+Summary: Privacy Manager API
+Group: API/C API
+License: Apache-2.0
+Requires: privacy-manager-client = %{version}-%{release}
+
+%description -n capi-security-privacy-manager
+The Privacy Manager API provides functions to get/set information about privacy information of installed packages.
+
+%package -n capi-security-privacy-manager-devel
+Summary: Privacy Manager API (Development)
+Group: API/C API
+Requires: capi-security-privacy-manager = %{version}-%{release}
+
+%description -n capi-security-privacy-manager-devel
+The Privacy Manager API provides functions to get/set information about privacy information of installed packages.(DEV)
+
+%package -n tizenprv00.privacy-popup
+Summary: Privacy Popup
+Group: System/Security
+
+%description -n tizenprv00.privacy-popup
+The Privacy popup provides UI to set privacy information of application.
+
+%prep
+%setup -q
+
+%build
+#%{!?build_type:%define build_type "Release"}
+
+%cmake . -DPREFIX=%{_prefix} \
+ -DEXEC_PREFIX=%{_exec_prefix} \
+ -DLIBDIR=%{_libdir} \
+ -DINCLUDEDIR=%{_includedir} \
+ -DCMAKE_BUILD_TYPE=%{build_type} \
+ -DVERSION=%{version} \
+ -DDPL_LOG="ON"
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/bin
+cp res/usr/bin/* %{buildroot}/usr/bin/
+mkdir -p %{buildroot}/opt/dbspace
+cp res/opt/dbspace/.privacylist.db /%{buildroot}/opt/dbspace/
+
+%make_install
+
+mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
+install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/privacy-manager-server.service
+ln -sf %{_unitdir}/privacy-manager-server.service %{buildroot}%{_unitdir}/multi-user.target.wants/privacy-manager-server.service
+
+
+%post -n privacy-manager-server
+/sbin/ldconfig
+
+echo "Check privacy DB"
+if [ ! -f /opt/dbspace/.privacy.db ]
+then
+ echo "Create privacy DB"
+ /usr/bin/privacy_manager_create_clean_db.sh
+fi
+
+%postun -p /sbin/ldconfig
+
+%post -n privacy-manager-client -p /sbin/ldconfig
+
+%postun -n privacy-manager-client -p /sbin/ldconfig
+
+%post -n capi-security-privacy-manager -p /sbin/ldconfig
+
+%postun -n capi-security-privacy-manager -p /sbin/ldconfig
+
+%files -n privacy-manager-server
+%license LICENSE.APLv2
+%defattr(-,root,root,-)
+%manifest packaging/privacy-manager-server.manifest
+%{_bindir}/*
+%{_prefix}/lib/systemd/*
+/opt/dbspace/.privacylist.db
+
+%files -n privacy-manager-server-devel
+%{_libdir}/pkgconfig/privacy-manager-server.pc
+
+%files -n privacy-manager-client
+%license LICENSE.APLv2
+%defattr(-,root,root,-)
+%manifest packaging/privacy-manager-client.manifest
+%{_libdir}/libprivacy-manager-client.so*
+/etc/package-manager/parserlib/libprivileges.so
+
+%files -n privacy-manager-client-devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/pkgconfig/privacy-manager-client.pc
+
+
+
+%files -n capi-security-privacy-manager
+%license LICENSE.APLv2
+%{_libdir}/libcapi-security-privacy-manager.so.*
+%manifest packaging/capi-security-privacy-manager.manifest
+
+%files -n capi-security-privacy-manager-devel
+%{_includedir}/privacymgr/*.h
+%{_libdir}/libcapi-security-privacy-manager.so
+%{_libdir}/pkgconfig/capi-security-privacy-manager.pc
+
+%files -n tizenprv00.privacy-popup
+%license LICENSE.APLv2
+%manifest packaging/tizenprv00.privacy-popup.manifest
+%defattr(-,root,root,-)
+/usr/bin/tizenprv00.privacy-popup
+/usr/share/packages/tizenprv00.privacy-popup.xml
+#/etc/smack/accesses2.d/tizenprv00.privacy-popup.rule
--- /dev/null
+%global tests_enabled 0
+
+Name: procps-ng
+Version: 3.3.7
+Release: 1
+License: GPL-2.0 and LGPL-2.0+
+Summary: System and process monitoring utilities
+Url: https://sourceforge.net/projects/procps-ng/
+Group: System/Base
+Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: libtool
+BuildRequires: ncurses-devel
+
+%if %{tests_enabled}
+BuildRequires: dejagnu
+%endif
+
+Provides: procps = %{version}
+Obsoletes: procps < 3.3.4-1
+
+Provides: /sbin/sysctl
+Provides: /bin/ps
+
+%description
+The procps package contains a set of system utilities that provide
+system information. Procps includes ps, free, skill, pkill, pgrep,
+snice, tload, top, uptime, vmstat, w, watch and pwdx. The ps command
+displays a snapshot of running processes. The top command provides
+a repetitive update of the statuses of running processes. The free
+command displays the amounts of free and used memory on your
+system. The skill command sends a terminate command (or another
+specified signal) to a specified set of processes. The snice
+command is used to change the scheduling priority of specified
+processes. The tload command prints a graph of the current system
+load average to a specified tty. The uptime command displays the
+current time, how long the system has been running, how many users
+are logged on, and system load averages for the past one, five,
+and fifteen minutes. The w command displays a list of the users
+who are currently logged on and what they are running. The watch
+program watches a running program. The vmstat command displays
+virtual memory statistics about processes, memory, paging, block
+I/O, traps, and CPU activity. The pwdx command reports the current
+working directory of a process or processes.
+
+%package devel
+Summary: System and process monitoring utilities
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}
+Provides: procps-devel = %{version}
+Obsoletes: procps-devel < 3.3.4-1
+
+%description devel
+System and process monitoring utilities development headers
+
+%prep
+%setup -q
+
+%build
+%reconfigure
+./configure --prefix=/ \
+ --bindir=%{_bindir} \
+ --sbindir=%{_sbindir} \
+ --libdir=%{_libdir} \
+ --mandir=%{_mandir} \
+ --includedir=%{_includedir} \
+ --sysconfdir=%{_sysconfdir} \
+ --docdir=/unwanted \
+ --disable-static \
+ --disable-w-from \
+ --disable-kill \
+ --disable-rpath
+
+
+make CFLAGS="%{optflags}"
+
+
+
+%if %{tests_enabled}
+%check
+make check
+%endif
+
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_sysconfdir}/sysctl.d
+rm -rf %{buildroot}/unwanted
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%docs_package
+
+%files
+%license COPYING COPYING.LIB
+%{_libdir}/libprocps.so.*
+%{_bindir}/*
+%{_sbindir}/*
+%{_sysconfdir}/sysctl.d
+
+%exclude %{_sysconfdir}/sysctl.conf
+
+%files devel
+%{_libdir}/libprocps.so
+%{_includedir}/proc
+%{_libdir}/pkgconfig/libprocps.pc
+
+%changelog
--- /dev/null
+Name: libprovider
+Summary: Library for developing the livebox service provider.
+Version: 0.9.1
+Release: 1
+Group: HomeTF/Livebox
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake, gettext-tools, coreutils
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(com-core)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(libdri2)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(libtbm)
+BuildRequires: pkgconfig(xfixes)
+BuildRequires: pkgconfig(dri2proto)
+BuildRequires: pkgconfig(xdamage)
+BuildRequires: pkgconfig(livebox-service)
+
+%description
+Supporting the commnuncation channel with master service for livebox remote view.
+API for accessing the remote buffer of liveboxes.
+Feature for life-cycle management by the master provider.
+
+%package devel
+Summary: Header & package configuration files for developing the livebox service provider
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Livebox data provider development library (dev)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/%{_datarootdir}/license
+
+%post
+
+%files -n libprovider
+%manifest libprovider.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+%{_datarootdir}/license/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/provider/provider.h
+%{_includedir}/provider/provider_buffer.h
+%{_libdir}/pkgconfig/*.pc
+
+# End of a file
--- /dev/null
+Name: psmisc
+BuildRequires: automake
+BuildRequires: gcc-c++
+BuildRequires: glibc-devel
+BuildRequires: ncurses-devel
+BuildRequires: gettext-tools
+Url: http://sourceforge.net/projects/psmisc/
+Version: 22.20
+Release: 0
+Provides: ps:/usr/bin/killall
+Summary: Utilities for managing processes on your system
+License: GPL-2.0+
+Group: System/Base
+Source: http://sourceforge.net/projects/psmisc/files/psmisc/%{name}-%{version}.tar.gz
+
+%description
+The psmisc package contains utilities for managing processes on your
+system: pstree, killall and fuser. The pstree command displays a tree
+structure of all of the running processes on your system. The killall
+command sends a specified signal (SIGTERM if nothing is specified) to
+processes identified by name. The fuser command identifies the PIDs of
+processes that are using specified files or filesystems.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fi
+CFLAGS="-D_GNU_SOURCE ${RPM_OPT_FLAGS} -pipe"
+CXXFLAGS="$CFLAGS"
+CC=gcc
+CXX=g++
+export CFLAGS CXXFLAGS CC CXX
+sh ./configure --prefix=%{_prefix} --mandir=%{_mandir} \
+ --disable-rpath \
+ --with-gnu-ld \
+ --disable-nls \
+ --enable-timeout-stat
+make %{?_smp_mflags} CFLAGS="$CFLAGS" "CC=$CC"
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%docs_package
+
+%files
+%defattr (-,root,root,755)
+%{_bindir}/fuser
+%{_bindir}/killall
+%{_bindir}/peekfd
+%{_bindir}/prtstat
+%{_bindir}/pstree
+%{_bindir}/pstree.x11
+
--- /dev/null
+Name: pth
+Version: 2.0.7
+Release: 0
+License: LGPL-2.1+
+Summary: GNU Portable Threads
+Url: http://www.gnu.org/software/pth/
+Group: Development/Libraries/C and C++
+Source: %{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: autoconf
+
+%description
+Pth is a very portable POSIX/ANSI-C based library for Unix platforms
+which provides non-preemptive priority-based scheduling for multiple
+threads of execution ("multithreading") inside server applications. All
+threads run in the same address space of the server application, but
+each thread has it's own individual program-counter, run-time stack,
+signal mask and errno variable.
+
+%package -n libpth
+Summary: GNU Portable Threads
+Group: Development/Libraries/C and C++
+Provides: pth
+Obsoletes: pth
+%define library_name libpth
+%define debug_package_requires %{library_name} = %{version}-%{release}
+
+%description -n libpth
+Pth is a very portable POSIX/ANSI-C based library for Unix platforms
+which provides non-preemptive priority-based scheduling for multiple
+threads of execution ("multithreading") inside server applications. All
+threads run in the same address space of the server application, but
+each thread has it's own individual program-counter, run-time stack,
+signal mask and errno variable.
+
+%package -n libpth-devel
+Summary: GNU Portable Threads
+Group: Development/Libraries/C and C++
+Requires: %{library_name} = %{version}
+Provides: pth-devel = %{version}
+Obsoletes: pth-devel < %{version}
+
+%description -n libpth-devel
+Pth is a very portable POSIX/ANSI-C based library for Unix platforms
+which provides non-preemptive priority-based scheduling for multiple
+threads of execution ("multithreading") inside server applications. All
+threads run in the same address space of the server application, but
+each thread has it's own individual program-counter, run-time stack,
+signal mask and errno variable.
+
+%prep
+%setup -q
+
+%build
+autoconf
+%ifarch %{arm}
+CFLAGS="${RPM_OPT_FLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=0}"
+%endif
+
+%configure --disable-static --with-pic \
+%ifarch %arm
+ --with-mctx-mth=sjlj --with-mctx-dsp=sjlj --with-mctx-stk=ss \
+%endif
+ --enable-optimize=yes \
+ --enable-pthread=no \
+ --with-gnu-ld
+make pth_p.h
+make %{?_smp_mflags}
+
+%check
+make test
+
+%install
+%make_install
+#empty dependency_libs
+rm -f %{buildroot}%{_libdir}/libpth.la
+
+%post -n %{library_name} -p /sbin/ldconfig
+
+%postun -n %{library_name} -p /sbin/ldconfig
+
+%files -n libpth
+%defattr(-,root,root)
+%doc COPYING
+%{_libdir}/libpth*.so.*
+
+%files -n libpth-devel
+%defattr(-,root,root)
+%{_bindir}/pth-config
+%{_includedir}/pth.h
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/pth.m4
+%{_libdir}/libpth*.so
+%doc %{_mandir}/man1/*
+%doc %{_mandir}/man3/*
+
+%changelog
--- /dev/null
+Summary: Pulseaudio module for enforcing policy decisions in the audio domain
+Name: pulseaudio-module-murphy-ivi
+Version: 0.9.11
+Release: 0
+License: LGPLv2.1
+Group: System Environment/Daemons
+URL: https://github.com/otcshare/pulseaudio-module-murphy-ivi
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: pkgconfig(pulseaudio-module-devel)
+BuildRequires: pkgconfig(libpulse)
+BuildRequires: pkgconfig(murphy-common)
+Buildrequires: pkgconfig(json)
+BuildRequires: pkgconfig(murphy-lua-utils)
+BuildRequires: pkgconfig(lua)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: libtool-ltdl-devel
+Buildrequires: pkgconfig(json)
+BuildRequires: config(pulseaudio)
+BuildRequires: pkgconfig(murphy-pulse)
+BuildRequires: murphy-pulse
+Requires: pulseaudio
+Conflicts: pulseaudio-module-combine-sink
+Conflicts: pulseaudio-module-augment-properties
+
+
+%description
+This package contains a pulseaudio module that enforces (mostly audio) routing,
+corking and muting policy decisions.
+
+%prep
+%setup -q
+
+%build
+PAVER="`/usr/bin/pkg-config --silence-errors --modversion libpulse | \
+tr -d \\n | sed -e 's/\([0123456789.]\+\).*/\1/'`"
+./bootstrap.sh
+
+unset LD_AS_NEEDED
+%configure --disable-static \
+--with-module-dir=%{_libdir}/pulse-$PAVER/modules \
+--with-dbus \
+--with-documentation=no \
+--with-murphyif
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+rm -f %{_libdir}/pulse-*/modules/module-*.la
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/pulse-*/modules/module-*.so
+#%{_sysconfdir}/dbus-1/system.d/pulseaudio-murphy-ivi.conf
+%{_sysconfdir}/pulse/murphy-ivi.lua
--- /dev/null
+%bcond_with tizen
+
+Name: pulseaudio
+Version: 2.1
+Release: 0
+License: GPL-2.0+ and LGPL-2.1+
+%define drvver 2.1
+%define soname 0
+Summary: A Networked Sound Server
+Url: http://pulseaudio.org
+Group: Multimedia/Audio
+Source: http://www.freedesktop.org/software/pulseaudio/releases/%{name}-%{version}.tar.xz
+Source1: default.pa-for-gdm
+Source2: setup-pulseaudio
+Source3: sysconfig.sound-pulseaudio
+Source99: baselibs.conf
+BuildRequires: fdupes
+BuildRequires: gdbm-devel
+BuildRequires: intltool
+BuildRequires: libcap-devel
+BuildRequires: libtool
+BuildRequires: libudev-devel >= 143
+BuildRequires: update-desktop-files
+BuildRequires: pkgconfig(alsa)
+BuildRequires: pkgconfig(bluez)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xi)
+BuildRequires: pkgconfig(x11-xcb)
+BuildRequires: pkgconfig(xcb) >= 1.6
+BuildRequires: pkgconfig(ice)
+BuildRequires: pkgconfig(sm)
+BuildRequires: pkgconfig(xtst)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(json) >= 0.9
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(orc-0.4)
+BuildRequires: pkgconfig(sndfile)
+BuildRequires: pkgconfig(speex)
+%if %{with tizen}
+BuildRequires: pkgconfig(capi-system-power)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+%endif
+Requires: udev >= 146
+Requires(pre): pwdutils
+
+%description
+pulseaudio is a networked sound server for Linux, other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+%package esound-compat
+Summary: ESOUND compatibility for PulseAudio
+Group: Multimedia/Audio
+Requires: %{name} = %{version}
+
+%description esound-compat
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+This package provides the compatibility layer for drop-in replacement
+of ESOUND.
+
+%package module-devel
+License: LGPL-2.0+
+Summary: Headers and libraries for PulseAudio module development
+Group: Development/Libraries
+Requires: libpulse-devel = %{version}
+
+%description module-devel
+Headers and libraries for developing pulseaudio modules
+
+%package module-x11
+Summary: X11 module for PulseAudio
+Group: Multimedia/Audio
+Requires: %{name} = %{version}
+Requires: %{name}-utils = %{version}
+
+%description module-x11
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+This package provides the components needed to automatically start
+the PulseAudio sound server on X11 startup.
+
+%package module-zeroconf
+Summary: Zeroconf module for PulseAudio
+Group: Multimedia/Audio
+Requires: %{name} = %{version}
+
+%description module-zeroconf
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+This package provides zeroconf network support for the PulseAudio sound server
+
+%package module-jack
+Summary: JACK support for the PulseAudio sound server
+Group: Multimedia/Audio
+Requires: %{name} = %{version}
+
+%description module-jack
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+This package includes support for Jack-based applications.
+
+%package module-bluetooth
+Summary: Bluetooth support for the PulseAudio sound server
+Group: Multimedia/Audio
+Requires: %{name} = %{version}
+Requires: bluez >= 4.34
+
+%description module-bluetooth
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+Contains Bluetooth audio (A2DP/HSP/HFP) support for the PulseAudio sound server.
+
+%package module-gconf
+Summary: GCONF module for PulseAudio
+Group: Multimedia/Audio
+Requires: %{name} = %{version}
+
+%description module-gconf
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+This package provides gconf storage of PulseAudio sound server settings.
+
+%package -n libpulse
+Summary: Client interface to PulseAudio
+Group: Multimedia/Audio
+
+%description -n libpulse
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+This package contains the system libraries for clients of pulseaudio
+sound server.
+
+%package -n libpulse-mainloop-glib
+Summary: GLIB 2
+Group: Multimedia/Audio
+
+%description -n libpulse-mainloop-glib
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+This package contains the GLIB Main Loop bindings for the PulseAudio
+sound server.
+
+%package -n libpulse-devel
+Summary: Development package for the pulseaudio library
+Group: Development/Libraries
+Requires: libpulse = %{version}
+Requires: libpulse-mainloop-glib = %{version}
+Requires: pkgconfig
+Requires: pkgconfig(glib-2.0)
+
+%description -n libpulse-devel
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+This package contains the files needed to compile programs that use the
+pulseaudio library.
+
+%package utils
+Summary: PulseAudio utilities
+Group: Multimedia/Audio
+Requires: %{name} = %{version}
+Requires: libpulse = %{version}
+Requires: libpulse-mainloop-glib = %{version}
+
+%description utils
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+This package provides utilies for making use of the PulseAudio sound
+server.
+
+%package gdm-hooks
+Summary: PulseAudio GDM integration
+Group: Multimedia/Audio
+Requires: %{name} = %{version}
+Requires: gdm >= 2.22
+Requires(pre): gdm
+#avoid cycle
+#!BuildIgnore: gdm
+
+%description gdm-hooks
+pulseaudio is a networked sound server for Linux and other Unix like
+operating systems and Microsoft Windows. It is intended to be an
+improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
+
+This package contains GDM integration hooks for the PulseAudio sound server.
+
+%prep
+%setup -q -T -b0
+
+%build
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+# libpulse and libpulsecommon need each other - no way with as-needed
+export LD_AS_NEEDED=0
+echo "%{version}" > .tarball-version
+./bootstrap.sh
+%configure \
+ --disable-static \
+ --disable-rpath \
+%if %{with tizen}
+ --enable-dlog \
+ --enable-pmapi \
+ --enable-spolicy \
+%endif
+ --enable-systemd \
+ --with-system-user=pulse \
+ --with-system-group=pulse \
+ --with-access-group=pulse-access \
+ --with-udev-rules-dir=/usr/lib/udev/rules.d \
+ --disable-hal
+make %{?_smp_mflags} V=1
+
+%install
+%make_install
+%find_lang %{name}
+install %{SOURCE2} %{buildroot}%{_bindir}
+chmod 755 %{buildroot}%{_bindir}/setup-pulseaudio
+mkdir -p %{buildroot}%{_sysconfdir}/profile.d
+touch %{buildroot}%{_sysconfdir}/profile.d/pulseaudio.sh
+touch %{buildroot}%{_sysconfdir}/profile.d/pulseaudio.csh
+mkdir -p %{buildroot}%{_localstatedir}/lib/gdm/.pulse
+cp $RPM_SOURCE_DIR/default.pa-for-gdm %{buildroot}%{_localstatedir}/lib/gdm/.pulse/default.pa
+ln -s esdcompat %{buildroot}%{_bindir}/esd
+rm -rf %{buildroot}%{_sysconfdir}/xdg/autostart/pulseaudio-kde.desktop
+
+install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/sound
+%pre
+groupadd -r pulse &>/dev/null || :
+useradd -r -c 'PulseAudio daemon' \
+ -s /sbin/nologin -d /var/lib/pulseaudio -g pulse -G audio pulse &>/dev/null || :
+groupadd -r pulse-access &>/dev/null || :
+
+%post -n libpulse -p /sbin/ldconfig
+
+%postun -n libpulse -p /sbin/ldconfig
+
+%post -n libpulse-mainloop-glib -p /sbin/ldconfig
+
+%postun -n libpulse-mainloop-glib -p /sbin/ldconfig
+
+%post
+/sbin/ldconfig
+# Update the /etc/profile.d/pulseaudio.* files
+setup-pulseaudio --auto > /dev/null
+
+%postun -p /sbin/ldconfig
+
+%lang_package
+
+%files
+%defattr(-,root,root)
+%license LICENSE GPL LGPL
+%config(noreplace) %{_sysconfdir}/sysconfig/sound
+%{_bindir}/pulseaudio
+%{_bindir}/setup-pulseaudio
+%dir %{_datadir}/pulseaudio
+%{_datadir}/pulseaudio/alsa-mixer
+%{_libdir}/libpulsecore-%{drvver}.so
+%dir %{_libdir}/pulseaudio
+%{_libdir}/pulseaudio/libpulsedsp.so
+%dir %{_libdir}/pulse-%{drvver}/
+%dir %{_libdir}/pulse-%{drvver}/modules/
+%{_libdir}/pulse-%{drvver}/modules/libalsa-util.so
+%{_libdir}/pulse-%{drvver}/modules/libcli.so
+%{_libdir}/pulse-%{drvver}/modules/liboss-util.so
+%{_libdir}/pulse-%{drvver}/modules/libprotocol-cli.so
+%{_libdir}/pulse-%{drvver}/modules/libprotocol-esound.so
+%{_libdir}/pulse-%{drvver}/modules/libprotocol-http.so
+%{_libdir}/pulse-%{drvver}/modules/libprotocol-native.so
+%{_libdir}/pulse-%{drvver}/modules/libprotocol-simple.so
+%{_libdir}/pulse-%{drvver}/modules/librtp.so
+%{_libdir}/pulse-%{drvver}/modules/module-alsa-card.so
+%{_libdir}/pulse-%{drvver}/modules/module-alsa-sink.so
+%{_libdir}/pulse-%{drvver}/modules/module-alsa-source.so
+%{_libdir}/pulse-%{drvver}/modules/module-always-sink.so
+%{_libdir}/pulse-%{drvver}/modules/module-augment-properties.so
+%{_libdir}/pulse-%{drvver}/modules/module-card-restore.so
+%{_libdir}/pulse-%{drvver}/modules/module-cli.so
+%{_libdir}/pulse-%{drvver}/modules/module-cli-protocol-tcp.so
+%{_libdir}/pulse-%{drvver}/modules/module-cli-protocol-unix.so
+%{_libdir}/pulse-%{drvver}/modules/module-combine.so
+%{_libdir}/pulse-%{drvver}/modules/module-combine-sink.so
+%{_libdir}/pulse-%{drvver}/modules/module-console-kit.so
+%{_libdir}/pulse-%{drvver}/modules/module-dbus-protocol.so
+%{_libdir}/pulse-%{drvver}/modules/module-default-device-restore.so
+%{_libdir}/pulse-%{drvver}/modules/module-detect.so
+%{_libdir}/pulse-%{drvver}/modules/module-device-manager.so
+%{_libdir}/pulse-%{drvver}/modules/module-device-restore.so
+%{_libdir}/pulse-%{drvver}/modules/module-echo-cancel.so
+%{_libdir}/pulse-%{drvver}/modules/module-esound-compat-spawnfd.so
+%{_libdir}/pulse-%{drvver}/modules/module-esound-compat-spawnpid.so
+%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-tcp.so
+%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-unix.so
+%{_libdir}/pulse-%{drvver}/modules/module-esound-sink.so
+%{_libdir}/pulse-%{drvver}/modules/module-filter-apply.so
+%{_libdir}/pulse-%{drvver}/modules/module-filter-heuristics.so
+%{_libdir}/pulse-%{drvver}/modules/module-hal-detect.so
+%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-tcp.so
+%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-unix.so
+%{_libdir}/pulse-%{drvver}/modules/module-intended-roles.so
+%{_libdir}/pulse-%{drvver}/modules/module-ladspa-sink.so
+%{_libdir}/pulse-%{drvver}/modules/libraop.so
+%{_libdir}/pulse-%{drvver}/modules/module-raop-sink.so
+%{_libdir}/pulse-%{drvver}/modules/module-loopback.so
+%{_libdir}/pulse-%{drvver}/modules/module-match.so
+%{_libdir}/pulse-%{drvver}/modules/module-mmkbd-evdev.so
+%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-fd.so
+%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-tcp.so
+%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-unix.so
+%{_libdir}/pulse-%{drvver}/modules/module-null-sink.so
+%{_libdir}/pulse-%{drvver}/modules/module-null-source.so
+%{_libdir}/pulse-%{drvver}/modules/module-oss.so
+%{_libdir}/pulse-%{drvver}/modules/module-pipe-sink.so
+%{_libdir}/pulse-%{drvver}/modules/module-pipe-source.so
+%{_libdir}/pulse-%{drvver}/modules/module-position-event-sounds.so
+%{_libdir}/pulse-%{drvver}/modules/module-remap-sink.so
+%{_libdir}/pulse-%{drvver}/modules/module-rescue-streams.so
+%{_libdir}/pulse-%{drvver}/modules/module-role-cork.so
+%{_libdir}/pulse-%{drvver}/modules/module-rtp-recv.so
+%{_libdir}/pulse-%{drvver}/modules/module-rtp-send.so
+%{_libdir}/pulse-%{drvver}/modules/module-rygel-media-server.so
+%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-tcp.so
+%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-unix.so
+%{_libdir}/pulse-%{drvver}/modules/module-sine.so
+%{_libdir}/pulse-%{drvver}/modules/module-sine-source.so
+%{_libdir}/pulse-%{drvver}/modules/module-stream-restore.so
+%{_libdir}/pulse-%{drvver}/modules/module-suspend-on-idle.so
+%{_libdir}/pulse-%{drvver}/modules/module-switch-on-connect.so
+%{_libdir}/pulse-%{drvver}/modules/module-switch-on-port-available.so
+%{_libdir}/pulse-%{drvver}/modules/module-systemd-login.so
+%{_libdir}/pulse-%{drvver}/modules/module-tunnel-sink.so
+%{_libdir}/pulse-%{drvver}/modules/module-tunnel-source.so
+%{_libdir}/pulse-%{drvver}/modules/module-udev-detect.so
+%{_libdir}/pulse-%{drvver}/modules/module-virtual-sink.so
+%{_libdir}/pulse-%{drvver}/modules/module-virtual-source.so
+%{_libdir}/pulse-%{drvver}/modules/module-virtual-surround-sink.so
+%{_libdir}/pulse-%{drvver}/modules/module-volume-restore.so
+%if %{with tizen}
+%{_libdir}/pulse-%{drvver}/modules/module-policy.so
+%endif
+
+%{_prefix}/lib/udev/rules.d/90-pulseaudio.rules
+%dir %{_sysconfdir}/pulse/
+%config(noreplace) %{_sysconfdir}/pulse/daemon.conf
+%config(noreplace) %{_sysconfdir}/pulse/default.pa
+%config(noreplace) %{_sysconfdir}/pulse/system.pa
+%config(noreplace) %{_sysconfdir}/dbus-1/system.d/pulseaudio-system.conf
+# created by setup-pulseaudio script
+%ghost %{_sysconfdir}/profile.d/pulseaudio.sh
+%ghost %{_sysconfdir}/profile.d/pulseaudio.csh
+
+%files esound-compat
+%defattr(-,root,root)
+%{_bindir}/esdcompat
+%{_bindir}/esd
+
+%files gdm-hooks
+%defattr(-,root,root)
+%attr(0750, gdm, gdm) %dir %{_localstatedir}/lib/gdm
+%attr(0700, gdm, gdm) %dir %{_localstatedir}/lib/gdm/.pulse
+%attr(0600, gdm, gdm) %{_localstatedir}/lib/gdm/.pulse/default.pa
+
+%files -n libpulse
+%defattr(-,root,root)
+%doc README LICENSE GPL LGPL
+%dir %{_sysconfdir}/pulse/
+%config(noreplace) %{_sysconfdir}/pulse/client.conf
+%{_libdir}/libpulse.so.%{soname}
+%{_libdir}/libpulse.so.%{soname}.*
+%{_libdir}/libpulse-simple.so.*
+%dir %{_libdir}/pulseaudio
+%{_libdir}/pulseaudio/libpulsecommon-%{drvver}.so
+
+%files module-devel
+%defattr(-,root,root)
+%{_includedir}/pulsecore/*.h
+%{_includedir}/pulsemodule/pulse/*.h
+%{_libdir}/pkgconfig/pulseaudio-module-devel.pc
+
+%files -n libpulse-devel
+%defattr(-,root,root)
+%{_includedir}/pulse/
+%{_libdir}/libpulse.so
+%{_libdir}/libpulse-mainloop-glib.so
+%{_libdir}/libpulse-simple.so
+%{_libdir}/pkgconfig/libpulse*.pc
+%dir %{_libdir}/cmake
+%dir %{_libdir}/cmake/PulseAudio
+%{_libdir}/cmake/PulseAudio/PulseAudio*.cmake
+%{_datadir}/vala
+
+%files -n libpulse-mainloop-glib
+%defattr(-,root,root)
+%{_libdir}/libpulse-mainloop-glib.so.*
+
+%files module-bluetooth
+%defattr(-,root,root)
+%{_libdir}/pulse-%{drvver}/modules/libbluetooth-ipc.so
+%{_libdir}/pulse-%{drvver}/modules/libbluetooth-sbc.so
+%{_libdir}/pulse-%{drvver}/modules/libbluetooth-util.so
+%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-device.so
+%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-discover.so
+%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-proximity.so
+%attr(0755,root,root) %{_libexecdir}/pulse/proximity-helper
+
+%files module-x11
+%defattr(-,root,root)
+%{_sysconfdir}/xdg/autostart/pulseaudio.desktop
+%{_bindir}/start-pulseaudio-x11
+%{_bindir}/start-pulseaudio-kde
+%{_libdir}/pulse-%{drvver}/modules/module-x11-bell.so
+%{_libdir}/pulse-%{drvver}/modules/module-x11-cork-request.so
+%{_libdir}/pulse-%{drvver}/modules/module-x11-publish.so
+%{_libdir}/pulse-%{drvver}/modules/module-x11-xsmp.so
+
+%files module-zeroconf
+%defattr(-,root,root)
+#%{_libdir}/pulse-%{drvver}/modules/libavahi-wrap.so
+%{_libdir}/pulse-%{drvver}/modules/libraop.so
+#%{_libdir}/pulse-%{drvver}/modules/module-raop-discover.so
+%{_libdir}/pulse-%{drvver}/modules/module-raop-sink.so
+#%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-discover.so
+#%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-publish.so
+
+%files utils
+%defattr(-,root,root)
+%{_bindir}/pacat
+%{_bindir}/pacmd
+%{_bindir}/pactl
+%{_bindir}/paplay
+%{_bindir}/parec
+%{_bindir}/pamon
+%{_bindir}/parecord
+%{_bindir}/pax11publish
+%{_bindir}/padsp
+%{_bindir}/pasuspender
+
+
+%docs_package
+%changelog
--- /dev/null
+Name: pwdutils
+BuildRequires: libtool
+BuildRequires: openssl-devel
+BuildRequires: pam-devel
+BuildRequires: gettext-tools
+Url: http://www.thkukuk.de/pam/pwdutils/
+Version: 3.2.19
+Release: 0
+Summary: Utilities to Manage User and Group Accounts
+License: GPL-2.0
+Group: Security/Accounts
+Source: pwdutils-%{version}.tar.bz2
+Source3: useradd.default
+
+%description
+This package includes the necessary programs for converting plain
+password files to the shadow password format, and managing user and
+group accounts in both local files and in an LDAP database.
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-ldap --libdir=%{_libdir} --disable-nls --disable-pam_rpasswd
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/pwdutils/lib*.so
+#mkdir $RPM_BUILD_ROOT/%{_lib}
+#mv $RPM_BUILD_ROOT%{_libdir}/security $RPM_BUILD_ROOT/%{_lib}
+/sbin/ldconfig -n %{_libdir}/pwdutils
+rm -f $RPM_BUILD_ROOT%{_libdir}/pwdutils/*a
+rm -f $RPM_BUILD_ROOT/%{_lib}/security/*a
+
+rm -f %{buildroot}/etc/init.d/rpasswdd
+rm -f %{buildroot}/etc/pam.d/rpasswd
+rm -f %{buildroot}/etc/rpasswd.conf
+rm -f %{buildroot}/usr/bin/rpasswd
+rm -f %{buildroot}/usr/sbin/rpasswdd
+ln -sf newgrp $RPM_BUILD_ROOT%{_bindir}/sg
+install -m 644 $RPM_SOURCE_DIR/useradd.default $RPM_BUILD_ROOT/etc/default/useradd
+echo ".so man8/useradd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/adduser.8
+
+%docs_package
+
+%files
+%license COPYING
+%defattr(-,root,root,755)
+%config /etc/login.defs
+%config /etc/pam.d/chage
+%config /etc/pam.d/chfn
+%config /etc/pam.d/chsh
+%config /etc/pam.d/passwd
+%config /etc/pam.d/shadow
+%config /etc/pam.d/useradd
+%config(noreplace) /etc/default/useradd
+%config(noreplace) /etc/default/passwd
+%dir /etc/pwdutils
+%config(noreplace) /etc/pwdutils/logging
+%attr (4755,root,shadow) %{_bindir}/chage
+%attr (4755,root,shadow) %{_bindir}/chfn
+%attr (4755,root,shadow) %{_bindir}/chsh
+%attr (4755,root,shadow) %{_bindir}/expiry
+%attr (4755,root,shadow) %{_bindir}/gpasswd
+%attr (4755,root,root) %{_bindir}/newgrp
+%attr (4755,root,shadow) %{_bindir}/passwd
+%{_bindir}/sg
+%{_sbindir}/chpasswd
+%{_sbindir}/groupadd
+%{_sbindir}/groupdel
+%{_sbindir}/groupmod
+%{_sbindir}/grpck
+%{_sbindir}/grpconv
+%{_sbindir}/grpunconv
+%{_sbindir}/pwck
+%{_sbindir}/pwconv
+%{_sbindir}/pwunconv
+%{_sbindir}/useradd
+%verify(not md5 size mtime) %config(noreplace) %{_sbindir}/groupadd.local
+%verify(not md5 size mtime) %config(noreplace) %{_sbindir}/useradd.local
+%verify(not md5 size mtime) %config(noreplace) %{_sbindir}/userdel-pre.local
+%verify(not md5 size mtime) %config(noreplace) %{_sbindir}/userdel-post.local
+%{_sbindir}/userdel
+%{_sbindir}/usermod
+%{_sbindir}/vigr
+%{_sbindir}/vipw
+%dir %{_libdir}/pwdutils
+%{_libdir}/pwdutils/liblog_syslog.so.1*
+
--- /dev/null
+%define PREFIX /usr/apps/org.tizen.pwlock
+
+Name: org.tizen.pwlock
+Summary: Password Lock application
+Version: 0.4.0
+Release: 1
+Group: TBD
+License: TBD
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(accounts-svc)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(iniparser)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: gettext
+BuildRequires: cmake
+BuildRequires: edje-tools
+Requires(post): /usr/bin/vconftool
+
+%description
+Password lock application.
+
+%prep
+%setup -q
+
+%build
+LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--as-needed";export LDFLAGS
+cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
+# cmake does not have a good dependency and make parallel will fail
+# make %{?jobs:-j%jobs}
+make
+
+%install
+%make_install
+
+%post
+GOPTION="-g 6514"
+vconftool $GOPTION set -t bool db/pwlock/first_boot "1" -f
+vconftool $GOPTION set -t int memory/pwlock/state "0" -f -i
+
+%files
+%manifest org.tizen.pwlock.manifest
+/etc/smack/accesses.d/org.tizen.pwlock.rule
+%defattr(-,root,root,-)
+%attr(4755,root,root) /usr/apps/org.tizen.pwlock/bin/pwlock
+/usr/apps/org.tizen.pwlock/bin/pwlock
+/usr/apps/org.tizen.pwlock/res/locale/*/LC_MESSAGES/pwlock.mo
+/usr/share/packages/org.tizen.pwlock.xml
+/usr/apps/org.tizen.pwlock/res/langlist.xml
+/usr/apps/org.tizen.pwlock/res/edje/*.edj
+/usr/apps/org.tizen.pwlock/res/images/*.png
+
--- /dev/null
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+# Last updated for version 2.19.0
+%define glib2_version 2.16.0
+%define python2_version 2.3.5
+
+### Abstract ###
+
+Name: pygobject
+Version: 2.21.3
+Release: 1.1
+License: LGPLv2+
+Group: Development/Languages
+Summary: Python bindings for GObject
+URL: http://www.pygtk.org/
+Source0: %{name}-%{version}.tar.bz2
+Source101: %{name}-rpmlintrc
+
+
+### Build Dependencies ###
+
+BuildRequires: automake
+BuildRequires: glib2-devel >= %{glib2_version}
+BuildRequires: libtool
+BuildRequires: python-devel >= %{python2_version}
+
+%description
+The %{name} package provides a convenient wrapper for the GObject library
+for use in Python programs.
+
+%package codegen
+Summary: The code generation program for PyGObject
+Group: Development/Languages
+
+%description codegen
+The package contains the C code generation program for PyGObject.
+
+%package devel
+Summary: Development files for building add-on libraries
+Group: Development/Languages
+Requires: %{name} = %{version}-%{release}
+Requires: %{name}-codegen = %{version}-%{release}
+Requires: %{name}-doc = %{version}-%{release}
+Requires: glib2-devel
+Requires: pkgconfig
+
+%description devel
+This package contains files required to build wrappers for %{name}-based
+libraries such as pygtk2.
+
+%package doc
+Summary: Documentation files for %{name}
+Group: Development/Languages
+
+%description doc
+This package contains documentation files for %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure --enable-thread
+export tagname=CC
+make LIBTOOL=/usr/bin/libtool
+
+%install
+rm -rf $RPM_BUILD_ROOT
+export tagname=CC
+make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install
+find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
+
+rm examples/Makefile*
+
+%clean
+rm -fr $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644, root, root, 755)
+%doc AUTHORS NEWS README
+
+%{_libdir}/libpyglib-2.0-python.so*
+%dir %{python_sitearch}/gtk-2.0
+%{python_sitearch}/gtk-2.0/dsextras.*
+%{python_sitearch}/pygtk.*
+
+%defattr(755, root, root, 755)
+%{python_sitearch}/gtk-2.0/gio
+#%{python_sitearch}/gtk-2.0/girepository
+%{python_sitearch}/gtk-2.0/glib
+%{python_sitearch}/gtk-2.0/gobject
+
+%files codegen
+%defattr(755, root, root, 755)
+%{_bindir}/pygobject-codegen-2.0
+%defattr(644, root, root, 755)
+%dir %{_datadir}/pygobject/2.0
+%{_datadir}/pygobject/2.0/codegen
+
+%files devel
+%defattr(644, root, root, 755)
+%dir %{_datadir}/pygobject
+%dir %{_includedir}/pygtk-2.0
+%{_datadir}/pygobject/2.0/defs
+#%{_includedir}/pygobject/bank.h
+%{_includedir}/pygtk-2.0/pyglib.h
+%{_includedir}/pygtk-2.0/pygobject.h
+%{_libdir}/pkgconfig/pygobject-2.0.pc
+
+%files doc
+%defattr(644, root, root, 755)
+%doc examples
+%{_datadir}/gtk-doc/html/pygobject
+%{_datadir}/pygobject/xsl
+
--- /dev/null
+Name: python-Cheetah
+Version: 2.4.4
+Release: 0
+Url: http://www.cheetahtemplate.org/
+Summary: Cheetah is a template engine and code generation tool
+License: MIT
+Group: Development/Languages/Python
+Source: http://pypi.python.org/packages/source/C/Cheetah/Cheetah-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: fdupes
+BuildRequires: python-devel
+Provides: python-cheetah = %{version}
+Obsoletes: python-cheetah < %{version}
+
+%description
+Cheetah is an open source template engine and code generation tool.
+
+It can be used standalone or combined with other tools and frameworks. Web
+development is its principle use, but Cheetah is very flexible and is also being
+used to generate C++ game code, Java, sql, form emails and even Python code.
+
+%prep
+%setup -q -n Cheetah-%{version}
+# Remove she-bang lines for non-executable scripts:
+sed -i "1d" cheetah/{Tests/{Unicode,Filters,Parser,Template,Regressions,Cheps,Analyzer,Test,Misc,CheetahWrapper,SyntaxAndOutput,NameMapper,Performance},ImportHooks,Utils/Misc,Servlet,NameMapper,Parser,DirectiveAnalyzer}.py
+
+%build
+CFLAGS="%{optflags}" python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%fdupes %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE
+%{_bindir}/cheetah*
+%python_sitearch/*
+
+%changelog
--- /dev/null
+#
+# spec file for package python-M2Crypto
+#
+# Copyright (c) 2012 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.
+
+Name: python-M2Crypto
+Version: 0.21.1
+Release: 0
+Url: http://chandlerproject.org/bin/view/Projects/MeTooCrypto
+Summary: Crypto and SSL toolkit for Python
+License: MIT and ZPL-2.0 and BSD-3-Clause
+Group: Platfrom Development/Python
+Source: M2Crypto-%{version}.tar.gz
+BuildRequires: openssl
+BuildRequires: openssl-devel
+BuildRequires: python-devel
+BuildRequires: python-distribute
+BuildRequires: swig
+BuildRequires: python
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+Provides: python-m2crypto = %{version}
+Obsoletes: python-m2crypto < %{version}
+
+%description
+M2Crypto is a crypto and SSL toolkit for Python featuring the
+following:
+
+RSA, DSA, DH, HMACs, message digests, symmetric ciphers (including
+AES). SSL functionality to implement clients and servers. HTTPS
+extensions to Python's httplib, urllib, and xmlrpclib. Unforgeable
+HMAC'ing AuthCookies for web session management. FTP/TLS client and
+server. S/MIME. ZServerSSL: A HTTPS server for Zope. ZSmime: An S/MIME
+messenger for Zope.
+
+It currently lives at
+http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto. The
+original M2Crypto homepage is at http://sandbox.rulemaker.net/ngps/m2/.
+
+%prep
+%setup -n M2Crypto-%{version}
+
+%build
+CFLAGS="%{optflags}" python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%defattr(-,root,root)
+%license LICENCE
+%{python_sitearch}/*
+
+%changelog
--- /dev/null
+Name: python-PyYAML
+Version: 3.10
+Release: 0
+Url: http://pyyaml.org/wiki/PyYAML
+Summary: YAML parser and emitter for Python
+License: MIT
+Group: Development/Languages/Python
+Source: http://pypi.python.org/packages/source/P/PyYAML/PyYAML-%{version}.tar.gz
+BuildRequires: python-devel
+BuildRequires: python-nose
+Provides: python-yaml = %{version}
+Obsoletes: python-yaml < %{version}
+
+%description
+YAML is a data serialization format designed for human readability
+and interaction with scripting languages. PyYAML is a YAML parser
+and emitter for Python.
+
+PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
+support, capable extension API, and sensible error messages. PyYAML
+supports standard YAML tags and provides Python-specific tags that
+allow to represent an arbitrary Python object.
+
+PyYAML is applicable for a broad range of tasks from complex
+configuration files to object serialization and persistance.
+
+%prep
+%setup -q -n PyYAML-%{version}
+
+%build
+CFLAGS="%{optflags}" python setup.py build
+find examples -type f | xargs chmod -x # Fix example permissions
+
+%check
+python setup.py test
+
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE
+%{python_sitearch}/*
+
+%changelog
--- /dev/null
+#
+# spec file for package python-ZSI
+#
+# Copyright (c) 2011 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.
+#
+
+Name: python-ZSI
+Version: 2.1.a1
+Release: 0
+Url: http://pywebsvcs.sf.net
+Summary: Zolera SOAP Infrastructure
+License: Python
+Group: Development/Languages/Python
+Source: http://pypi.python.org/packages/source/Z/ZSI/ZSI-2.1-a1.tar.gz
+BuildRequires: python-devel
+BuildRequires: fdupes
+BuildArch: noarch
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%description
+ZSI, the Zolera SOAP Infrastructure, is a pure-Python module that
+provides an implementation of SOAP messaging, as described in SOAP 1.1
+Specification (see http://www.w3.org/TR/soap). It can also be used to
+build applications using SOAP Messages with Attachments (see
+http://www.w3.org/TR/SOAP-attachments). ZSI is intended to make it
+easier to write web services in Python.
+
+In particular, ZSI parses and generates SOAP messages, and converts
+between native Python datatypes and SOAP syntax. Simple dispatch and
+invocation methods are supported. There are no known bugs. Its only
+known limitation is that it cannot handle multi-dimensional arrays.
+
+%prep
+%setup -q -n ZSI-2.1-a1
+find doc -type f -name .cvsignore -exec rm {} \; # Remove CVS files
+#sed -i '1d' ZSI/{auth,client,digest_auth,dispatch,fault,generate/wsdl2dispatch,__init__,parse,resolvers,schema,ServiceContainer,TCapache,TCcompound,TCnumbers,TC,TCtimes,writer,wstools/c14n,wstools/__init__}.py # Remove she-bang line
+#chmod -x doc/guide02-wsdl2py.tex # Remove executable bit from tex file
+
+%build
+python setup.py build
+%fdupes -s doc
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+#%{_bindir}/wsdl2dispatch
+%{_bindir}/wsdl2py
+%{python_sitelib}/*
+
+%changelog
--- /dev/null
+Name: python-cairo
+Version: 1.10.0
+Release: 0
+Summary: Python Bindings for Cairo
+License: LGPL-2.1+ or MPL-1.1
+Group: Development/Libraries/Python
+# FIXME: on update, check if we still need to manually compile the byte-code in %%install
+Url: http://www.cairographics.org/
+Source: py2cairo-%{version}.tar.bz2
+BuildRequires: cairo-devel
+BuildRequires: fdupes
+BuildRequires: python-devel
+
+%description
+Python bindings for cairo.
+
+%package devel
+Summary: Headers for python-cairo
+Group: Development/Libraries/C and C++
+Requires: %name = %{version}
+Requires: cairo-devel
+Requires: python-devel
+
+%description devel
+Headers for python-cairo
+
+%prep
+%setup -n py2cairo-%{version}
+
+%build
+export CFLAGS='%{optflags}'
+./waf configure --prefix=%{_prefix} --libdir=%{_libdir}
+./waf build
+
+%install
+./waf install --destdir=%{buildroot}
+# waf is broken and generated byte-code that references the build root, see http://code.google.com/p/waf/issues/detail?id=986
+%py_compile %{buildroot}/%{py_sitedir}
+%py_compile -O %{buildroot}/%{py_sitedir}
+%fdupes %{buildroot}/%{py_sitedir}
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING-*
+%{python_sitearch}/cairo/
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/pycairo/
+%{_libdir}/pkgconfig/pycairo.pc
+
+%changelog
--- /dev/null
+Name: python-coverage
+Version: 3.6
+Release: 0
+Summary: Code coverage measurement for Python
+Url: http://nedbatchelder.com/code/coverage
+License: BSD-3-Clause
+Group: Platform Development/Python
+Source: coverage-%{version}.tar.gz
+BuildRequires: python-devel
+BuildRequires: python-distribute
+BuildRequires: python-xml
+Requires: python-xml
+
+%description
+Coverage.py measures code coverage, typically during test execution. It uses
+the code analysis tools and tracing hooks provided in the Python standard
+library to determine which lines are executable, and which have been executed.
+
+%prep
+%setup -q -n coverage-%{version}
+
+%build
+python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%{_bindir}/coverage*
+%{py_sitedir}/*
--- /dev/null
+%define modname distribute
+%define mod2nam setuptools
+Name: python-%{modname}
+Version: 0.6.30
+Release: 0
+Url: http://packages.python.org/distribute
+Summary: Easily download, build, install, upgrade, and uninstall Python packages
+License: Python-2.0 or ZPL-2.0
+Group: Development/Languages/Python
+Source: http://pypi.python.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: python-devel
+Provides: python-setuptools = %{version}
+Obsoletes: python-setuptools < %{version}
+BuildArch: noarch
+%py_requires
+
+%description
+Distribute is a fork of the Setuptools project.
+
+Distribute is intended to replace Setuptools as the standard method for working
+with Python module distributions.
+
+%prep
+%setup -q -n %{modname}-%{version}
+rm -f %{modname}.egg-info/*.orig
+chmod -x {.,docs}/*.txt # Fix executable bits for documentation
+
+%build
+python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/tests # Don't install tests
+rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/*.exe # Remove unneeded files
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/easy_install
+%{_bindir}/easy_install-%{py_ver}
+%{python_sitelib}/easy_install.py*
+%{python_sitelib}/pkg_resources.py*
+%{python_sitelib}/_markerlib/
+%{python_sitelib}/%{mod2nam}.pth
+%{python_sitelib}/%{mod2nam}/
+%{python_sitelib}/site.py*
+%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info/
+%{python_sitelib}/%{mod2nam}-*-py%{py_ver}.egg-info
+
+%changelog
--- /dev/null
+Name: python-ecore
+Version: 1.7.0
+Release: 0
+License: LGPL2.1
+Summary: Edbus python bindings
+Url: http://www.enlightenment.org
+Group: EFL
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: python-devel
+BuildRequires: pkgconfig(dbus-python)
+BuildRequires: pkgconfig(ecore)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Python
+
+%description devel
+Development files for %{name}.
+
+%description
+Ecore python bindings.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/python2.7/site-packages/ecore
+
+
+%files devel
+%{_datadir}/python-ecore/examples
+%{_includedir}/python-ecore/ecore
+%{_libdir}/pkgconfig/*.pc
+
+
+%changelog
--- /dev/null
+Name: python-edbus
+Version: 1.7.0
+Release: 0
+License: LGPL2.1
+Summary: Edbus python bindings
+Url: http://www.enlightenment.org
+Group: EFL
+Source: python-e_dbus-%{version}.tar.bz2
+BuildRequires: python-devel
+BuildRequires: pkgconfig(edbus)
+BuildRequires: pkgconfig(dbus-python)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: dbus-python
+Requires: edbus
+
+%description
+Edbus python bindings.
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Python
+Requires: %{name}
+
+%description devel
+Development files for %{name}.
+
+
+%prep
+%setup -q -n python-e_dbus-%{version}
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/python2.7/site-packages/e_dbus.so
+
+%files devel
+%{_libdir}/pkgconfig/python-edbus.pc
+
+%changelog
+
--- /dev/null
+Name: python-edje
+Version: 1.7.0
+Release: 0
+License: LGPL2.1
+Summary: Edje python bindings
+Url: http://www.enlightenment.org
+Group: EFL
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: python-devel
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(python-evas)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+Edje python bindings.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Python
+Requires: pkgconfig(edje)
+Requires: pkgconfig(python-evas)
+
+%description devel
+Development files for %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/python2.7/site-packages/edje
+
+
+%files devel
+%{_datadir}/python-edje/examples
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/python-edje/edje
+
+
+%changelog
--- /dev/null
+Name: python-elementary
+Version: 1.7.0
+Release: 0
+License: LGPL2.1
+Summary: Edbus python bindings
+Url: http://www.enlightenment.org
+Group: EFL
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: python-devel
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(python-ecore)
+BuildRequires: pkgconfig(python-evas)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+Elementary python bindings.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Python
+
+%description devel
+Development files for %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/python2.7/site-packages/elementary
+
+
+%files devel
+%{_datadir}/python-elementary/examples
+%{_libdir}/pkgconfig/*.pc
+
+
+%changelog
--- /dev/null
+#
+# Please submit bugfixes or comments via http://bugs.tizen.org/
+#
+
+Name: python-evas
+Version: 1.7.0
+Release: 0
+License: LGPL2.1
+Summary: Evas python bindings
+Url: http://www.enlightenment.org
+Group: EFL
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: python-devel
+BuildRequires: pkgconfig(dbus-python)
+BuildRequires: pkgconfig(evas)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+Evas python bindings.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Python
+
+%description devel
+Development files for %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/python2.7/site-packages/evas
+
+
+%files devel
+%{_datadir}/python-evas/examples/01-smart_object.py
+%{_includedir}/python-evas/evas
+%{_libdir}/pkgconfig/python-evas.pc
+
+
+%changelog
--- /dev/null
+%define local_py_requires %{py_requires}
+%define local_py_sitedir %{py_sitedir}
+%define local_py_suffix 2
+%define local_lib_ver 0
+
+Name: python-gobject
+%define _name pygobject
+Summary: Python bindings for GObject
+License: LGPL-2.1+
+Group: Development/Libraries
+Version: 3.8.0
+Release: 0
+Url: http://ftp.gnome.org/pub/GNOME/sources/pygobject/
+Source: http://download.gnome.org/sources/pygobject/3.8/%{_name}-%{version}.tar.xz
+BuildRequires: fdupes
+BuildRequires: glib2-devel >= 2.31.0
+BuildRequires: gobject-introspection-devel >= 1.34.2
+BuildRequires: libffi-devel
+BuildRequires: python-cairo-devel
+BuildRequires: python-devel
+BuildRequires: pkgconfig(cairo)
+BuildRequires: pkgconfig(cairo-gobject)
+BuildRequires: python
+Provides: pygobject, pygobject2
+
+%description
+Pygobjects is an extension module for python that gives you access to
+GLib's GObjects.
+
+%package cairo
+Summary: Python bindings for GObject -- Cairo bindings
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description cairo
+Pygobjects is an extension module for python that gives you access to
+GLib's GObjects.
+
+This package contains the Python Cairo bindings for GObject.
+
+%package pygtkcompat
+Summary: Python bindings for GObject -- PyGTK Backwards Compatibility
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description pygtkcompat
+Pygobjects is an extension module for python that gives you access to
+GLib's GObjects.
+
+This package contains a module providing backwards compatibility to
+pygtk.
+
+%package -n libpyglib-gi-python
+Summary: Python Gobject Introspeciton binding
+Group: System/Libraries
+
+%description -n libpyglib-gi-python
+Pygobjects is an extension module for python that gives you access to
+GLib's GObjects.
+
+The bindings are handled by gobject-introspection libraries.
+
+%package devel
+Summary: Python bindings for GObject
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: libpyglib-gi-python = %{version}
+
+%description devel
+This package contains files required to build wrappers for gobject
+addon libraries such as pygtk.
+
+%prep
+%setup -q -n %{_name}-%{version}
+
+%build
+%configure
+make %{?jobs:-j%jobs} V=1
+
+%install
+%make_install
+rm examples/Makefile*
+%fdupes $RPM_BUILD_ROOT
+
+%post -n libpyglib-gi-python -p /sbin/ldconfig
+
+%postun -n libpyglib-gi-python -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{local_py_sitedir}/gi/
+%{local_py_sitedir}/pygobject-*
+# Lives in cairo subpackage
+%exclude %{local_py_sitedir}/gi/_gi_cairo.so
+# Lives in pygtkcompat subpackage
+%exclude %{local_py_sitedir}/gi/pygtkcompat.py
+
+%files -n libpyglib-gi-python
+%defattr(-, root, root)
+%{_libdir}/libpyglib-gi-2.0-python%{local_py_suffix}.so.0*
+
+%files cairo
+%defattr(-,root,root)
+%{local_py_sitedir}/gi/_gi_cairo.so
+
+%files pygtkcompat
+%defattr(-,root,root)
+#%{local_py_sitedir}/gi/pygtkcompat.py
+%{local_py_sitedir}/pygtkcompat
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/pygobject-3.0/
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/pygobject-3.0.pc
--- /dev/null
+#
+# spec file for package python-gpgme
+#
+# Copyright (c) 2012 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.
+
+
+Name: python-gpgme
+Version: 0.1
+Release: 0
+Summary: A Python module for working with OpenPGP messages
+License: LGPL-2.1+
+Group: Platform Development/Python
+Url: http://pypi.python.org/pypi/pygpgme
+Source: pygpgme-%{version}.tar.bz2
+BuildRequires: libgpgme-devel
+BuildRequires: python-devel
+
+%description
+PyGPGME is a Python module that lets you sign, verify, encrypt and
+decrypt messages using the OpenPGP format.
+
+It is built on top of the GNU Privacy Guard and the GPGME library.
+
+
+%prep
+%setup -q -n pygpgme-%{version}
+
+%build
+
+%install
+%{__python} setup.py install --root $RPM_BUILD_ROOT --prefix=%{_prefix}
+# No need to ship the tests
+rm -rf $RPM_BUILD_ROOT%{py_sitedir}/gpgme/tests/
+
+
+%files
+%defattr(-,root,root,-)
+%doc README PKG-INFO
+%{py_sitedir}/*
+
+%changelog
--- /dev/null
+#
+# spec file for package python-iniparse
+#
+# Copyright (c) 2012 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.
+
+Name: python-iniparse
+Version: 0.4
+Release: 0
+Summary: Python Module for Accessing and Modifying Configuration Data in INI files
+License: MIT
+Group: Platform Development/Python
+Url: http://code.google.com/p/iniparse/
+Source0: http://iniparse.googlecode.com/files/iniparse-%{version}.tar.gz
+BuildRequires: python-distribute
+BuildRequires: python-devel
+BuildArch: noarch
+
+%description
+iniparse is an INI parser for Python which is API compatible with the
+standard library's ConfigParser, preserves structure of INI files
+(order of sections & options, indentation, comments, and blank lines
+are preserved when data is updated), and is more convenient to use.
+
+%prep
+%setup -q -n iniparse-%{version}
+chmod 644 html/index.html
+
+%build
+python setup.py build
+
+%install
+python setup.py install --root %{buildroot} --prefix=%{_prefix}
+rm -rf %{buildroot}%{_datadir}/doc/iniparse-%{version} # Remove unwanted stuff
+
+%files
+%defattr(-,root,root,-)
+%license LICENSE LICENSE-PSF
+%{python_sitelib}/*
+
+%changelog
--- /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
--- /dev/null
+Name: python-lxml
+Version: 2.3.4
+Release: 0
+Summary: Powerful and Pythonic XML processing library
+License: BSD-3-Clause and GPL-2.0+
+Group: Development/Languages/Python
+Url: http://lxml.de/
+Source: http://pypi.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz
+BuildRequires: libxslt-devel
+#BuildRequires: python-Cython
+BuildRequires: python-devel
+BuildRequires: pkgconfig(libxml-2.0)
+
+%description
+lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It
+provides safe and convenient access to these libraries using the ElementTree
+API. It extends the ElementTree API significantly to offer support for XPath,
+RelaxNG, XML Schema, XSLT, C14N and much more.
+
+
+%prep
+%setup -q -n lxml-%{version}
+
+%build
+CFLAGS="%{optflags}" python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc LICENSES.txt
+%{python_sitearch}/lxml/
+%{python_sitearch}/lxml-%{version}-py%{py_ver}.egg-info
+%exclude %{python_sitearch}/lxml/etree_defs.h
+
+
+%changelog
--- /dev/null
+Name: python-magic
+%define build_python_bindings 1
+BuildRequires: findutils
+BuildRequires: libtool
+BuildRequires: python-devel
+BuildRequires: zlib-devel
+Url: http://www.darwinsys.com/file/
+Version: 5.11
+Release: 0
+Summary: Python module to use libmagic
+License: BSD-3-Clause and BSD-4-Clause
+Group: Development/Languages/Python
+Source99: file.spec
+%{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%_sourcedir/file.spec)}
+%global _sysconfdir /etc
+%global _miscdir %{_datadir}/misc
+
+%description
+This package contains the python binding that require the magic "file"
+interface.
+
+%prep
+%{expand:%(sed -n -e '/^%%prep/,/^%%install/p' <%_sourcedir/file.spec | sed -e '1d' -e '$d')}
+
+%install
+pushd python
+python setup.py install --root=%{buildroot} \
+ --prefix=%{_prefix} \
+ --record-rpm=../python_files
+popd
+
+%files -f python_files
+%defattr(-,root,root)
+
+%changelog
--- /dev/null
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%define srcname Markdown
+
+Name: python-markdown
+Version: 2.0.3
+Release: 1
+Summary: Markdown implementation in Python
+Group: Development/Languages
+License: BSD
+URL: http://www.freewisdom.org/projects/python-markdown/
+Source0: http://pypi.python.org/packages/source/M/%{srcname}/%{srcname}-%{version}.tar.gz
+Source1001: packaging/python-markdown.manifest
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+BuildRequires: python-devel
+%if 0%{?rhel}
+BuildRequires: python-elementtree
+Requires: python-elementtree
+%endif
+
+
+%description
+This is a Python implementation of John Gruber's Markdown. It is
+almost completely compliant with the reference implementation, though
+there are a few known issues.
+
+
+%prep
+%setup -q -n %{srcname}-%{version}
+
+# remove shebangs
+find markdown -type f -name '*.py' \
+ -exec sed -i -e '/^#!/{1D}' {} \;
+
+
+%build
+cp %{SOURCE1001} .
+%{__python} setup.py build
+
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot} --prefix %{_prefix}
+
+
+%files
+%manifest python-markdown.manifest
+%{python_sitelib}/*
+%{_bindir}/markdown
+
+
--- /dev/null
+Name: python-nose
+Version: 1.1.2
+Release: 0
+Url: http://readthedocs.org/docs/nose/
+Summary: Nose extends unittest to make testing easier
+License: LGPL-2.0+
+Group: Development/Languages/Python
+Source: http://pypi.python.org/packages/source/n/nose/nose-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: python-devel
+BuildRequires: python-distribute
+BuildRequires: python-xml
+Requires: python-distribute
+Requires: python-xml
+BuildArch: noarch
+
+%description
+Nose extends the test loading and running features of unittest, making
+it easier to write, find and run tests.
+
+By default, nose will run tests in files or directories under the current
+working directory whose names include "test" or "Test" at a word boundary
+(like "test_this" or "functional_test" or "TestClass" but not
+"libtest"). Test output is similar to that of unittest, but also includes
+captured stdout output from failing tests, for easy print-style debugging.
+
+These features, and many more, are customizable through the use of
+plugins. Plugins included with nose provide support for doctest, code
+coverage and profiling, flexible attribute-based test selection,
+output capture and more.
+
+%prep
+%setup -q -n nose-%{version}
+sed -i 's,man/man1,share/man/man1,' setup.py
+
+%build
+python setup.py build
+
+%check
+python setup.py test
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc NEWS README.txt lgpl.txt
+%{_bindir}/nosetests*
+%{_mandir}/man*/nosetests*
+%{python_sitelib}/*
+
+%changelog
--- /dev/null
+#
+# spec file for package python-pyOpenSSL
+#
+# Copyright (c) 2012 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.
+
+Name: python-pyOpenSSL
+Version: 0.13
+Release: 0
+Url: http://launchpad.net/pyopenssl
+Summary: Python wrapper module around the OpenSSL library
+License: Apache-2.0
+Group: Development/Languages/Python
+Source: http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
+BuildRequires: libopenssl-devel
+BuildRequires: python-devel
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+%description
+High-level wrapper around a subset of the OpenSSL library, includes
+ * SSL.Connection objects, wrapping the methods of Python's portable
+ sockets
+ * Callbacks written in Python
+ * Extensive error-handling mechanism, mirroring OpenSSL's error codes
+... and much more ;)
+
+%prep
+%setup -q -n pyOpenSSL-%{version}
+
+%build
+CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{python_sitearch}/*
+
+%changelog
--- /dev/null
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+Name: python-pycurl
+Version: 7.19.0
+Release: 0
+Summary: A Python interface to libcurl
+Group: Platform Development/Python
+License: LGPL-2.1+ or MIT/X11
+URL: http://pycurl.sourceforge.net/
+Source0: pycurl-%{version}.tar.gz
+Source1001: python-pycurl.manifest
+BuildRequires: python-devel
+BuildRequires: curl-devel >= 7.19.0
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(libcares)
+Requires: libcurl
+Provides: pycurl = %{version}-%{release}
+
+%description
+PycURL is a Python interface to libcurl. PycURL can be used to fetch
+objects identified by a URL from a Python program, similar to the
+urllib Python module. PycURL is mature, very fast, and supports a lot
+of features.
+
+%prep
+%setup -q -n pycurl-%{version}
+chmod a-x examples/*
+
+%build
+cp %{SOURCE1001} .
+export CFLAGS="%{optflags} -DHAVE_CURL_OPENSSL"
+python setup.py build
+
+%check
+export PYTHONPATH=$PWD/build/lib*
+python tests/test_internals.py -q
+
+%install
+python setup.py install -O1 --skip-build --root=%{buildroot} --prefix=%{_prefix}
+
+
+%remove_docs
+
+%files
+%license COPYING
+%manifest python-pycurl.manifest
+%{python_sitearch}/curl/*
+%{python_sitearch}/pycurl*
--- /dev/null
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Name: python-pygments
+Version: 1.1.1
+Release: 1
+Summary: A syntax highlighting engine written in Python
+
+Group: Development/Libraries
+License: BSD
+URL: http://pygments.org/
+Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/python-pygments.manifest
+
+BuildArch: noarch
+BuildRequires: python-devel, python-setuptools
+Requires: python-setuptools
+
+
+%description
+Pygments is a syntax highlighting engine written in Python. That means, it
+will take source code (or other markup) in a supported language and output
+a processed version (in different formats) containing syntax highlighting
+markup.
+
+
+%prep
+%setup -q
+
+
+%build
+cp %{SOURCE1001} .
+%{__python} setup.py build
+%{__sed} -i 's/\r//' LICENSE
+
+
+%install
+
+%if 0%{?suse_version}
+%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
+%else
+%{__python} setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix}
+%endif
+
+%if 0%{?suse_version}
+%files -f INSTALLED_FILES
+%manifest python-pygments.manifest
+%else
+%files
+%manifest python-pygments.manifest
+%{python_sitelib}/*
+%endif
+# For noarch packages: sitelib
+%{_bindir}/pygmentize
+
+
--- /dev/null
+Name: python-rpm
+Version: 4.11.0.1
+Release: 0
+Summary: Python Bindings for Manipulating RPM Packages
+License: GPL-2.0+
+Group: System/Packages
+Source99: rpm.spec
+BuildRequires: gettext-tools
+BuildRequires: file-devel
+BuildRequires: libacl-devel
+BuildRequires: bzip2-devel
+BuildRequires: libcap-devel
+BuildRequires: libelf-devel
+BuildRequires: libtool
+BuildRequires: lua-devel
+BuildRequires: ncurses-devel
+BuildRequires: popt-devel
+BuildRequires: python-devel
+BuildRequires: xz-devel
+BuildRequires: zlib-devel
+BuildRequires: nss-devel
+BuildRequires: uthash-devel
+BuildRequires: libxml2-devel
+BuildRequires: libattr-devel
+BuildRequires: pkgconfig(libsmack)
+Requires: rpm = %{version}
+%{expand:%(sed -n -e '/^Source0:/,/^BuildRoot:/p' <%_sourcedir/rpm.spec)}
+%global with_python 2
+
+%description
+The python-rpm package contains a module that permits applications
+written in the Python programming language to use the interface
+supplied by RPM Package Manager libraries.
+
+This package should be installed if you want to develop Python programs
+that will manipulate RPM packages and databases.
+
+%prep
+%{expand:%(sed -n -e '/^%%prep/,/^%%install/p' <%_sourcedir/rpm.spec | sed -e '1d' -e '$d')}
+
+%install
+mkdir -p %{buildroot}%{_prefix}/lib
+# only installing in python/ does not work because rpm links against
+# installed libs at install time
+%make_install
+find %{buildroot} -not -type d -and -not -path %{buildroot}%{_libdir}/python*/site-packages/rpm/\* -print0 | xargs -0 rm
+pushd %{buildroot}/%{_libdir}/python*/site-packages/rpm
+rm -f _rpmmodule.a _rpmmodule.la
+#python %{_libdir}/python*/py_compile.py *.py
+#python -O %{_libdir}/python*/py_compile.py *.py
+popd
+
+%files
+%defattr(-,root,root)
+%{_libdir}/python*/*/*
+
+%changelog
--- /dev/null
+Name: python-setuptools
+Summary: Easily build and distribute Python packages
+Version: 0.6c11
+Release: 2
+Group: Applications/System
+License: Python or ZPLv2.0
+BuildArch: noarch
+URL: http://pypi.python.org/pypi/setuptools
+Source0: http://pypi.python.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz
+Source1: psfl.txt
+Source2: zpl.txt
+Source1001: packaging/python-setuptools.manifest
+BuildRequires: python-devel
+
+
+%description
+Setuptools is a collection of enhancements to the Python distutils that allow
+you to more easily build and distribute Python packages, especially ones that
+have dependencies on other packages.
+
+This package contains the runtime components of setuptools, necessary to
+execute the software that requires pkg_resources.py.
+
+
+
+%package devel
+Summary: Download, install, upgrade, and uninstall Python packages
+Group: Development/Languages
+Requires: %{name} = %{version}-%{release}
+Requires: python-devel
+
+%description devel
+setuptools is a collection of enhancements to the Python distutils that allow
+you to more easily build and distribute Python packages, especially ones that
+have dependencies on other packages.
+
+This package contains the components necessary to build and install software
+requiring setuptools.
+
+
+
+%prep
+%setup -q -n setuptools-%{version}
+
+%build
+cp %{SOURCE1001} .
+find -name '*.txt' | xargs chmod -x
+find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python}|'
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build \
+ --root $RPM_BUILD_ROOT \
+ --prefix %{_prefix} \
+ --single-version-externally-managed
+
+rm -rf $RPM_BUILD_ROOT%{python_sitelib}/setuptools/tests
+
+install -p -m 0644 %{SOURCE1} %{SOURCE2} .
+find $RPM_BUILD_ROOT%{python_sitelib} -name '*.exe' | xargs rm -f
+chmod +x $RPM_BUILD_ROOT%{python_sitelib}/setuptools/command/easy_install.py
+
+
+%files
+%manifest python-setuptools.manifest
+%{python_sitelib}/*
+%exclude %{python_sitelib}/easy_install*
+
+
+%files devel
+%manifest python-setuptools.manifest
+%{python_sitelib}/easy_install*
+%{_bindir}/*
+
--- /dev/null
+#
+# spec file for package python-pysqlite
+#
+# Copyright (c) 2011 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.
+
+Name: python-sqlite
+Version: 2.6.3
+Release: 0
+Url: http://pysqlite.googlecode.com/
+Summary: DB-API 2.0 interface for SQLite 3.x
+License: Zlib
+Group: Platform Development/Python
+Source: http://pysqlite.googlecode.com/files/pysqlite-%{version}.tar.gz
+BuildRequires: python-devel
+BuildRequires: sqlite3-devel
+Requires: sqlite3
+
+%description
+Python interface to SQLite 3
+
+pysqlite is an interface to the SQLite 3.x embedded relational database engine.
+It is almost fully compliant with the Python database API version 2.0 also
+exposes the unique features of SQLite.
+
+%prep
+%setup -q -n pysqlite-%{version}
+
+%build
+CFLAGS="%{optflags}" python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm -rf %{buildroot}%{_prefix}/pysqlite2-doc # Remove wrongly installed junk
+
+%files
+%defattr(-,root,root,-)
+%license LICENSE
+%{python_sitearch}/*
+
+%changelog
--- /dev/null
+Name: python-urlgrabber
+Summary: A high-level cross-protocol url-grabber
+Version: 3.9.1
+Release: 0
+Group: Development/Libraries
+License: LGPL-2.1+
+BuildArch: noarch
+URL: http://urlgrabber.baseurl.org/
+Source0: urlgrabber-%{version}.tar.gz
+Source1001: python-urlgrabber.manifest
+BuildRequires: python-devel
+BuildRequires: python-pycurl
+Requires: python-M2Crypto
+Requires: python-pycurl
+Provides: urlgrabber = %{version}-%{release}
+
+%description
+A high-level cross-protocol url-grabber for python supporting HTTP, FTP
+and file locations. Features include keepalive, byte ranges, throttling,
+authentication, proxies and more.
+
+%prep
+%setup -q -n urlgrabber-%{version}
+
+%build
+cp %{SOURCE1001} .
+python setup.py build
+
+%install
+python setup.py install --root=%{buildroot} -O1 --prefix=%{_prefix}
+
+
+%remove_docs
+
+%files
+%manifest python-urlgrabber.manifest
+%{_bindir}/urlgrabber
+%{python_sitelib}/urlgrabber*
--- /dev/null
+Name: python
+Version: 2.7.3
+Release: 1
+License: Python-2.0
+Summary: Python Interpreter
+Url: http://www.python.org/
+Group: Development/Languages/Python
+%define tarversion %{version}
+%define tarname Python-%{tarversion}
+Source0: %{tarname}.tar.bz2
+Source1: macros.python
+Source2: pythonstart
+Source3: python.sh
+Source4: python.csh
+Source5: _local.pth
+Source1001: %name.manifest
+BuildRequires: automake
+BuildRequires: db4-devel
+BuildRequires: fdupes
+BuildRequires: gmp-devel
+BuildRequires: bzip2-devel
+BuildRequires: openssl-devel
+BuildRequires: ncurses-devel
+BuildRequires: readline-devel
+BuildRequires: sqlite-devel
+BuildRequires: zlib-devel
+%define python_version %(echo %{tarversion} | head -c 3)
+%define idle_name idle
+Provides: %{name} = %{python_version}
+# FIXME
+Provides: /bin/python
+Obsoletes: python-elementtree
+Obsoletes: python-nothreads
+Obsoletes: python-sqlite
+
+%description
+Python is an interpreted, object-oriented programming language, and is
+often compared to Tcl, Perl, Scheme, or Java. You can find an overview
+of Python in the documentation and tutorials included in the python-doc
+(HTML) or python-doc-pdf (PDF) packages.
+
+If you want to install third party modules using distutils, you need to
+install python-devel package.
+
+%package curses
+Summary: Python Interface to the (N)Curses Library
+Group: Development/Libraries/Python
+Requires: python = %{version}
+Obsoletes: pyth_cur
+Provides: pyth_cur
+
+%description curses
+An easy to use interface to the (n)curses CUI library. CUI stands for
+Console User Interface.
+
+%package -n python-devel
+Summary: Include Files and Libraries Mandatory for Building Python Modules
+Group: Development/Languages/Python
+Requires: glibc-devel
+Requires: python = %{version}
+
+%description -n python-devel
+The Python programming language's interpreter can be extended with
+dynamically loaded extensions and can be embedded in other programs.
+
+This package contains header files, a static library, and development
+tools for building Python modules, extending the Python interpreter or
+embedding Python in applications.
+
+%package -n python-xml
+Summary: A Python XML Interface
+Group: Development/Libraries/Python
+Requires: python = %{version}
+# pyxml used to live out of tree
+Provides: pyxml = 0.8.5
+Obsoletes: pyxml < 0.8.5
+
+%description -n python-xml
+The expat module is a Python interface to the expat XML parser. Since
+Python2.x, it is part of the core Python distribution.
+
+%package -n libpython
+Summary: Python Interpreter shared library
+Group: Development/Languages/Python
+
+%description -n libpython
+Python is an interpreted, object-oriented programming language, and is
+often compared to Tcl, Perl, Scheme, or Java. You can find an overview
+of Python in the documentation and tutorials included in the python-doc
+(HTML) or python-doc-pdf (PDF) packages.
+
+This package contains libpython2.6 shared library for embedding in
+other applications.
+
+%prep
+%setup -q -n %{tarname}
+
+# drop Autoconf version requirement
+sed -i 's/^version_required/dnl version_required/' configure.in
+
+# remove newslist.py because of bad license
+rm Demo/scripts/newslist.*
+
+%build
+cp %{S:1001} .
+export OPT=$(echo $RPM_OPT_FLAGS | sed -s "s/--param=ssp-buffer-size=32//g")
+
+autoreconf -f -i . # Modules/_ctypes/libffi
+# prevent make from trying to rebuild asdl stuff, which requires existing
+# python installation
+touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h
+
+%configure \
+ --docdir=%{_docdir}/python \
+ --enable-ipv6 \
+ --with-fpectl \
+ --enable-shared \
+ --enable-unicode=ucs4
+
+LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \
+ make %{?_smp_mflags} profile-opt
+
+%install
+# replace rest of /usr/local/bin/python or /usr/bin/python2.x with /usr/bin/python
+find . -wholename "./Parser" -prune -o -name '*.py' -type f -print0 | xargs -0 grep -lE '^#! *(/usr/.*bin/(env +)?)?python' | xargs sed -r -i -e '1s@^#![[:space:]]*(/usr/(local/)?bin/(env +)?)?python([0-9]+\.[0-9]+)?@#!/usr/bin/python@'
+# the grep inbetween makes it much faster
+########################################
+# install it
+########################################
+export OPT=$(echo $RPM_OPT_FLAGS | sed -s "s/--param=ssp-buffer-size=32//g")
+%make_install
+# install site-specific tweaks
+#ln -s python%{python_version} %{buildroot}%{_bindir}/python2
+install -m 644 %{SOURCE4} %{buildroot}%{_libdir}/python%{python_version}/distutils
+install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages
+install -d -m 755 %{buildroot}%{_sysconfdir}/rpm
+install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm
+# make sure /usr/lib/python/site-packages exists even on lib64 machines
+mkdir -p %{buildroot}%{_prefix}/lib/python%{python_version}/site-packages
+
+########################################
+# some cleanups
+########################################
+# remove hard links and replace them with symlinks
+for dir in bin include %{_lib} ; do
+ rm -f %{buildroot}/%{_prefix}/$dir/python
+ ln -s python%{python_version} %{buildroot}/%{_prefix}/$dir/python
+done
+# kill imageop.so, it's insecure
+rm -f %{buildroot}/%{_libdir}/python%{python_version}/lib-dynload/imageop.so
+# replace duplicate .pyo/.pyc with hardlinks
+%fdupes %{buildroot}/%{_libdir}/python%{python_version}
+########################################
+# documentation
+########################################
+export PDOCS=%{buildroot}%{_docdir}/%{name}
+install -d -m 755 $PDOCS
+install -c -m 644 LICENSE $PDOCS/
+install -c -m 644 README $PDOCS/
+ln -s python%{python_version}.1.gz %{buildroot}%{_mandir}/man1/python.1.gz
+
+########################################
+# devel
+########################################
+# install Makefile.pre.in and Makefile.pre
+cp Makefile Makefile.pre.in Makefile.pre %{buildroot}%{_libdir}/python%{python_version}/config/
+
+########################################
+# startup script
+########################################
+install -d -m 755 %{buildroot}%{_sysconfdir}/profile.d
+install -m 644 %{SOURCE2} %{buildroot}/etc
+install -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}%{_sysconfdir}/profile.d
+
+rm -rf %{buildroot}%{_bindir}/idle
+rm -rf %{buildroot}%{_libdir}/python%{python_version}/idlelib
+rm -rf %{buildroot}%{_libdir}/python%{python_version}/lib-tk
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files curses
+%manifest %name.manifest
+%defattr(644, root, root, 755)
+%{_libdir}/python%{python_version}/curses
+%{_libdir}/python%{python_version}/lib-dynload/_curses.so
+%{_libdir}/python%{python_version}/lib-dynload/_curses_panel.so
+
+%files
+%manifest %name.manifest
+%defattr(644, root, root, 755)
+%dir %{_docdir}/%{name}
+%doc %{_docdir}/%{name}/README
+%doc %{_docdir}/%{name}/LICENSE
+%config %{_sysconfdir}/pythonstart
+%config %{_sysconfdir}/profile.d/python.*
+%dir %{_libdir}/python%{python_version}
+%{_libdir}/python%{python_version}/ssl.py*
+%{_libdir}/python%{python_version}/bsddb
+%{_libdir}/python%{python_version}/sqlite3
+%dir %{_libdir}/python%{python_version}/lib-dynload
+%{_libdir}/python%{python_version}/lib-dynload/_bsddb.so
+%{_libdir}/python%{python_version}/lib-dynload/_hashlib.so
+%{_libdir}/python%{python_version}/lib-dynload/_sqlite3.so
+%{_libdir}/python%{python_version}/lib-dynload/_ssl.so
+%{_libdir}/python%{python_version}/lib-dynload/readline.so
+%defattr(644, root, root, 755)
+%config %{_sysconfdir}/rpm/macros.python
+%doc %{_mandir}/man1/python.1*
+%doc %{_mandir}/man1/python%{python_version}.1*
+%dir %{_includedir}/python%{python_version}
+%{_includedir}/python%{python_version}/pyconfig.h
+%{_libdir}/python
+%dir %{_prefix}/lib/python%{python_version}
+%dir %{_prefix}/lib/python%{python_version}/site-packages
+%dir %{_libdir}/python%{python_version}
+%dir %{_libdir}/python%{python_version}/config
+%{_libdir}/python%{python_version}/config/Setup
+%{_libdir}/python%{python_version}/config/Makefile
+%{_libdir}/python%{python_version}/*.*
+%{_libdir}/python%{python_version}/compiler
+%{_libdir}/python%{python_version}/ctypes
+%{_libdir}/python%{python_version}/distutils
+%{_libdir}/python%{python_version}/email
+%{_libdir}/python%{python_version}/encodings
+%{_libdir}/python%{python_version}/hotshot
+%{_libdir}/python%{python_version}/importlib
+%{_libdir}/python%{python_version}/json
+%{_libdir}/python%{python_version}/lib2to3
+%{_libdir}/python%{python_version}/logging
+%{_libdir}/python%{python_version}/multiprocessing
+%{_libdir}/python%{python_version}/plat-*
+%{_libdir}/python%{python_version}/pydoc_data
+%{_libdir}/python%{python_version}/unittest
+%{_libdir}/python%{python_version}/wsgiref
+%dir %{_libdir}/python%{python_version}/site-packages
+%{_libdir}/python%{python_version}/site-packages/README
+%{_libdir}/python%{python_version}/site-packages/_local.pth
+%dir %{_libdir}/python%{python_version}/lib-dynload
+%{_libdir}/python%{python_version}/lib-dynload/_bisect.so
+%{_libdir}/python%{python_version}/lib-dynload/_csv.so
+%{_libdir}/python%{python_version}/lib-dynload/_collections.so
+%{_libdir}/python%{python_version}/lib-dynload/_ctypes.so
+%{_libdir}/python%{python_version}/lib-dynload/_ctypes_test.so
+%{_libdir}/python%{python_version}/lib-dynload/_elementtree.so
+%{_libdir}/python%{python_version}/lib-dynload/_functools.so
+%{_libdir}/python%{python_version}/lib-dynload/_heapq.so
+%{_libdir}/python%{python_version}/lib-dynload/_hotshot.so
+%{_libdir}/python%{python_version}/lib-dynload/_io.so
+%{_libdir}/python%{python_version}/lib-dynload/nis.so
+%{_libdir}/python%{python_version}/lib-dynload/_json.so
+%{_libdir}/python%{python_version}/lib-dynload/_locale.so
+%{_libdir}/python%{python_version}/lib-dynload/_lsprof.so
+%{_libdir}/python%{python_version}/lib-dynload/audioop.so
+%{_libdir}/python%{python_version}/lib-dynload/dbm.so
+#%{_libdir}/python%{python_version}/lib-dynload/_md5.so
+%{_libdir}/python%{python_version}/lib-dynload/_multiprocessing.so
+%{_libdir}/python%{python_version}/lib-dynload/_random.so
+#%{_libdir}/python%{python_version}/lib-dynload/_sha.so
+#%{_libdir}/python%{python_version}/lib-dynload/_sha256.so
+#%{_libdir}/python%{python_version}/lib-dynload/_sha512.so
+%{_libdir}/python%{python_version}/lib-dynload/_socket.so
+%{_libdir}/python%{python_version}/lib-dynload/_struct.so
+%{_libdir}/python%{python_version}/lib-dynload/_testcapi.so
+%{_libdir}/python%{python_version}/lib-dynload/array.so
+%{_libdir}/python%{python_version}/lib-dynload/binascii.so
+%{_libdir}/python%{python_version}/lib-dynload/bz2.so
+%{_libdir}/python%{python_version}/lib-dynload/cPickle.so
+%{_libdir}/python%{python_version}/lib-dynload/cStringIO.so
+%{_libdir}/python%{python_version}/lib-dynload/cmath.so
+%{_libdir}/python%{python_version}/lib-dynload/crypt.so
+%{_libdir}/python%{python_version}/lib-dynload/datetime.so
+%{_libdir}/python%{python_version}/lib-dynload/fcntl.so
+%{_libdir}/python%{python_version}/lib-dynload/future_builtins.so
+%{_libdir}/python%{python_version}/lib-dynload/grp.so
+%{_libdir}/python%{python_version}/lib-dynload/itertools.so
+%{_libdir}/python%{python_version}/lib-dynload/linuxaudiodev.so
+%{_libdir}/python%{python_version}/lib-dynload/math.so
+%{_libdir}/python%{python_version}/lib-dynload/mmap.so
+%{_libdir}/python%{python_version}/lib-dynload/operator.so
+%{_libdir}/python%{python_version}/lib-dynload/ossaudiodev.so
+%{_libdir}/python%{python_version}/lib-dynload/parser.so
+%{_libdir}/python%{python_version}/lib-dynload/resource.so
+%{_libdir}/python%{python_version}/lib-dynload/select.so
+%{_libdir}/python%{python_version}/lib-dynload/spwd.so
+%{_libdir}/python%{python_version}/lib-dynload/strop.so
+%{_libdir}/python%{python_version}/lib-dynload/syslog.so
+%{_libdir}/python%{python_version}/lib-dynload/termios.so
+%{_libdir}/python%{python_version}/lib-dynload/time.so
+%{_libdir}/python%{python_version}/lib-dynload/unicodedata.so
+%{_libdir}/python%{python_version}/lib-dynload/zlib.so
+%{_libdir}/python%{python_version}/lib-dynload/_codecs*.so
+%{_libdir}/python%{python_version}/lib-dynload/_multibytecodec.so
+%{_libdir}/python%{python_version}/lib-dynload/Python-%{tarversion}-py%{python_version}.egg-info
+# these modules don't support 64-bit arches (disabled by setup.py)
+%ifnarch x86_64
+# requires sizeof(int) == sizeof(long) == sizeof(char*)
+%{_libdir}/python%{python_version}/lib-dynload/dl.so
+%endif
+%attr(755, root, root) %{_bindir}/pydoc
+%attr(755, root, root) %{_bindir}/python
+%attr(755, root, root) %{_bindir}/python%{python_version}
+%attr(755, root, root) %{_bindir}/smtpd.py
+%{_bindir}/python2
+%exclude %{_bindir}/2to3
+
+%post -n libpython -p /sbin/ldconfig
+
+%postun -n libpython -p /sbin/ldconfig
+
+%files -n python-devel
+%manifest python.manifest
+%defattr(-, root, root)
+%{_libdir}/python%{python_version}/config/*
+%exclude %{_libdir}/python%{python_version}/config/Setup
+%exclude %{_libdir}/python%{python_version}/config/Makefile
+%defattr(644, root, root, 755)
+%{_libdir}/libpython*.so
+%{_libdir}/pkgconfig/python-%{python_version}.pc
+%{_libdir}/pkgconfig/python.pc
+%{_libdir}/pkgconfig/python2.pc
+%{_includedir}/python*
+%exclude %{_includedir}/python%{python_version}/pyconfig.h
+%{_libdir}/python%{python_version}/test
+%defattr(755, root, root)
+%{_bindir}/python-config
+%{_bindir}/python2-config
+%{_bindir}/python%{python_version}-config
+
+%files -n python-xml
+%manifest python.manifest
+%defattr(644, root, root, 755)
+%{_libdir}/python%{python_version}/xml
+%{_libdir}/python%{python_version}/lib-dynload/pyexpat.so
+
+%files -n libpython
+%manifest python.manifest
+%defattr(644, root, root)
+%{_libdir}/libpython*.so.*
+%changelog
--- /dev/null
+Name: qemu
+Url: http://www.qemu.org/
+Summary: Universal CPU emulator
+License: BSD-3-Clause ; GPL-2.0+ ; LGPL-2.1+ ; MIT
+Group: System/GUI/Other
+Version: 1.3.0
+Release: 0
+Source: %name-%version.tar.bz2
+# this is to make lint happy
+Source300: rpmlintrc
+Source302: bridge.conf
+Source400: update_git.sh
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: bison
+BuildRequires: curl-devel
+BuildRequires: e2fsprogs-devel
+BuildRequires: libattr-devel
+BuildRequires: libcap-devel
+BuildRequires: libcap-ng-devel
+BuildRequires: libgnutls-devel
+BuildRequires: libjpeg8-devel
+#BuildRequires: libpcap-devel
+BuildRequires: libpng-devel
+BuildRequires: ncurses-devel
+# we must not install the qemu package when under qemu build
+%if 0%{?qemu_user_space_build:1}
+BuildRequires: -post-build-checks
+%endif
+BuildRequires: zlib-devel-static
+BuildRequires: glibc-devel-static
+BuildRequires: libattr-devel-static
+#BuildRequires: libfdt1-devel
+BuildRequires: glib2-devel-static
+BuildRequires: pcre-devel-static
+BuildRequires: fdupes
+BuildRequires: glib2-devel
+#BuildRequires: libvdeplug3-devel
+BuildRequires: pwdutils
+BuildRequires: python
+BuildRequires: pkgconfig(sdl)
+Requires: /usr/sbin/groupadd
+Requires: pwdutils
+Requires: timezone
+
+%description
+QEMU is an extremely well-performing CPU emulator that allows you to
+choose between simulating an entire system and running userspace
+binaries for different architectures under your native operating
+system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
+as PC and PowerMac systems.
+
+%package tools
+Summary: Universal CPU emulator -- Tools
+Group: System/GUI/Other
+Provides: qemu:%_libexecdir/qemu-bridge-helper
+
+%description tools
+QEMU is an extremely well-performing CPU emulator that allows you to
+choose between simulating an entire system and running userspace
+binaries for different architectures under your native operating
+system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
+as PC and PowerMac systems.
+
+This sub-package contains various tools, including a bridge helper.
+
+%package guest-agent
+Summary: Universal CPU emulator -- Guest agent
+Group: System/GUI/Other
+Provides: qemu:%_bindir/qemu-ga
+
+%description guest-agent
+QEMU is an extremely well-performing CPU emulator that allows you to
+choose between simulating an entire system and running userspace
+binaries for different architectures under your native operating
+system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
+as PC and PowerMac systems.
+
+This sub-package contains the guest agent.
+
+%package linux-user
+Summary: Universal CPU emulator -- Linux User binaries
+Group: System/GUI/Other
+Provides: qemu:%_bindir/qemu-arm
+
+%description linux-user
+QEMU is an extremely well-performing CPU emulator that allows you to
+choose between simulating an entire system and running userspace
+binaries for different architectures under your native operating
+system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
+as PC and PowerMac systems.
+
+This sub-package contains statically linked binaries for running linux-user
+emulations. This can be used together with the OBS build script to
+run cross-architecture builds.
+
+%prep
+%setup -q -n %name-%version
+
+%build
+# build QEMU
+mkdir -p dynamic
+# build qemu-system
+./configure --prefix=%_prefix \
+ --sysconfdir=%_sysconfdir \
+ --libexecdir=%_libexecdir \
+ --enable-curl \
+ --enable-virtfs \
+ --disable-linux-aio \
+ --extra-cflags="$QEMU_OPT_FLAGS" \
+ --enable-system \
+ --disable-linux-user \
+ --enable-sdl
+
+make %{?jobs:-j%jobs} V=1
+mv *-softmmu/qemu-system-* dynamic
+mv qemu-io qemu-img qemu-nbd qemu-bridge-helper dynamic
+#mv qemu-img.1 qemu-nbd.8 dynamic
+mv qemu-ga dynamic
+mv fsdev/virtfs-proxy-helper dynamic
+make clean
+# build userland emus
+./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \
+ --libexecdir=%_libexecdir \
+ --enable-linux-user \
+ --disable-system \
+ --static --disable-linux-aio \
+ --extra-cflags="$QEMU_OPT_FLAGS"
+make %{?jobs:-j%jobs} V=1
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -fr $RPM_BUILD_ROOT/%_datadir/doc
+install -m 755 dynamic/qemu-system-* $RPM_BUILD_ROOT/%_bindir
+install -m 755 dynamic/qemu-io $RPM_BUILD_ROOT/%_bindir
+install -m 755 dynamic/qemu-img $RPM_BUILD_ROOT/%_bindir
+install -m 755 dynamic/qemu-nbd $RPM_BUILD_ROOT/%_bindir
+install -m 755 dynamic/qemu-ga $RPM_BUILD_ROOT/%_bindir
+install -m 755 dynamic/virtfs-proxy-helper $RPM_BUILD_ROOT/%_bindir
+install -d -m 755 $RPM_BUILD_ROOT/%_sbindir
+install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT/%_sbindir
+install -d -m 755 $RPM_BUILD_ROOT/%_libexecdir
+install -m 755 dynamic/qemu-bridge-helper $RPM_BUILD_ROOT/%_libexecdir
+install -d -m 755 $RPM_BUILD_ROOT/%_mandir/man1
+install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf
+%ifnarch %ix86 x86_64
+ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386
+%endif
+%ifnarch ia64
+mkdir -p $RPM_BUILD_ROOT/emul/ia32-linux
+%endif
+%fdupes -s $RPM_BUILD_ROOT
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%pre
+%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm 2>/dev/null
+%{_bindir}/getent group qemu >/dev/null || %{_sbindir}/groupadd -r qemu 2>/dev/null
+%{_bindir}/getent passwd qemu >/dev/null || \
+ %{_sbindir}/useradd -r -g qemu -G kvm -d / -s /sbin/nologin \
+ -c "qemu user" qemu
+
+%files
+%license COPYING
+%defattr(-, root, root)
+%doc COPYING COPYING.LIB Changelog README TODO VERSION
+%_bindir/qemu-system-*
+%_datadir/%name
+%ifnarch %ix86 x86_64 ia64
+%dir /emul/ia32-linux
+%endif
+%dir %_sysconfdir/%name
+%config %_sysconfdir/%name/target-x86_64.conf
+
+%files tools
+%defattr(-, root, root)
+%_bindir/qemu-io
+%_bindir/qemu-img
+%_bindir/qemu-nbd
+%_bindir/virtfs-proxy-helper
+%verify(not mode) %_libexecdir/qemu-bridge-helper
+%dir %_sysconfdir/%name
+%config %_sysconfdir/%name/bridge.conf
+
+%files guest-agent
+%defattr(-, root, root)
+%attr(755,root,kvm) %_bindir/qemu-ga
+
+%files linux-user
+%defattr(-, root, root)
+%_bindir/qemu-alpha
+%_bindir/qemu-arm
+%_bindir/qemu-armeb
+%_bindir/qemu-cris
+%_bindir/qemu-i386
+%_bindir/qemu-m68k
+%_bindir/qemu-microblaze
+%_bindir/qemu-microblazeel
+%_bindir/qemu-mips
+%_bindir/qemu-mipsel
+%_bindir/qemu-mipsn32
+%_bindir/qemu-mipsn32el
+%_bindir/qemu-or32
+%_bindir/qemu-ppc64abi32
+%_bindir/qemu-ppc64
+%_bindir/qemu-ppc
+%_bindir/qemu-s390x
+%_bindir/qemu-sh4
+%_bindir/qemu-sh4eb
+%_bindir/qemu-sparc32plus
+%_bindir/qemu-sparc64
+%_bindir/qemu-sparc
+%_bindir/qemu-unicore32
+%_bindir/qemu-x86_64
+%_bindir/qemu-*-binfmt
+%_sbindir/qemu-binfmt-conf.sh
+
+%changelog
--- /dev/null
+%define _unpackaged_files_terminate_build 0
+
+Summary: Command-line tools and library for transforming PDF files
+Name: qpdf
+Version: 3.0.2
+Release: 2
+License: Artistic
+Group: System Environment/Libraries
+URL: http://qpdf.sourceforge.net/
+Source: %{name}-%{version}.tar.gz
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: zlib-devel
+BuildRequires: libpcre-devel
+#BuildRequires: pcre
+
+%description
+QPDF is a program that does structural, content-preserving
+transformations on PDF files. It could have been called something
+like pdf-to-pdf. It also provides many useful capabilities to
+developers of PDF-producing software or for people who just want to
+look at the innards of a PDF file to learn more about how they work.
+
+QPDF offers many capabilities such as linearization (web
+optimization), encrypt, and decription of PDF files. Note that QPDF
+does not have the capability to create PDF files from scratch; it is
+only used to create PDF files with special characteristics starting
+from other PDF files or to inspect or extract information from
+existing PDF files.
+
+%package devel
+Summary: Development files for qpdf PDF manipulation library
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release} zlib-devel libpcre-devel
+
+%description devel
+The qpdf-devel package contains header files and libraries necessary
+for developing programs using the qpdf library.
+
+%package static
+Summary: Static QPDF library
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+The qpdf-static package contains the static qpdf library.
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+%configure --without-docdir
+# --docdir='${datarootdir}'/doc/%{name}-%{version}
+
+make %{?_smp_mflags}
+make check
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%makeinstall
+# %doc below clobbers our docdir, so we have to copy it to a safe
+# place so we can install it using %doc. We should still set docdir
+# properly when configuring so that it gets substituted properly by
+# autoconf.
+#cp -a $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} install-docs
+#mkdir -p install-examples/examples
+#cp -p examples/*.cc examples/*.c install-examples/examples
+# Red Hat doesn't ship .la files.
+#rm -f $RPM_BUILD_ROOT%{_libdir}/libqpdf.la
+
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/Artistic-2.0 %{buildroot}/usr/share/license/%{name}
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%files
+%manifest qpdf.manifest
+%defattr(-,root,root)
+#README TODO Artistic-2.0 install-docs/*
+/usr/share/license/%{name}
+%exclude %{_bindir}/*
+%{_libdir}/libqpdf*.so.*
+%exclude %{_mandir}/man1/*
+
+%files devel
+%defattr(-,root,root)
+#install-examples/examples
+%{_includedir}/*
+%{_libdir}/libqpdf*.so
+%{_libdir}/pkgconfig
+
+%files static
+%defattr(-,root,root)
+%{_libdir}/libqpdf*.a
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
+* Mon Apr 28 2008 Jay Berkenbilt <ejb@ql.org> - 2.0-1
+- Initial packaging
--- /dev/null
+Name: capi-media-radio
+Summary: A Radio library in Tizen Native API
+Version: 0.1.0
+Release: 10
+Group: API/C API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(mm-radio)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: cmake
+BuildRequires: gettext-devel
+
+%description
+A Radio library in Tizen Native API.
+
+
+%package devel
+Summary: A Radio library in Tizen Native API (Development)
+Group: Development/API
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+A Radio library in Tizen Native API (Development).
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest capi-media-radio.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libcapi-media-radio.so.*
+
+%files devel
+%defattr(-,root,root,-)
+/usr/include/media/radio.h
+%{_libdir}/pkgconfig/capi-media-radio.pc
+%{_libdir}/libcapi-media-radio.so
--- /dev/null
+Name: ragel
+Summary: Ragel State Machine Compiler
+Version: 6.6
+Release: 1
+Group: System/Utilities
+License: GPL-2.0
+Source0: %{name}-%{version}.tar.gz
+
+%description
+compiles finite state machines into code in various languages
+Ragel compiles finite state machines from regular languages into C, C++,
+Objective-C, D, Ruby or Java code. Ragel allows the programmer to embed
+actions at any point in a regular language. Non-determinism can be
+controlled through the use of embedded priorities and guarded regular
+language operators. Ragel also supports the construction of scanners and
+the building of state machines using state-charts. Ragel can be used to
+create robust recognizers and parsers which run very fast. It can work
+with integer-sized alphabets and can compile large state machines.
+The generated code has no dependencies.
+
+
+%prep
+%setup -q
+
+%build
+%autogen.sh
+%configure --prefix=%{_prefix}
+
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%manifest ragel.manifest
+%{_bindir}/ragel
--- /dev/null
+Name: randrproto
+Version: 1.4.0
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: raptor
+Version: 2.0.8
+Release: 0
+Summary: RDF Parser Toolkit
+License: LGPL-2.1+ or GPL-2.0+ or Apache-2.0
+Group: System/Libraries
+Url: http://www.redland.opensource.ac.uk/raptor/
+Source0: %{name}2-%{version}.tar.gz
+Source1: baselibs.conf
+BuildRequires: autoconf
+BuildRequires: curl-devel
+BuildRequires: pkgconfig(libxslt)
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+Raptor is the RDF Parser Toolkit for Redland that provides a set of
+standalone RDF parsers, generating triples from RDF/XML or N-Triples.
+
+%package -n libraptor
+Summary: RDF Parser Toolkit
+Group: System/Libraries
+
+%description -n libraptor
+Raptor is the RDF Parser Toolkit for Redland that provides a set of
+standalone RDF parsers, generating triples from RDF/XML or N-Triples.
+
+%package -n libraptor-devel
+Summary: Development package for the raptor library
+Group: Development/Libraries/C and C++
+Requires: glibc-devel
+Requires: libraptor = %{version}
+Requires: raptor = %{version}
+Provides: raptor-devel = %{version}
+Obsoletes: raptor-devel < %{version}
+
+%description -n libraptor-devel
+This package contains the files needed to compile programs that use the
+raptor library.
+
+%prep
+%setup -q -n %{name}2-%{version}
+
+%build
+%configure --disable-gtk-doc --disable-static --with-pic --with-html-dir=%{_docdir}
+make %{?_smp_flags}
+
+%check
+export MALLOC_CHECK_=2
+make check
+unset MALLOC_CHECK_
+
+%install
+%make_install
+rm -rf %{buildroot}/%{_docdir}
+%remove_docs
+
+%post -n libraptor -p /sbin/ldconfig
+
+%postun -n libraptor -p /sbin/ldconfig
+
+
+
+%files
+%defattr(-,root,root)
+%license COPYING COPYING.LIB LICENSE.txt
+%{_bindir}/rapper
+
+%files -n libraptor-devel
+%defattr(-,root,root)
+%{_libdir}/lib*.so
+%{_includedir}/*
+%{_libdir}/pkgconfig/*.pc
+
+%files -n libraptor
+%defattr(-,root,root)
+%{_libdir}/libraptor2.so.0*
+
+%changelog
--- /dev/null
+Name: re2c
+Version: 0.13.5
+Release: 37
+License: SUSE-Public-Domain
+Summary: Tool for generating C-based recognizers from regular expressions
+Url: http://re2c.org/
+Group: Development/Libraries/C and C++
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: gcc-c++
+
+%description
+re2c is a tool for writing fast and flexible lexers. Unlike other such
+tools, it concentrates solely on generating efficient code for matching
+regular expressions. This makes it suitable for a wide variety of
+applications. The generated scanners approach hand-crafted ones in
+terms of size and speed.
+
+%prep
+%setup -q
+find -type d -name .svn -print0 | xargs -r0 rm -rf
+find CHANGELOG lessons examples -type f -print0 \
+ | xargs -r0 chmod -v a-x
+
+%build
+%configure
+make %{?_smp_mflags} re2c
+#regenerate file scanner.cc
+rm -f scanner.cc
+./re2c -g scanner.re > scanner.cc
+rm -f re2c scanner.o
+make %{?_smp_mflags}
+
+%check
+make test
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/re2c
+%{_mandir}/man1/re2c.1*
+
+%changelog
--- /dev/null
+%define rl_vers 5.2
+Name: readline
+Version: 5.2
+Release: 0
+License: GPL-2.0+
+Summary: The Readline Library
+Url: http://www.gnu.org/software/bash/bash.html
+Group: Base/Libraries
+Source0: readline-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: autoconf
+BuildRequires: bison
+BuildRequires: fdupes
+BuildRequires: ncurses-devel
+Provides: bash:/%{_libdir}/libreadline.so.5
+%global _sysconfdir /etc
+%global _incdir %{_includedir}
+
+%description
+The readline library is used by the Bourne Again Shell (bash, the
+standard command interpreter) for easy editing of command lines. This
+includes history and search functionality.
+
+%package devel
+Version: 5.2
+Release: 0
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Requires: libreadline = %{version}
+Requires: ncurses-devel
+Provides: bash:%{_libdir}/libreadline.a
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%package -n libreadline
+Summary: The Readline Library
+
+%description -n libreadline
+The readline library is used by the Bourne Again Shell (bash, the
+standard command interpreter) for easy editing of command lines. This
+includes history and search functionality.
+
+%prep
+%setup -q -n readline-%{version}
+
+%build
+ autoconf
+ cflags ()
+ {
+ local flag=$1; shift
+ case "%{optflags}" in
+ *${flag}*) return
+ esac
+ if test -n "$1" && gcc -Werror $flag -S -o /dev/null -xc /dev/null > /dev/null 2>&1 ; then
+ local var=$1; shift
+ eval $var=\${$var:+\$$var\ }$flag
+ fi
+ }
+ echo 'int main () { return !(sizeof(void*) >= 8); }' | gcc -x c -o test64 -
+ if ./test64 ; then
+ LARGEFILE=""
+ else
+ LARGEFILE="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
+ fi
+ rm -f ./test64
+ CFLAGS="%{optflags} $LARGEFILE -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g"
+ LDFLAGS=""
+ cflags -std=gnu89 CFLAGS
+ cflags -Wuninitialized CFLAGS
+ cflags -Wextra CFLAGS
+ cflags -Wno-unprototyped-calls CFLAGS
+ cflags -Wno-switch-enum CFLAGS
+ cflags -ftree-loop-linear CFLAGS
+ cflags -pipe CFLAGS
+ cflags -Wl,--as-needed LDFLAGS
+ cflags -Wl,-O,2 LDFLAGS
+ CC=gcc
+ CC_FOR_BUILD="$CC"
+ CFLAGS_FOR_BUILD="$CFLAGS"
+ LDFLAGS_FOR_BUILD="$LDFLAGS"
+ export CC_FOR_BUILD CFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD CFLAGS LDFLAGS CC
+ ./configure --build=%{_target_cpu}-tizen-linux \
+ --prefix=%{_prefix} \
+ --with-curses \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} \
+ --libdir=%{_libdir}
+ make
+ make documentation
+ ln -sf shlib/libreadline.so.%{rl_vers} libreadline.so
+ ln -sf shlib/libreadline.so.%{rl_vers} libreadline.so.5
+ ln -sf shlib/libhistory.so.%{rl_vers} libhistory.so
+ ln -sf shlib/libhistory.so.%{rl_vers} libhistory.so.5
+
+%install
+ make install htmldir=%{_defaultdocdir}/readline DESTDIR=%{buildroot}
+ make install-shared libdir=/%{_libdir} linkagedir=%{_libdir} DESTDIR=%{buildroot}
+ rm -rf %{buildroot}%{_defaultdocdir}/bash
+ rm -rf %{buildroot}%{_defaultdocdir}/readline
+ chmod 0755 %{buildroot}/%{_libdir}/libhistory.so.%{rl_vers}
+ chmod 0755 %{buildroot}/%{_libdir}/libreadline.so.%{rl_vers}
+ rm -f %{buildroot}/%{_libdir}/libhistory.so.%{rl_vers}*old
+ rm -f %{buildroot}/%{_libdir}/libreadline.so.%{rl_vers}*old
+ # remove unpackaged files
+ #rm -fv %{buildroot}%{_libdir}/libhistory.so.*
+ #rm -fv %{buildroot}%{_libdir}/libreadline.so.*
+ rm -fv %{buildroot}%{_mandir}/man3/history.3*
+ rm -fv %{buildroot}%{_infodir}/*.info*
+
+%post -n libreadline -p /sbin/ldconfig
+
+%postun -n libreadline -p /sbin/ldconfig
+
+
+%files -n libreadline
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libhistory.so.5
+%{_libdir}/libhistory.so.%{rl_vers}
+%{_libdir}/libreadline.so.5
+%{_libdir}/libreadline.so.%{rl_vers}
+
+%files devel
+%defattr(-,root,root)
+%{_incdir}/readline/
+%{_libdir}/libhistory.a
+%{_libdir}/libhistory.so
+%{_libdir}/libreadline.a
+%{_libdir}/libreadline.so
+%doc %{_mandir}/man3/readline.3.gz
+
+%changelog
--- /dev/null
+Name: capi-media-recorder
+Summary: A Recorder library in Tizen C API
+Version: 0.1.1
+Release: 3
+Group: libdevel
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(mm-camcorder)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-media-camera)
+BuildRequires: pkgconfig(capi-media-audio-io)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+
+%package devel
+Summary: A Recorder library in Tizen C API (Development)
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest capi-media-recorder.manifest
+%{_libdir}/libcapi-media-recorder.so.*
+%{_datadir}/license/%{name}
+
+%files devel
+%{_includedir}/media/recorder.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-media-recorder.so
+
--- /dev/null
+Name: recordproto
+Version: 1.14.2
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: release-repos
+Summary: Tizen IVI Release Repos
+Version: 1
+Release: 1
+Group: System/Libraries
+License: LGPL-2.1
+URL: http://www.tizen.org
+Source0: %{name}-%{version}.tar.bz2
+
+%description
+This package installs the .repo files for Tizen IVI Milestone Releases
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}/etc/zypp/repos.d
+install -m 0644 ivi-daily.repo %{buildroot}/etc/zypp/repos.d
+install -m 0644 ivi-release.repo %{buildroot}/etc/zypp/repos.d
+
+
+%files
+%defattr(-,root,root,-)
+%config /etc/zypp/repos.d/*
--- /dev/null
+Name: remix
+Version: 0.2.4
+Release: 1
+VCS: platform/upstream/remix#accepted/tizen/20130520.100604-0-g928d8d8cbb9d6d518c196c07761fb630c5ac43e8-dirty
+License: LGPL-2.1
+Summary: An audio sequencing and mixing library
+Url: http://www.metadecks.org/software/remix/
+Group: Multimedia/Audio
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig(sndfile)
+
+%description
+Remix is an audio sequencing and mixing library that provides a multichannel,
+sparse audio data container (streams), a structured mixing abstraction (decks),
+and widely useful means of generating control data (via envelopes) and of
+caching audio data.
+
+%package -n libremix
+Summary: An audio sequencing and mixing library
+Group: Libraries
+
+%description -n libremix
+Remix is an audio sequencing and mixing library that provides a multichannel,
+sparse audio data container (streams), a structured mixing abstraction (decks),
+and widely useful means of generating control data (via envelopes) and of
+caching audio data.
+
+%package devel
+Summary: Libraries, includes, etc to develop remix applications
+Group: Libraries
+Requires: lib%{name} = %{version}
+
+%description devel
+Libraries, include files, etc you can use to develop remix applications.
+
+%prep
+%setup -q
+
+%build
+%reconfigure
+make %{?_smp_mflags}
+
+%install
+%make_install
+%remove_docs
+
+%post -n libremix -p /sbin/ldconfig
+
+%postun -n libremix -p /sbin/ldconfig
+
+%files -n libremix
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libremix.so.*
+%{_libdir}/libctxdata.so.*
+%dir %{_prefix}/lib/remix
+%{_prefix}/lib/remix/libremix_ladspa*
+%{_prefix}/lib/remix/libremix_noise*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libremix.so
+%{_libdir}/libctxdata.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/ctxdata.h
+%dir %{_includedir}/remix
+%{_includedir}/remix/*.h
--- /dev/null
+Name: renderproto
+Version: 0.11.1
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: resourceproto
+Version: 1.2.0
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: rfkill
+Version: 0.4
+Release: 0
+License: ISC
+Summary: Tool for enabling and disabling wireless devices
+Url: http://wireless.kernel.org/download/rfkill/
+Group: Productivity/Networking/Other
+Source: %{name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+rfkill is a small tool for accessing the Linux rfkill device interface,
+which is used to enable and disable wireless networking devices, typically
+WLAN, Bluetooth and mobile broadband.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags}
+
+%install
+install -Dm755 rfkill %{buildroot}%{_sbindir}/rfkill
+install -Dm644 rfkill.8 %{buildroot}%{_mandir}/man8/rfkill.8
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_sbindir}/rfkill
+
+%changelog
--- /dev/null
+Name: rng-tools
+Version: 4
+Release: 0
+License: GPL-2.0+
+Summary: A random number generator daemon
+Url: http://sourceforge.net/projects/gkernel
+Group: Development/Tools
+Source0: %{name}-%{version}.tar.gz
+Source1: rngd.service
+
+%description
+A daemon that monitors a hardware random number generator, and supplies entropy
+from that to the system kernel's /dev/random machinery.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+install -Dm0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/systemd/system/rngd.service
+
+%docs_package
+
+%files
+%license COPYING
+%{_bindir}/rngtest
+%{_prefix}/lib/systemd/system/rngd.service
+%{_sbindir}/rngd
--- /dev/null
+Name: capi-location-route
+Version: 0.1.4
+Release: 1
+License: Apache-2.0
+Summary: A Location Route library in Tizen Native API
+Group: API/C API
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-location-manager)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(location)
+
+%description
+%{summary}.
+
+
+%package devel
+Summary: A Location Route library in Tizen Native API (Development)
+Group: Development/API
+Requires: %{name} = %{version}
+
+%description devel
+%{summary}.
+
+Development Package
+
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest capi-location-route.manifest
+%{_libdir}/libcapi-location-route.so.*
+
+%files devel
+%{_includedir}/location/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-location-route.so
--- /dev/null
+Name: rpm-installer
+Summary: Native rpm installer
+Version: 0.1.25
+Release: 2
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: edje-bin
+BuildRequires: rpm-devel
+BuildRequires: popt-devel
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(pkgmgr-types)
+BuildRequires: pkgconfig(pkgmgr-installer)
+BuildRequires: pkgconfig(pkgmgr-parser)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(app2sd)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(edje)
+BuildRequires: gettext-tools
+Requires: cpio
+
+%description
+Native rpm installer
+
+%prep
+%setup -q
+
+%build
+CFLAGS+=" -fpic"
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+mkdir -p /usr/etc/package-manager/backend
+mkdir -p /usr/etc/package-manager/backendlib
+ln -sf /usr/bin/rpm-backend /usr/etc/package-manager/backend/rpm
+ln -sf /usr/lib/libnativerpm.so /usr/etc/package-manager/backendlib/librpm.so
+
+chmod 700 /usr/bin/rpm-backend
+
+vconftool set -t int db/private/rpm-installer/state "0"
+vconftool set -t int db/private/rpm-installer/stateinfo "0"
+vconftool set -t int db/private/rpm-installer/requestinfo/command "0"
+vconftool set -t string db/private/rpm-installer/requestinfo/pkgname ""
+vconftool set -t int db/private/rpm-installer/requestinfo/options "0"
+
+%files
+%manifest rpm-installer.manifest
+%attr(0700,-,-) /usr/bin/rpm-backend
+%attr(0700,-,-) /usr/bin/install_rpm_package.sh
+%attr(0755,-,-) /usr/bin/query_rpm_package.sh
+%attr(0700,-,-) /usr/bin/uninstall_rpm_package.sh
+%attr(0700,-,-) /usr/bin/upgrade_rpm_package.sh
+%attr(0644,-,-) /usr/share/locale/en_GB/LC_MESSAGES/rpm-installer.mo
+%attr(0644,-,-) /usr/share/locale/ja_JP/LC_MESSAGES/rpm-installer.mo
+%attr(0644,-,-) /usr/share/locale/zh_CN/LC_MESSAGES/rpm-installer.mo
+%attr(0644,-,-) /usr/share/locale/en_US/LC_MESSAGES/rpm-installer.mo
+%attr(0644,-,-) /usr/share/locale/ko_KR/LC_MESSAGES/rpm-installer.mo
+%attr(0644,-,-) /usr/lib/libnativerpm.so
--- /dev/null
+%define rpmhome /usr/lib/rpm
+
+Name: rpm
+Summary: The RPM Package Manager
+License: GPL-2.0+
+Group: System/Package Management
+Version: 4.11.0.1
+Release: 0
+Url: http://www.rpm.org
+BuildRequires: binutils
+BuildRequires: bzip2
+BuildRequires: file-devel
+BuildRequires: findutils
+BuildRequires: gcc
+BuildRequires: gettext-tools
+BuildRequires: glibc-devel
+BuildRequires: gzip
+BuildRequires: libacl-devel
+BuildRequires: pkgconfig(bzip2)
+BuildRequires: libcap-devel
+BuildRequires: libelf-devel
+BuildRequires: libtool
+BuildRequires: pkgconfig(lua)
+BuildRequires: make
+BuildRequires: pkgconfig(ncurses)
+BuildRequires: patch
+BuildRequires: pkgconfig(popt)
+BuildRequires: xz-devel
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(nss)
+BuildRequires: uthash-devel
+BuildRequires: libxml2-devel
+BuildRequires: libattr-devel
+BuildRequires: pkgconfig(libsmack)
+
+
+Provides: rpminst
+Provides: rpm-libs
+Source0: rpm-%{version}.tar.bz2
+Source1: db-4.8.30.tar.bz2
+Source2: db-4.8.30-integration.dif
+Source4: rpm-tizen_macros
+Source8: rpmconfigcheck
+Source13: find-docs.sh
+Source22: device-sec-policy
+Source23: find-provides.ksyms
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+#
+# avoid bootstrapping problem
+%define _binary_payload w9.bzdio
+
+%description
+RPM Package Manager is the main tool for managing the software packages
+of Tizen.
+
+RPM can be used to install and remove software packages. With rpm, it
+is easy to update packages. RPM keeps track of all these manipulations
+in a central database. This way it is possible to get an overview of
+all installed packages. RPM also supports database queries.
+
+%package devel
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Requires: rpm = %{version}
+Requires: popt-devel
+
+%description devel
+This package contains the RPM C library and header files. These
+development files will simplify the process of writing programs which
+manipulate RPM packages and databases and are intended to make it
+easier to create graphical package managers or any other tools that
+need an intimate knowledge of RPM packages in order to function.
+
+%package build
+Summary: Tools and Scripts to create rpm packages
+Group: Platform Development/Building
+Requires: rpm = %{version}
+Provides: rpmbuild rpm:%_bindir/rpmbuild
+Requires: bzip2
+Requires: xz
+Requires: gzip
+Requires: binutils
+Requires: make
+Requires: gcc
+Requires: findutils
+Requires: patch
+Requires: glibc-devel
+
+%description build
+If you want to build a rpm, you need this package. It provides rpmbuild
+and requires some packages that are usually required
+
+%package security-plugin
+Summary: MSM security plugin for rpm
+Group: Security/Access Control
+Requires: rpm = %{version}-%{release}
+Requires: smack
+Requires: libxml2
+Requires: nss
+
+%description security-plugin
+This package contains the MSM security plugin for rpm that performs
+security-related functionality.
+
+
+%prep
+%setup -q -n rpm-%{version}
+rm -rf sqlite
+tar xjf %{S:1}
+ln -s db-4.8.30 db
+chmod -R u+w db/*
+# will get linked from db3
+rm -f rpmdb/db.h
+patch -p0 < %{S:2}
+
+if [ -s /etc/rpm/tizen_macros ]; then
+ cp -a /etc/rpm/tizen_macros %{SOURCE4}
+fi
+cp -a %{SOURCE4} tizen_macros
+rm -f m4/libtool.m4
+rm -f m4/lt*.m4
+
+%build
+CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`"
+export CPPFLAGS
+export CFLAGS="%{optflags} -ffunction-sections"
+export LDFLAGS="-Wl,-Bsymbolic-functions -ffunction-sections"
+%ifarch armv5tel
+export CFLAGS="-g -O0 -fno-strict-aliasing -ffunction-sections"
+%endif
+
+%if %{_target_cpu}
+%ifarch %arm
+BUILDTARGET="--build=%{_target_cpu}-tizen-linux-gnueabi"
+%else
+BUILDTARGET="--build=%{_target_cpu}-tizen-linux"
+%endif
+%endif
+
+autoreconf -i -f
+./configure --disable-dependency-tracking --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
+--libdir=%{_libdir} --sysconfdir=/etc --localstatedir=/var --with-lua \
+--with-acl --with-cap --enable-shared %{?with_python: --enable-python} --with-msm $BUILDTARGET
+
+make %{?_smp_mflags}
+
+%install
+mkdir -p %{buildroot}/usr/lib
+mkdir -p %{buildroot}/usr/share/locale
+ln -s ../share/locale %{buildroot}/usr/lib/locale
+%make_install
+install -m 644 db3/db.h %{buildroot}/usr/include/rpm
+# remove .la file and the static variant of libpopt
+# have to remove the dependency from other .la files as well
+#for f in %{buildroot}/%{_libdir}/*.la; do
+# sed -i -e "s,/%_lib/libpopt.la,-lpopt,g" $f
+#done
+mkdir -p %{buildroot}%{_sysconfdir}/rpm
+cp -a tizen_macros %{buildroot}/usr/lib/rpm
+mkdir -p %{buildroot}/usr/lib/rpm/tizen
+install -m 755 %{SOURCE13} %{buildroot}/usr/lib/rpm/tizen
+install -m 755 %{SOURCE23} %{buildroot}/usr/lib/rpm
+install -m 644 %{SOURCE22} ${RPM_BUILD_ROOT}%{_sysconfdir}/device-sec-policy
+ln -s ../tizen_macros %{buildroot}/usr/lib/rpm/tizen/macros
+for d in BUILD RPMS SOURCES SPECS SRPMS BUILDROOT ; do
+ mkdir -p %{buildroot}/usr/src/packages/$d
+ chmod 755 %{buildroot}/usr/src/packages/$d
+done
+for d in %{buildroot}/usr/lib/rpm/platform/*-linux/macros ; do
+ dd=${d%%-linux/macros}
+ dd=${dd##*/}
+ mkdir %{buildroot}/usr/src/packages/RPMS/$dd
+ chmod 755 %{buildroot}/usr/src/packages/RPMS/$dd
+done
+mkdir -p %{buildroot}/var/lib/rpm
+gzip -9 %{buildroot}/%{_mandir}/man[18]/*.[18]
+export RPM_BUILD_ROOT
+chmod 755 doc/manual
+rm -rf doc/manual/Makefile*
+rm -f %{buildroot}/usr/lib/rpmpopt
+rm -rf %{buildroot}%{_mandir}/{fr,ja,ko,pl,ru,sk}
+rm -f %{buildroot}%{_prefix}/share/locale/de/LC_MESSAGES/rpm.mo
+rm -f %{buildroot}/usr/lib/rpm/cpanflute %{buildroot}/usr/lib/rpm/cpanflute2
+install -m 755 scripts/find-supplements{,.ksyms} %{buildroot}/usr/lib/rpm
+install -m 755 scripts/firmware.prov %{buildroot}/usr/lib/rpm
+install -m 755 scripts/debuginfo.prov %{buildroot}/usr/lib/rpm
+rm -f %{buildroot}/usr/lib/locale %{buildroot}/usr/lib/rpmrc
+mkdir -p %{buildroot}/etc/rpm
+chmod 755 %{buildroot}/etc/rpm
+mkdir -p %{buildroot}%{rpmhome}/macros.d
+# remove some nonsense or non-working scripts
+pushd %{buildroot}/usr/lib/rpm/
+for f in rpm2cpio.sh rpm.daily rpmdiff* rpm.log rpm.xinetd freshen.sh u_pkg.sh \
+ magic magic.mgc magic.mime* rpmfile *.pl javadeps brp-redhat \
+ brp-strip-static-archive vpkg-provides*.sh http.req sql.req tcl.req \
+ rpmdb_* brp-sparc64-linux brp-strip-comment-note brp-java-gcjcompile
+do
+ rm -f $f
+done
+for i in /usr/share/automake-*/*; do
+ if test -f "$i" && test -f "${i##*/}"; then
+ rm -f "${i##*/}"
+ fi
+done
+popd
+rm -rf %{buildroot}/%{_libdir}/python%{py_ver}
+rm -f %{buildroot}%{_libdir}/*.la
+rm -f %{buildroot}%{_libdir}/rpm-plugins/*.la
+sh %{buildroot}/usr/lib/rpm/find-lang.sh %{buildroot} rpm
+%ifarch armv7hl
+# rpm is using the host_cpu as default for the platform, but armv7hl is not known by the kernel.
+# so we need to enforce the platform here.
+# We don't want to use armv7l because it would make us incompatible to Fedora and MeeGo plattforms.
+echo -n armv7hl-tizen-linux> %{buildroot}/etc/rpm/platform
+%endif
+
+%post
+/sbin/ldconfig
+test -f var/lib/rpm/Packages || rpm --initdb
+rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion var/lib/rpm/Provideversion
+
+%postun
+/sbin/ldconfig
+
+%files -f rpm.lang
+%defattr(-,root,root)
+%doc GROUPS
+%license COPYING
+ /etc/rpm
+ /bin/rpm
+%{_bindir}/rpm2cpio
+%{_bindir}/rpmdb
+%{_bindir}/rpmkeys
+%{_bindir}/rpmquery
+%{_bindir}/rpmverify
+%{_bindir}/rpmqpack
+%attr(0755, root, root) %dir %{rpmhome}
+%{rpmhome}/macros
+%{rpmhome}/macros.d
+%{rpmhome}/rpmpopt*
+%{rpmhome}/rpmrc
+%{rpmhome}/tizen/macros
+%{rpmhome}/tizen_macros
+%{rpmhome}/rpm.supp
+%{rpmhome}/tgpg
+%{rpmhome}/platform
+
+%dir %{_libdir}/rpm-plugins
+ %{_libdir}/rpm-plugins/exec.so
+ %{_libdir}/librpm.so.*
+ %{_libdir}/librpmio.so.*
+ %{_libdir}/librpmbuild.so.*
+ %{_libdir}/librpmsign.so.*
+%doc %{_mandir}/man[18]/*.[18]*
+%dir /var/lib/rpm
+%dir %attr(755,root,root) /usr/src/packages/BUILD
+%dir %attr(755,root,root) /usr/src/packages/SPECS
+%dir %attr(755,root,root) /usr/src/packages/SOURCES
+%dir %attr(755,root,root) /usr/src/packages/SRPMS
+%dir %attr(755,root,root) /usr/src/packages/RPMS
+%dir %attr(755,root,root) /usr/src/packages/BUILDROOT
+%dir %attr(755,root,root) /usr/src/packages/RPMS/*
+
+%files build
+%defattr(-,root,root)
+%{_bindir}/rpmbuild
+%{_bindir}/gendiff
+%{_bindir}/rpmspec
+%{_bindir}/rpmsign
+
+%{rpmhome}/tizen/find-*
+%{rpmhome}/brp-*
+%{rpmhome}/find-supplements*
+%{rpmhome}/check-*
+%{rpmhome}/debugedit
+%{rpmhome}/find-debuginfo.sh
+%{rpmhome}/find-lang.sh
+%{rpmhome}/find-provides.ksyms
+%{rpmhome}/*provides*
+%{rpmhome}/*requires*
+%{rpmhome}/*deps*
+%{rpmhome}/*.prov
+%{rpmhome}/*.req
+%{rpmhome}/macros.*
+%{rpmhome}/fileattrs
+
+
+%files devel
+%defattr(644,root,root,755)
+%{_bindir}/rpmgraph
+/usr/include/rpm
+ %{_libdir}/librpm.so
+ %{_libdir}/librpmbuild.so
+ %{_libdir}/librpmio.so
+ %{_libdir}/librpmsign.so
+ %{_libdir}/pkgconfig/rpm.pc
+
+%files security-plugin
+%defattr(-,root,root)
+%{_libdir}/rpm-plugins/msm.so
+%config(noreplace) %{_sysconfdir}/device-sec-policy
+
--- /dev/null
+Name: rpmlint-mini
+BuildRequires: glib2-devel
+BuildRequires: glib2-devel-static
+BuildRequires: pkg-config
+BuildRequires: python-magic
+BuildRequires: python-xml
+BuildRequires: python-rpm
+BuildRequires: rpmlint
+# need to fetch the file from there
+#BuildRequires: checkbashisms
+BuildRequires: dash
+BuildRequires: libtool
+#BuildRequires: polkit-default-privs
+Requires: cpio
+Summary: Rpm correctness checker
+License: GPL-2.0+
+Group: System/Packages
+Version: 1.4
+Release: 0
+Url: http://rpmlint.zarb.org/
+Source: %{name}-%{version}.tar.bz2
+Source99: desktop-file-utils-0.20.tar.xz
+Source100: rpmlint-deps.txt
+Source101: rpmlint.wrapper
+Source102: rpmlint-mini.config
+Source1000: rpmlint-mini.rpmlintrc
+
+%description
+Rpmlint is a tool to check common errors on rpm packages. Binary and
+source packages can be checked.
+
+%prep
+%setup -q -b 99
+cd ../desktop-file-utils-0.20
+
+%build
+cd ../desktop-file-utils-0.20
+%configure
+pushd src
+make desktop-file-validate V=1 DESKTOP_FILE_UTILS_LIBS="%{_libdir}/libglib-2.0.a -lpthread -lrt"
+popd
+
+%install
+cd ../desktop-file-utils-0.20
+pwd
+# test if the rpmlint works at all
+set +e
+/usr/bin/rpmlint rpmlint
+test $? -gt 0 -a $? -lt 60 && exit 1
+set -e
+# okay, lets put it together
+mkdir -p $RPM_BUILD_ROOT/opt/testing/share/rpmlint
+install -m 755 -D src/desktop-file-validate $RPM_BUILD_ROOT/opt/testing/bin/desktop-file-validate
+cp -a /usr/share/rpmlint/*.py $RPM_BUILD_ROOT/opt/testing/share/rpmlint
+# install config files
+install -d -m 755 $RPM_BUILD_ROOT/opt/testing/share/rpmlint/mini
+for i in /etc/rpmlint/{licenses,rpmgroups,pie}.config; do
+ cp $i $RPM_BUILD_ROOT/opt/testing/share/rpmlint/mini
+done
+install -m 644 -D /usr/share/rpmlint/config $RPM_BUILD_ROOT/opt/testing/share/rpmlint/config
+install -m 644 "%{SOURCE102}" $RPM_BUILD_ROOT/opt/testing/share/rpmlint
+# extra data
+install -m 755 -d $RPM_BUILD_ROOT/opt/testing/share/rpmlint/data
+#install -m 644 /etc/polkit-default-privs.standard $RPM_BUILD_ROOT/opt/testing/share/rpmlint/data
+install -m 644 -D /usr/include/python%{py_ver}/pyconfig.h $RPM_BUILD_ROOT/opt/testing/include/python%{py_ver}/pyconfig.h
+#
+cd %{py_libdir}
+for f in $(<%{SOURCE100}); do
+ echo $f
+ find -path "*/$f" -exec install -D {} $RPM_BUILD_ROOT/opt/testing/%{_lib}/python%{py_ver}/{} \;
+done
+install -m 644 /usr/lib/python%{py_ver}/site-packages/magic.py $RPM_BUILD_ROOT/opt/testing/%{_lib}/python%{py_ver}/site-packages/magic.py
+install -D /usr/bin/python $RPM_BUILD_ROOT/opt/testing/bin/python
+cp -a %_libdir/libmagic.so.* $RPM_BUILD_ROOT/opt/testing/%{_lib}
+cp -a %_libdir/libpython%{py_ver}.so.* $RPM_BUILD_ROOT/opt/testing/%{_lib}
+cp -a %_bindir/rpmlint $RPM_BUILD_ROOT/opt/testing/share/rpmlint/rpmlint.py
+pushd $RPM_BUILD_ROOT/opt/testing/share/rpmlint
+PYTHONOPTIMIZE=1 python %py_libdir/py_compile.py *.py
+rm *.py
+popd
+pushd $RPM_BUILD_ROOT/opt/testing/%{_lib}/python%{py_ver}/site-packages/
+PYTHONOPTIMIZE=1 python %py_libdir/py_compile.py *.py
+rm *.py
+popd
+rm -rf $RPM_BUILD_ROOT/{usr,etc}
+rm -f $RPM_BUILD_ROOT/opt/testing/bin/rpmlint
+install -m 755 -D %{SOURCE101} $RPM_BUILD_ROOT/opt/testing/bin/rpmlint
+# hackatlon
+%define my_requires %{_builddir}/%{?buildsubdir}/%{name}-requires
+cat << EOF > %my_requires
+cat - > file.list
+%{__find_requires} < file.list > requires.list
+%{__find_provides} < file.list > provides.list
+while read i; do
+ grep -F -v "\$i" requires.list > requires.list.new
+ mv requires.list.new requires.list
+done < provides.list
+cat requires.list
+rm -f requires.list provides.list file.list
+EOF
+chmod +x %my_requires
+%define _use_internal_dependency_generator 0
+%define __find_requires %my_requires
+%define __find_provides %nil
+# final run check to detect python dep changes
+LD_LIBRARY_PATH=$RPM_BUILD_ROOT/opt/testing/%_lib
+PYTHONPATH=$RPM_BUILD_ROOT/opt/testing/share/rpmlint
+export PYTHONPATH LD_LIBRARY_PATH
+$RPM_BUILD_ROOT/opt/testing/bin/python -tt -u -O $RPM_BUILD_ROOT/opt/testing/share/rpmlint/rpmlint.pyo --help || exit 1
+echo ".. ok"
+
+
+%files
+%defattr(-,root,root,0755)
+/opt/testing
+
--- /dev/null
+#
+# spec file for package rpmlint-Factory
+#
+# Copyright (c) 2013 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: rpmlint-tizen
+Requires: rpmlint-mini
+Summary: Rpm correctness checker - Tizen Trunk configuration
+License: GPL-2.0+
+Group: System/Packages
+Version: 1.0
+Release: 0
+Url: http://rpmlint.zarb.org/
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Source1: COPYING
+Source2: config
+Source3: config.strict
+BuildArch: noarch
+
+%description
+Rpmlint is a tool to check common errors on rpm packages. This package
+provides the configuration specific for SUSE Factory.
+
+%package strict
+Summary: Confict only applying to openSUSE:Factory itself
+Group: System/Packages
+
+%description strict
+Forbid invalid licenses
+
+%prep
+cp %{SOURCE1} .
+
+%build
+
+%install
+install -m 644 -D %{SOURCE2} $RPM_BUILD_ROOT/etc/rpmlint/factory.config
+install -m 644 -D %{SOURCE3} $RPM_BUILD_ROOT/etc/rpmlint/factory-strict.config
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,0755)
+%license COPYING
+%dir /etc/rpmlint
+/etc/rpmlint/factory.config
+
+%files strict
+%defattr(-,root,root,0755)
+%dir /etc/rpmlint
+/etc/rpmlint/factory-strict.config
+
+%changelog
--- /dev/null
+Name: rpmlint
+BuildRequires: python-rpm
+BuildRequires: xz
+Summary: Rpm correctness checker
+License: GPL-2.0+
+Group: Development/Packaging
+Version: 1.4
+Release: 0
+Source0: http://rpmlint.zarb.org/download/rpmlint-%{version}.tar.bz2
+Source1: rpmlint-checks-master.tar.gz
+Source2: config
+Source10: rpmgroups.config
+Source11: pie.config
+Source12: licenses.config
+Source100: syntax-validator.py
+Url: http://rpmlint.zarb.org/
+Requires: /usr/bin/readelf
+Requires: bash
+Requires: cpio
+Requires: dash
+Requires: desktop-file-utils
+Requires: file
+Requires: findutils
+Requires: python-magic
+Requires: python-rpm
+BuildArch: noarch
+
+%description
+Rpmlint is a tool to check common errors on rpm packages. Binary and
+source packages can be checked.
+
+%prep
+%setup -q -n rpmlint-%{version} -a1
+cp %{S:2} .
+# Only move top-level python files
+chmod 0755 rpmlint-checks-master/*.py
+mv rpmlint-checks-master/*.py .
+
+%build
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+# the provided bash-completion does not work and only prints bash errors
+rm -rf $RPM_BUILD_ROOT/etc/bash_completion.d
+mv $RPM_BUILD_ROOT/etc/rpmlint/config $RPM_BUILD_ROOT/usr/share/rpmlint/config
+head -n 8 $RPM_BUILD_ROOT/usr/share/rpmlint/config > $RPM_BUILD_ROOT/etc/rpmlint/config
+# make sure that the package is sane
+python -tt %{SOURCE100} $RPM_BUILD_ROOT/usr/share/rpmlint/*.py $RPM_BUILD_ROOT/usr/share/rpmlint/config
+%__install -m 644 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rpmlint/
+%__install -m 644 %{SOURCE11} %{buildroot}/%{_sysconfdir}/rpmlint/
+%__install -m 644 %{SOURCE12} %{buildroot}/%{_sysconfdir}/rpmlint/
+
+
+%files
+%defattr(-,root,root,0755)
+%license COPYING
+%{_prefix}/bin/*
+%{_prefix}/share/rpmlint
+%config(noreplace) /etc/rpmlint/config
+%config(noreplace) /etc/rpmlint/licenses.config
+%config %{_sysconfdir}/rpmlint/rpmgroups.config
+%config %{_sysconfdir}/rpmlint/pie.config
+%dir /etc/rpmlint
+%doc /usr/share/man/man1/rpmlint.1.gz
+
--- /dev/null
+%global _binary_filedigest_algorithm 1
+%global _source_filedigest_algorithm 1
+
+Summary: List packages that have no dependencies (like deborphan)
+Name: rpmorphan
+Version: 1.11
+Release: 1
+Group: Applications/System
+License: GPLv2+
+
+BuildArch: noarch
+
+URL: http://rpmorphan.sourceforge.net
+Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Requires: perl
+Requires: rpm
+
+%description
+rpmorphan finds "orphaned"[2,5] packages on your system. It determines
+which packages have no other packages depending on their installation,
+and shows you a list of these packages. It intends to be clone of
+deborphan Debian tools for rpm packages.
+
+It will try to help you to remove unused packages, for example:
+* after a distribution upgrade
+* when you want to suppress packages after some tests
+
+Several tools are also provided :
+* rpmusage - display rpm packages last use date
+* rpmdep - display the full dependency of an installed rpm package
+* rpmduplicates - find packages with several version installed
+* rpmextra - find installed packages not in distribution
+
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%{_bindir}/rpmorphan-lib.pl
+%{_bindir}/rpmorphan-curses-lib.pl
+%{_bindir}/rpmorphan-tk-lib.pl
+%{_bindir}/rpmorphan.pl
+%{_bindir}/rpmorphan
+%{_bindir}/grpmorphan
+%{_bindir}/rpmusage.pl
+%{_bindir}/rpmusage
+%{_bindir}/rpmdep.pl
+%{_bindir}/rpmdep
+%{_bindir}/rpmduplicates.pl
+%{_bindir}/rpmduplicates
+%{_bindir}/rpmextra.pl
+%{_bindir}/rpmextra
+%ghost /var/log/rpmorphan.log
+%dir /var/lib/rpmorphan
+%config(noreplace) %attr(644, root, root) /var/lib/rpmorphan/keep
+%dir /usr/lib/rpmorphan
+%dir /usr/lib/rpmorphan/locale
+%dir /usr/lib/rpmorphan/locale/en
+%attr(644, root, root) /usr/lib/rpmorphan/locale/en/rpmorphan_trans.pl
+%dir /usr/lib/rpmorphan/locale/fr_FR
+%attr(644, root, root) /usr/lib/rpmorphan/locale/fr_FR/rpmorphan_trans.pl
+%config(noreplace) /etc/logrotate.d/rpmorphan
+%config(noreplace) /etc/rpmorphanrc
+%doc %{_mandir}/man1/rpmorphan.1*
+%doc %{_mandir}/man1/rpmusage.1*
+%doc %{_mandir}/man1/rpmdep.1*
+%doc %{_mandir}/man1/rpmduplicates.1*
+%doc %{_mandir}/man1/rpmextra.1*
+
--- /dev/null
+Name: rsync
+Version: 3.0.8
+Release: 1
+License: GPL-3.0+
+Summary: A program for synchronizing files over a network
+Url: http://rsync.samba.org/
+Group: Applications/Internet
+Source0: http://rsync.samba.org/ftp/rsync/src/rsync-%{version}.tar.gz
+BuildRequires: libacl-devel
+BuildRequires: libattr-devel
+BuildRequires: pkgconfig(popt)
+
+%description
+Rsync uses a reliable algorithm to bring remote and host files into
+sync very quickly. Rsync is fast because it just sends the differences
+in the files over the network instead of sending the complete
+files. Rsync is often used as a very powerful mirroring process or
+just as a more capable replacement for the rcp command. A technical
+report which describes the rsync algorithm is included in this
+package.
+
+%package support
+Summary: Support files for rsync
+Group: Applications/System
+Requires: %{name} = %{version}
+
+%description support
+Support filrs for rsync
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%docs_package
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%{_bindir}/rsync
+
+
--- /dev/null
+Name: ruby
+Version: 1.9.3.p194
+Release: 0
+#
+%define pkg_version 1.9.3
+%define patch_level p194
+# keep in sync with macro file!
+%define rb_binary_suffix 1.9
+%define rb_ver 1.9.1
+%define rb_arch %(echo %{_target_cpu}-linux | sed -e "s/ppc/powerpc/")
+%define rb_libdir %{_libdir}/ruby/%{rb_ver}/
+%define rb_archdir %{_libdir}/ruby/%{rb_ver}/%{rb_arch}
+# keep in sync with macro file!
+#
+# from valgrind.spec
+%ifarch %ix86 x86_64 ppc ppc64
+%define use_valgrind 1
+%endif
+%define run_tests 0
+#
+#
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: gdbm-devel
+BuildRequires: libffi-devel
+BuildRequires: libyaml-devel
+BuildRequires: ncurses-devel
+BuildRequires: openssl-devel
+BuildRequires: pkg-config
+BuildRequires: readline-devel
+BuildRequires: zlib-devel
+BuildRequires: ca-certificates
+#BuildRequires: ca-certificates-cacert
+#
+Provides: rubygem-rake = 0.9.2.2
+Provides: ruby(abi) = %{rb_ver}
+#
+Url: http://www.ruby-lang.org/
+Source: ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-%{pkg_version}-%{patch_level}.tar.bz2
+Source6: ruby.macros
+Source7: gem_install_wrapper.sh
+#
+Summary: An Interpreted Object-Oriented Scripting Language
+License: BSD-2-Clause or Ruby
+Group: Development/Languages/Ruby
+
+%description
+Ruby is an interpreted scripting language for quick and easy
+object-oriented programming. It has many features for processing text
+files and performing system management tasks (as in Perl). It is
+simple, straight-forward, and extensible.
+
+* Ruby features:
+
+- Simple Syntax
+
+- *Normal* Object-Oriented features (class, method calls, for
+ example)
+
+- *Advanced* Object-Oriented features(Mix-in, Singleton-method, for
+ example)
+
+- Operator Overloading
+
+- Exception Handling
+
+- Iterators and Closures
+
+- Garbage Collection
+
+- Dynamic Loading of Object Files (on some architectures)
+
+- Highly Portable (works on many UNIX machines; DOS, Windows, Mac,
+BeOS, and more)
+
+
+%package devel
+Summary: Development files to link against Ruby
+Group: Development/Languages/Ruby
+Requires: %{name} = %{version}
+Provides: rubygems19 = 1.3.7
+Provides: rubygems19_with_buildroot_patch
+
+%description devel
+Development files to link against Ruby.
+
+
+%package doc-ri
+Summary: Ruby Interactive Documentation
+Group: Development/Languages/Ruby
+Requires: %{name} = %{version}
+BuildArch: noarch
+%description doc-ri
+This package contains the RI docs for ruby
+
+%package doc-html
+Summary: This package contains the HTML docs for ruby
+Group: Development/Languages/Ruby
+Requires: %{name} = %{version}
+BuildArch: noarch
+%description doc-html
+This package contains the HTML docs for ruby
+
+%package examples
+Summary: Example scripts for ruby
+Group: Development/Languages/Ruby
+Requires: %{name} = %{version}
+BuildArch: noarch
+%description examples
+Example scripts for ruby
+
+%package test-suite
+Requires: %{name} = %{version}
+Summary: An Interpreted Object-Oriented Scripting Language
+Group: Development/Languages/Ruby
+BuildArch: noarch
+%description test-suite
+Ruby is an interpreted scripting language for quick and easy
+object-oriented programming. It has many features for processing text
+files and performing system management tasks (as in Perl). It is
+simple, straight-forward, and extensible.
+
+* Ruby features:
+
+- Simple Syntax
+
+- *Normal* Object-Oriented features (class, method calls, for
+ example)
+
+- *Advanced* Object-Oriented features(Mix-in, Singleton-method, for
+ example)
+
+- Operator Overloading
+
+- Exception Handling
+
+- Iterators and Closures
+
+- Garbage Collection
+
+- Dynamic Loading of Object Files (on some architectures)
+
+- Highly Portable (works on many UNIX machines; DOS, Windows, Mac,
+BeOS, and more)
+
+%prep
+%setup -q -n ruby-%{pkg_version}-%{patch_level}
+
+%if 0%{?needs_optimization_zero}
+touch -r configure configure.timestamp
+perl -p -i.bak -e 's|-O2|-O0|g' configure
+diff -urN configure{.bak,} ||:
+touch -r configure.timestamp configure
+%endif
+find sample -type f -print0 | xargs -r0 chmod a-x
+grep -Erl '^#! */' benchmark bootstraptest ext lib sample test \
+ | xargs -r perl -p -i -e 's|^#!\s*\S+(\s+.*)?$|#!/usr/bin/ruby1.9$1|'
+
+%build
+%if 0%{?needs_optimization_zero}
+export CFLAGS="%{optflags}"
+export CFLAGS="${CFLAGS//-O2/}"
+export CXXFLAGS="$CFLAGS"
+export FFLAGS="$CFLAGS"
+%endif
+%configure \
+ --target=%{_target_platform} \
+ --with-mantype=man \
+ --enable-shared \
+ --disable-static \
+ --disable-rpath
+%{__make} all V=1
+
+%install
+%make_install V=1
+%{__install} -D -m 0644 %{S:6} %{buildroot}/etc/rpm/macros.ruby19
+%{__install} -D -m 0755 %{S:7} %{buildroot}/usr/lib/rpm/gem_install_wrapper.sh
+
+%if 0%{?run_tests}
+%check
+export LD_LIBRARY_PATH="$PWD"
+# we know some tests will fail when they do not find a /usr/bin/ruby
+make check V=1 ||:
+%endif
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%config(noreplace) /etc/rpm/macros.ruby19
+%{_bindir}/erb
+%{_bindir}/gem
+%{_bindir}/irb
+%{_bindir}/rake
+%{_bindir}/rdoc
+%{_bindir}/ri
+%{_bindir}/ruby
+%{_bindir}/testrb
+%{_libdir}/libruby.so.1.9*
+%{_libdir}/ruby/
+/usr/lib/rpm/gem_install_wrapper.sh
+%{_mandir}/man1/ri.1*
+%{_mandir}/man1/irb.1*
+%{_mandir}/man1/erb.1*
+%{_mandir}/man1/rake.1*
+%{_mandir}/man1/ruby.1*
+%doc COPYING COPYING.ja GPL
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/ruby-%{rb_ver}
+%{_libdir}/libruby.so
+%{_libdir}/pkgconfig/ruby-1.9.pc
+
+
+%files doc-ri
+%defattr(-,root,root,-)
+%dir %{_datadir}/ri/
+%{_datadir}/ri/%{rb_ver}/
+
+%changelog
--- /dev/null
+Name: capi-system-runtime-info
+Summary: A Runtime Information library in Tizen Native API
+Version: 0.0.3
+Release: 0
+Group: System/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-base-common)
+
+%description
+A Runtime Information library in Tizen Native API.
+
+%package devel
+Summary: A Runtime Information library in Tizen Native API (Development)
+Group: Development/System
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(capi-base-common)
+
+%description devel
+%devel_desc
+
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2
+%{_libdir}/lib*.so.*
+%manifest runtime-info.manifest
+
+%files devel
+%{_includedir}/system/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/lib*.so
+
+
--- /dev/null
+#
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22
+#
+# >> macros
+# << macros
+
+Name: rygel
+Summary: GNOME UPnP/DLNA Media Server
+Version: 0.19.2
+Release: 0
+Group: Applications/Multimedia
+License: GPLv2
+URL: http://live.gnome.org/Rygel
+Source0: http://download.gnome.org/sources/rygel/0.17/%{name}-%{version}.tar.bz2
+Requires(post): /bin/touch
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(gupnp-1.0)
+BuildRequires: pkgconfig(gupnp-av-1.0)
+BuildRequires: pkgconfig(gupnp-dlna-2.0)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(gstreamer-1.0)
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
+BuildRequires: pkgconfig(gee-0.8)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(uuid)
+BuildRequires: intltool
+
+
+%description
+Rygel is a collection of DLNA (UPnP AV) devices, implemented through a plug-in mechanism.
+
+
+%package devel
+Summary: Development files for Rygel
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the libraries and files necessary for
+developing software on top of Rygel.
+
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+%configure --disable-static \
+ --disable-external-plugin \
+ --disable-mpris-plugin \
+ --disable-mediathek-plugin \
+ --disable-tracker-plugin \
+ --disable-gst-launch-plugin \
+ --disable-example-plugins \
+ --disable-vala \
+ --disable-tests \
+ --enable-valadoc=no
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+# << install post
+%find_lang rygel
+
+rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache \
+ --quiet %{_datadir}/icons/hicolor 2> /dev/null|| :
+
+%postun
+/bin/touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache \
+ --quiet %{_datadir}/icons/hicolor 2> /dev/null|| :
+
+
+%files -f rygel.lang
+%defattr(-,root,root,-)
+# >> files
+%config /etc/rygel.conf
+%config /etc/rc.d/init.d/rygel
+%{_bindir}/rygel
+%{_datadir}/dbus-1/services/org.gnome.Rygel1.service
+%{_datadir}/icons/hicolor/128x128/apps/rygel.png
+%{_datadir}/icons/hicolor/48x48/apps/rygel.png
+%{_datadir}/icons/hicolor/32x32/apps/rygel.png
+%{_datadir}/icons/hicolor/scalable/apps/rygel-full.svg
+%{_datadir}/icons/hicolor/scalable/apps/rygel.svg
+%{_datadir}/rygel/icons/120x120/rygel.jpg
+%{_datadir}/rygel/icons/120x120/rygel.png
+%{_datadir}/rygel/icons/48x48/rygel.jpg
+%{_datadir}/rygel/icons/48x48/rygel.png
+%{_datadir}/rygel/presets/GstFaac.prs
+%{_datadir}/rygel/presets/GstLameMP3Enc.prs
+%{_datadir}/rygel/presets/GstMP4Mux.prs
+%{_datadir}/rygel/presets/GstTwoLame.prs
+%{_datadir}/rygel/presets/GstX264Enc.prs
+%{_datadir}/rygel/presets/avenc_aac.prs
+%{_datadir}/rygel/presets/avenc_mp2.prs
+%{_datadir}/rygel/presets/avenc_mpeg2video.prs
+%{_datadir}/rygel/presets/avenc_wmav1.prs
+%{_datadir}/rygel/presets/avenc_wmv1.prs
+%{_datadir}/rygel/xml/ContentDirectory-NoTrack.xml
+%{_datadir}/rygel/xml/AVTransport2.xml
+%{_datadir}/rygel/xml/ConnectionManager.xml
+%{_datadir}/rygel/xml/ContentDirectory.xml
+%{_datadir}/rygel/xml/MediaRenderer2.xml
+%{_datadir}/rygel/xml/MediaServer3.xml
+%{_datadir}/rygel/xml/RenderingControl2.xml
+%{_datadir}/rygel/xml/X_MS_MediaReceiverRegistrar1.xml
+%{_datadir}/man/man1/rygel.1.gz
+%{_datadir}/man/man5/rygel.conf.5.gz
+# Rygel core libs
+%{_libdir}/librygel-*.so.*
+# Rygel plugins
+%{_libdir}/rygel-2.0/plugins/*.so
+%{_libdir}/rygel-2.0/plugins/*.plugin
+# Rygel MediaEngines
+%{_libdir}/rygel-2.0/engines/*.so
+%{_libdir}/rygel-2.0/engines/*.plugin
+# << files
+
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+%doc %{_datadir}/gtk-doc/html/librygel-core
+%doc %{_datadir}/gtk-doc/html/librygel-renderer
+%doc %{_datadir}/gtk-doc/html/librygel-renderer-gst
+%doc %{_datadir}/gtk-doc/html/librygel-server
+%{_includedir}/rygel-2.0/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/rygel-*-2.0.pc
+%{_datadir}/vala/vapi/rygel-*-2.0.deps
+%{_datadir}/vala/vapi/rygel-*-2.0.vapi
+# << files devel
+
--- /dev/null
+#
+# spec file for package scons
+#
+# Copyright (c) 2012 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: scons
+Summary: Replacement for Make
+License: MIT
+Group: Development/Tools/Building
+Version: 2.2.0
+Release: 0
+Source0: http://freefr.dl.sourceforge.net/project/scons/scons/%{version}/%{name}-%{version}.tar.gz
+Patch0: %{name}-1.2.0-fix-install.patch
+Patch1: %{name}-1.2.0-noenv.patch
+Url: http://www.scons.org/
+BuildRequires: fdupes
+BuildRequires: python-devel
+
+%description
+SCons is a make replacement that provides a range of enhanced features,
+such as automated dependency generation and built-in compilation cache
+support. SCons rule sets are Python scripts, which means that SCons
+provides itself as well as the features. SCons allows you to use the
+full power of Python to control compilation.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="$RPM_OPT_FLAGS"
+python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-lib=%{python_sitearch}
+%fdupes %{buildroot}%{_bindir}
+
+%files
+%defattr(-,root,root)
+%license LICENSE.txt
+%{_bindir}/*
+%{python_sitearch}/SCons/
+%{python_sitearch}/*.egg-info
+%{_mandir}/man1/*.gz
+
+%changelog
--- /dev/null
+#
+# spec file for package screen
+#
+# Copyright (c) 2013 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.
+
+Url: http://www.gnu.org/software/screen/
+
+Name: screen
+BuildRequires: makeinfo
+BuildRequires: ncurses-devel
+BuildRequires: utempter-devel
+Requires(pre): coreutils
+Version: 4.0.4
+Release: 0
+Summary: A program to allow multiple screens on a VT100/ANSI Terminal
+License: GPL-2.0+
+Group: System/Console
+Source: %{name}-%{version}.tar.gz
+Source1: screen.conf
+
+%description
+With this program you can take advantage of the multitasking abilities
+of your Linux system by opening several sessions over one terminal. The
+sessions can also be detached and resumed from another login terminal.
+
+Documentation: man page
+
+%prep
+%setup
+%build
+CFLAGS="-DMAXWIN=1000 $RPM_OPT_FLAGS" %configure --prefix=/usr --infodir=%{_infodir} \
+ --mandir=%{_mandir} \
+ --with-socket-dir='(eff_uid ? "/var/run/uscreens" : "/var/run/screens")' \
+ --with-sys-screenrc=/etc/screenrc \
+ --with-pty-group=5 \
+ --enable-use-locale \
+ --enable-colors256 \
+ --verbose
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT/usr/bin/screen
+mv $RPM_BUILD_ROOT/usr/bin/screen-%version $RPM_BUILD_ROOT/usr/bin/screen
+chmod 755 $RPM_BUILD_ROOT/usr/bin/screen
+mkdir -p $RPM_BUILD_ROOT/etc
+mkdir -p $RPM_BUILD_ROOT/usr/lib
+mkdir -p $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
+mkdir -p $RPM_BUILD_ROOT/var/run/screens
+chmod 755 $RPM_BUILD_ROOT/var/run/screens
+mkdir -p $RPM_BUILD_ROOT/var/run/uscreens
+chmod 1777 $RPM_BUILD_ROOT/var/run/uscreens
+install -m 644 screenrc $RPM_BUILD_ROOT/etc/screenrc
+install -m 644 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
+
+%post
+# Create our dirs immediatly, after a manual package install.
+# After a reboot systemd/aaa_base will take care.
+test -d /var/run/screens || mkdir -m 755 /var/run/screens
+test -d /var/run/uscreens || mkdir -m 1777 /var/run/uscreens
+
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%config /etc/screenrc
+%attr(555,root,root) /usr/bin/screen
+%dir /usr/share/screen
+%dir /usr/lib/tmpfiles.d
+/usr/lib/tmpfiles.d/screen.conf
+/usr/share/screen/utf8encodings
+# Created via aaa_base or systemd on system boot
+%ghost %dir /var/run/screens
+%ghost %dir /var/run/uscreens
+%doc %{_infodir}/screen.info*.gz
+%doc %{_mandir}/man1/screen.1.gz
+
--- /dev/null
+Name: scrnsaverproto
+Version: 1.2.2
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+Description: %{summary}
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: sdbd
+Summary: SDB daemon
+Version: 2.1.2
+Release: 4
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+Requires(post) : pkgmgr
+Requires(post) : pkgmgr-server
+Requires(post) : wrt
+Requires(post) : aul
+Requires : default-files-tizen
+
+%description
+Description: SDB daemon
+
+
+%prep
+%setup -q
+
+%build
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+chsmack -a sdbd::home /home/developer
+chsmack -t /home/developer
+
+%files
+%manifest sdbd.manifest
+%defattr(-,root,root,-)
+%{_prefix}/sbin/sdbd
+%{_sysconfdir}/init.d/sdbd
+
+%ifarch %{ix86}
+ %{_sysconfdir}/rc.d/rc3.d
+%endif
+
+%changelog
+* Wed Apr 04 2013 Ho Namkoong <ho.namkoong@samsung.com>
+ - supports platform gdbserver
+* Mon Dec 02 2012 Yoonki Park <yoonki.park@samsung.com>
+ - supports cs report service using inotify
+* Mon Dec 02 2012 Yoonki Park <yoonki.park@samsung.com>
+ - sdb code dropped from adb (Ice Cream Samdwich 4.1.1)
+* Wed Apr 18 2012 Yoonki Park <yoonki.park@samsung.com>
+ - set dir permission to 777
+* Sat Mar 31 2012 Yoonki Park <yoonki.park@samsung.com>
+ - let sshd be daemon and create sshd.pid file
--- /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
+Source1: secure-storage.service
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(dlog)
+#BuildRequires: pkgconfig(libsystemd-daemon)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: cmake
+
+%description
+Secure storage package
+
+%package -n libss-client
+Summary: Secure storage (client)
+Group: Development/Libraries
+Provides: libss-client.so
+
+%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
+
+
+%build
+%cmake .
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/multi-user.target.wants
+install -m 0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/systemd/system/secure-storage.service
+ln -s ../secure-storage.service %{buildroot}%{_prefix}/lib/systemd/system/multi-user.target.wants/secure-storage.service
+
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d
+ln -s ../init.d/ss-serverd %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S40ss-server
+ln -s ../init.d/ss-serverd %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S40ss-server
+
+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
+fi
+
+%post -n ss-server
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ 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,-)
+%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/ss-serverd
+%{_sysconfdir}/rc.d/rc3.d/S40ss-server
+%{_sysconfdir}/rc.d/rc5.d/S40ss-server
+%{_bindir}/ss-server
+%{_prefix}/lib/systemd/system/secure-storage.service
+%{_prefix}/lib/systemd/system/multi-user.target.wants/secure-storage.service
+%{_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
+%defattr(-,root,root,-)
+%{_includedir}/ss_manager.h
+%{_libdir}/pkgconfig/secure-storage.pc
+%{_libdir}/libss-client.so
+
--- /dev/null
+#sbs-git:slp/pkgs/s/security-server security-server 0.0.37
+Name: security-server
+Summary: Security server and utilities
+Version: 0.0.73
+Release: 1
+Group: TO_BE/FILLED_IN
+License: Apache License, Version 2.0
+URL: N/A
+Source0: %{name}-%{version}.tar.gz
+Source1: security-server.manifest
+Source2: libsecurity-server-client.manifest
+Source3: security-server.service
+BuildRequires: cmake
+BuildRequires: zip
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: libattr-devel
+BuildRequires: pkgconfig(libsmack)
+Requires(preun): systemd
+Requires(post): systemd
+Requires(postun): systemd
+BuildRequires: pkgconfig(libprivilege-control)
+
+%description
+Security server and utilities
+
+%package -n libsecurity-server-client
+Summary: Security server (client)
+Group: Development/Libraries
+Requires: security-server = %{version}-%{release}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description -n libsecurity-server-client
+Security server package (client)
+
+#%package -n wrt-security
+#Summary: wrt-security-daemon and client libraries.
+#Group: Development/Libraries
+#Requires(post): /sbin/ldconfig
+#Requires(postun): /sbin/ldconfig
+#
+#%description -n wrt-security
+#Wrt-security-daemon and client libraries.
+#
+#%package -n wrt-security-devel
+#Summary: Header files for client libraries.
+#Group: Development/Libraries
+#Requires: wrt-security = %{version}-%{release}
+#
+#%description -n wrt-security-devel
+#Developer files for client libraries.
+
+%package -n libsecurity-server-client-devel
+Summary: Security server (client-devel)
+Group: Development/Libraries
+Requires: libsecurity-server-client = %{version}-%{release}
+
+%description -n libsecurity-server-client-devel
+Security server package (client-devel)
+
+%package -n security-server-devel
+Summary: for web applications (Development)
+Group: Development/Libraries
+Requires: security-server = %{version}-%{release}
+
+%description -n security-server-devel
+Security daemon for web applications (Development)
+
+
+
+%prep
+%setup -q
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_libdir}"
+
+%cmake . -DVERSION=%{version} \
+ -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+cp LICENSE %{buildroot}/usr/share/license/libsecurity-server-client
+%make_install
+install -D %{SOURCE1} %{buildroot}%{_datadir}/security-server.manifest
+install -D %{SOURCE2} %{buildroot}%{_datadir}/libsecurity-server-client.manifest
+
+mkdir -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants
+install -m 0644 %{SOURCE3} %{buildroot}/usr/lib/systemd/system/security-server.service
+ln -s ../security-server.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/security-server.service
+
+
+%preun
+if [ $1 == 0 ]; then
+ systemctl stop security-server.service
+fi
+
+%post
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ systemctl restart security-server.service
+fi
+mkdir -p /etc/rc.d/rc3.d
+mkdir -p /etc/rc.d/rc5.d
+ln -sf /etc/rc.d/init.d/security-serverd /etc/rc.d/rc3.d/S10security-server
+ln -sf /etc/rc.d/init.d/security-serverd /etc/rc.d/rc5.d/S10security-server
+
+%postun
+systemctl daemon-reload
+if [ "$1" = 0 ]; then
+ rm -f /etc/rc.d/rc3.d/S10security-server
+ rm -f /etc/rc.d/rc5.d/S10security-server
+fi
+
+%post -n libsecurity-server-client -p /sbin/ldconfig
+
+%postun -n libsecurity-server-client -p /sbin/ldconfig
+
+%files -n security-server
+%manifest %{_datadir}/security-server.manifest
+%defattr(-,root,root,-)
+/usr/lib/systemd/system/multi-user.target.wants/security-server.service
+/usr/lib/systemd/system/security-server.service
+%attr(755,root,root) /etc/rc.d/init.d/security-serverd
+%attr(755,root,root) /usr/bin/security-server
+
+%{_datadir}/license/%{name}
+
+%files -n libsecurity-server-client
+%manifest %{_datadir}/libsecurity-server-client.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libsecurity-server-client.so.*
+%{_datadir}/license/libsecurity-server-client
+
+%files -n libsecurity-server-client-devel
+%defattr(-,root,root,-)
+%{_libdir}/libsecurity-server-client.so
+/usr/include/security-server/security-server.h
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+Name: sed
+Version: 4.2.1
+Release: 0
+Summary: A Stream-Oriented Non-Interactive Text Editor
+License: GPL-3.0+
+Group: Base/Tools
+Url: http://www.gnu.org/directory/sed.html
+Source: %name-%version.tar.bz2
+Provides: base:/bin/sed
+BuildRequires: automake
+Provides: /bin/sed
+
+%description
+Sed takes text input, performs one or more operations on it, and
+outputs the modified text. Sed is typically used for extracting parts
+of a file using pattern matching or for substituting multiple
+occurrences of a string within a file.
+
+%prep
+%setup -q
+
+%build
+%define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security
+export CFLAGS="%{optflags} %warn_flags"
+./configure --prefix=/usr \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} \
+ --disable-nls \
+ --without-included-regex \
+ %{_target_cpu}-tizen-linux
+%if %do_profiling
+ make %{?_smp_mflags} CFLAGS="$CFLAGS "%cflags_profile_generate
+ make %{?_smp_mflags} check
+ make clean
+ make %{?_smp_mflags} CFLAGS="$CFLAGS "%cflags_profile_feedback
+%else
+ make %{?_smp_mflags}
+%endif
+make %{?_smp_mflags} check
+
+%install
+%make_install
+
+
+%docs_package
+
+%files
+%defattr(-, root, root)
+%{_bindir}/sed
+%doc COPYING*
+
--- /dev/null
+#sbs-git:slp/pkgs/s/sensor-framework sensor-framework 0.2.5 f585f766aa864c3857e93c776846771899a4fa41
+Name: sensor-framework
+Summary: Sensor framework
+Version: 0.2.30
+Release: 1
+Group: Framework/system
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: sensor-framework.service
+
+%ifarch %{arm}
+ #arm build
+ %define _archtype arch_arm
+%else
+ #ix86 build
+ %if 0%{?simulator}
+ #emul build target
+ %define _archtype arch_sdk
+ %else
+ #IA build target
+ %define _archtype arch_ia
+ %endif
+%endif
+Requires(post): /usr/bin/vconftool
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(sf_common)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(heynoti)
+
+%description
+Sensor framework
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DPLATFORM_ARCH=%{_archtype}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
+mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
+install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/
+ln -s ../sensor-framework.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/sensor-framework.service
+
+# FIXME: remove initscripts after we start using systemd
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc4.d
+ln -s ../init.d/sfsvc %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S40sfsvc
+ln -s ../init.d/sfsvc %{buildroot}%{_sysconfdir}/rc.d/rc4.d/S40sfsvc
+
+%post
+vconftool set -t int memory/private/sensor/10001 0 -i
+vconftool set -t int memory/private/sensor/10002 0 -i
+vconftool set -t int memory/private/sensor/10004 0 -i
+vconftool set -t int memory/private/sensor/10008 0 -i
+vconftool set -t int memory/private/sensor/10010 0 -i
+vconftool set -t int memory/private/sensor/20001 0 -i
+vconftool set -t int memory/private/sensor/20002 0 -i
+vconftool set -t int memory/private/sensor/20004 0 -i
+vconftool set -t int memory/private/sensor/200001 0 -i
+vconftool set -t int memory/private/sensor/40001 0 -i
+vconftool set -t int memory/private/sensor/40002 0 -i
+vconftool set -t int memory/private/sensor/800001 0 -i
+vconftool set -t int memory/private/sensor/800002 0 -i
+vconftool set -t int memory/private/sensor/800004 0 -i
+vconftool set -t int memory/private/sensor/800008 0 -i
+vconftool set -t int memory/private/sensor/800010 0 -i
+vconftool set -t int memory/private/sensor/800020 0 -i
+vconftool set -t int memory/private/sensor/800040 0 -i
+vconftool set -t int memory/private/sensor/800080 0 -i
+vconftool set -t int memory/private/sensor/800100 0 -i
+vconftool set -t int memory/private/sensor/800200 0 -i
+vconftool set -t int memory/private/sensor/800400 0 -i
+vconftool set -t int memory/private/sensor/800800 0 -i
+vconftool set -t int memory/private/sensor/80001 0 -i
+vconftool set -t int memory/private/sensor/80002 0 -i
+vconftool set -t int memory/private/sensor/poweroff 0 -i
+
+%files
+%manifest sensor-framework.manifest
+%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/sfsvc
+%{_sysconfdir}/rc.d/rc3.d/S40sfsvc
+%{_sysconfdir}/rc.d/rc4.d/S40sfsvc
+%{_bindir}/sf_server
+%attr(0644,root,root)/usr/etc/sf_data_stream.conf
+%attr(0644,root,root)/usr/etc/sf_filter.conf
+%attr(0644,root,root)/usr/etc/sf_processor.conf
+%attr(0644,root,root)/usr/etc/sf_sensor.conf
+%{_libdir}/systemd/system/sensor-framework.service
+%{_libdir}/systemd/system/multi-user.target.wants/sensor-framework.service
+/usr/share/license/%{name}
+
--- /dev/null
+Name: capi-system-sensor
+Summary: A Sensor library in TIZEN C API
+Version: 0.1.17
+Release: 1
+Group: framework/system
+License: Apache 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(sensor)
+BuildRequires: pkgconfig(capi-base-common)
+
+%description
+
+
+%package devel
+Summary: A Sensor library in TIZEN C API (Development)
+Group: framework/system
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest capi-system-sensor.manifest
+%{_libdir}/libcapi-system-sensor.so.*
+
+%files devel
+%{_includedir}/system/sensors.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-system-sensor.so
+/usr/share/license/%{name}
--- /dev/null
+Name: capi-network-serial
+Summary: Network Serial Framework
+Version: 0.0.7
+Release: 0
+Group: API
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(capi-base-common)
+
+BuildRequires: cmake
+
+
+%description
+Network Serial Framework
+
+%package devel
+Summary: Network Serial Framework (DEV)
+Group: API
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Network Serial Framework (DEV).
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest capi-network-serial.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libcapi-network-serial.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/network/serial.h
+%{_libdir}/pkgconfig/capi-network-serial.pc
+%{_libdir}/libcapi-network-serial.so
+
--- /dev/null
+Name: sessreg
+Version: 1.0.7
+Release: 1
+License: MIT
+Summary: Utility to manage utmp/wtmp entries for X sessions
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(xorg-macros) >= 1.4
+BuildRequires: pkgconfig(xproto)
+
+%description
+Sessreg is a simple program for managing utmp/wtmp entries for X sessions.
+It was originally written for use with xdm, but may also be used with
+other display managers such as gdm or kdm.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/sessreg
+%{_mandir}/man1/sessreg.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: org.tizen.setting
+Summary: Setting application
+Version: 0.1.87
+Release: 99
+Group: misc
+License: Flora License, Version 1
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(appcore-common)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(haptic)
+BuildRequires: pkgconfig(bluetooth-api)
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(json-glib-1.0)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gthread-2.0)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(ecore-imf)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(icu-io)
+BuildRequires: pkgconfig(icu-le)
+BuildRequires: pkgconfig(icu-lx)
+BuildRequires: pkgconfig(icu-uc)
+BuildRequires: pkgconfig(ewebkit2)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(mm-player)
+BuildRequires: pkgconfig(capi-network-connection)
+#BuildRequires: pkgconfig(network)
+#BuildRequires: pkgconfig(security-server)
+BuildRequires: pkgconfig(svi)
+BuildRequires: pkgconfig(feedback)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(pango)
+BuildRequires: pkgconfig(capi-system-runtime-info)
+BuildRequires: pkgconfig(capi-media-player)
+BuildRequires: pkgconfig(capi-media-sound-manager)
+BuildRequires: pkgconfig(capi-content-media-content)
+BuildRequires: pkgconfig(capi-system-device)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(capi-system-sensor)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(capi-system-system-settings)
+BuildRequires: pkgconfig(capi-network-wifi)
+BuildRequires: pkgconfig(capi-network-bluetooth)
+BuildRequires: pkgconfig(capi-network-tethering)
+BuildRequires: pkgconfig(capi-network-nfc)
+BuildRequires: pkgconfig(capi-security-privacy-manager)
+BuildRequires: pkgconfig(privacy-manager-client)
+BuildRequires: pkgconfig(privacy-manager-server)
+BuildRequires: pkgconfig(ecore-evas)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: sysman-internal-devel
+BuildRequires: cmake
+BuildRequires: edje-tools
+BuildRequires: gettext-tools
+#Requires: org.tizen.phone
+Requires: ug-bluetooth-efl
+%description
+Setting application
+ BEAT UI, Setting application.
+
+
+%prep
+%setup -q
+
+%build
+
+%define PREFIX "/usr/apps/org.tizen.setting"
+%define RESDIR "/usr/apps/org.tizen.setting/res"
+%define DATADIR "/usr/apps/org.tizen.setting/data"
+LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--hash-style=both -Wl,--as-needed";export LDFLAGS
+
+%ifarch %{arm}
+ %cmake . -DARCH=arm
+%else
+ %cmake . -DARCH=x86
+%endif
+
+make
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}/opt/data/setting
+
+%clean
+
+%post
+
+# Set vconf values with -g/-u options
+GOPTION="-g 6514"
+
+#resetMenuscreen
+ # menuscreen app will take this vconf
+ #vconftool $GOPTION set -t string db/setting/menuscreen/package_name "com.samsung.cluster-home"
+
+
+#resetFlightmode
+ vconftool $GOPTION set -t bool db/telephony/flight_mode "0" -f
+
+#resetNetwork
+ vconftool $GOPTION set -t int db/setting/select_network "0"
+ vconftool $GOPTION set -t int db/setting/select_network_act "0"
+ vconftool $GOPTION set -t int db/setting/network_mode "0"
+ vconftool $GOPTION set -t bool db/setting/3gEnabled "1"
+ vconftool $GOPTION set -t bool db/setting/data_roaming "0"
+
+#resetUsbConnectivity
+ vconftool $GOPTION set -t int memory/setting/usb_mode "-1" -i -f
+ vconftool $GOPTION set -t int memory/setting/usb_sel_mode "0" -i -f
+ vconftool $GOPTION set -t int memory/setting/usb_in_mode_change "0" -i -f
+ vconftool $GOPTION set -t bool db/setting/debug_mode "1" -f
+ vconftool $GOPTION set -t int db/setting/default_rendering_engine "1" -i
+
+#resetSound
+ DEFAULT_CALL_TONE="/opt/share/settings/Ringtones/ringtone_sdk.mp3"
+ DEFAULT_NOTI_TONE="/opt/share/settings/Alerts/General notification_sdk.wav"
+
+ vconftool $GOPTION set -t bool db/setting/sound/sound_on "1"
+ vconftool $GOPTION set -t bool db/setting/sound/vibration_on "0"
+
+ vconftool $GOPTION set -t int db/setting/sound/call/ringtone_sound_volume "13"
+ vconftool $GOPTION set -t int db/setting/sound/noti/sound_volume "7"
+ vconftool $GOPTION set -t int db/setting/sound/media/sound_volume "7"
+ vconftool $GOPTION set -t int db/setting/sound/touch_feedback/sound_volume "5"
+
+ vconftool $GOPTION set -t int db/setting/sound/noti/vibration_level "5"
+ vconftool $GOPTION set -t int db/setting/sound/touch_feedback/vibration_level "3"
+ vconftool $GOPTION set -t int db/setting/sound/touch_feedback/vibration_level_bak "3" ##private key
+
+ vconftool $GOPTION set -t string db/setting/sound/call/ringtone_path "${DEFAULT_CALL_TONE}"
+ vconftool $GOPTION set -t string db/setting/sound/call/ringtone_default_path "${DEFAULT_CALL_TONE}"
+ vconftool $GOPTION set -t int db/setting/sound/call/vibration_type "2"
+
+ vconftool $GOPTION set -t string db/setting/sound/noti/msg_ringtone_path "${DEFAULT_NOTI_TONE}"
+ vconftool $GOPTION set -t string db/setting/sound/noti/ringtone_default_path "${DEFAULT_NOTI_TONE}"
+ vconftool $GOPTION set -t int db/setting/sound/noti/msg_alert_rep_type "0"
+
+ vconftool $GOPTION set -t string db/setting/sound/noti/email_ringtone_path "${DEFAULT_NOTI_TONE}"
+ vconftool $GOPTION set -t int db/setting/sound/noti/email_alert_rep_type "0"
+ vconftool $GOPTION set -t bool db/setting/sound/touch_sounds "1"
+ vconftool $GOPTION set -t bool db/setting/sound/sound_lock "1"
+
+#resetWallpaper
+ vconftool $GOPTION set -t string db/menu_widget/bgset "/opt/share/settings/Wallpapers/Home_default.jpg"
+ vconftool $GOPTION set -t string db/idle_lock/bgset "/opt/share/settings/Wallpapers/Home_default.jpg"
+
+#resetMotions
+ vconftool $GOPTION set -t bool db/setting/motion_active "1"
+
+#resetDisplay
+ #backlight
+# Set backlight timeout to dim display on all platforms except emulator
+# 0 sec : unlimited time
+# 600 sec : 10 min
+%if 0%{?simulator}
+ vconftool $GOPTION set -t int db/setting/lcd_backlight_normal "600"
+%else
+ vconftool $GOPTION set -t int db/setting/lcd_backlight_normal "30"
+%endif
+
+ vconftool $GOPTION set -t int db/setting/lcd_timeout_normal_backup "30"
+
+ #brightness
+ vconftool $GOPTION set -t int db/setting/Brightness "-1"
+ vconftool $GOPTION set -t int db/setting/brightness_automatic "0"
+
+ #battery
+ vconftool $GOPTION set -t bool db/setting/battery_percentage "0"
+ #launch
+ #vconftool $GOPTION set -t string db/menu_widget/launch_effect "0"
+
+#resetPowersaving
+ vconftool $GOPTION set -t bool db/setting/pwrsv/system_mode/status "0"
+ vconftool $GOPTION set -t bool db/setting/pwrsv/system_mode/reminder "1"
+
+#resetFont
+ vconftool $GOPTION set -t int db/setting/font_size "1"
+ vconftool $GOPTION set -t int db/setting/font_type "0"
+
+#resetRotationLock
+ vconftool $GOPTION set -t bool db/setting/rotate_lock "1"
+ vconftool $GOPTION set -t bool db/setting/auto_rotate_screen "0"
+ #vconftool $GOPTION set -t bool memory/setting/rotate_hold "0" -i -f
+#resetTimeAndData
+%ifarch %{arm}
+ vconftool $GOPTION set -t bool db/setting/automatic_time_update "1"
+%else
+ vconftool $GOPTION set -t bool db/setting/automatic_time_update "0"
+%endif
+
+ vconftool $GOPTION set -t int db/menu_widget/regionformat_time1224 "1"
+ vconftool $GOPTION set -t int db/setting/date_format "0"
+ vconftool $GOPTION set -t int db/setting/weekofday_format "0"
+
+ #-----------------------------------------------------------------
+ # MOCK FUNCTION
+ # MOCK IMPLEMENTATION FOR API COMPATIBILITY
+ # NEED TO CHECK THE KEY WITH THE CALENDAR APP
+ #-----------------------------------------------------------------
+ vconftool $GOPTION set -t int db/setting/weekofday_format "0"
+
+ vconftool $GOPTION set -t string db/setting/timezone "+9"
+ # to be removed
+ vconftool $GOPTION set -t string db/setting/cityname_id "IDS_WCL_BODY_CITYNAME_SEOUL"
+
+ vconftool $GOPTION set -t string db/setting/timezone_id "Asia/Seoul"
+
+ #if [ -f /opt/etc/localtime ]
+ #then
+ rm -f /opt/etc/localtime
+ ln -s /usr/share/zoneinfo/Asia/Seoul /opt/etc/localtime
+ #fi
+
+
+#resetAccessibility
+ vconftool $GOPTION set -t bool db/setting/accessibility/accessibility "0"
+ vconftool $GOPTION set -t bool db/setting/accessibility/high_contrast "0"
+ vconftool $GOPTION set -t bool db/setting/accessibility/screen_zoom "1"
+ vconftool $GOPTION set -t int db/setting/accessibility/font_size "1"
+ #vconftool $GOPTION set -t int db/setting/accessibility/font_style "0"
+ vconftool $GOPTION set -t string db/setting/accessibility/font_name "HelveticaNeue"
+ vconftool $GOPTION set -t bool db/setting/accessibility/tts "0"
+ vconftool $GOPTION set -t int db/setting/accessibility/speech_rate "2"
+
+ #-----------------------------------------------------------------
+ # MOCK FUNCTION
+ # NOT SUPPORTED BUT ADDED FOR API COMPATIBILITY
+ # temp key for screen reader & speech rate
+ #-----------------------------------------------------------------
+ vconftool $GOPTION set -t bool db/setting/accessibility/tts "0"
+ vconftool $GOPTION set -t int db/setting/accessibility/speech_rate "2"
+
+#resetLanguageAndRegion
+ vconftool $GOPTION set -t int db/setting/lang "9"
+ vconftool $GOPTION set -t string db/menu_widget/language "en_GB.UTF-8"
+ vconftool $GOPTION set -t string db/menu_widget/regionformat "en_GB.UTF-8"
+
+#resetViewtype
+ #vconftool $GOPTION set -t int db/menuscreen/viewtype "0"
+ #vconftool $GOPTION set -t int db/taskswitcher/viewtype "0"
+
+#resetTouch
+ #vconftool $GOPTION set -t int db/setting/vib_feedback "3"
+ #vconftool $GOPTION set -t bool db/setting/touch_panel_autolock "0"
+
+#resetLicense
+ vconftool $GOPTION set -t bool db/setting/transaction_tracking "0"
+ vconftool $GOPTION set -t bool db/setting/expiry_reminder "0"
+ vconftool $GOPTION set -t int db/setting/roaming_network "0"
+
+#resetSecurity
+ rm -rf /opt/data/setting/set_info
+ #vconftool $GOPTION set -t string db/setting/privacy_passwd ""
+ vconftool $GOPTION set -t int db/setting/screen_lock_type "5" -f
+ vconftool $GOPTION set -t string db/setting/3rd_lock_pkg_name "org.tizen.lockscreen"
+
+ # NOT USED NOW.
+ #vconftool $GOPTION set -t bool db/setting/rcs "0"
+
+#resetMemory
+ vconftool $GOPTION set -t int db/setting/default_memory/wap "0"
+ vconftool $GOPTION set -t int db/setting/default_memory/bluetooth "0"
+ vconftool $GOPTION set -t int db/setting/default_memory/camera "0"
+ vconftool $GOPTION set -t int db/setting/default_memory/voice_recorder "0"
+ vconftool $GOPTION set -t int db/setting/default_memory/fm_radio "0"
+ vconftool $GOPTION set -t int db/setting/default_memory/all_share "0"
+ vconftool $GOPTION set -t int db/setting/default_memory/adobe_air "0"
+ vconftool $GOPTION set -t int db/setting/default_memory/dvb_h "0"
+
+ # format - system server
+ #vconftool $GOPTION -i set -t int memory/mmc/format "0"
+
+#resetAbout
+ vconftool $GOPTION set -t string db/setting/device_name "Tizen"
+ vconftool $GOPTION set -t string db/setting/selected_num ""
+#resetMenuWidgets
+ vconftool $GOPTION -i set -t int memory/setting/font_changed "0"
+ #vconftool $GOPTION -i set -t int memory/mobile_hotspot/skin_changed "0"
+
+#resetDevoptions
+ vconftool $GOPTION -i set -t int db/setting/devoption/bgprocess "0"
+
+#resetDisplay
+ vconftool $GOPTION set -t string db/setting/screenmode/selected_name "Dynamic"
+
+#------------------------------------------
+#create directory /opt/data/setting
+if [ ! -d /opt/data/setting ]
+then
+ mkdir -p /opt/data/setting
+fi
+
+# create setting.cfg at runtime right after installation
+#/opt/apps/org.tizen.setting/bin/setting_conf_util
+# After flashing, initialize timezone file
+/usr/apps/org.tizen.setting/bin/setting_conf_util timezone_init
+chown 5000:5000 /opt/data/setting -R
+#------------------------------------------
+sync
+
+mkdir -p /usr/ug/bin/
+ln -sf /usr/bin/ug-client /usr/ug/bin/setting-font-efl
+ln -sf /usr/bin/ug-client /usr/ug/bin/setting-profile-efl
+ln -sf /usr/bin/ug-client /usr/ug/bin/setting-plugin-efl
+ln -sf /usr/bin/ug-client /usr/ug/bin/setting-privacy-efl
+
+chmod 444 /opt/media/Open_Source_Announcement.html
+
+%postun -p /sbin/ldconfig
+
+%files -n org.tizen.setting
+%manifest settings.manifest
+%defattr(-,root,root,-)
+#%attr(-,inhouse,inhouse) %dir /opt/data/setting
+%attr(-,app,app) %dir /opt/data/setting
+/usr/apps/org.tizen.setting/bin/setting
+/usr/apps/org.tizen.setting/bin/setting_conf_util
+/opt/data/setting/setting.cfg
+
+/usr/share/packages/org.tizen.setting.xml
+/opt/etc/smack/accesses.d/org.tizen.setting.rule
+
+/usr/share/icons/default/small/org.tizen.setting.png
+/opt/share/settings/*
+/usr/apps/org.tizen.setting/res/*
+/usr/apps/org.tizen.setting/lib/*
+/usr/apps/org.tizen.setting/data/*
+/usr/ug/lib/*
+/opt/data/setting/langlist.xml
+/opt/data/setting/plugin-cfg/*
+/opt/data/setting/plugin-xml/*
+#/usr/apps/org.tizen.setting/bin/test_server
+/opt/media/Open_Source_Announcement.html
--- /dev/null
+Name: setup-efi-ivi
+Version: 1.0
+Release: 4
+License: GPL-2.0
+Summary: System UEFI boot setup
+Url: http://www.tizen.org
+Group: System/Configuration
+Source: %{name}_%{version}.tar.gz
+Requires: gummiboot
+Requires: /usr/bin/sed
+Requires: /usr/bin/sort
+Requires: /usr/bin/grep
+Requires: /usr/bin/printf
+ExclusiveArch: %{ix86} x86_64
+
+%description
+Configure the system to support booting on UEFI platforms.
+
+###
+### PREP
+###
+%prep
+%setup -q -n %{name}-%{version}
+
+###
+### INSTALL
+###
+%install
+install -d %{buildroot}/%{_sbindir}
+install -m755 setup-efi-ivi %{buildroot}/%{_sbindir}
+install -m755 setup-gummiboot-conf %{buildroot}/%{_sbindir}
+
+###
+### CLEAN
+###
+%clean
+rm -rf %{buildroot}
+
+###
+### FILES
+###
+%files
+%defattr(-,root,root)
+%{_sbindir}/setup-efi-ivi
+%{_sbindir}/setup-gummiboot-conf
--- /dev/null
+Name: setup
+Version: 0.9
+Release: 1
+License: Public Domain
+Summary: A set of system configuration and setup files
+Url: https://fedorahosted.org/setup/
+Group: Base/Configuration
+Source0: %{name}-%{version}.tar.bz2
+Source1001: setup.manifest
+BuildRequires: bash
+BuildArch: noarch
+
+%description
+The setup package contains a set of important system configuration and
+setup files, such as passwd, group, and profile.
+
+%package misc
+Summary: Misc. basic tools and scripts
+Requires: setup
+%description misc
+Misc. basic tools and scripts.
+
+
+%prep
+%setup -q
+
+cp %{SOURCE1001} .
+./shadowconvert.sh
+
+%build
+
+%check
+# Run any sanity checks.
+make check
+
+%install
+cp -ar files/* %{buildroot}
+touch %{buildroot}%{_sysconfdir}/environment
+chmod 0644 %{buildroot}%{_sysconfdir}/environment
+chmod 0400 %{buildroot}%{_sysconfdir}/{shadow,gshadow}
+touch %{buildroot}%{_sysconfdir}/fstab
+touch %{buildroot}%{_sysconfdir}/mtab
+
+
+rm %{buildroot}/%{_sysconfdir}/filesystems
+
+#throw away useless and dangerous update stuff until rpm will be able to
+#handle it ( http://rpm.org/ticket/6 )
+%post -p <lua>
+for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do
+ os.remove("/etc/"..name..".rpmnew")
+end
+%files
+%license COPYING
+%manifest setup.manifest
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/passwd
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/group
+%verify(not md5 size mtime) %attr(0000,root,root) %config(noreplace,missingok) %{_sysconfdir}/shadow
+%verify(not md5 size mtime) %attr(0000,root,root) %config(noreplace,missingok) %{_sysconfdir}/gshadow
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/services
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/exports
+%config(noreplace) %{_sysconfdir}/aliases
+%config(noreplace) %{_sysconfdir}/environment
+%config(noreplace) %{_sysconfdir}/host.conf
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.allow
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.deny
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/motd
+%config(noreplace) %{_sysconfdir}/printcap
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/inputrc
+%config(noreplace) %{_sysconfdir}/bashrc
+%config(noreplace) %{_sysconfdir}/profile
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/protocols
+%attr(0600,root,root) %config(noreplace,missingok) %{_sysconfdir}/securetty
+%config(noreplace) %{_sysconfdir}/csh.login
+%config(noreplace) %{_sysconfdir}/csh.cshrc
+%dir %{_sysconfdir}/profile.d
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/shells
+%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog
+%ghost %attr(0600,root,root) %verify(not md5 size mtime) /var/log/faillog
+%ghost %attr(0664,root,utmp) %verify(not md5 size mtime) /var/log/wtmp
+%ghost %attr(0600,root,root) %verify(not md5 size mtime) /var/log/btmp
+%ghost %attr(0664,root,utmp) %verify(not md5 size mtime) /run/utmp
+%ghost %verify(not md5 size mtime) %config(noreplace,missingok) %{_sysconfdir}/fstab
+%ghost %verify(not md5 size mtime) %config(noreplace,missingok) %{_sysconfdir}/mtab
+/run/*
+/etc/profile.d/*
+
+%files misc
+%{_bindir}/*
+%{_sbindir}/*
+%docs_package
--- /dev/null
+Name: setxkbmap
+Version: 1.3.0
+Release: 1
+License: MIT
+Summary: Utility to change the keyboard layout in X
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xkbfile)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+
+%description
+setxkbmap is an X11 client to change the keymaps in the X server for a
+specified keyboard to use the layout determined by the options listed
+on the command line.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/setxkbmap
+%{_mandir}/man1/setxkbmap.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: sgml-common
+Version: 0.6.3
+Release: 1
+Group: Applications/Text
+Summary: Common SGML catalog and DTD files
+License: GPL-2.0
+# Actually - there is no homepage of this project, on that URL
+# page you could get complete ISO 8879 listing as was on the
+# old page - only part of it is included in sgml-common package.
+URL: http://www.w3.org/2003/entities/
+Source0: %{name}-%{version}.tar.bz2
+# Following 4 from openjade/pubtext - same maintainer as in
+# SGML-common, so up2date:
+Source1: xml.dcl
+Source2: xml.soc
+Source3: html.dcl
+Source4: html.soc
+Patch0: sgml-common-umask.patch
+Patch1: sgml-common-xmldir.patch
+BuildArch: noarch
+BuildRequires: libxml2 >= 2.4.8-2
+BuildRequires: automake >= 1.12
+BuildRequires: config(docbook_4)
+
+%description
+The sgml-common package contains a collection of entities and DTDs
+that are useful for processing SGML, but that don't need to be
+included in multiple packages. Sgml-common also includes an
+up-to-date Open Catalog file.
+
+%package -n xml-common
+Group: Applications/Text
+Summary: Common XML catalog and DTD files
+License: GPL-2.0
+URL: http://www.w3.org/2003/entities/
+
+%description -n xml-common
+The xml-common is a subpackage of sgml-common which contains
+a collection XML catalogs that are useful for processing XML,
+but that don't need to be included in main package.
+
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+# replace bogus links with files
+for file in COPYING INSTALL install-sh missing mkinstalldirs; do
+ rm $file
+ cp -p %{_datadir}/automake-1.12/$file .
+done
+
+%build
+%configure
+
+%install
+make install DESTDIR="%{buildroot}" htmldir='%{_datadir}/doc' INSTALL='install -p'
+mkdir %{buildroot}%{_sysconfdir}/xml
+mkdir -p %{buildroot}%{_datadir}/sgml/docbook
+# Create an empty XML catalog.
+XMLCATALOG=%{buildroot}%{_sysconfdir}/xml/catalog
+%{_bindir}/xmlcatalog --noout --create $XMLCATALOG
+# Now put the common DocBook entries in it
+%{_bindir}/xmlcatalog --noout --add "delegatePublic" \
+ "-//OASIS//ENTITIES DocBook XML" \
+ "file://%{_datadir}/sgml/docbook/xmlcatalog" $XMLCATALOG
+%{_bindir}/xmlcatalog --noout --add "delegatePublic" \
+ "-//OASIS//DTD DocBook XML" \
+ "file://%{_datadir}/sgml/docbook/xmlcatalog" $XMLCATALOG
+%{_bindir}/xmlcatalog --noout --add "delegatePublic" \
+ "ISO 8879:1986" \
+ "file://%{_datadir}/sgml/docbook/xmlcatalog" $XMLCATALOG
+%{_bindir}/xmlcatalog --noout --add "delegateSystem" \
+ "http://www.oasis-open.org/docbook/" \
+ "file://%{_datadir}/sgml/docbook/xmlcatalog" $XMLCATALOG
+%{_bindir}/xmlcatalog --noout --add "delegateURI" \
+ "http://www.oasis-open.org/docbook/" \
+ "file://%{_datadir}/sgml/docbook/xmlcatalog" $XMLCATALOG
+# Also create the common DocBook catalog
+%{_bindir}/xmlcatalog --noout --create \
+ %{buildroot}%{_datadir}/sgml/docbook/xmlcatalog
+
+rm -f %{buildroot}%{_datadir}/sgml/xml.dcl
+
+install -p -m0644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \
+ %{buildroot}%{_datadir}/sgml
+
+rm -rf %{buildroot}%{_datadir}/xml/*
+rm -f %{buildroot}%{_datadir}/doc/*.html
+
+
+%files
+%dir %{_sysconfdir}/sgml
+%config(noreplace) %{_sysconfdir}/sgml/sgml.conf
+%dir %{_datadir}/sgml
+%dir %{_datadir}/sgml/sgml-iso-entities-8879.1986
+%{_datadir}/sgml/sgml-iso-entities-8879.1986/*
+%{_datadir}/sgml/xml.dcl
+%{_datadir}/sgml/xml.soc
+%{_datadir}/sgml/html.dcl
+%{_datadir}/sgml/html.soc
+%{_bindir}/sgmlwhich
+%{_bindir}/install-catalog
+%doc %{_mandir}/man8/install-catalog.8*
+
+%files -n xml-common
+%dir %{_sysconfdir}/xml
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xml/catalog
+%dir %{_datadir}/sgml
+%dir %{_datadir}/sgml/docbook
+%verify(not md5 size mtime) %{_datadir}/sgml/docbook/xmlcatalog
+%dir %{_datadir}/xml
--- /dev/null
+Name: sgml-skel
+Version: 0.6
+Release: 0
+License: GPL-2.0+
+Summary: Helper Scripts for the SGML System
+Group: Productivity/Publishing/SGML
+# URL:
+Source0: http://www.suse.de/~ke/%{name}/%{name}-%{version}.tar.bz2
+# :pserver:anoncvs@sources.redhat.com:/cvs/docbook-tools
+Source1: docbook-tools/sgml-common/bin/install-catalog.in
+Source2: edit-xml-catalog.sh
+BuildRequires: automake
+BuildRequires: libxml2-tools
+Requires(pre): /usr/bin/awk
+Requires(pre): /usr/bin/chmod
+Requires(pre): /usr/bin/mv
+Requires: libxml2-tools
+BuildArch: noarch
+
+%description
+These scripts will help prepare and maintain parts of an SGML system.
+
+%define sgmldir %{_datadir}/sgml
+%define INSTALL install -m755 -s
+%define INSTALL_SCRIPT install -m755
+%define INSTALL_DIR install -d -m755
+%define INSTALL_DATA install -m644
+
+%prep
+%setup -q
+cp %{SOURCE1} .
+cp %{SOURCE2} .
+
+%build
+# CFLAGS="%{optflags}"
+autoreconf -i -f
+./configure --prefix=%{_prefix} --infodir=%{_infodir} \
+ --datadir=%{_datadir} --mandir=%{_mandir} \
+ --build $RPM_ARCH-%vendor-linux
+
+%install
+%make_install
+%{INSTALL_SCRIPT} install-catalog.in %{buildroot}%{_bindir}/install-catalog
+%{INSTALL_SCRIPT} edit-xml-catalog.sh \
+ %{buildroot}%{_bindir}/edit-xml-catalog
+ln -sf sgml2xmlcat.sh %{buildroot}%{_bindir}/sgmlcat2x.sh
+ln -sf install-catalog %{buildroot}%{_bindir}/install-catalog.sh
+%{INSTALL_DIR} %{buildroot}%{sgmldir}
+%{INSTALL_DIR} %{buildroot}%{_sysconfdir}/{sgml,xml}
+%{INSTALL_DIR} %{buildroot}%{_localstatedir}/lib/sgml
+touch %{buildroot}%{_sysconfdir}/sgml/catalog
+xmlcatalog --noout --create %{buildroot}%{_sysconfdir}/xml/tizen-catalog.xml
+xmlcatalog --noout --create %{buildroot}%{_sysconfdir}/xml/catalog
+xmlcatalog --noout --add "nextCatalog" "tizen-catalog.xml" "tizen-catalog.xml" \
+ %{buildroot}%{_sysconfdir}/xml/catalog
+
+%files
+%defattr(-, root, root)
+%doc AUTHORS COPYING NEWS README*
+%ghost %{_sysconfdir}/sgml/catalog
+%ghost %{_sysconfdir}/xml/tizen-catalog.xml
+%config %verify(not md5 size mtime) %{_sysconfdir}/xml/catalog
+%dir %{_sysconfdir}/sgml
+%dir %{_sysconfdir}/xml
+%{_bindir}/*
+%dir %{_localstatedir}/lib/sgml
+
+%changelog
--- /dev/null
+Name: shared-mime-info
+Version: 1.0
+Release: 0
+License: GPL-2.0+
+Summary: Shared MIME Database
+Url: http://freedesktop.org/wiki/Software/shared-mime-info
+Group: Base/Configuration
+Source: http://people.freedesktop.org/~hadess/%{name}-%{version}.tar.xz
+Source1: mime-info-to-mime
+Source2: macros.shared-mime-info
+BuildRequires: intltool
+BuildRequires: libxml2-tools
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libxml-2.0)
+Requires: /usr/bin/fgrep
+Requires: /usr/bin/mkdir
+Requires: /usr/bin/rm
+#!BuildIgnore: shared-mime-info
+# needed by update-mime-database
+Provides: %{name}-devel = %{version}
+
+%description
+This package contains:
+
+- The freedesktop.org shared MIME database spec.
+
+- The merged GNOME and KDE databases, in the new format.
+
+- The update-mime-database command, used to install new MIME data.
+
+%package tools
+Summary: Tools supporting shared-mime-info
+Requires: shared-mime-info
+
+%description tools
+Tools to support packages %{name}
+
+%prep
+%setup -q
+
+%build
+export CFLAGS=`echo $RPM_OPT_FLAGS |sed -e 's/atom/i686/g'`
+%configure
+make V=1
+
+%install
+%make_install
+install %{SOURCE1} %{buildroot}%{_bindir}/
+%find_lang %{name} %{?no_lang_C}
+# Install rpm macros
+install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.shared-mime-info
+
+
+%post
+%{_bindir}/update-mime-database %{_datadir}/mime || true
+
+%lang_package
+
+%docs_package
+
+%files
+%defattr (-, root, root)
+%license COPYING
+%{_bindir}/update-mime-database
+%{_datadir}/mime/packages/*.xml
+%{_datadir}/pkgconfig/*.pc
+%ghost %{_datadir}/mime/[a-ms-vxX]*
+%{_sysconfdir}/rpm/macros.shared-mime-info
+
+
+%files tools
+%{_bindir}/mime-info-to-mime
+
+%changelog
--- /dev/null
+Name: libshortcut
+Summary: Shortcut add feature supporting library
+Version: 0.6.1
+Release: 0
+Group: HomeTF/Framework
+License: Apache License
+Source0: %{name}-%{version}.tar.gz
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+BuildRequires: cmake, gettext-tools, coreutils
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(com-core)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(vconf)
+
+%description
+[Shortcut] AddToHome feature supporting library for menu/home screen developers.
+
+%package devel
+Summary: AddToHome feature supporting library development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+[Shortcut] AddToHome feature supporting library for menu/home screen developers
+(dev).
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/opt/dbspace
+touch %{buildroot}/opt/dbspace/.shortcut_service.db
+touch %{buildroot}/opt/dbspace/.shortcut_service.db-journal
+
+%post
+
+%postun
+
+%files -n libshortcut
+%manifest libshortcut.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+%{_prefix}/etc/package-manager/parserlib/*
+%{_datarootdir}/license/*
+%attr(640,root,app) /opt/dbspace/.shortcut_service.db
+%attr(640,root,app) /opt/dbspace/.shortcut_service.db-journal
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/shortcut/shortcut_PG.h
+%{_includedir}/shortcut/shortcut.h
+%{_libdir}/pkgconfig/shortcut.pc
+
+# End of a file
--- /dev/null
+Name: capi-telephony-sim
+Summary: Telephony SIM Framework
+Version: 0.1.7
+Release: 1
+Group: Telephony/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(capi-base-common)
+
+%description
+Telephony SIM Framework.
+
+
+%package devel
+Summary: Telephony SIM Framework (Development)
+Group: Development/Telephony
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE
+%manifest capi-telephony-sim.manifest
+%{_libdir}/libcapi-telephony-sim.so.*
+
+%files devel
+%{_includedir}/telephony/sim.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-telephony-sim.so
+
+
--- /dev/null
+Name: pkgmgr
+Summary: Packager Manager client library package
+Version: 0.2.89
+Release: 1
+Group: Application Framwork/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: unzip
+BuildRequires: gettext-tools
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(iniparser)
+BuildRequires: pkgmgr-info-parser-devel
+BuildRequires: pkgmgr-info-parser
+
+
+%description
+Packager Manager client library package for packaging
+
+%package client
+Summary: Package Manager client library develpoment package
+Group: Application Framwork/Utilities
+Requires: %{name} = %{version}-%{release}
+Requires: shared-mime-info
+Requires(post): pkgmgr
+
+%description client
+Package Manager client library develpoment package for packaging
+
+%package client-devel
+Summary: Package Manager client library develpoment package
+Group: Development/Application Framwork
+Requires: %{name} = %{version}-%{release}
+
+%description client-devel
+Package Manager client library develpoment package for packaging
+
+%package server
+Summary: Package Manager server
+Group: Application Framwork/Service
+Requires: %{name} = %{version}-%{release}
+
+%description server
+Package Manager server for packaging
+
+%package installer
+Summary: Library for installer frontend/backend
+Group: Application Framwork/Utilities
+Requires: %{name} = %{version}-%{release}
+
+%description installer
+Library for installer frontend/backend for packaging.
+
+%package installer-devel
+Summary: Dev package for libpkgmgr-installer
+Group: Development/Application Framwork
+Requires: %{name} = %{version}-%{release}
+
+%description installer-devel
+Dev package for libpkgmgr-installer for packaging.
+
+
+%package types-devel
+Summary: Package Manager manifest parser develpoment package
+Group: Development/Application Framwork
+Requires: %{name} = %{version}-%{release}
+
+%description types-devel
+Package Manager client types develpoment package for packaging
+
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+rm -f %{buildroot}%{_bindir}/pkgmgr_backend_sample
+rm -f %{buildroot}%{_libdir}/libpkgmgr_backend_lib_sample.so
+rm -f %{buildroot}%{_libdir}/libpkgmgr_parser_lib_sample.so
+
+
+
+%post
+/sbin/ldconfig
+
+mkdir -p /usr/etc/package-manager/backend
+mkdir -p /usr/etc/package-manager/backendlib
+mkdir -p /etc/opt/upgrade
+
+# For pkgmgr-install:
+# Update mime database to support package mime types
+update-mime-database /usr/share/mime
+
+mkdir -p /usr/share/applications
+mkdir -p /opt/dbspace/
+chsmack -a 'pkgmgr::db' /opt/dbspace/.pkgmgr_parser.db*
+chsmack -a 'pkgmgr::db' /opt/dbspace/.pkgmgr_cert.db*
+chsmack -a 'ail::db' /opt/dbspace/.app_info.db*
+rm -rf /opt/usr/apps/tmp/pkgmgr_tmp.txt
+
+%post server
+/sbin/ldconfig
+mkdir -p /usr/etc/package-manager/server
+
+%post client -p /sbin/ldconfig
+
+%postun client -p /sbin/ldconfig
+
+%post installer -p /sbin/ldconfig
+
+%postun installer -p /sbin/ldconfig
+
+%files
+%manifest pkgmgr.manifest
+%defattr(-,root,root,-)
+%{_bindir}/pkgcmd
+%{_bindir}/pkg_initdb
+%{_bindir}/pkg_getsize
+%{_bindir}/pkginfo
+%{_bindir}/pkgmgr-install
+%{_datadir}/packages/org.tizen.pkgmgr-install.xml
+%{_datadir}/mime/packages/mime.wac.xml
+%{_datadir}/mime/packages/mime.tpk.xml
+%exclude %{_includedir}/pkgmgr/comm_client.h
+%exclude %{_includedir}/pkgmgr/comm_config.h
+%exclude %{_includedir}/pkgmgr/comm_status_broadcast_server.h
+%exclude /usr/etc/package-manager/server/queue_status
+/etc/opt/upgrade/pkgmgr.patch.sh
+
+%files client
+%manifest pkgmgr-client.manifest
+%defattr(-,root,root,-)
+%{_prefix}/etc/package-manager/pkg_path.conf
+%{_libdir}/libpkgmgr-client.so.*
+
+%files client-devel
+%defattr(-,root,root,-)
+%{_includedir}/package-manager.h
+%{_includedir}/pkgmgr-dbinfo.h
+%{_libdir}/pkgconfig/pkgmgr.pc
+%{_libdir}/libpkgmgr-client.so
+
+%files server
+%manifest pkgmgr-server.manifest
+%defattr(-,root,root,-)
+%{_datadir}/dbus-1/services/org.tizen.slp.pkgmgr.service
+%{_bindir}/pkgmgr-server
+%{_datadir}/locale/*/LC_MESSAGES/*.mo
+
+%files installer
+%manifest pkgmgr-installer.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libpkgmgr_installer.so.*
+%{_libdir}/libpkgmgr_installer_status_broadcast_server.so.*
+%{_libdir}/libpkgmgr_installer_client.so.*
+
+%files installer-devel
+%defattr(-,root,root,-)
+%{_includedir}/pkgmgr/pkgmgr_installer.h
+%{_libdir}/pkgconfig/pkgmgr-installer-status-broadcast-server.pc
+%{_libdir}/pkgconfig/pkgmgr-installer.pc
+%{_libdir}/pkgconfig/pkgmgr-installer-client.pc
+%{_libdir}/libpkgmgr_installer.so
+%{_libdir}/libpkgmgr_installer_client.so
+%{_libdir}/libpkgmgr_installer_status_broadcast_server.so
+
+
+%files types-devel
+%defattr(-,root,root,-)
+%{_includedir}/package-manager-types.h
+%{_includedir}/package-manager-plugin.h
+%{_libdir}/pkgconfig/pkgmgr-types.pc
--- /dev/null
+Name: smack
+Version: 1.0
+Release: 1
+Summary: Selection of tools for developers working with Smack
+Group: Security/Access Control
+License: LGPL-2.1
+URL: https://github.com/smack-team/smack
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: libtool
+
+%description
+Tools provided to load and unload rules from the kernel and query the policy
+
+%package devel
+Summary: Development headers and libs for libsmack
+Group: Development/Libraries
+Requires: libsmack = %{version}
+
+%description devel
+Standard header files for use when developing Smack enabled applications
+
+%package -n libsmack
+Summary: Library allows applications to work with Smack
+Group: Security/Access Control
+
+%description -n libsmack
+Library allows applications to work with Smack.
+
+%prep
+%setup -q
+
+%build
+autoreconf --install --symlink
+%configure --with-systemdsystemunitdir=%{_prefix}/lib/systemd/system
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+install -d %{buildroot}/etc/smack/accesses.d
+install -d %{buildroot}/etc/smack/cipso.d
+install -d %{buildroot}/smack
+
+
+%post -p /sbin/ldconfig -n libsmack
+
+%postun -p /sbin/ldconfig -n libsmack
+
+
+%docs_package
+
+%files -n libsmack
+%defattr(644,root,root,755)
+%license COPYING
+%{_libdir}/libsmack.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/sys/smack.h
+%{_libdir}/libsmack.so
+%{_libdir}/pkgconfig/libsmack.pc
+
+%files
+%defattr(644,root,root,755)
+%{_sysconfdir}/smack
+%{_sysconfdir}/smack/accesses.d
+%{_sysconfdir}/smack/cipso.d
+/smack
+%attr(755,root,root) %{_bindir}/*
+%{_prefix}/lib/systemd/system/smack.mount
+%{_prefix}/lib/systemd/system/smack.service
--- /dev/null
+Name: smartcard-plugin-nfc
+Summary: Smartcard plugin nfc
+Version: 0.0.3
+Release: 0
+Group: libs
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(nfc)
+BuildRequires: pkgconfig(smartcard-service-common)
+BuildRequires: cmake
+BuildRequires: gettext-tools
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/vconftool
+requires(postun): /sbin/ldconfig
+%description
+Smartcard Service plugin nfc
+
+%prep
+%setup -q
+
+
+%package devel
+Summary: smartcard service
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+smartcard service.
+
+
+%build
+mkdir obj-arm-limux-qnueabi
+cd obj-arm-limux-qnueabi
+cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix}
+#make %{?jobs:-j%jobs}
+
+
+%install
+cd obj-arm-limux-qnueabi
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp -af %{_builddir}/%{name}-%{version}/packaging/smartcard-plugin-nfc %{buildroot}/usr/share/license/
+
+%post
+/sbin/ldconfig
+
+
+%postun
+/sbin/ldconfig
+
+#%post
+# -n nfc-common-lib -p /sbin/ldconfig
+
+#%postun
+# -n nfc-common-lib -p /sbin/ldconfig
+
+%files
+%manifest smartcard-plugin-nfc.manifest
+%defattr(-,root,root,-)
+/usr/lib/se/lib*.so
+/usr/share/license/smartcard-plugin-nfc
--- /dev/null
+Name: smartcard-plugin-uicc
+Summary: Smartcard plugin uicc
+Version: 0.0.3
+Release: 0
+Group: libs
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(smartcard-service)
+BuildRequires: pkgconfig(smartcard-service-common)
+BuildRequires: cmake
+BuildRequires: gettext-tools
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/vconftool
+requires(postun): /sbin/ldconfig
+
+%description
+Smartcard Service plugin uicc
+
+%prep
+%setup -q
+
+%package devel
+Summary: smartcard service uicc
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+smartcard service.
+
+%build
+mkdir obj-arm-limux-qnueabi
+cd obj-arm-limux-qnueabi
+cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix}
+#make %{?jobs:-j%jobs}
+
+%install
+cd obj-arm-limux-qnueabi
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp -af %{_builddir}/%{name}-%{version}/packaging/smartcard-plugin-uicc %{buildroot}/usr/share/license/
+
+%post
+/sbin/ldconfig
+
+
+%postun
+/sbin/ldconfig
+
+#%post
+# -n nfc-common-lib -p /sbin/ldconfig
+
+#%postun
+# -n nfc-common-lib -p /sbin/ldconfig
+
+%files
+%manifest smartcard-plugin-uicc.manifest
+%defattr(-,root,root,-)
+/usr/lib/se/lib*.so
+/usr/share/license/smartcard-plugin-uicc
--- /dev/null
+Name: smartcard-service
+Summary: Smartcard Service FW
+Version: 0.1.19
+Release: 1
+Group: libs
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+#Source1: smartcard-service-server.init
+
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(libssl)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: cmake
+BuildRequires: gettext-tools
+
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/vconftool
+requires(postun): /sbin/ldconfig
+
+%description
+Smartcard Service FW.
+
+%prep
+%setup -q
+
+%package devel
+Summary: Smartcard service
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+smartcard service.
+
+%package -n smartcard-service-common
+Summary: Common smartcard service
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description -n smartcard-service-common
+common smartcard service.
+
+%package -n smartcard-service-common-devel
+Summary: Common smartcard service
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: smartcard-service-common = %{version}-%{release}
+
+%description -n smartcard-service-common-devel
+common smartcard service.
+
+%package -n smartcard-service-server
+Summary: Server smartcard service
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description -n smartcard-service-server
+smartcard service.
+
+
+%build
+mkdir obj-arm-limux-qnueabi
+cd obj-arm-limux-qnueabi
+%cmake .. -DUSE_AUTOSTART=1 # daemon will be started when client makes instance by DBUS
+
+%install
+cd obj-arm-limux-qnueabi
+%make_install
+%__mkdir -p %{buildroot}/etc/init.d/
+%__mkdir -p %{buildroot}/etc/rc.d/rc3.d/
+%__mkdir -p %{buildroot}/etc/rc.d/rc5.d/
+
+%post
+/sbin/ldconfig
+ln -sf /etc/init.d/smartcard-service-server /etc/rc.d/rc3.d/S79smartcard-service-server
+ln -sf /etc/init.d/smartcard-service-server /etc/rc.d/rc5.d/S79smartcard-service-server
+
+%postun
+/sbin/ldconfig
+rm -f /etc/rc.d/rc3.d/S79smartcard-service-server
+rm -f /etc/rc.d/rc5.d/S79smartcard-service-server
+
+
+%post -n smartcard-service-common
+/sbin/ldconfig
+
+%postun -n smartcard-service-common
+/sbin/ldconfig
+
+
+%files
+%manifest smartcard-service.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libsmartcard-service.so.*
+
+%files devel
+%manifest smartcard-service-devel.manifest
+%defattr(-,root,root,-)
+%{_includedir}/smartcard-service/*
+%{_libdir}/libsmartcard-service.so
+%{_libdir}/pkgconfig/smartcard-service.pc
+
+%files -n smartcard-service-common
+%manifest smartcard-service-common.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libsmartcard-service-common.so.*
+
+%files -n smartcard-service-common-devel
+%manifest smartcard-service-common-devel.manifest
+%defattr(-,root,root,-)
+%{_includedir}/smartcard-service-common/*
+%{_libdir}/libsmartcard-service-common.so
+%{_libdir}/pkgconfig/smartcard-service-common.pc
+
+%files -n smartcard-service-server
+%manifest smartcard-service-server.manifest
+%defattr(-,root,root,-)
+%{_bindir}/smartcard-daemon
+/usr/share/dbus-1/services/org.tizen.smartcard_service.service
+
--- /dev/null
+#
+# spec file for package snapper
+#
+# Copyright (c) 2013 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.
+
+Name: snapper
+Version: 0.1.2
+Release: 0
+Source: snapper-%{version}.tar.bz2
+BuildRequires: gettext-tools
+BuildRequires: sed
+BuildRequires: boost-devel
+BuildRequires: doxygen
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: libxml2-devel
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: libzypp(plugin:commit)
+Requires: diffutils
+Requires: libsnapper = %version
+Recommends: snapper-zypp-plugin
+Supplements: btrfs-progs
+Summary: Tool for filesystem snapshot management
+License: GPL-2.0
+Group: System/Packages
+Url: http://en.opensuse.org/Portal:Snapper
+
+%description
+This package contains snapper, a tool for filesystem snapshot management.
+
+%package -n snapper-zypp-plugin
+Requires: dbus-python
+Requires: snapper
+Requires: zypp-plugin-python
+Requires: libzypp(plugin:commit)
+Summary: A zypp commit plugin for calling snapper
+Group: System/Packages
+
+%description -n snapper-zypp-plugin
+This package contains a plugin for zypp that makes filesystem snapshots with
+snapper during commits.
+
+
+%package -n libsnapper-devel
+Requires: boost-devel
+Requires: gcc-c++
+Requires: libsnapper = %version
+Requires: libstdc++-devel
+Requires: libxml2-devel
+Summary: Header files and documentation for libsnapper
+Group: Development/Languages/C and C++
+
+%description -n libsnapper-devel
+This package contains header files and documentation for developing with
+libsnapper.
+
+
+%package -n libsnapper
+Summary: Library for filesystem snapshot management
+Group: System/Libraries
+Requires: util-linux
+
+%description -n libsnapper
+This package contains libsnapper, a library for filesystem snapshot management.
+
+
+%prep
+%setup -n snapper-%{version}
+
+%build
+export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
+export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
+
+%reconfigure --docdir=%{_prefix}/share/doc/packages/snapper --disable-ext4 --disable-silent-rules
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/system/
+mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/system/multi-user.target.wants
+
+install -D scripts/snapper-hourly $RPM_BUILD_ROOT/usr/sbin/snapper-hourly
+install -D scripts/snapper-daily $RPM_BUILD_ROOT/usr/sbin/snapper-daily
+install -D data/snapper-hourly.timer $RPM_BUILD_ROOT/usr/lib/systemd/system/snapper-hourly.timer
+install -D data/snapper-hourly.service $RPM_BUILD_ROOT/usr/lib/systemd/system/snapper-hourly.service
+install -D data/snapper-daily.timer $RPM_BUILD_ROOT/usr/lib/systemd/system/snapper-daily.timer
+install -D data/snapper-daily.service $RPM_BUILD_ROOT/usr/lib/systemd/system/snapper-daily.service
+install -D data/sysconfig.snapper $RPM_BUILD_ROOT/etc/sysconfig/snapper
+install -D $RPM_BUILD_ROOT/etc/snapper/config-templates/default $RPM_BUILD_ROOT/etc/snapper/configs/root
+
+sed -i 's|ALLOW_USERS=""|ALLOW_USERS="root"|' $RPM_BUILD_ROOT/etc/snapper/configs/root
+sed -i 's|SNAPPER_CONFIGS=""|SNAPPER_CONFIGS="root"|' $RPM_BUILD_ROOT/etc/sysconfig/snapper
+
+%install_service multi-user.target.wants snapper-hourly.timer
+%install_service multi-user.target.wants snapper-daily.timer
+
+%{find_lang} snapper
+
+%post -n libsnapper -p /sbin/ldconfig
+
+%postun -n libsnapper -p /sbin/ldconfig
+
+
+%lang_package
+
+%files
+%defattr(-,root,root)
+%{_prefix}/bin/snapper
+%{_prefix}/sbin/snapperd
+%{_prefix}/sbin/snapper-hourly
+%{_prefix}/sbin/snapper-daily
+%doc %{_mandir}/*/*
+%config /etc/dbus-1/system.d/org.opensuse.Snapper.conf
+%{_prefix}/share/dbus-1/system-services/org.opensuse.Snapper.service
+%{_unitdir}/snapper-hourly.timer
+%{_unitdir}/multi-user.target.wants/snapper-hourly.timer
+%{_unitdir}/snapper-hourly.service
+%{_unitdir}/snapper-daily.timer
+%{_unitdir}/multi-user.target.wants/snapper-daily.timer
+%{_unitdir}/snapper-daily.service
+
+%files -n libsnapper
+%defattr(-,root,root)
+%{_libdir}/libsnapper.so.*
+%dir %{_sysconfdir}/snapper
+%dir %{_sysconfdir}/snapper/configs
+%config(noreplace) %{_sysconfdir}/snapper/configs/root
+%dir %{_sysconfdir}/snapper/config-templates
+%config(noreplace) %{_sysconfdir}/snapper/config-templates/default
+%dir %{_sysconfdir}/snapper/filters
+%config(noreplace) %{_sysconfdir}/snapper/filters/*.txt
+%doc %dir %{_prefix}/share/doc/packages/snapper
+%doc %{_prefix}/share/doc/packages/snapper/AUTHORS
+%doc %{_prefix}/share/doc/packages/snapper/COPYING
+%config(noreplace) %{_sysconfdir}/sysconfig/snapper
+
+%files -n libsnapper-devel
+%defattr(-,root,root)
+%{_libdir}/libsnapper.so
+%{_prefix}/include/snapper
+
+
+%files -n snapper-zypp-plugin
+%defattr(-,root,root)
+/usr/lib/zypp/plugins/commit/snapper.py*
+
--- /dev/null
+Name: capi-media-sound-manager
+Summary: Sound Manager library
+Version: 0.1.1
+Release: 1
+Group: Multimedia/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(mm-session)
+BuildRequires: pkgconfig(capi-base-common)
+%description
+A Sound Manager library in Tizen C API
+
+%package devel
+Summary: Sound Manager library (Development)
+Group: Multimedia/Development
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+A Sound Manager library in Tizen C API (DEV)
+
+%devel_desc
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2
+%{_libdir}/libcapi-media-sound-manager.so.*
+%manifest capi-media-sound-manager.manifest
+
+%files devel
+%{_includedir}/media/sound_manager.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-media-sound-manager.so
+
+
--- /dev/null
+Name: speex
+%define package_version 1.2rc1
+Version: 1.1.999_%{package_version}
+Release: 9
+License: BSD-3-Clause
+Summary: An Open Source, Patent Free Speech Codec
+Url: http://www.speex.org/
+Group: Multimedia/Audio
+Source: %{name}-%{package_version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: libogg-devel
+BuildRequires: libtool
+BuildRequires: pkgconfig
+
+%description
+Speex is a patent free audio codec designed especially for voice
+(unlike Vorbis which targets general audio) signals and providing good
+narrowband and wideband quality. This project aims to be complementary
+to the Vorbis codec.
+
+%package -n libspeex
+License: BSD-3-Clause
+Summary: An Open Source, Patent Free Speech Codec Library
+Group: Multimedia/Audio
+
+%description -n libspeex
+Speex is a patent free audio codec designed especially for voice
+(unlike Vorbis which targets general audio) signals and providing good
+narrowband and wideband quality. This project aims to be complementary
+to the Vorbis codec.
+
+%package -n libspeexdsp
+License: BSD-3-Clause
+Summary: An Open Source, Patent Free Speech Codec Library
+Group: Multimedia/Audio
+
+%description -n libspeexdsp
+Speex is a patent free audio codec designed especially for voice
+(unlike Vorbis which targets general audio) signals and providing good
+narrowband and wideband quality. This project aims to be complementary
+to the Vorbis codec.
+
+%package devel
+License: BSD-3-Clause
+Summary: Development package for SpeeX
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libogg-devel
+Requires: libspeex = %{version}
+Requires: libspeexdsp = %{version}
+
+%description devel
+This package contains the files needed to compile programs that use the
+SpeeX library.
+
+%prep
+%setup -q -n %{name}-%{package_version}
+
+%build
+autoreconf -fi
+%configure \
+ --disable-static \
+ --with-ogg-libraries=%{_libdir}
+make %{?_smp_mflags}
+
+%install
+%make_install
+# remove duped documents
+rm -rf %{buildroot}%{_datadir}/doc/speex*
+
+%post -n libspeex -p /sbin/ldconfig
+
+%postun -n libspeex -p /sbin/ldconfig
+
+%post -n libspeexdsp -p /sbin/ldconfig
+
+%postun -n libspeexdsp -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/speex*
+%{_mandir}/man?/*
+
+%files -n libspeex
+%defattr(-,root,root)
+%{_libdir}/libspeex.so.*
+
+%files -n libspeexdsp
+%defattr(-,root,root)
+%{_libdir}/libspeexdsp.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/*
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
+%{_datadir}/aclocal/*.m4
+
+%changelog
--- /dev/null
+Name: push
+Summary: Push services and client library
+Version: 0.2.42
+Release: 3
+Group: Application Framwork/Service
+License: Flora
+Source0: %{name}-%{version}.tar.gz
+
+
+%description
+Push services and client library.
+
+%package -n libpush
+Summary: Push service client library
+Group: Application Framwork/Libraries
+Provides: libpush.so.0
+
+%description -n libpush
+Push service client library
+
+
+%package -n libpush-devel
+Summary: Push service client library (DEV)
+Group: devel
+Requires: libpush = %{version}-%{release}
+Requires: capi-appfw-application-devel
+
+%description -n libpush-devel
+Push service client library (DEV)
+
+
+%package bin
+Summary: Push service daemon
+Group: Application Framwork/Service
+Requires: badge
+
+%description bin
+Push service daemon
+
+
+%package tool
+Summary: Push service tool
+Group: devel
+Requires: libpush = %{version}-%{release}
+Requires: %{name}-bin = %{version}-%{release}
+
+%description tool
+Push service tool
+
+
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf %{buildroot}
+
+
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_libdir}/pkgconfig
+mkdir -p %{buildroot}%{_includedir}
+mkdir -p %{buildroot}/usr/share/push
+mkdir -p %{buildroot}%{_sysconfdir}/init.d
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/{rc3.d,rc5.d}
+mkdir -p %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants
+
+
+%ifarch %{arm}
+#libpush
+cp -a arm/lib/libpush.so.* %{buildroot}%{_libdir}
+#libpush-devel
+cp -a arm/include/push.h %{buildroot}%{_includedir}
+cp -a arm/lib/pkgconfig/push.pc %{buildroot}%{_libdir}/pkgconfig/push.pc
+cp -a arm/lib/libpush.so %{buildroot}%{_libdir}
+#push-bin
+cp -a arm/bin/pushd %{buildroot}%{_bindir}
+cp -a arm/share/push/PushServerTrust.cer %{buildroot}/usr/share/push/PushServerTrust.cer
+cp -a arm/etc/init.d/pushd %{buildroot}%{_sysconfdir}/init.d/pushd
+cp -a arm/etc/rc.d/rc3.d/S90pushd %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S90pushd
+cp -a arm/etc/rc.d/rc5.d/S90pushd %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S90pushd
+cp -a arm/lib/systemd/user/pushd.service %{buildroot}%{_libdir}/systemd/user/pushd.service
+cp -a arm/lib/systemd/user/tizen-middleware.target.wants/pushd.service \
+ %{buildroot}%{_libdir}/systemd/user/tizen-middleware.target.wants/pushd.service
+#push-tool
+cp -a arm/bin/push_tool %{buildroot}%{_bindir}
+%else
+#libpush
+cp -a x86/lib/libpush.so.* %{buildroot}%{_libdir}
+#libpush-devel
+cp -a x86/include/push.h %{buildroot}%{_includedir}
+cp -a x86/lib/pkgconfig/push.pc %{buildroot}%{_libdir}/pkgconfig/push.pc
+cp -a x86/lib/libpush.so %{buildroot}%{_libdir}
+#push-bin
+cp -a x86/bin/pushd %{buildroot}%{_bindir}
+cp -a x86/share/push/PushServerTrust.cer %{buildroot}/usr/share/push/PushServerTrust.cer
+cp -a x86/etc/init.d/pushd %{buildroot}%{_sysconfdir}/init.d/pushd
+cp -a x86/etc/rc.d/rc3.d/S90pushd %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S90pushd
+cp -a x86/etc/rc.d/rc5.d/S90pushd %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S90pushd
+cp -a x86/lib/systemd/user/pushd.service %{buildroot}/usr/lib/systemd/user/pushd.service
+cp -a x86/lib/systemd/user/tizen-middleware.target.wants/pushd.service \
+ %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants/pushd.service
+#push-tool
+cp -a x86/bin/push_tool %{buildroot}%{_bindir}
+%endif
+
+if [ -f /usr/lib/rpm-plugins/msm.so ]
+then
+ chsmack -a "_" -e "_" %{buildroot}/etc/init.d/pushd
+ chsmack -a "_" -e "_" %{buildroot}/etc/rc.d/rc3.d/S90pushd
+ chsmack -a "_" -e "_" %{buildroot}/etc/rc.d/rc5.d/S90pushd
+fi
+
+%post bin
+mkdir -p /opt/dbspace
+sqlite3 /opt/dbspace/.push.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
+chown root:5000 /opt/dbspace/.push.db
+chown root:5000 /opt/dbspace/.push.db-journal
+chmod 660 /opt/dbspace/.push.db
+chmod 660 /opt/dbspace/.push.db-journal
+
+chsmack -a 'push-service::db' /opt/dbspace/.push.db
+chsmack -a 'push-service::db' /opt/dbspace/.push.db-journal
+
+_VER="1"
+_DEV_TYPE="00000000"
+_DEV_INFO="device.model=ssltest"
+_IP_PV="gld.push.samsungosp.com"
+_PORT_PV=5223
+#ping interval {120,240,480,960,1920}
+_PING_INT=480
+_GRP="-g 5000"
+
+vconftool set -t string file/private/push-bin/version ${_VER} ${_GRP} -f
+vconftool set -t string file/private/push-bin/dev_type ${_DEV_TYPE} ${_GRP} -f
+vconftool set -t string file/private/push-bin/dev_info ${_DEV_INFO} ${_GRP} -f
+vconftool set -t string file/private/push-bin/ip_pv ${_IP_PV} ${_GRP} -f
+vconftool set -t int file/private/push-bin/port_pv ${_PORT_PV} ${_GRP} -f
+vconftool set -t int file/private/push-bin/ping_int ${_PING_INT} ${_GRP} -f
+vconftool set -t string file/private/push-bin/devtk "" ${_GRP} -f
+vconftool set -t string file/private/push-bin/ip_pri "" ${_GRP} -f
+vconftool set -t int file/private/push-bin/port_pri -1 ${_GRP} -f
+vconftool set -t string file/private/push-bin/ip_sec "" ${_GRP} -f
+vconftool set -t int file/private/push-bin/port_sec -1 ${_GRP} -f
+
+#vconftool unset file/private/push-bin/devtk
+
+%post -n libpush
+/sbin/ldconfig
+
+%postun -n libpush -p /sbin/ldconfig
+
+
+%files -n libpush
+%manifest libpush.manifest
+%attr(644,-,-) %{_libdir}/libpush.so.*
+
+%files -n libpush-devel
+%attr(644,-,-) %{_includedir}/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libpush.so
+
+%files bin
+%manifest push-bin.manifest
+%{_bindir}/pushd
+/usr/share/push/*.cer
+/etc/init.d/pushd
+/etc/rc.d/rc3.d/S90pushd
+/etc/rc.d/rc5.d/S90pushd
+/usr/lib/systemd/user/pushd.service
+/usr/lib/systemd/user/tizen-middleware.target.wants/pushd.service
+
+%files tool
+%manifest push-tool.manifest
+%{_bindir}/push_tool
+
+%changelog
+* Mon Oct 22 2012 Jooseok Park <jooseok.park@samsung.com> - 0.2.25
+- bundle null check added & protobuf null check added
+* Wed Sep 19 2012 Jooseok Park <jooseok.park@samsung.com> - 0.2.24
+- when pkg is uninstlled, db process is added
+* Fri Sep 7 2012 Jooseok Park <jooseok.park@samsung.com> - 0.2.23
+- emul check logic is changed(using capi-system-info)
+* Tue Sep 4 2012 Jooseok Park <jooseok.park@samsung.com> - 0.2.22
+- decoding of message with space character which is urlencoded to "+"
+* Wed Aug 29 2012 Jooseok Park <jooseok.park@samsung.com> - 0.2.21
+- package uninstalled event added
+* Fri Aug 17 2012 Jooseok Park <jooseok.park@samsung.com> - 0.2.20
+- debug msg added & some internal function name changed
+* Wed Aug 8 2012 Jooseok Park <jooseok.park@samsung.com> - 0.2.19
+- push noti default action is silent, and old key is deleted
+* Wed Aug 8 2012 Jooseok Park <jooseok.park@samsung.com> - 0.2.18
+- tapi imei api is changed for new tapi
+* Tue Aug 7 2012 Jooseok Park <jooseok.park@samsung.com> - 0.2.17
+- emulator check func is added
+* Wed Jul 25 2012 Jooseok Park <jooseok.park@samsung.com> - 0.2.16
+- OSP Push noti support(alertMessage,..)
+
--- /dev/null
+Name: sqlite
+Version: 3.7.14
+Release: 0
+License: Public-Domain
+%define tarversion 3071400
+Summary: Embeddable SQL Database Engine
+Url: http://www.sqlite.org/
+Group: System/Database
+Source0: sqlite-autoconf-%tarversion.tar.gz
+Source1: baselibs.conf
+BuildRequires: readline-devel
+BuildRequires: pkgconfig(pkg-config)
+Requires: libsqlite = %{version}
+Provides: sqlite3
+
+%description
+SQLite is a C library that implements an embeddable SQL database
+engine. Programs that link with the SQLite library can have SQL
+database access without running a separate RDBMS process.
+
+SQLite is not a client library used to connect to a big database
+server. SQLite is a server and the SQLite library reads and writes
+directly to and from the database files on disk.
+
+SQLite can be used via the sqlite command line tool or via any
+application that supports the Qt database plug-ins.
+
+%package -n libsqlite
+Summary: Shared libraries for the Embeddable SQL Database Engine
+Group: System/Database
+Provides: libsqlit3
+
+%description -n libsqlite
+This package contains the shared libraries for the Embeddable SQL
+Database Engine.
+
+SQLite is a C library that implements an embeddable SQL database
+engine. Programs that link with the SQLite library can have SQL
+database access without running a separate RDBMS process.
+
+SQLite is not a client library used to connect to a big database
+server. SQLite is a server and the SQLite library reads and writes
+directly to and from the database files on disk.
+
+SQLite can be used via the sqlite command line tool or via any
+application that supports the Qt database plug-ins.
+
+%package devel
+Summary: Embeddable SQL Database Engine
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: libsqlite = %{version}
+Requires: sqlite
+Provides: sqlite3-devel = %{version}
+Obsoletes: sqlite3-devel < %{version}
+
+%description devel
+SQLite is a C library that implements an embeddable SQL database
+engine. Programs that link with the SQLite library can have SQL
+database access without running a separate RDBMS process.
+
+SQLite is not a client library used to connect to a big database
+server; SQLite is the server. The SQLite library reads and writes
+directly to and from the database files on disk.
+
+SQLite can be used via the sqlite command-line tool or via any
+application which supports the Qt database plug-ins.
+
+%prep
+%setup -q -n sqlite-autoconf-%tarversion
+
+%build
+CFLAGS=`echo %{optflags} |sed -e 's/-ffast-math//g'`
+chmod +x autogen.sh
+%autogen
+%configure --disable-static --enable-threadsafe
+make
+
+%install
+%make_install
+
+%post -n libsqlite -p /sbin/ldconfig
+
+%postun -n libsqlite -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%{_bindir}/sqlite3
+
+%files -n libsqlite
+%defattr(-,root,root)
+%{_libdir}/libsqlite*.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/*.h
+%{_libdir}/libsqlite*.so
+%{_libdir}/pkgconfig/sqlite3.pc
+
+%docs_package
--- /dev/null
+Name: squashfs
+Version: 4.2
+Release: 0
+License: GPL-2.0+
+Summary: A Read-Only File System with Efficient Compression
+Url: http://squashfs.sourceforge.net/
+Group: System/Filesystems
+Source0: %{name}%{version}.tar.gz
+BuildRequires: attr-devel
+BuildRequires: lzma-devel
+BuildRequires: lzo-devel
+BuildRequires: zlib-devel
+Supplements: filesystem(squashfs)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+This package contains the userland utilities to create and read
+squashfs images.
+
+%prep
+%setup -n squashfs%{version}
+
+%build
+sed -i -e "s#-O2#%{optflags}#g" squashfs-tools/Makefile
+make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1
+
+%install
+mkdir -p %{buildroot}/usr/bin
+install -m 755 squashfs-tools/{un,mk}squashfs %{buildroot}/usr/bin
+
+%files
+%defattr(-,root,root)
+%license COPYING
+/usr/bin/*squashfs
+
+%changelog
--- /dev/null
+Name: starter
+Summary: starter
+Version: 0.4.62
+Release: 3
+Group: TO_BE/FILLED_IN
+License: TO_BE/FILLED_IN
+Source0: starter-%{version}.tar.gz
+Source1: starter.service
+Source2: starter.path
+Requires(post): /usr/bin/vconftool
+BuildRequires: cmake
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-system-media-key)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xcomposite)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: cmake
+BuildRequires: edje-bin
+BuildRequires: gettext-tools
+
+Requires(post): /usr/bin/vconftool
+
+%description
+Description: Starter
+
+
+%prep
+%setup -q
+
+%cmake .
+
+%build
+
+make -j1
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
+install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/user/
+install -m 0644 %SOURCE2 %{buildroot}%{_libdir}/systemd/user/
+ln -s ../starter.path %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/starter.path
+mkdir -p %{buildroot}/usr/share/license
+cp -f LICENSE.Flora %{buildroot}/usr/share/license/%{name}
+mkdir -p %{buildroot}/opt/data/home-daemon
+
+%post
+change_file_executable()
+{
+ chmod +x $@ 2>/dev/null
+ if [ $? -ne 0 ]; then
+ echo "Failed to change the perms of $@"
+ fi
+}
+
+GOPTION="-u 5000 -f"
+
+vconftool set -t int "memory/starter/sequence" 0 -i $GOPTION
+vconftool set -t int "memory/starter/use_volume_key" 0 -i $GOPTION
+vconftool set -t string file/private/lockscreen/pkgname "org.tizen.lockscreen" -u 5000 -g 5000 -f
+vconftool set -t int memory/idle_lock/state "0" -i $GOPTION
+vconftool set -t bool memory/lockscreen/phone_lock_verification 0 -i $GOPTION
+
+vconftool set -t bool db/lockscreen/event_notification_display 1 $GOPTION
+vconftool set -t bool db/lockscreen/clock_display 1 $GOPTION
+vconftool set -t bool db/lockscreen/help_text_display 0 $GOPTION
+
+vconftool set -t int memory/idle-screen/is_idle_screen_launched "0" -i -u 5000 -f
+vconftool set -t int memory/idle-screen/top "0" -i -f
+vconftool set -t int memory/idle-screen/safemode "0" -i -f
+
+ln -sf /etc/init.d/rd4starter /etc/rc.d/rc4.d/S81starter
+ln -sf /etc/init.d/rd3starter /etc/rc.d/rc3.d/S43starter
+
+
+%files
+%manifest starter.manifest
+%defattr(-,root,root,-)
+%{_sysconfdir}/init.d/rd4starter
+%{_sysconfdir}/init.d/rd3starter
+%{_bindir}/starter
+/usr/ug/lib/libug-lockscreen-options.so
+/usr/ug/lib/libug-lockscreen-options.so.0.1.0
+/usr/ug/res/locale/*/LC_MESSAGES/*
+%{_libdir}/systemd/user/starter.path
+%{_libdir}/systemd/user/starter.service
+%{_libdir}/systemd/user/core-efl.target.wants/starter.path
+/usr/share/license/%{name}
+/opt/data/home-daemon
--- /dev/null
+Name: status
+Summary: status library
+Version: 0.0.1
+Release: 1
+Group: TBD
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(aul)
+BuildRequires: cmake
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+Status library.
+
+%prep
+%setup -q
+
+%package devel
+Summary: Status library (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Status library (devel).
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--as-needed"
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/usr/share/license
+cp -f LICENSE %{buildroot}/usr/share/license/%{name}
+
+
+%post
+init_vconf()
+{
+ vconftool set -t int memory/private/libstatus/music/state 0 -i -g 5000
+ vconftool set -t int memory/private/libstatus/radio/state 0 -i -g 5000
+ vconftool set -t int memory/private/libstatus/vr/state 0 -i -g 5000
+ vconftool set -t int memory/private/libstatus/music/pid -1 -i -g 5000
+ vconftool set -t int memory/private/libstatus/radio/pid -1 -i -g 5000
+ vconftool set -t int memory/private/libstatus/vr/pid -1 -i -g 5000
+ vconftool set -t string memory/private/libstatus/message "" -i -g 5000
+}
+
+/sbin/ldconfig
+init_vconf
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest status.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/*.h
+%{_libdir}/pkgconfig/*.pc
+
--- /dev/null
+Name: strace
+BuildRequires: libacl-devel
+BuildRequires: libaio-devel
+BuildRequires: lksctp-tools-devel
+BuildRequires: xz
+Version: 4.7
+Release: 0
+License: BSD-3-Clause
+Summary: A utility to trace the system calls of a program
+Url: http://sourceforge.net/projects/strace/
+Group: Development/Tools/Debuggers
+Source: http://dl.sourceforge.net/strace/strace-%{version}.tar.xz
+Source2: baselibs.conf
+
+%description
+With strace, you can trace the activity of a program. Information
+about any system calls the program makes and the signals it receives
+and processes can be seen. Child processes can also be tracked.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="%{optflags}"
+%configure
+
+make %{?_smp_mflags}
+
+# Have to exclude make check for qemu builds, which apparently don't support PTRACE.
+%if !(0%{?qemu_user_space_build})
+%check
+make check
+%endif
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%{_bindir}/strace
+%{_bindir}/strace-graph
+%{_bindir}/strace-log-merge
+%doc %{_mandir}/man1/strace.1.gz
+
+%changelog
--- /dev/null
+Name: stt
+Summary: Speech To Text client library and daemon
+Version: 0.1.41
+Release: 1
+Group: UI Framework/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-media-audio-io)
+BuildRequires: pkgconfig(capi-media-sound-manager)
+
+BuildRequires: cmake
+
+%description
+Speech To Text client library and daemon.
+
+
+%package devel
+Summary: Speech To Text header files for STT development
+Group: Development/UI Framework
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Speech To Text header files for STT development.
+
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest stt-server.manifest
+%license LICENSE.APLv2
+/opt/etc/smack/accesses.d/stt-server.rule
+/etc/config/sysinfo-stt.xml
+%defattr(-,root,root,-)
+%{_libdir}/libstt.so
+%{_libdir}/libstt_setting.so
+%{_prefix}/lib/voice/stt/1.0/sttd.conf
+%{_bindir}/stt-daemon
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/stt.pc
+%{_libdir}/pkgconfig/stt-setting.pc
+%{_includedir}/stt.h
+%{_includedir}/stt_setting.h
+%{_includedir}/sttp.h
--- /dev/null
+Name: sudo
+Version: 1.8.6p6
+Release: 0
+Summary: Execute some commands as root
+License: ISC
+Group: System/Base
+Url: http://www.sudo.ws/
+Source0: http://sudo.ws/sudo/dist/%{name}-%{version}.tar.gz
+Source1: sudo.pamd
+BuildRequires: groff
+BuildRequires: pam-devel
+Requires(pre): coreutils
+
+%description
+Sudo is a command that allows users to execute some commands as root.
+The /etc/sudoers file (edited with 'visudo') specifies which users have
+access to sudo and which commands they can run. Sudo logs all its
+activities to syslogd, so the system administrator can keep an eye on
+things. Sudo asks for the password for initializing a check period of a
+given time N (where N is defined at installation and is set to 5
+minutes by default).
+
+%package devel
+Summary: Header files needed for sudo plugin development
+Group: Development/Libraries
+
+%description devel
+These header files are needed for building of sudo plugins.
+
+%prep
+%setup -q
+
+%build
+F_PIE=-fpie
+export CFLAGS="%{optflags} -Wall $F_PIE -DLDAP_DEPRECATED"
+export LDFLAGS="-pie"
+%configure \
+--libexecdir=%{_libexecdir}/sudo \
+--docdir=%{_docdir}/%{name} \
+--with-noexec=%{_libexecdir}/sudo/sudo_noexec.so \
+--with-pam \
+--with-logfac=auth \
+--without-insults \
+--with-ignore-dot \
+--with-tty-tickets \
+--enable-shell-sets-home \
+--enable-warnings \
+--with-sudoers-mode=0440 \
+--with-env-editor \
+--without-secure-path \
+--with-passprompt='%%p\x27s password:' \
+--with-timedir=%{_localstatedir}/lib/sudo
+make %{?_smp_mflags}
+
+%install
+%make_install
+install -d -m 755 %{buildroot}%{_sysconfdir}/pam.d
+install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/sudo
+rm -f %{buildroot}%{_bindir}/sudoedit
+ln -sf %{_bindir}/sudo %{buildroot}%{_bindir}/sudoedit
+rm -f %{buildroot}%{_docdir}/%{name}/sample.pam
+rm -f %{buildroot}%{_docdir}/%{name}/sample.syslog.conf
+rm -f %{buildroot}%{_docdir}/%{name}/schema.OpenLDAP
+rm -f %{buildroot}%{_libexecdir}/%{name}/sudoers.la
+%find_lang %{name}
+%find_lang sudoers
+cat sudoers.lang >> %{name}.lang
+
+%post
+chmod 0440 %{_sysconfdir}/sudoers
+
+
+%lang_package
+
+%files
+%defattr(-,root,root)
+%config(noreplace) %attr(0440,root,root) %{_sysconfdir}/sudoers
+%dir %{_sysconfdir}/sudoers.d
+%config %{_sysconfdir}/pam.d/sudo
+%attr(4755,root,root) %{_bindir}/sudo
+%{_bindir}/sudoedit
+%{_bindir}/sudoreplay
+%{_sbindir}/visudo
+%{_libexecdir}/sudo
+%attr(0700,root,root) %dir %ghost %{_localstatedir}/lib/sudo
+%{_docdir}/%{name}
+%{_mandir}/man?/*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/sudo_plugin.h
+
+%changelog
--- /dev/null
+Name: svi-data-sdk
+Summary: svi library audio data package (SDK)
+Version: 0.1.2
+Release: 1
+Group: System/Resources
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: svi-data-sdk.manifest
+Requires(post): coreutils
+BuildRequires: cmake
+
+%description
+svi library audio data package (SDK)
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1} .
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}/opt/share/svi/sound/touch
+mkdir -p %{buildroot}/opt/share/svi/sound/operation
+mkdir -p %{buildroot}/opt/share/svi/haptic/default
+mkdir -p %{buildroot}/opt/share/svi/haptic/touch
+
+%post
+ln -s %{_datadir}/svi/sound/touch/key0.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/key1.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/key2.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/key3.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/key4.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/key5.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/key6.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/key7.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/key8.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/key9.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/keyasterisk.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/keysharp.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/sip.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/sip_backspace.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/touch/touch.wav /opt/share/svi/sound/touch
+ln -s %{_datadir}/svi/sound/operation/call_connect.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/call_disconnect.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/charger_connection.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/fully_charged.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/list_reorder.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/lock.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/low_battery.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/minute_minder.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/power_on.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/shutter.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/slider_sweep.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/unlock.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/sound/operation/volume_control.wav /opt/share/svi/sound/operation
+ln -s %{_datadir}/svi/haptic/default/Basic_call.tht /opt/share/svi/haptic/default
+ln -s %{_datadir}/svi/haptic/touch/touch.tht /opt/share/svi/haptic/touch
+
+%files
+%defattr(644,root,root,-)
+%{_datadir}/svi/*
+%defattr(666,app,app,-)
+%dir /opt/share/svi/sound/touch
+%dir /opt/share/svi/sound/operation
+%dir /opt/share/svi/haptic/default
+%dir /opt/share/svi/haptic/touch
+%manifest svi-data-sdk.manifest
--- /dev/null
+Name: swig
+Version: 2.0.7
+Release: 0
+License: GPL-3.0+ and BSD-3-Clause
+Summary: Simplified Wrapper and Interface Generator
+Url: http://www.swig.org/
+Group: Development/Languages/C and C++
+Source: http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
+Source1: %{name}.rpmlintrc
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: boost-devel
+%define docpath %{_docdir}/%{name}
+BuildRequires: fdupes
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: pcre-devel
+BuildRequires: perl
+BuildRequires: pkg-config
+BuildRequires: python-devel
+
+%description
+SWIG is a compiler that attempts to make it easy to integrate C, C++,
+or Objective-C code with scripting languages including Perl, Tcl, and
+Python. In a nutshell, you give it a bunch of ANSI C/C++ declarations
+and it generates an interface between C and your favorite scripting
+language. However, this is only scratching the surface of what SWIG
+can do--some of its more advanced features include automatic
+documentation generation, module and library management, extensive
+customization options, and more.
+
+%package doc
+License: BSD-3-Clause
+Summary: SWIG Manual
+Group: Documentation/Man
+Requires: swig
+BuildArch: noarch
+
+%description doc
+SWIG is a compiler that attempts to make it easy to integrate C, C++,
+or Objective-C code with scripting languages including Perl, Tcl, and
+Python. In a nutshell, you give it a bunch of ANSI C/C++ declarations
+and it generates an interface between C and your favorite scripting
+language. However, this is only scratching the surface of what SWIG
+can do--some of its more advanced features include automatic
+documentation generation, module and library management, extensive
+customization options, and more.
+
+This package contains the SWIG manual.
+
+%package examples
+License: BSD-3-Clause
+Summary: SWIG example files
+Group: Documentation/Howto
+Requires: swig
+
+%description examples
+SWIG is a compiler that attempts to make it easy to integrate C, C++,
+or Objective-C code with scripting languages including Perl, Tcl, and
+Python. In a nutshell, you give it a bunch of ANSI C/C++ declarations
+and it generates an interface between C and your favorite scripting
+language. However, this is only scratching the surface of what SWIG
+can do--some of its more advanced features include automatic
+documentation generation, module and library management, extensive
+customization options, and more.
+
+This package contains SWIG examples, useful both for testing and
+understandig SWIG usage.
+
+%prep
+%setup -q
+
+%build
+sh autogen.sh
+%configure --disable-ccache
+make %{?_smp_mflags}
+
+%check
+# Segfaults
+rm -f Examples/test-suite/python/li_std_containers_int_runme.py
+rm -f Examples/test-suite/python/li_boost_shared_ptr_runme.py
+make check
+
+%install
+%make_install
+
+install -d %{buildroot}%{docpath}
+cp -a TODO ANNOUNCE CHANGES* LICENSE README Doc/{Devel,Manual} \
+ %{buildroot}%{docpath}
+install -d %{buildroot}%{_libdir}/swig
+cp -a Examples %{buildroot}%{_libdir}/swig/examples
+rm -rf %{buildroot}%{_libdir}/swig/examples/test-suite
+
+# rm files that are not needed for running or rebuilding the examples
+find %{buildroot}%{_libdir}/swig \
+ -name '*.dsp' -o -name '*.vcproj' -o -name '*.sln' -o \
+ -name '*.o' -o -name '*_wrap.c' | xargs rm
+
+# fix perms
+chmod -x %{buildroot}%{docpath}/Manual/*
+find %{buildroot}%{_libdir}/swig -name '*.h' -perm +111 | \
+ xargs --no-run-if-empty chmod -x
+ln -s %{_libdir}/swig/examples %{buildroot}%{docpath}/Examples
+
+%fdupes %{buildroot}
+
+%files
+%defattr(644,root,root,755)
+%dir %{docpath}
+%{docpath}/[A-Z][A-Z]*
+%{_datadir}/swig
+%attr(755,root,root) %{_bindir}/swig
+
+%files doc
+%defattr(-,root,root)
+%{docpath}/Devel
+%{docpath}/Manual
+
+%files examples
+%defattr(-,root,root)
+%{docpath}/Examples
+%{_libdir}/swig
+
+%changelog
--- /dev/null
+Name: swup
+Version: 0.2
+Release: 0
+License: GPL-2.0+
+Summary: Software Update Tool
+Url: http://www.tizen.org
+Group: System/Management
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: systemd
+Requires: deltarpm
+Requires: python-lxml
+Requires: python-yaml
+Requires: python-rpm
+Requires: snapper
+
+%description
+Software Update Tool.
+
+%prep
+%setup -q
+
+%build
+
+%install
+%make_install
+%install_service system-update.target.wants system-update@update.service
+%install_service system-restore.target.wants system-update@system.service
+%install_service factory-reset.target.wants system-update@factory.service
+# fix symlinks
+ln -sf ../system-update@.service %{buildroot}/%{_unitdir}/system-update.target.wants/system-update@update.service
+ln -sf ../system-update@.service %{buildroot}/%{_unitdir}/system-restore.target.wants/system-update@system.service
+ln -sf ../system-update@.service %{buildroot}/%{_unitdir}/factory-reset.target.wants/system-update@factory.service
+
+%files
+%defattr(-,root,root)
+%{_bindir}/swup
+%{_bindir}/system-update
+%{_unitdir}/system-update@.service
+%{_unitdir}/system-restore.target
+%{_unitdir}/factory-reset.target
+%{_unitdir}/system-update.target.wants/system-update@update.service
+%{_unitdir}/system-restore.target.wants/system-update@system.service
+%{_unitdir}/factory-reset.target.wants/system-update@factory.service
--- /dev/null
+Name: sync-agent
+Summary: Sync agent FW Library
+Version: 0.1.91
+Release: 1
+Group: System/Service
+URL: http://www.tizen.org
+License: Apache-2.0
+Source0: sync-agent-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(uuid)
+BuildRequires: pkgconfig(msg-service)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(libwbxml2)
+BuildRequires: pkgconfig(calendar-service2)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(accounts-svc)
+BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(memo)
+BuildRequires: pkgconfig(alarm-service)
+BuildRequires: pkgconfig(location)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(libcurl)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(capi-network-connection)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: libgcrypt-devel
+BuildRequires: cmake
+BuildRequires: pkgconfig(dbus-glib-1)
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+
+%description
+Tizen sync agent FW library
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description devel
+Provides required sync agent development headers and libraries for creating sync enabled clients
+
+%package -n common-public-plugins
+Summary: Common Public Plugins
+Group: System/Service
+
+%description -n common-public-plugins
+common public plugins for sync-agent
+
+
+%prep
+%setup -q
+
+
+%build
+%cmake .
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest sync-agent.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/sync_agent.h
+%{_includedir}/sync-agent/*
+%{_libdir}/pkgconfig/sync-agent.pc
+
+#%files -n common-private-plugins
+#%manifest common-private-plugins.manifest
+#%defattr(-,root,root,-)
+#/usr/lib/sync-agent/common-private/*
+
+%files -n common-public-plugins
+%manifest common-public-plugins.manifest
+%defattr(-,root,root,-)
+%{_libdir}/sync-agent/common-public/*
+
--- /dev/null
+Name: sys-assert
+Summary: System Assert
+Version: 0.3.3
+Release: 5
+Group: System/Debug
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: cmake
+
+%description
+System Assert.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS+=" -fPIC"
+%ifarch %{arm}
+ export CFLAGS+=" -DTARGET"
+%endif
+
+%cmake .
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %{buildroot}/opt/share/crash/info
+
+%post -p <lua>
+--Do not run this script inside the build environemt, it will cause issues.
+if posix.stat("/.build") == nil then
+ local f = assert(io.open("/etc/ld.so.preload", "a"))
+ local t = f:write("%{_libdir}/libsys-assert.so")
+ f:close()
+ posix.chmod("/etc/ld.so.preload", 644)
+end
+
+
+%postun
+# TBD: we need to remove the above, otherwise we will fail on everything
+#that tries to preload that lib
+#
+
+%files
+%manifest sys-assert.manifest
+%attr(775,root,crash) /opt/share/crash
+%attr(775,root,crash) /opt/share/crash/info
+%license LICENSE.APLv2
+%{_bindir}/coredumpctrl.sh
+/opt/etc/.debugmode
+/usr/lib/sysctl.d/sys-assert.conf
+%{_libdir}/libsys-assert.so
+
--- /dev/null
+Name: osp-sys-config
+Summary: Configuration for OSP Framework Foundation library
+Version: 1.2.1.0
+Release: 16
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+
+# runtime requires
+Requires(post): coreutils
+
+%description
+Configuration for OSP Framework Foundation library
+
+%package ref
+Summary: Additional configuration for reference application
+Group: System/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description ref
+Additional configuration for reference application
+
+%prep
+%setup -q
+
+%install
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+mkdir -p %{buildroot}/usr/etc
+mkdir -p %{buildroot}/usr/share/appsvc
+
+%ifarch %{ix86}
+cp -R %{_builddir}/%{name}-%{version}/res/x86/usr/etc/* %{buildroot}/usr/etc
+cp -R %{_builddir}/%{name}-%{version}/res/x86/usr/share/appsvc/* %{buildroot}/usr/share/appsvc
+cp %{_builddir}/%{name}-%{version}/res/x86/usr/etc/.smack %{buildroot}/usr/etc/
+%else
+cp -R %{_builddir}/%{name}-%{version}/res/arm/usr/etc/* %{buildroot}/usr/etc
+cp -R %{_builddir}/%{name}-%{version}/res/arm/usr/share/appsvc/* %{buildroot}/usr/share/appsvc
+cp %{_builddir}/%{name}-%{version}/res/arm/usr/etc/.smack %{buildroot}/usr/etc/
+%endif
+
+%post
+ln -sf /usr/etc/tizen-core/app-control-appid.ini /usr/etc/app-control-appid.ini
+
+%post ref
+ln -sf /usr/etc/tizen-ref/app-control-appid.ini /usr/etc/app-control-appid.ini
+
+%files
+%manifest osp-sys-config.manifest
+/usr/share/license/*
+/usr/share/appsvc/*
+/usr/etc/*
+/usr/etc/tizen-core/*
+/usr/etc/.smack
+
+%files ref
+/usr/etc/tizen-ref/*
--- /dev/null
+Name: sys-string
+Summary: System string package for multilinugual support
+Version: 1.1
+Release: 2
+Group: TO_BE/FILLED_IN
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: gettext-tools
+
+%description
+System string package for multilinugual support
+
+%prep
+%setup -q
+
+%build
+/usr/bin/msgfmt -o ar.mo ar.po
+/usr/bin/msgfmt -o az.mo az.po
+/usr/bin/msgfmt -o bg.mo bg.po
+/usr/bin/msgfmt -o ca.mo ca.po
+/usr/bin/msgfmt -o cs.mo cs.po
+/usr/bin/msgfmt -o da.mo da.po
+/usr/bin/msgfmt -o de_DE.mo de_DE.po
+/usr/bin/msgfmt -o el_GR.mo el_GR.po
+/usr/bin/msgfmt -o en.mo en.po
+/usr/bin/msgfmt -o en_PH.mo en_PH.po
+/usr/bin/msgfmt -o en_US.mo en_US.po
+/usr/bin/msgfmt -o es_ES.mo es_ES.po
+/usr/bin/msgfmt -o es_MX.mo es_MX.po
+/usr/bin/msgfmt -o et.mo et.po
+/usr/bin/msgfmt -o eu.mo eu.po
+/usr/bin/msgfmt -o fi.mo fi.po
+/usr/bin/msgfmt -o fr_CA.mo fr_CA.po
+/usr/bin/msgfmt -o fr_FR.mo fr_FR.po
+/usr/bin/msgfmt -o ga.mo ga.po
+/usr/bin/msgfmt -o gl.mo gl.po
+/usr/bin/msgfmt -o hi.mo hi.po
+/usr/bin/msgfmt -o hr.mo hr.po
+/usr/bin/msgfmt -o hu.mo hu.po
+/usr/bin/msgfmt -o hy.mo hy.po
+/usr/bin/msgfmt -o is.mo is.po
+/usr/bin/msgfmt -o it_IT.mo it_IT.po
+/usr/bin/msgfmt -o ja_JP.mo ja_JP.po
+/usr/bin/msgfmt -o ka.mo ka.po
+/usr/bin/msgfmt -o kk.mo kk.po
+/usr/bin/msgfmt -o ko_KR.mo ko_KR.po
+/usr/bin/msgfmt -o lt.mo lt.po
+/usr/bin/msgfmt -o lv.mo lv.po
+/usr/bin/msgfmt -o mk.mo mk.po
+/usr/bin/msgfmt -o nb.mo nb.po
+/usr/bin/msgfmt -o nl_NL.mo nl_NL.po
+/usr/bin/msgfmt -o pl.mo pl.po
+/usr/bin/msgfmt -o pt_BR.mo pt_BR.po
+/usr/bin/msgfmt -o pt_PT.mo pt_PT.po
+/usr/bin/msgfmt -o ro.mo ro.po
+/usr/bin/msgfmt -o ru_RU.mo ru_RU.po
+/usr/bin/msgfmt -o sk.mo sk.po
+/usr/bin/msgfmt -o sl.mo sl.po
+/usr/bin/msgfmt -o sr.mo sr.po
+/usr/bin/msgfmt -o sv.mo sv.po
+/usr/bin/msgfmt -o tr_TR.mo tr_TR.po
+/usr/bin/msgfmt -o uk.mo uk.po
+/usr/bin/msgfmt -o uz.mo uz.po
+/usr/bin/msgfmt -o zh_CN.mo zh_CN.po
+/usr/bin/msgfmt -o zh_HK.mo zh_HK.po
+/usr/bin/msgfmt -o zh_SG.mo zh_SG.po
+/usr/bin/msgfmt -o zh_TW.mo zh_TW.po
+
+%install
+rm -rf %{buildroot}
+
+mkdir -p %{buildroot}%{_datadir}/locale/ar/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/az/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/bg/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/ca/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/cs/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/da/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/de_DE/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/el_GR/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/en/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/en_PH/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/en_US/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/es_ES/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/es_MX/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/et/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/eu/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/fi/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/fr_CA/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/fr_FR/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/ga/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/gl/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/hi/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/hr/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/hu/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/hy/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/is/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/it_IT/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/ja_JP/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/ka/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/kk/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/ko_KR/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/lt/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/lv/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/mk/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/nb/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/nl_NL/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/pl/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/pt_BR/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/pt_PT/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/ro/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/ru_RU/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/sk/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/sl/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/sr/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/sv/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/tr_TR/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/uk/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/uz/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/zh_CN/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/zh_HK/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/zh_SG/LC_MESSAGES/
+mkdir -p %{buildroot}%{_datadir}/locale/zh_TW/LC_MESSAGES/
+
+cp ar.mo %{buildroot}%{_datadir}/locale/ar/LC_MESSAGES/sys_string.mo
+cp az.mo %{buildroot}%{_datadir}/locale/az/LC_MESSAGES/sys_string.mo
+cp bg.mo %{buildroot}%{_datadir}/locale/bg/LC_MESSAGES/sys_string.mo
+cp ca.mo %{buildroot}%{_datadir}/locale/ca/LC_MESSAGES/sys_string.mo
+cp cs.mo %{buildroot}%{_datadir}/locale/cs/LC_MESSAGES/sys_string.mo
+cp da.mo %{buildroot}%{_datadir}/locale/da/LC_MESSAGES/sys_string.mo
+cp de_DE.mo %{buildroot}%{_datadir}/locale/de_DE/LC_MESSAGES/sys_string.mo
+cp el_GR.mo %{buildroot}%{_datadir}/locale/el_GR/LC_MESSAGES/sys_string.mo
+cp en.mo %{buildroot}%{_datadir}/locale/en/LC_MESSAGES/sys_string.mo
+cp en_PH.mo %{buildroot}%{_datadir}/locale/en_PH/LC_MESSAGES/sys_string.mo
+cp en_US.mo %{buildroot}%{_datadir}/locale/en_US/LC_MESSAGES/sys_string.mo
+cp es_ES.mo %{buildroot}%{_datadir}/locale/es_ES/LC_MESSAGES/sys_string.mo
+cp es_MX.mo %{buildroot}%{_datadir}/locale/es_MX/LC_MESSAGES/sys_string.mo
+cp et.mo %{buildroot}%{_datadir}/locale/et/LC_MESSAGES/sys_string.mo
+cp eu.mo %{buildroot}%{_datadir}/locale/eu/LC_MESSAGES/sys_string.mo
+cp fi.mo %{buildroot}%{_datadir}/locale/fi/LC_MESSAGES/sys_string.mo
+cp fr_CA.mo %{buildroot}%{_datadir}/locale/fr_CA/LC_MESSAGES/sys_string.mo
+cp fr_FR.mo %{buildroot}%{_datadir}/locale/fr_FR/LC_MESSAGES/sys_string.mo
+cp ga.mo %{buildroot}%{_datadir}/locale/ga/LC_MESSAGES/sys_string.mo
+cp gl.mo %{buildroot}%{_datadir}/locale/gl/LC_MESSAGES/sys_string.mo
+cp hi.mo %{buildroot}%{_datadir}/locale/hi/LC_MESSAGES/sys_string.mo
+cp hr.mo %{buildroot}%{_datadir}/locale/hr/LC_MESSAGES/sys_string.mo
+cp hu.mo %{buildroot}%{_datadir}/locale/hu/LC_MESSAGES/sys_string.mo
+cp hy.mo %{buildroot}%{_datadir}/locale/hy/LC_MESSAGES/sys_string.mo
+cp is.mo %{buildroot}%{_datadir}/locale/is/LC_MESSAGES/sys_string.mo
+cp it_IT.mo %{buildroot}%{_datadir}/locale/it_IT/LC_MESSAGES/sys_string.mo
+cp ja_JP.mo %{buildroot}%{_datadir}/locale/ja_JP/LC_MESSAGES/sys_string.mo
+cp ka.mo %{buildroot}%{_datadir}/locale/ka/LC_MESSAGES/sys_string.mo
+cp kk.mo %{buildroot}%{_datadir}/locale/kk/LC_MESSAGES/sys_string.mo
+cp ko_KR.mo %{buildroot}%{_datadir}/locale/ko_KR/LC_MESSAGES/sys_string.mo
+cp lt.mo %{buildroot}%{_datadir}/locale/lt/LC_MESSAGES/sys_string.mo
+cp lv.mo %{buildroot}%{_datadir}/locale/lv/LC_MESSAGES/sys_string.mo
+cp mk.mo %{buildroot}%{_datadir}/locale/mk/LC_MESSAGES/sys_string.mo
+cp nb.mo %{buildroot}%{_datadir}/locale/nb/LC_MESSAGES/sys_string.mo
+cp nl_NL.mo %{buildroot}%{_datadir}/locale/nl_NL/LC_MESSAGES/sys_string.mo
+cp pl.mo %{buildroot}%{_datadir}/locale/pl/LC_MESSAGES/sys_string.mo
+cp pt_BR.mo %{buildroot}%{_datadir}/locale/pt_BR/LC_MESSAGES/sys_string.mo
+cp pt_PT.mo %{buildroot}%{_datadir}/locale/pt_PT/LC_MESSAGES/sys_string.mo
+cp ro.mo %{buildroot}%{_datadir}/locale/ro/LC_MESSAGES/sys_string.mo
+cp ru_RU.mo %{buildroot}%{_datadir}/locale/ru_RU/LC_MESSAGES/sys_string.mo
+cp sk.mo %{buildroot}%{_datadir}/locale/sk/LC_MESSAGES/sys_string.mo
+cp sl.mo %{buildroot}%{_datadir}/locale/sl/LC_MESSAGES/sys_string.mo
+cp sr.mo %{buildroot}%{_datadir}/locale/sr/LC_MESSAGES/sys_string.mo
+cp sv.mo %{buildroot}%{_datadir}/locale/sv/LC_MESSAGES/sys_string.mo
+cp tr_TR.mo %{buildroot}%{_datadir}/locale/tr_TR/LC_MESSAGES/sys_string.mo
+cp uk.mo %{buildroot}%{_datadir}/locale/uk/LC_MESSAGES/sys_string.mo
+cp uz.mo %{buildroot}%{_datadir}/locale/uz/LC_MESSAGES/sys_string.mo
+cp zh_CN.mo %{buildroot}%{_datadir}/locale/zh_CN/LC_MESSAGES/sys_string.mo
+cp zh_HK.mo %{buildroot}%{_datadir}/locale/zh_HK/LC_MESSAGES/sys_string.mo
+cp zh_SG.mo %{buildroot}%{_datadir}/locale/zh_SG/LC_MESSAGES/sys_string.mo
+cp zh_TW.mo %{buildroot}%{_datadir}/locale/zh_TW/LC_MESSAGES/sys_string.mo
+
+%files
+%defattr(-,root,root,-)
+%{_datadir}/locale/*/LC_MESSAGES/*
--- /dev/null
+Name: sysfsutils
+Summary: System Utilities Package / Libsysfs
+License: LGPL-2.1+
+Group: System/Libraries
+Version: 2.1.0
+Release: 0
+Url: http://linux-diag.sourceforge.net
+Source: http://aleron.dl.sourceforge.net/sourceforge/linux-diag/%{name}-%{version}.tar.gz
+Source2: baselibs.conf
+Provides: libsysfs
+
+%description
+This package's purpose is to provide a library for interfacing with the
+kernel's sys filesystem mounted at /sys. The library was an attempt to
+create a stable interface to sysfs, but it failed. It is still provided
+for the current users, but no new software should use this library.
+
+%package devel
+Summary: Development files for libsysfs
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+
+%description devel
+Libsysfs' purpose is to provide a library for interfacing with the
+kernel's sys filesystem mounted at /sys. The library was an attempt to
+create a stable interface to sysfs, but it failed. It is still provided
+for the current users, but no new software should use this library.
+
+This package contains the development files for libsysfs.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static --with-pic
+%{__make} %{?_smp_mflags}
+
+%install
+%make_install
+# don't install the tools
+rm -f %{buildroot}/%{_bindir}/dlist_test
+rm -f %{buildroot}/%{_bindir}/get_device
+rm -f %{buildroot}/%{_bindir}/get_driver
+rm -f %{buildroot}/%{_bindir}/get_module
+rm -f %{buildroot}/%{_bindir}/testlibsysfs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%defattr(-,root,root)
+/usr/bin/systool
+%{_mandir}/man1/systool.1.gz
+%{_libdir}/libsysfs.so.*
+%doc README
+
+%files devel
+%defattr(-,root,root)
+%dir %{_includedir}/sysfs
+%{_includedir}/sysfs/libsysfs.h
+%{_includedir}/sysfs/dlist.h
+%{_libdir}/libsysfs.so
+
+%changelog
--- /dev/null
+# -*- rpm -*-
+Name: syslinux
+Version: 4.05
+Release: 1
+License: GPL-2.0
+Summary: Kernel loader which uses a FAT, ext2/3 or iso9660 filesystem or a PXE network
+Url: http://syslinux.zytor.com/
+Group: System/Boot
+Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.xz
+Source1: syslinux-rpmlintrc
+BuildRequires: libext2fs-devel
+BuildRequires: libuuid-devel
+BuildRequires: nasm >= 0.98.39
+BuildRequires: perl
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+ExclusiveArch: %{ix86} x86_64
+
+
+Autoreq: 0
+%ifarch x86_64
+Requires: mtools
+%define my_cc gcc
+%else
+Requires: libc.so.6
+Requires: mtools
+%define my_cc gcc -m32
+%endif
+
+# NOTE: extlinux belongs in /sbin, not in /usr/sbin, since it is typically
+# a system bootloader, and may be necessary for system recovery.
+%define _sbindir /sbin
+
+%description
+SYSLINUX is a suite of bootloaders, currently supporting DOS FAT
+filesystems, Linux ext2/ext3 filesystems (EXTLINUX), PXE network boots
+(PXELINUX), or ISO 9660 CD-ROMs (ISOLINUX). It also includes a tool,
+MEMDISK, which loads legacy operating systems from these media.
+
+%package devel
+Summary: Development environment for SYSLINUX add-on modules
+Group: Development/Libraries
+Requires: syslinux
+
+%description devel
+The SYSLINUX boot loader contains an API, called COM32, for writing
+sophisticated add-on modules. This package contains the libraries
+necessary to compile such modules.
+
+%package extlinux
+Summary: The EXTLINUX bootloader, for booting the local system
+Group: System/Boot
+Requires: syslinux
+
+%description extlinux
+The EXTLINUX bootloader, for booting the local system, as well as all
+the SYSLINUX/PXELINUX modules in /boot.
+
+%package tftpboot
+Summary: SYSLINUX modules in /var/lib/tftpboot, available for network booting
+Group: Applications/Internet
+Requires: syslinux
+
+%description tftpboot
+All the SYSLINUX/PXELINUX modules directly available for network
+booting in the /var/lib/tftpboot directory.
+
+%prep
+%setup -q -n syslinux-%{version}
+
+
+%build
+make CC='%{my_cc}' clean
+make CC='%{my_cc}' installer
+make CC='%{my_cc}' -C sample tidy
+
+%install
+make CC='%{my_cc}' install-all \
+ INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_sbindir} \
+ LIBDIR=%{_libdir} DATADIR=%{_datadir} \
+ MANDIR=%{_mandir} INCDIR=%{_includedir} \
+ TFTPBOOT=/var/lib/tftpboot EXTLINUXDIR=/boot/extlinux
+make CC='%{my_cc}' -C sample tidy
+
+%files
+%defattr(-,root,root)
+%{_bindir}/*
+%dir %{_datadir}/syslinux
+%{_datadir}/syslinux/*.com
+%{_datadir}/syslinux/*.exe
+%{_datadir}/syslinux/*.c32
+%{_datadir}/syslinux/*.bin
+%{_datadir}/syslinux/*.0
+%{_datadir}/syslinux/memdisk
+%{_datadir}/syslinux/dosutil
+
+%files devel
+%defattr(-,root,root)
+%doc COPYING NEWS README doc/*
+%doc sample
+%doc %{_mandir}/man*/*
+%{_datadir}/syslinux/com32
+%{_datadir}/syslinux/diag
+
+%files extlinux
+%defattr(-,root,root)
+%{_sbindir}/extlinux
+/boot/extlinux
+
+%files tftpboot
+%defattr(-,root,root)
+%{_localstatedir}/lib/tftpboot
+
+%post extlinux
+# If we have a /boot/extlinux.conf file, assume extlinux is our bootloader
+# and update it.
+if [ -f /boot/extlinux/extlinux.conf ]; then \
+ ln -sf /boot/extlinux/extlinux.conf /etc/extlinux.conf; \
+ extlinux --update /boot/extlinux ; \
+elif [ -f /boot/extlinux.conf ]; then \
+ mkdir -p /boot/extlinux && \
+ mv /boot/extlinux.conf /boot/extlinux/extlinux.conf && \
+ extlinux --update /boot/extlinux ; \
+fi
--- /dev/null
+Name: syspopup
+Summary: syspopup package
+Version: 0.0.92
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: syspopup-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(appcore-efl)
+
+
+%description
+syspopup package for popup
+
+
+%package devel
+Summary: syspopup development package
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+syspopup development package popup
+
+%package caller
+Summary: syspopup-caller package
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description caller
+syspopup-caller package for popup
+
+%package caller-devel
+Summary: syspopup-caller development package
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+
+%description caller-devel
+syspopup-caller development package for popup
+
+
+%prep
+%setup -q
+
+%build
+%cmake . -DEXTRA_CFLAGS=-fPIC
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/opt/dbspace
+sqlite3 %{buildroot}/opt/dbspace/.syspopup.db < %{buildroot}/usr/share/syspopup/syspopup_db.sql
+rm -rf %{buildroot}/usr/share/syspopup/syspopup_db.sql
+
+touch %{buildroot}%{_datadir}/popup_noti_term
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%post caller -p /sbin/ldconfig
+
+%postun caller -p /sbin/ldconfig
+
+%files
+%manifest syspopup.manifest
+%defattr(-,root,root,-)
+%{_datadir}/icons/default/small/org.tizen.syspopup-app.png
+%{_bindir}/sp_test
+%{_bindir}/syspopup-app
+%{_libdir}/libsyspopup.so.0.1.0
+/usr/share/packages/org.tizen.syspopup-app.xml
+%{_datadir}/popup_noti_term
+
+%attr(644,root,app) /opt/dbspace/.syspopup.db
+%attr(644,root,app) /opt/dbspace/.syspopup.db-journal
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/SLP_SYSPOPUP_PG.h
+%{_includedir}/syspopup.h
+%{_libdir}/libsyspopup.so
+%{_libdir}/pkgconfig/syspopup.pc
+
+%files caller
+%manifest syspopup-caller.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libsyspopup_caller.so.0.1.0
+
+%files caller-devel
+%defattr(-,root,root,-)
+%{_libdir}/libsyspopup_caller.so
+%{_includedir}/syspopup_caller.h
+%{_libdir}/pkgconfig/syspopup-caller.pc
+
+%changelog
+* Fri Apr 12 2013 - Hyungdeuk Kim <hd3.kim@samsung.com>
+- Remove drm syspopup requested by hakjoo.ko
+
+* Tue Apr 2 2013 - Hyugdeuk Kim <hd3.kim@samsung.com>
+- Add syspopup_reset_timeout api
--- /dev/null
+# spec file for package sysprof, based on one from SUSE
+#
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 Intel Corporation
+#
+# 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.
+
+# norootforbuild
+
+%define enable_gui 0
+
+Name: sysprof
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: binutils-devel
+BuildRequires: glib2-devel
+%if 0%{?enable_gui}
+BuildRequires: gtk2-devel
+BuildRequires: libgladeui-devel
+%endif
+ExclusiveArch: %ix86 x86_64
+Summary: Sampling CPU profiler
+Version: 1.2.0
+Release: 0
+License: GPL v2 or later
+Group: Development/Tools/Debuggers
+Url: http://sysprof.com/
+Source: sysprof-%version.tar.bz2
+Recommends: sysprof-cli
+
+%description
+Sysprof is a sampling CPU profiler for Linux.
+
+%package cli
+Summary: Sampling CPU profiler (CLI)
+
+%description cli
+Sysprof is a sampling CPU profiler for Linux.
+This package contains the command-line data-collection part only.
+
+%prep
+%setup -q -n sysprof-%version
+
+%build
+NOCONFIGURE=1 ./autogen.sh
+%configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+# unnecessary, sysprof now uses the standard kernel interface for profiling
+# (since 1.1; compare with Debian patches)
+rm -r $RPM_BUILD_ROOT/etc/udev/rules.d
+%if 0%{?enable_gui}
+# keep the icons and Glade files
+%else
+rm $RPM_BUILD_ROOT%{_datadir}/pixmaps/*.png
+rm $RPM_BUILD_ROOT%{_datadir}/sysprof/sysprof.glade
+rmdir $RPM_BUILD_ROOT%{_datadir}/sysprof
+rmdir $RPM_BUILD_ROOT%{_datadir}/pixmaps
+rmdir $RPM_BUILD_ROOT%{_datadir}
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if 0%{?enable_gui}
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/sysprof
+%dir %{_datadir}/sysprof
+%{_datadir}/applications/sysprof.desktop
+%{_datadir}/sysprof/sysprof.glade
+%{_datadir}/pixmaps/*.png
+%endif
+
+%files cli
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/sysprof-cli
--- /dev/null
+Name: capi-system-info
+Summary: A System Information library in SLP C API
+Version: 0.1.14
+Release: 0
+Group: System/API
+License: Apache-2.0 and IEFT RFC Collection
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-media-sound-manager)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xi)
+BuildRequires: pkgconfig(xrandr)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(haptic)
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(nfc)
+BuildRequires: pkgconfig(location)
+BuildRequires: pkgconfig(bluetooth-api)
+BuildRequires: pkgconfig(mm-radio)
+BuildRequires: pkgconfig(sensor)
+BuildRequires: pkgconfig(gles11)
+BuildRequires: pkgconfig(libxml-2.0)
+
+%description
+A System Information library in SLP C API
+
+
+%package devel
+Summary: A System Information library in SLP C API (Development)
+Group: Development/System
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+mkdir -p %{buildroot}/etc
+cp -f script/make_info_file.sh %{buildroot}/etc/make_info_file.sh
+
+mkdir -p %{buildroot}/etc/config
+cp -f configuration/sys-info.xml %{buildroot}/etc/config/sys-info.xml
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2 LICENSE.RFC4122
+%{_libdir}/libcapi-system-info.so.*
+%attr(0744,root,-) /etc/make_info_file.sh
+/etc/config/sys-info.xml
+%manifest system-info.manifest
+
+%files devel
+%{_includedir}/system/system_info.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-system-info.so
--- /dev/null
+Name: system-popup
+Summary: system-popup application (poweroff popup,sysevent-alert)
+Version: 0.1.16
+Release: 2
+Group: framework/system
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.bz2
+Source1001: org.tizen.poweroff-syspopup.manifest
+Source1002: org.tizen.lowmem-syspopup.manifest
+Source1003: org.tizen.lowbat-syspopup.manifest
+Source1004: org.tizen.mmc-syspopup.manifest
+Source1005: org.tizen.usb-syspopup.manifest
+Source1006: org.tizen.usbotg-syspopup.manifest
+Source1007: org.tizen.poweroff-syspopup.rule
+Source1008: org.tizen.lowmem-syspopup.rule
+Source1009: org.tizen.lowbat-syspopup.rule
+Source1010: org.tizen.mmc-syspopup.rule
+Source1011: org.tizen.usb-syspopup.rule
+Source1012: org.tizen.usbotg-syspopup.rule
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(ethumb)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(efreet)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(sensor)
+BuildRequires: pkgconfig(devman_haptic)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(syspopup)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(svi)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: cmake
+BuildRequires: edje-bin
+BuildRequires: embryo-bin
+BuildRequires: gettext-devel
+
+%description
+system-popup application (poweroff popup,sysevent-alert).
+
+
+%package -n org.tizen.poweroff-syspopup
+Summary: system-popup application (poweroff popup,sysevent-alert)
+Group: main
+Requires: %{name} = %{version}-%{release}
+
+%description -n org.tizen.poweroff-syspopup
+system-popup application (poweroff popup,sysevent-alert).
+
+%package -n org.tizen.lowmem-syspopup
+Summary: system-popup application (lowbatt popup)
+Group: main
+Requires: %{name} = %{version}-%{release}
+
+%description -n org.tizen.lowmem-syspopup
+system-popup application (lowbatt popup).
+
+%package -n org.tizen.lowbat-syspopup
+Summary: system-popup application (lowmem popup)
+Group: main
+Requires: %{name} = %{version}-%{release}
+
+%description -n org.tizen.lowbat-syspopup
+system-popup application (lowmem popup).
+
+%package -n org.tizen.mmc-syspopup
+Summary: system-popup application (mmc popup)
+Group: main
+Requires: %{name} = %{version}-%{release}
+
+%description -n org.tizen.mmc-syspopup
+system-popup application (mmc popup).
+
+%package -n org.tizen.usb-syspopup
+Summary: system-popup application (usb popup)
+Group: main
+Requires: %{name} = %{version}-%{release}
+
+%description -n org.tizen.usb-syspopup
+system-popup application (usb popup).
+
+%package -n org.tizen.usbotg-syspopup
+Summary: system-popup application (usb otg popup)
+Group: main
+Requires: %{name} = %{version}-%{release}
+
+%description -n org.tizen.usbotg-syspopup
+system-popup application (usb otg popup).
+
+%prep
+%setup -q
+
+
+%build
+cp %{SOURCE1001} .
+cp %{SOURCE1002} .
+cp %{SOURCE1003} .
+cp %{SOURCE1004} .
+cp %{SOURCE1005} .
+cp %{SOURCE1006} .
+cp %{SOURCE1007} .
+cp %{SOURCE1008} .
+cp %{SOURCE1009} .
+cp %{SOURCE1010} .
+cp %{SOURCE1011} .
+cp %{SOURCE1012} .
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+vconftool set -t int db/setting/select_popup_btn "0" -u 5000 -f
+
+%files
+%defattr(-,root,root,-)
+
+
+%files -n org.tizen.poweroff-syspopup
+%manifest org.tizen.poweroff-syspopup.manifest
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.poweroff-syspopup/bin/poweroff-popup
+/usr/apps/org.tizen.poweroff-syspopup/res/edje/poweroff/poweroff.edj
+/usr/apps/org.tizen.poweroff-syspopup/res/icon/org.tizen.poweroff-syspopup.png
+/usr/share/packages/org.tizen.poweroff-syspopup.xml
+/usr/share/process-info/poweroff-popup.ini
+/usr/apps/org.tizen.poweroff-syspopup/res/locale/*/LC_MESSAGES/*.mo
+/opt/etc/smack/accesses.d/org.tizen.poweroff-syspopup.rule
+
+%files -n org.tizen.lowmem-syspopup
+%manifest org.tizen.lowmem-syspopup.manifest
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.lowmem-syspopup/bin/lowmem-popup
+/usr/apps/org.tizen.lowmem-syspopup/res/keysound/02_Warning.wav
+/usr/apps/org.tizen.lowmem-syspopup/res/edje/lowmem/lowmem.edj
+/usr/apps/org.tizen.lowmem-syspopup/res/icon/org.tizen.lowmem-syspopup.png
+/usr/share/packages/org.tizen.lowmem-syspopup.xml
+/usr/share/process-info/lowmem-popup.ini
+/usr/apps/org.tizen.lowmem-syspopup/res/locale/*/LC_MESSAGES/*.mo
+/opt/etc/smack/accesses.d/org.tizen.lowmem-syspopup.rule
+
+%files -n org.tizen.lowbat-syspopup
+%manifest org.tizen.lowbat-syspopup.manifest
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.lowbat-syspopup/bin/lowbatt-popup
+/usr/apps/org.tizen.lowbat-syspopup/res/edje/lowbatt/lowbatt.edj
+/usr/apps/org.tizen.lowbat-syspopup/res/locale/*/LC_MESSAGES/*.mo
+/usr/apps/org.tizen.lowbat-syspopup/res/icon/org.tizen.lowbat-syspopup.png
+/usr/share/packages/org.tizen.lowbat-syspopup.xml
+/usr/share/process-info/lowbatt-popup.ini
+/opt/etc/smack/accesses.d/org.tizen.lowbat-syspopup.rule
+
+%files -n org.tizen.mmc-syspopup
+%manifest org.tizen.mmc-syspopup.manifest
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.mmc-syspopup/bin/mmc-popup
+/usr/share/packages/org.tizen.mmc-syspopup.xml
+/usr/share/process-info/mmc-popup.ini
+/usr/apps/org.tizen.mmc-syspopup/res/locale/*/LC_MESSAGES/*.mo
+/opt/etc/smack/accesses.d/org.tizen.mmc-syspopup.rule
+
+%files -n org.tizen.usb-syspopup
+%manifest org.tizen.usb-syspopup.manifest
+%defattr(440,root,root,-)
+%attr(555,app,app) /usr/apps/org.tizen.usb-syspopup/bin/usb-syspopup
+%attr(440,app,app) /usr/apps/org.tizen.usb-syspopup/res/locale/*/LC_MESSAGES/usb-syspopup.mo
+/usr/share/packages/org.tizen.usb-syspopup.xml
+/opt/etc/smack/accesses.d/org.tizen.usb-syspopup.rule
+
+%files -n org.tizen.usbotg-syspopup
+%manifest org.tizen.usbotg-syspopup.manifest
+%defattr(440,root,root,-)
+%attr(555,app,app) /usr/apps/org.tizen.usbotg-syspopup/bin/usbotg-syspopup
+/usr/share/packages/org.tizen.usbotg-syspopup.xml
+/opt/etc/smack/accesses.d/org.tizen.usbotg-syspopup.rule
--- /dev/null
+#sbs-git:slp/pkgs/s/system-server system-server 0.1.51 56e16bca39f96d6c8aed9ed3df2fea9b393801be
+Name: system-server
+Summary: System server
+Version: 0.1.65
+Release: 6
+Group: Framework/system
+License: Apache License, Version 2.0
+Source0: system-server-%{version}.tar.gz
+Source1: system-server.service
+Source2: system-server.manifest
+BuildRequires: cmake
+BuildRequires: libattr-devel
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(edbus)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(svi)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(usbutils)
+BuildRequires: pkgconfig(device-node)
+BuildRequires: gettext
+Requires(preun): /usr/bin/systemctl
+Requires(post): /usr/bin/systemctl
+Requires(post): /usr/bin/vconftool
+Requires(postun): /usr/bin/systemctl
+
+%description
+Description: System server
+
+%prep
+%setup -q
+%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+%build
+cp %{SOURCE2} .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
+ln -s %{_sysconfdir}/init.d/system_server.sh %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S35system-server
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/
+ln -s %{_sysconfdir}/init.d/system_server.sh %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S00system-server
+
+mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
+install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/system-server.service
+ln -s ../system-server.service %{buildroot}%{_unitdir}/multi-user.target.wants/system-server.service
+
+%post
+
+vconftool set -t int memory/sysman/usbhost_status -1 -i
+vconftool set -t int memory/sysman/mmc -1 -i
+vconftool set -t int memory/sysman/earjack_key 0 -i
+vconftool set -t int memory/sysman/added_usb_storage 0 -i
+vconftool set -t int memory/sysman/removed_usb_storage 0 -i
+vconftool set -t int memory/sysman/charger_status -1 -i
+vconftool set -t int memory/sysman/charge_now -1 -i
+vconftool set -t int memory/sysman/battery_status_low -1 -i
+vconftool set -t int memory/sysman/battery_capacity -1 -i
+vconftool set -t int memory/sysman/usb_status -1 -i
+vconftool set -t int memory/sysman/earjack -1 -i
+vconftool set -t int memory/sysman/low_memory 1 -i
+vconftool set -t int memory/sysman/sliding_keyboard -1 -i
+vconftool set -t int memory/sysman/mmc_mount -1 -i
+vconftool set -t int memory/sysman/mmc_unmount -1 -i
+vconftool set -t int memory/sysman/mmc_format -1 -i
+vconftool set -t int memory/sysman/mmc_format_progress 0 -i
+vconftool set -t int memory/sysman/mmc_err_status 0 -i
+vconftool set -t int memory/sysman/power_off 0 -u 5000 -i -f
+vconftool set -t int memory/sysman/battery_level_status -1 -i
+vconftool set -t string memory/private/sysman/added_storage_uevent "" -i
+vconftool set -t string memory/private/sysman/removed_storage_uevent "" -u 5000 -i
+
+vconftool set -t int memory/sysman/hdmi 0 -i
+
+vconftool set -t int memory/sysman/stime_changed 0 -i
+
+#db type vconf key init
+vconftool set -t int db/sysman/mmc_dev_changed 0 -i
+
+heynotitool set power_off_start
+
+heynotitool set mmcblk_add
+heynotitool set mmcblk_remove
+
+heynotitool set device_usb_chgdet
+heynotitool set device_ta_chgdet
+heynotitool set device_earjack_chgdet
+heynotitool set device_earkey_chgdet
+heynotitool set device_tvout_chgdet
+heynotitool set device_hdmi_chgdet
+heynotitool set device_charge_chgdet
+heynotitool set device_keyboard_chgdet
+heynotitool set device_usb_host_add
+heynotitool set device_usb_host_remove
+heynotitool set device_pci_keyboard_add
+heynotitool set device_pci_keyboard_remove
+
+
+mkdir -p /etc/udev/rules.d
+if ! [ -L /etc/udev/rules.d/91-system-server.rules ]; then
+ ln -s %{_datadir}/system-server/udev-rules/91-system-server.rules /etc/udev/rules.d/91-system-server.rules
+fi
+
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ systemctl restart system-server.service
+fi
+
+%preun
+if [ $1 == 0 ]; then
+ systemctl stop system-server.service
+fi
+
+%postun
+systemctl daemon-reload
+
+
+%files
+%manifest system-server.manifest
+%config %{_sysconfdir}/dbus-1/system.d/system-server.conf
+%{_sysconfdir}/rc.d/init.d/system_server.sh
+%{_sysconfdir}/rc.d/rc3.d/S35system-server
+%{_sysconfdir}/rc.d/rc5.d/S00system-server
+%{_bindir}/system_server
+/opt/etc/smack/accesses.d/system-server.rule
+%if 0%{?simulator}
+%exclude %{_bindir}/restart
+%else
+%{_bindir}/restart
+%endif
+%{_bindir}/movi_format.sh
+%{_bindir}/sys_event
+%{_bindir}/sys_device_noti
+%{_bindir}/sys_pci_noti
+%{_unitdir}/multi-user.target.wants/system-server.service
+%{_unitdir}/system-server.service
+%{_datadir}/system-server/sys_device_noti/batt_full_icon.png
+%{_datadir}/system-server/udev-rules/91-system-server.rules
+%{_datadir}/system-server/sys_device_noti/res/locale/*/LC_MESSAGES/*.mo
+%{_datadir}/system-server/sys_pci_noti/res/locale/*/LC_MESSAGES/*.mo
--- /dev/null
+Name: capi-system-system-settings
+Summary: A System Settings library in Tizen Native API
+Version: 0.0.2
+Release: 3
+Group: System/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(fontconfig)
+BuildRequires: pkgconfig(libxml-2.0)
+
+%description
+A System Settings library in Tizen Native API.
+
+
+%package devel
+Summary: A System Settings library in Tizen Native API (Development)
+Group: Development/System
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(capi-base-common)
+
+%description devel
+%devel_desc
+
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2
+%manifest system-settings.manifest
+%{_libdir}/lib*.so.*
+/usr/bin/test_system_settings_gui
+
+%files devel
+%{_includedir}/system/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/lib*.so
--- /dev/null
+Name: systemd
+Version: 204
+Release: 0
+# For a breakdown of the licensing, see README
+License: LGPL-2.0+ and MIT and GPL-2.0+
+Summary: A System and Service Manager
+Url: http://www.freedesktop.org/wiki/Software/systemd
+Group: Base/Startup
+Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
+BuildRequires: gperf
+BuildRequires: hwdata
+BuildRequires: intltool >= 0.40.0
+BuildRequires: libacl-devel
+BuildRequires: libblkid-devel >= 2.20
+BuildRequires: libcap-devel
+BuildRequires: libgcrypt-devel
+BuildRequires: libkmod-devel >= 5
+BuildRequires: libxslt
+BuildRequires: pam-devel
+BuildRequires: pkgconfig
+BuildRequires: usbutils >= 0.82
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(liblzma)
+BuildRequires: pkgconfig(libpci)
+BuildRequires: attr-devel
+Requires: dbus
+Requires: filesystem
+Requires: hwdata
+Requires(post): coreutils
+Requires(post): gawk
+Requires(pre): coreutils
+Requires(pre): /usr/bin/getent
+Requires(pre): /usr/sbin/groupadd
+
+Obsoletes: SysVinit < 2.86-24
+Obsoletes: sysvinit < 2.86-24
+Provides: SysVinit = 2.86-24
+Provides: sysvinit = 2.86-24
+Provides: /bin/systemctl
+Provides: /sbin/shutdown
+Provides: udev = %{version}
+Obsoletes: udev < 183
+
+%description
+systemd is a system and service manager for Linux, compatible with
+SysV and LSB init scripts. systemd provides aggressive parallelization
+capabilities, uses socket and D-Bus activation for starting services,
+offers on-demand starting of daemons, keeps track of processes using
+Linux cgroups, supports snapshotting and restoring of the system
+state, maintains mount and automount points and implements an
+elaborate transactional dependency-based service control logic. It can
+work as a drop-in replacement for sysvinit.
+
+%package -n libsystemd
+License: LGPL-2.0+ and MIT
+Summary: Systemd libraries
+Group: Base/Startup
+Obsoletes: libudev < 183
+Obsoletes: systemd < 185-4
+Conflicts: systemd < 185-4
+
+%description -n libsystemd
+Libraries for systemd and udev, as well as the systemd PAM module.
+
+%package devel
+License: LGPL-2.0+ and MIT
+Summary: Development headers for systemd
+Requires: %{name} = %{version}
+Provides: libudev-devel = %{version}
+Obsoletes: libudev-devel < 183
+
+%description devel
+Development headers and auxiliary files for developing applications for systemd.
+
+%package analyze
+License: LGPL-2.0+
+Summary: Tool for processing systemd profiling information
+Requires: %{name} = %{version}
+Obsoletes: systemd < 38-5
+
+%description analyze
+'systemd-analyze blame' lists which systemd unit needed how much time to finish
+initialization at boot.
+'systemd-analyze plot' renders an SVG visualizing the parallel start of units
+at boot.
+
+%package -n libgudev
+License: LGPL-2.0+
+Summary: Libraries for adding libudev support to applications that use glib
+Requires: %{name} = %{version}
+
+%description -n libgudev
+This package contains the libraries that make it easier to use libudev
+functionality from applications that use glib.
+
+%package -n libgudev-devel
+License: LGPL-2.0+
+Summary: Header files for adding libudev support to applications that use glib
+Requires: libgudev = %{version}
+
+%description -n libgudev-devel
+This package contains the header and pkg-config files for developing
+glib-based applications using libudev functionality.
+
+%prep
+%setup -q
+
+%build
+%autogen
+%configure \
+ --enable-bootchart \
+ --libexecdir=%{_prefix}/lib \
+ --docdir=%{_docdir}/systemd \
+ --disable-static \
+ --with-sysvinit-path= \
+ --with-sysvrcnd-path=
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+# udev links
+/usr/bin/mkdir -p %{buildroot}/%{_sbindir}
+/usr/bin/ln -sf ../bin/udevadm %{buildroot}%{_sbindir}/udevadm
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/firmware/updates
+
+# Create SysV compatibility symlinks. systemctl/systemd are smart
+# enough to detect in which way they are called.
+/usr/bin/ln -s ../lib/systemd/systemd %{buildroot}%{_sbindir}/init
+/usr/bin/ln -s ../lib/systemd/systemd %{buildroot}%{_bindir}/systemd
+/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/reboot
+/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/halt
+/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/poweroff
+/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/shutdown
+/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/telinit
+/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/runlevel
+
+# legacy links
+/usr/bin/ln -s 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.
+/usr/bin/rm -r %{buildroot}%{_sysconfdir}/systemd/system/*.target.wants
+
+# Make sure the ghost-ing below works
+/usr/bin/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel2.target
+/usr/bin/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel3.target
+/usr/bin/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel4.target
+/usr/bin/touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel5.target
+
+# Make sure these directories are properly owned
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/basic.target.wants
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/default.target.wants
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/dbus.target.wants
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/syslog.target.wants
+
+# Make sure the user generators dir exists too
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-generators
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/user-generators
+
+# Create new-style configuration files so that we can ghost-own them
+/usr/bin/touch %{buildroot}%{_sysconfdir}/hostname
+/usr/bin/touch %{buildroot}%{_sysconfdir}/vconsole.conf
+/usr/bin/touch %{buildroot}%{_sysconfdir}/locale.conf
+/usr/bin/touch %{buildroot}%{_sysconfdir}/machine-id
+/usr/bin/touch %{buildroot}%{_sysconfdir}/machine-info
+/usr/bin/touch %{buildroot}%{_sysconfdir}/timezone
+/usr/bin/mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
+/usr/bin/touch %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/00-keyboard.conf
+
+# Install Fedora default preset policy
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-preset/
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/user-preset/
+
+# Make sure the shutdown/sleep drop-in dirs exist
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-shutdown/
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-sleep/
+
+# Make sure the NTP units dir exists
+/usr/bin/mkdir -p %{buildroot}%{_prefix}/lib/systemd/ntp-units.d/
+
+# Install modprobe fragment
+/usr/bin/mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d/
+
+# Enable readahead services
+/usr/bin/ln -s ../systemd-readahead-collect.service %{buildroot}%{_prefix}/lib/systemd/system/default.target.wants/
+/usr/bin/ln -s ../systemd-readahead-replay.service %{buildroot}%{_prefix}/lib/systemd/system/default.target.wants/
+
+# Fix the dangling /var/lock -> /run/lock symlink
+install -Dm644 tmpfiles.d/legacy.conf %{buildroot}%{_prefix}/lib/tmpfiles.d/legacy.conf
+
+rm -rf %{buildroot}/%{_prefix}/lib/systemd/user/default.target
+
+
+rm -rf %{buildroot}/%{_docdir}/%{name}
+%pre
+/usr/bin/getent group cdrom >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 11 cdrom >/dev/null 2>&1 || :
+/usr/bin/getent group tape >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 33 tape >/dev/null 2>&1 || :
+/usr/bin/getent group dialout >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 18 dialout >/dev/null 2>&1 || :
+/usr/bin/getent group floppy >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 19 floppy >/dev/null 2>&1 || :
+/usr/bin/systemctl stop systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udevd.service >/dev/null 2>&1 || :
+
+# Rename configuration files that changed their names
+/usr/bin/mv -n %{_sysconfdir}/systemd/systemd-logind.conf %{_sysconfdir}/systemd/logind.conf >/dev/null 2>&1 || :
+/usr/bin/mv -n %{_sysconfdir}/systemd/systemd-journald.conf %{_sysconfdir}/systemd/journald.conf >/dev/null 2>&1 || :
+
+%post
+/usr/bin/systemd-machine-id-setup > /dev/null 2>&1 || :
+/usr/lib/systemd/systemd-random-seed save > /dev/null 2>&1 || :
+/usr/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
+/usr/bin/systemctl start systemd-udevd.service >/dev/null 2>&1 || :
+
+%postun
+if [ $1 -ge 1 ] ; then
+ /usr/bin/systemctl daemon-reload > /dev/null 2>&1 || :
+ /usr/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
+fi
+
+%preun
+if [ $1 -eq 0 ] ; then
+ /usr/bin/systemctl disable \
+ getty@.service \
+ remote-fs.target \
+ systemd-readahead-replay.service \
+ systemd-readahead-collect.service >/dev/null 2>&1 || :
+
+ /usr/bin/rm -f /etc/systemd/system/default.target >/dev/null 2>&1 || :
+fi
+
+%post -n libsystemd -p /sbin/ldconfig
+%postun -n libsystemd -p /sbin/ldconfig
+
+%post -n libgudev -p /sbin/ldconfig
+%postun -n libgudev -p /sbin/ldconfig
+
+
+
+%files
+%{_sysconfdir}/systemd/bootchart.conf
+%{_bindir}/bootctl
+%{_bindir}/kernel-install
+%{_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
+%{_bindir}/hostnamectl
+%{_bindir}/localectl
+%{_bindir}/systemd-coredumpctl
+%{_bindir}/timedatectl
+%dir %{_sysconfdir}/systemd
+%dir %{_sysconfdir}/systemd/system
+%dir %{_sysconfdir}/systemd/user
+%dir %{_sysconfdir}/tmpfiles.d
+%dir %{_sysconfdir}/sysctl.d
+%dir %{_sysconfdir}/modules-load.d
+%dir %{_sysconfdir}/binfmt.d
+%{_datadir}/bash-completion/*
+%dir %{_sysconfdir}/udev
+%dir %{_sysconfdir}/udev/rules.d
+%dir %{_prefix}/lib/systemd
+%dir %{_prefix}/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 %{_prefix}/lib/tmpfiles.d
+%dir %{_prefix}/lib/sysctl.d
+%dir %{_prefix}/lib/modules-load.d
+%dir %{_prefix}/lib/binfmt.d
+%dir %{_prefix}/lib/firmware
+%dir %{_prefix}/lib/firmware/updates
+%dir %{_datadir}/systemd
+%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}/dbus-1/system.d/org.freedesktop.locale1.conf
+%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.timedate1.conf
+%config(noreplace) %{_sysconfdir}/systemd/system.conf
+%config(noreplace) %{_sysconfdir}/systemd/user.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
+%{_sysconfdir}/rpm/macros.systemd
+%{_sysconfdir}/xdg/systemd
+%ghost %config(noreplace) %{_sysconfdir}/hostname
+%ghost %config(noreplace) %{_sysconfdir}/vconsole.conf
+%ghost %config(noreplace) %{_sysconfdir}/locale.conf
+%ghost %config(noreplace) %{_sysconfdir}/machine-id
+%ghost %config(noreplace) %{_sysconfdir}/machine-info
+%ghost %config(noreplace) %{_sysconfdir}/timezone
+%ghost %config(noreplace) %{_sysconfdir}/X11/xorg.conf.d/00-keyboard.conf
+%{_bindir}/systemd
+%{_bindir}/systemctl
+%{_bindir}/systemd-notify
+%{_bindir}/systemd-ask-password
+%{_bindir}/systemd-tty-ask-password-agent
+%{_bindir}/systemd-machine-id-setup
+%{_bindir}/loginctl
+%{_bindir}/systemd-loginctl
+%{_bindir}/journalctl
+%{_bindir}/systemd-tmpfiles
+%{_bindir}/systemd-nspawn
+%{_bindir}/systemd-stdio-bridge
+%{_bindir}/systemd-cat
+%{_bindir}/systemd-cgls
+%{_bindir}/systemd-cgtop
+%{_bindir}/systemd-delta
+%{_bindir}/systemd-detect-virt
+%{_bindir}/systemd-inhibit
+%{_bindir}/udevadm
+%{_prefix}/lib/sysctl.d/*.conf
+%{_prefix}/lib/systemd/systemd
+%{_prefix}/lib/systemd/system
+
+%{_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-*
+%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/tmpfiles.d/systemd.conf
+%{_prefix}/lib/tmpfiles.d/x11.conf
+%{_prefix}/lib/tmpfiles.d/tmp.conf
+%{_prefix}/lib/tmpfiles.d/legacy.conf
+%{_sbindir}/init
+%{_sbindir}/reboot
+%{_sbindir}/halt
+%{_sbindir}/poweroff
+%{_sbindir}/shutdown
+%{_sbindir}/telinit
+%{_sbindir}/runlevel
+%{_sbindir}/udevadm
+%{_datadir}/systemd/kbd-model-map
+%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
+%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
+%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
+%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
+%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
+%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.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
+%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
+%{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
+%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
+%{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
+%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
+%{_datadir}/pkgconfig/systemd.pc
+%{_datadir}/pkgconfig/udev.pc
+
+# Make sure we don't remove runlevel targets from F14 alpha installs,
+# but make sure we don't create then anew.
+%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel2.target
+%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel3.target
+%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel4.target
+%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel5.target
+
+%files -n libsystemd
+%{_libdir}/security/pam_systemd.so
+%{_libdir}/libsystemd-daemon.so.*
+%{_libdir}/libsystemd-login.so.*
+%{_libdir}/libsystemd-journal.so.*
+%{_libdir}/libsystemd-id128.so.*
+%{_libdir}/libudev.so.*
+%{_libdir}/libnss_myhostname.so.2
+
+%files devel
+%{_libdir}/libsystemd-daemon.so
+%{_libdir}/libsystemd-login.so
+%{_libdir}/libsystemd-journal.so
+%{_libdir}/libsystemd-id128.so
+%{_libdir}/libudev.so
+%{_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}/libudev.h
+%{_libdir}/pkgconfig/libsystemd-daemon.pc
+%{_libdir}/pkgconfig/libsystemd-login.pc
+%{_libdir}/pkgconfig/libsystemd-journal.pc
+%{_libdir}/pkgconfig/libsystemd-id128.pc
+%{_libdir}/pkgconfig/libudev.pc
+
+
+%files analyze
+%{_bindir}/systemd-analyze
+
+%files -n libgudev
+%{_libdir}/libgudev-1.0.so.*
+
+%files -n libgudev-devel
+%{_libdir}/libgudev-1.0.so
+%dir %{_includedir}/gudev-1.0
+%dir %{_includedir}/gudev-1.0/gudev
+%{_includedir}/gudev-1.0/gudev/*.h
+%{_libdir}/pkgconfig/gudev-1.0*
+
--- /dev/null
+Name: tar
+Version: 1.26
+Release: 0
+Summary: GNU implementation of tar ((t)ape (ar)chiver)
+License: GPL-3.0+
+Group: System/Base
+Url: http://www.gnu.org/software/tar/
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: help2man
+Recommends: xz
+
+%description
+This package normally also includes the program "rmt", which provides
+remote tape drive control. Since there are compatible versions of 'rmt'
+in either the 'star' package or the 'dump' package, we didn't put 'rmt'
+into this package. If you are planning to use the remote tape features
+provided by tar you have to also install the 'dump' or the 'star'
+package.
+
+%prep
+%setup -q
+
+%build
+%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter
+export CFLAGS="%{optflags} %my_cflags"
+export RSH="/usr/bin/rsh"
+export DEFAULT_ARCHIVE_FORMAT="POSIX"
+%configure \
+ gl_cv_func_linkat_follow="yes" \
+ --disable-silent-rules \
+ --disable-nls
+make %{?_smp_mflags};
+
+%check
+%if !0%{?qemu_user_space_build:1}
+# Checks disabled in qemu because of races happening when we emulate
+# multi-threaded programs
+make check
+%endif
+
+%install
+%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
+install -d -m 755 %{buildroot}/%{_mandir}/man1
+help2man ./src/tar --name "The GNU version of the tar archiving utility" -p tar \
+ | gzip -c > %{buildroot}/%{_mandir}/man1/tar.1.gz
+rm -rf %{buildroot}%{_libexecdir}/rmt
+rm -f %{buildroot}%{_infodir}/dir
+
+
+%docs_package
+
+%files
+%defattr(-, root, root)
+%{_bindir}/tar
+%doc COPYING
+%{_mandir}/man1/tar.1.gz
+
+%changelog
--- /dev/null
+Name: org.tizen.taskmgr
+Summary: Task Manager
+Version: 0.14.5
+Release: 1
+Group: devel
+License: Flora Software License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(rua)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(ail)
+
+BuildRequires: cmake
+BuildRequires: edje-bin
+BuildRequires: embryo-bin
+BuildRequires: gettext-devel
+
+%description
+Task Manager.
+
+%prep
+%setup -q
+
+%build
+%define PREFIX "/usr/apps/org.tizen.taskmgr"
+%define RESDIR "/usr/apps/org.tizen.taskmgr/res"
+%define DATADIR "/opt/usr/apps/org.tizen.taskmgr/data"
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%manifest org.tizen.taskmgr.manifest
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.taskmgr/bin/*
+/usr/apps/org.tizen.taskmgr/res/*
+%attr(-,inhouse,inhouse)
+/opt/usr/apps/org.tizen.taskmgr/data
+/usr/share/packages/*
+/usr/share/icons/default/small/org.tizen.taskmgr.png
+/opt/etc/smack/accesses.d/org.tizen.taskmgr.rule
--- /dev/null
+Name: tcl
+Version: 8.5.11
+Release: 0
+License: SUSE-TCL
+Summary: The Tcl Programming Language
+Url: http://www.tcl.tk
+Group: Development/Languages/Tcl
+Source0: %{name}%{version}-src.tar.gz
+Source1: tcl-rpmlintrc
+Source2: baselibs.conf
+Source3: macros.tcl
+BuildRequires: autoconf
+Requires(pre): /usr/bin/rm
+Provides: tclsh
+Provides: tclsh%{TCL_MINOR}
+%define TCL_MINOR %(echo %{version} | cut -c1-3)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+Tcl (Tool Command Language) is a very powerful but easy to learn
+dynamic programming language, suitable for a very wide range of uses,
+including web and desktop applications, networking, administration,
+testing and many more. Open source and business-friendly, Tcl is a
+mature yet evolving language that is truly cross platform, easily
+deployed and highly extensible.
+
+For more information on Tcl see http://www.tcl.tk and
+http://wiki.tcl.tk .
+
+%package devel
+Summary: Header Files and C API Documentation for Tcl
+Group: Development/Libraries/Tcl
+Requires: tcl = %{version}
+
+%description devel
+This package contains header files and documentation needed for writing
+Tcl extensions in compiled languages like C, C++, etc., or for
+embedding the Tcl interpreter in programs written in such languages.
+
+This package is not needed for writing extensions or applications in
+the Tcl language itself.
+
+%prep
+%setup -q -n %{name}%{version}
+
+%build
+cd unix
+autoconf
+%configure \
+ --enable-man-symlinks \
+ --enable-man-compression=gzip
+%define scriptdir %{_libdir}/tcl
+MAKE='make %{?_smp_mflags}
+ TCL_LIBRARY="%scriptdir/tcl%TCL_MINOR"
+ TCL_PACKAGE_PATH="%{_libdir}/tcl %{_datadir}/tcl"
+ CFLAGS="%{optflags} $PFLAGS"
+ LDFLAGS_OPTIMIZE="%{optflags} $PFLAGS"
+ SHLIB_LD="gcc -shared %{optflags} $PFLAGS"'
+# Build with instrumentation for profiling
+PFLAGS="%{?cflags_profile_generate}"
+eval $MAKE
+# Some of the regressioin tests write to $HOME, so better redirect them
+#mkdir home
+#export HOME=$PWD/home
+# Run the testsuite to gather some data for the profile-based
+# optimisation and let rpmbuild fail on unexpected test failures.
+#cat > known-failures <<EOF
+#httpold-4.12
+#mathop-25.14
+#EOF
+#%ifnarch %arm
+#eval $MAKE test 2>&1 | tee testresults
+#grep FAILED testresults | grep -Fqvwf known-failures && exit 1
+#%endif
+# If we don't do profile based optimisation, we are done at this point.
+if test -n "$PFLAGS"; then
+ # Rebuild and use the profiling results
+ make clean
+ PFLAGS="%cflags_profile_feedback"
+ eval $MAKE
+fi
+
+%install
+make -C unix install install-private-headers \
+ INSTALL_ROOT=%{buildroot} \
+ TCL_LIBRARY="%scriptdir/tcl%TCL_MINOR"
+rm -f %{buildroot}%scriptdir/tcl%TCL_MINOR/ldAix
+ln -sf tclsh%TCL_MINOR %{buildroot}%{_bindir}/tclsh
+mkdir -p %{buildroot}%{_datadir}/tcl
+install -D %{SOURCE3} -m 644 %{buildroot}%{_sysconfdir}/rpm/macros.tcl
+
+%files
+%defattr(-,root,root,755)
+%doc README license.terms
+%doc %{_mandir}/man1/*
+%doc %{_mandir}/mann/*
+%{_bindir}/*
+%{_libdir}/lib*.so
+%{_datadir}/tcl
+%scriptdir
+%exclude %scriptdir/*/tclAppInit.c
+%config %{_sysconfdir}/rpm/macros.tcl
+
+%files devel
+%defattr(-,root,root)
+%doc %{_mandir}/man3/*
+%{_includedir}/*
+%scriptdir/*/tclAppInit.c
+%{_libdir}/*.a
+%{_libdir}/tclConfig.sh
+
+%changelog
--- /dev/null
+Name: tcpdump
+Version: 4.3.0
+Release: 0
+License: BSD-3-Clause
+Summary: A Packet Sniffer
+Url: http://www.tcpdump.org/
+Group: Productivity/Networking/Diagnostic
+Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
+BuildRequires: libpcap-devel
+#BuildRequires: libsmi-devel
+BuildRequires: openssl-devel
+
+%description
+This program can "read" all or only certain packets going over the
+ethernet. It can be used to debug specific network problems.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="%{optflags} -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing"
+%configure \
+ --enable-ipv6
+make
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc LICENSE README *.awk
+%doc %{_mandir}/man?/*
+%{_sbindir}/*
+
+%changelog
--- /dev/null
+Name: tdb
+Version: 1.2.10
+Release: 0
+Summary: Samba Trivial Database
+License: GPLv3.0+
+Group: System/Libraries
+Url: http://tdb.samba.org/
+Source: http://www.samba.org/ftp/tdb/tdb-%{version}.tar.gz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: autoconf
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(python)
+
+%description
+TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB
+except that it allows multiple simultaneous writers and uses locking
+internally to keep writers from trampling on each other. TDB is also extremely
+small.
+
+%package -n libtdb
+Summary: Libraries and Header Files to Develop Programs with tdb Support
+Group: System/Libraries
+Requires: pkg-config
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description -n libtdb
+TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB
+except that it allows multiple simultaneous writers and uses locking
+internally to keep writers from trampling on each other. TDB is also extremely
+small.
+
+This package contains the tdb library.
+%package -n libtdb-devel
+Summary: Libraries and Header Files to Develop Programs with tdb Support
+Group: Development/Libraries/C and C++
+Requires: libtdb = %{version}
+Requires: pkg-config
+
+%description -n libtdb-devel
+TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB
+except that it allows multiple simultaneous writers and uses locking
+internally to keep writers from trampling on each other. TDB is also extremely
+small.
+
+This package contains libraries and header files need for development.
+
+%package tools
+Summary: Tools to manipulate tdb files
+Group: Development/Libraries/C and C++
+
+%description tools
+TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB
+except that it allows multiple simultaneous writers and uses locking
+internally to keep writers from trampling on each other. TDB is also extremely
+small.
+
+This package contains tools to manage Tdb files.
+
+%package -n python-tdb
+Summary: Python bindings to Develop Programs with tdb Support
+
+%description -n python-tdb
+TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB
+except that it allows multiple simultaneous writers and uses locking
+internally to keep writers from trampling on each other. TDB is also extremely
+small.
+
+This package contains python language support.
+
+
+
+%prep
+%setup -n tdb-%{version} -q
+
+%build
+%configure
+#--disable-python
+
+%{__make} %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post -n libtdb -p /sbin/ldconfig
+
+%postun -n libtdb -p /sbin/ldconfig
+
+%files -n libtdb
+%defattr(-,root,root)
+%{_libdir}/libtdb.so.*
+
+%files -n libtdb-devel
+%defattr(-,root,root)
+%{_includedir}/tdb.h
+%{_libdir}/libtdb.so
+%{_libdir}/pkgconfig/tdb.pc
+
+%files tools
+%defattr(-,root,root)
+%{_bindir}/tdbbackup
+%{_bindir}/tdbdump
+%{_bindir}/tdbrestore
+%{_bindir}/tdbtool
+
+%files -n python-tdb
+%defattr(-,root,root)
+%{python_sitearch}/tdb.so
--- /dev/null
+Name: tel-plugin-at_standard
+Summary: Telephony standard AT Modem library
+Version: 0.1.1
+Release: 1
+Group: System/Libraries
+License: Apache
+Source0: tel-plugin-at_standard-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(tcore)
+
+%description
+Telephony standard AT Modem library
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%files
+%defattr(-,root,root,-)
+#%doc COPYING
+%{_libdir}/telephony/plugins/*
+/usr/share/license/tel-plugin-at_standard
--- /dev/null
+#sbs-git:slp/pkgs/t/tel-plugin-atmodem
+Name: tel-plugin-atmodem
+Summary: Telephony AT Modem library
+Version: 0.1.37
+Release: 1
+Group: System/Libraries
+License: Apache
+Source0: tel-plugin-atmodem-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(tcore)
+
+%description
+Telephony AT Modem library
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+mkdir -p /opt/dbspace
+
+if [ ! -f /opt/dbspace/.mcc_mnc_oper_list.db ]
+then
+ sqlite3 /opt/dbspace/.mcc_mnc_oper_list.db < /tmp/mcc_mnc_oper_list.sql
+fi
+
+rm -f /tmp/mcc_mnc_oper_list.sql
+
+if [ -f /opt/dbspace/.mcc_mnc_oper_list.db ]
+then
+chmod 600 /opt/dbspace/.mcc_mnc_oper_list.db
+fi
+
+if [ -f /opt/dbspace/.mcc_mnc_oper_list.db-journal ]
+then
+chmod 644 /opt/dbspace/.mcc_mnc_oper_list.db-journal
+fi
+
+%postun -p /sbin/ldconfig
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%files
+%manifest tel-plugin-atmodem.manifest
+%defattr(-,root,root,-)
+#%doc COPYING
+%{_libdir}/telephony/plugins/modems/atmodem-plugin*
+/tmp/mcc_mnc_oper_list.sql
+/usr/share/license/tel-plugin-atmodem
--- /dev/null
+Name: tel-plugin-database
+Summary: Telephony DataBase storage plugin
+Version: 0.1.7
+Release: 1
+Group: System/Libraries
+License: Apache
+Source0: tel-plugin-database-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(tcore)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(db-util)
+
+%description
+Telephony DataBase storage plugin
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/telephony/plugins/db-plugin*
+/usr/share/license/tel-plugin-database
--- /dev/null
+%define major 0
+%define minor 1
+%define patchlevel 215
+Name: tel-plugin-dbus_tapi
+Summary: dbus-tapi plugin for telephony
+Version: %{major}.%{minor}.%{patchlevel}
+Release: 1
+Group: System/Libraries
+License: Apache
+Source0: tel-plugin-dbus_tapi-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(gio-unix-2.0)
+BuildRequires: pkgconfig(tcore)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: python
+BuildRequires: python-xml
+
+%description
+dbus-tapi plugin for telephony
+
+%prep
+%setup -q
+
+%build
+versionint=$[%{major} * 1000000 + %{minor} * 1000 + %{patchlevel}]
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DVERSION=$versionint
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%files
+%defattr(-,root,root,-)
+#%doc COPYING
+%{_libdir}/telephony/plugins/*
+%{_prefix}/etc/dbus-1/system.d/*
+/usr/share/license/tel-plugin-dbus_tapi
--- /dev/null
+#sbs-git:slp/pkgs/t/tel-plugin-imc
+Name: tel-plugin-imc
+Summary: imc plugin for telephony
+Version: 0.1.38
+Release: 1
+Group: Development/Libraries
+License: Apache
+Source0: tel-plugin-imc-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun):/sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(tcore)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(libxml-2.0)
+
+%description
+IMC plugin for telephony
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+mkdir -p /opt/dbspace
+
+if [ ! -f /opt/dbspace/.mcc_mnc_oper_list.db ]
+then
+ sqlite3 /opt/dbspace/.mcc_mnc_oper_list.db < /tmp/mcc_mnc_oper_list.sql
+fi
+
+rm -f /tmp/mcc_mnc_oper_list.sql
+
+if [ -f /opt/dbspace/.mcc_mnc_oper_list.db ]
+then
+ chmod 600 /opt/dbspace/.mcc_mnc_oper_list.db
+fi
+if [ -f /opt/dbspace/.mcc_mnc_oper_list.db-journal ]
+then
+ chmod 644 /opt/dbspace/.mcc_mnc_oper_list.db-journal
+fi
+
+%postun -p /sbin/ldconfig
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%files
+
+%defattr(-,root,root,-)
+
+%{_libdir}/telephony/plugins/modems/*
+/tmp/mcc_mnc_oper_list.sql
+/usr/share/license/tel-plugin-imc
--- /dev/null
+Name: tel-plugin-imcmodem
+Summary: telephony plugin library for AT communication with IMC modem
+Version: 0.1.4
+Release: 1
+Group: System/Libraries
+License: Apache
+Source0: tel-plugin-imcmodem-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(tcore)
+
+%description
+imcmodem plugin for telephony
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%install
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%files
+%manifest tel-plugin-imcmodem.manifest
+%defattr(-,root,root,-)
+%{_libdir}/telephony/plugins/*
+/usr/share/license/tel-plugin-imcmodem
--- /dev/null
+Name: tel-plugin-indicator
+Summary: Telephony Indicator plugin
+Version: 0.1.7
+Release: 2
+Group: System/Libraries
+License: Apache
+Source0: tel-plugin-indicator-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(tcore)
+BuildRequires: pkgconfig(dlog)
+
+%description
+Telephony Indicator plugin
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%install
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%files
+%manifest tel-plugin-indicator.manifest
+%defattr(-,root,root,-)
+%{_libdir}/telephony/plugins/indicator-plugin*
+/usr/share/license/tel-plugin-indicator
--- /dev/null
+Name: tel-plugin-packetservice
+Summary: Telephony Packet Service library
+Version: 0.1.34
+Release: 1
+Group: System/Libraries
+License: Apache
+Source0: tel-plugin-packetservice-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(tcore)
+BuildRequires: pkgconfig(iniparser)
+
+%description
+Telephony Packet Service library
+
+%prep
+%setup -q
+
+%build
+%cmake . -DSYSCONFDIR=%{_sysconfdir}
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+#create db
+mkdir -p /opt/dbspace
+
+if [ ! -f /opt/dbspace/.dnet.db ]
+then
+ sqlite3 /opt/dbspace/.dnet.db < /usr/share/ps-plugin/dnet_db.sql
+ sqlite3 /opt/dbspace/.dnet.db < /usr/share/ps-plugin/dnet_db_data.sql
+fi
+
+rm -f /usr/share/ps-plugin/dnet_db.sql
+rm -f /usr/share/ps-plugin/dnet_db_data.sql
+
+#change file permission
+if [ -f /opt/dbspace/.dnet.db ]
+then
+ chmod 660 /opt/dbspace/.dnet.db
+fi
+
+if [ -f /opt/dbspace/.dnet.db-journal ]
+then
+ chmod 664 /opt/dbspace/.dnet.db-journal
+fi
+
+%postun -p /sbin/ldconfig
+
+%install
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%files
+%manifest tel-plugin-packetservice.manifest
+%defattr(-,root,root,-)
+/usr/share/ps-plugin/dnet_db.sql
+/usr/share/ps-plugin/dnet_db_data.sql
+%{_sysconfdir}/dbus-1/system.d/*
+%{_libdir}/telephony/plugins/ps-plugin*
+/usr/share/license/tel-plugin-packetservice
--- /dev/null
+%define major 0
+%define minor 1
+%define patchlevel 31
+Name: tel-plugin-vconf
+Summary: Telephony Vconf storage plugin
+Version: %{major}.%{minor}.%{patchlevel}
+Release: 1
+Group: System/Libraries
+License: Apache
+Source0: tel-plugin-vconf-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gthread-2.0)
+BuildRequires: pkgconfig(tcore)
+BuildRequires: pkgconfig(dlog)
+
+%description
+Telephony Vconf storage plugin
+
+%prep
+%setup -q
+
+%build
+versionint=$[%{major} * 1000000 + %{minor} * 1000 + %{patchlevel}]
+%cmake . -DVERSION=$versionint
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+#Default Call Statistics
+vconftool set -t int db/dnet/statistics/cellular/totalsnt 0 -i -f
+vconftool set -t int db/dnet/statistics/cellular/totalrcv 0 -i -f
+vconftool set -t int db/dnet/statistics/cellular/lastsnt 0 -i -f
+vconftool set -t int db/dnet/statistics/cellular/lastrcv 0 -i -f
+
+##setting vconf key##
+vconftool set -t int memory/dnet/state 0 -i
+vconftool set -t int memory/dnet/cellular 4 -i
+vconftool set -t int memory/telephony/svc_type 0 -i -f
+vconftool set -t int memory/telephony/ps_type 0 -i -f
+vconftool set -t int memory/telephony/rssi 0 -i -f
+vconftool set -t int memory/telephony/sim_slot 0 -i -f
+vconftool set -t int memory/telephony/svc_roam 0 -i -f
+vconftool set -t int memory/telephony/event_system_ready 0 -i -f
+vconftool set -t int memory/telephony/plmn 0 -i -f
+vconftool set -t int memory/telephony/lac 0 -i -f
+vconftool set -t int memory/telephony/cell_id 0 -i -f
+vconftool set -t int memory/telephony/svc_cs 0 -i -f
+vconftool set -t int memory/telephony/svc_ps 0 -i -f
+vconftool set -t int memory/telephony/zone_type 0 -i -f
+vconftool set -t int memory/telephony/sim_init 0 -i -f
+vconftool set -t int memory/telephony/sim_chv 255
+vconftool set -t int memory/telephony/pb_init 0 -i -f
+vconftool set -t int memory/telephony/call_state 0 -i -f
+vconftool set -t int db/telephony/call_forward_state 0 -i -f
+vconftool set -t int memory/telephony/tapi_state 0 -i -f
+vconftool set -t int memory/telephony/spn_disp_condition 0 -i -f
+vconftool set -t int memory/telephony/sat_idle 0 -i -f
+vconftool set -t int memory/telephony/sat_state 0 -i -f
+vconftool set -t int memory/telephony/zuhause_zone 0 -i -f
+vconftool set -t int memory/telephony/low_battery 0 -i -f
+vconftool set -t string memory/telephony/idle_text "" -i -f
+vconftool set -t string memory/telephony/spn "" -i -f
+vconftool set -t string memory/telephony/nw_name "" -i -f
+vconftool set -t string memory/telephony/imei "" -i -f
+vconftool set -t string memory/telephony/szSubscriberNumber "" -i -f
+vconftool set -t string memory/telephony/szSubscriberAlpha "" -i -f
+vconftool set -t string memory/telephony/szSWVersion "" -i -f
+vconftool set -t string memory/telephony/szHWVersion "" -i -f
+vconftool set -t string memory/telephony/szCalDate "" -i -f
+vconftool set -t string memory/telephony/productCode "" -i -f
+vconftool set -t string db/private/tel-plugin-vconf/imsi "" -f
+vconftool set -t int db/telephony/emergency 0 -i -f
+vconftool set -t bool memory/telephony/telephony_ready 0 -i -f
+vconftool set -t int memory/telephony/nitz_gmt 0 -i -f
+vconftool set -t int memory/telephony/nitz_event_gmt 0 -i -f
+vconftool set -t string memory/telephony/nitz_zone 0 -i -f
+vconftool set -t int memory/telephony/svc_act 0 -i -f
+vconftool set -t bool db/telephony/flight_mode 0 -i -f
+
+%postun -p /sbin/ldconfig
+
+%install
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%files
+%manifest tel-plugin-vconf.manifest
+%defattr(-,root,root,-)
+%{_libdir}/telephony/plugins/vconf-plugin*
+/usr/share/license/tel-plugin-vconf
--- /dev/null
+Name: tel-plugin-vmodem
+Summary: Telephony AT Virtual Modem library
+Version: 0.1.8
+Release: 1
+Group: System/Libraries
+License: Apache
+Source0: tel-plugin-vmodem-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(tcore)
+
+%description
+Telephony AT Modem library
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%install
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%files
+%manifest tel-plugin-vmodem.manifest
+%defattr(-,root,root,-)
+%{_libdir}/telephony/plugins/vmodem-plugin*
+/usr/share/license/tel-plugin-vmodem
--- /dev/null
+Name: telephony-daemon
+Summary: Telephony daemon
+Version: 0.1.12
+Release: 2
+Group: System/Telephony
+License: Apache
+Source0: %{name}-%{version}.tar.gz
+Source1: telephony.service
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(tcore)
+BuildRequires: pkgconfig(dlog)
+
+%description
+Description: Telephony daemon
+
+%prep
+%setup -q
+
+%build
+%cmake . -DVERSION=%{version}
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/multi-user.target.wants
+install -m 0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/systemd/system/telephony.service
+ln -s ../telephony.service %{buildroot}%{_prefix}/lib/systemd/system/multi-user.target.wants/telephony.service
+mkdir -p %{buildroot}/usr/share/license
+
+%files
+%manifest telephony-daemon.manifest
+%defattr(-,root,root,-)
+%{_bindir}/telephony-daemon
+%{_sysconfdir}/rc.d/init.d/telephony-daemon
+%{_sysconfdir}/rc.d/rc3.d/S30telephony-daemon
+%{_sysconfdir}/rc.d/rc5.d/S30telephony-daemon
+%{_prefix}/lib/systemd/system/telephony.service
+%{_prefix}/lib/systemd/system/multi-user.target.wants/telephony.service
+/usr/share/license/telephony-daemon
--- /dev/null
+Name: terminology
+Version: 0.1
+Release: 1
+License: BSD 2-clause
+Summary: Terminal Program
+Url: http://www.enlightenment.org/
+Group: Graphics/X11
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-imf)
+BuildRequires: pkgconfig(ecore-imf-evas)
+BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eet)
+BuildRequires: pkgconfig(efreet)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(emotion)
+BuildRequires: pkgconfig(evas)
+
+%description
+Terminilogy Terminal program.
+%prep
+%setup -q
+
+
+%build
+%autogen
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+/usr/bin/terminology
+/usr/share/applications/terminology.desktop
+/usr/share/icons/terminology.png
+/usr/share/terminology/fonts
+/usr/share/terminology
--- /dev/null
+Name: capi-network-tethering
+Summary: Tethering Framework
+Version: 0.0.15
+Release: 1
+Group: Connectivity/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: cmake
+
+%description
+Tethering framework library for CAPI
+
+%package devel
+Summary: Development package for Tethering framework library
+Group: Connectivity/Development
+Requires: %{name} = %{version}-%{release}
+%description devel
+Development package for Tethering framework library
+
+%prep
+%setup -q
+
+%build
+%ifarch %{arm}
+%cmake . -DARCH=arm
+%else
+%if 0%{?simulator}
+%cmake . -DARCH=emul
+%else
+%cmake . -DARCH=i586
+%endif
+%endif
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest capi-network-tethering.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+%ifarch %{arm}
+/etc/config/connectivity/sysinfo-tethering.xml
+%else
+%if 0%{?simulator}
+# Noop
+%else
+/etc/config/connectivity/sysinfo-tethering.xml
+%endif
+%endif
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/network/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so
+
--- /dev/null
+Name: texinfo
+BuildRequires: automake
+BuildRequires: help2man
+BuildRequires: bzip2-devel
+BuildRequires: libzio-devel
+BuildRequires: ncurses-devel
+BuildRequires: perl-gettext
+BuildRequires: zlib-devel
+Version: 4.13a
+Release: 0
+%global version_t2h 1.82
+%global version_t2r 2.0
+Summary: Tools Needed to Create Documentation from Texinfo Sources
+License: GPL-2.0+ ; GPL-3.0+
+Group: Productivity/Publishing/Texinfo
+Url: http://www.texinfo.org
+Provides: texi2html = %{version_t2h}
+Provides: texi2roff = %{version_t2r}
+Source: ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-%{version}.tar.bz2
+Source1: http://download.savannah.nongnu.org/releases/texi2html/texi2html-%{version_t2h}.tar.bz2
+# texinfo.org: the domain is expired.
+# http://texinfo.org/texi2roff/texi2roff-%{version_t2r}.tar.bz2
+Source2: texi2roff-%{version_t2r}.tar.bz2
+Source10: info-dir
+Patch: texinfo-4.12.dif
+Patch1: texi2html-1.78.dif
+Patch2: texi2roff-2.0.dif
+Patch3: texi2roff.patch.bz2
+Patch4: texinfo-4.12-zlib.patch
+Patch5: texinfo-4.8-echo.patch
+Patch6: texi2roff-2.0-gcc4.patch
+Patch7: texinfo-4.13a-bug640417.diff
+Patch8: texinfo-4.13a-bug713517.diff
+Patch9: automake-1.12.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+Texinfo is a documentation system that uses a single source file to
+produce both online information and printed output. Using Texinfo, you
+can create a printed document with the normal features of a book,
+including chapters, sections, cross-references, and indices. From the
+same Texinfo source file, you can create a menu-driven, online info
+file with nodes, menus, cross-references, and indices using the included
+makeinfo tool.
+
+Aggregated with texinfo in this package is texi2html and texi2roff.
+
+
+Authors:
+--------
+ Andreas Schwab <schwab@suse.de>
+ Brian Fox <bfox@gnu.org>
+ Charles Hannum <mycroft@gnu.org>
+ Daniel Hagerty <hag@gnu.org>
+ David J. MacKenzie <djm@gnu.org>
+ Eli Zaretskii <eliz@is.elta.co.il>
+ Jim Meyering <meyering@na-net.ornl.gov>
+ Karl Berry <karl@gnu.org>
+ Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ Noah Friedman <friedman@prep.org>
+ Richard Stallman <rms@gnu.org>
+ Robert J. Chassell <bob@gnu.org>
+ Roland McGrath <roland@gnu.org>
+
+%package -n info
+Summary: A Stand-Alone Terminal-Based Info Browser
+License: GPL-3.0+
+Group: Productivity/Publishing/Texinfo
+PreReq: bash zlib libzio
+
+%description -n info
+Info is a terminal-based program for reading documentation of computer
+programs in the Info format. The GNU Project distributes most of its
+on-line manuals in the Info format, so you need a program called "Info
+reader" to read the manuals.
+
+
+
+Authors:
+--------
+ Andreas Schwab <schwab@suse.de>
+ Brian Fox <bfox@gnu.org>
+ Charles Hannum <mycroft@gnu.org>
+ Daniel Hagerty <hag@gnu.org>
+ David J. MacKenzie <djm@gnu.org>
+ Eli Zaretskii <eliz@is.elta.co.il>
+ Jim Meyering <meyering@na-net.ornl.gov>
+ Karl Berry <karl@gnu.org>
+ Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ Noah Friedman <friedman@prep.org>
+ Richard Stallman <rms@gnu.org>
+ Robert J. Chassell <bob@gnu.org>
+ Roland McGrath <roland@gnu.org>
+
+%package -n makeinfo
+Summary: Translate Texinfo documents to info format
+License: GPL-3.0+
+Group: Productivity/Publishing/Texinfo
+Provides: texinfo:/usr/bin/makeinfo
+Suggests: texinfo
+
+%description -n makeinfo
+Makeinfo translates Texinfo source documentation to various other
+formats, by default Info files suitable for reading online with Emacs
+or standalone GNU Info.
+
+%prep
+rm -rf texi2html-%{version_t2h} texi2roff-%{version_t2r}
+%setup -q -b 1 -b 2 -n texinfo-4.13
+%patch4 -p0 -b .zlib
+%patch5 -p0 -b .echo
+%patch7 -p1 -b .size_t
+%patch8 -p0 -b .egrep
+%patch9 -p1
+%patch -p0
+pushd ../texi2html-%{version_t2h}
+%patch1 -p0
+popd
+pushd ../texi2roff-%{version_t2r}
+%patch3 -p0 -b .Bader
+%patch2 -p0
+%patch6 -p1
+popd
+
+%build
+ HOST=%{_target_cpu}-tizen-linux
+ CFLAGS="$RPM_OPT_FLAGS -pipe"
+ LDFLAGS=""
+ CC=gcc
+ export CFLAGS LDFLAGS CC
+ export LD_AS_NEEDED=0
+ AUTOPOINT=true autoreconf -fi
+ ./configure --build=$HOST \
+ --prefix=%{_prefix} \
+ --mandir=%{_mandir} \
+ --datadir=%{_datadir} \
+ --infodir=%{_infodir} \
+ --without-included-gettext \
+ --enable-nls
+ PATH=${PWD}/makeinfo:${PWD}/util:$PATH
+ export PATH
+ make %{?_smp_mflags};
+pushd ../texi2html-%{version_t2h}
+ ./configure --build=$HOST \
+ --prefix=%{_prefix} \
+ --mandir=%{_mandir} \
+ --datadir=%{_datadir} \
+ --infodir=%{_infodir} \
+ --without-included-gettext \
+ --enable-nls
+ make %{?_smp_mflags};
+popd
+pushd ../texi2roff-%{version_t2r}
+ rm -f texi2roff
+ make %{?_smp_mflags};
+popd
+
+%install
+ export LD_AS_NEEDED=0
+ make DESTDIR=%{buildroot} \
+ infodir=%{_infodir} \
+ htmldir=%{_defaultdocdir}/texi2html install
+ mkdir -p %{buildroot}/sbin
+ mv %{buildroot}%{_bindir}/install-info %{buildroot}/sbin/
+ ln -sf ../../sbin/install-info %{buildroot}%{_bindir}/install-info
+ mkdir -p %{buildroot}%{_infodir}
+ install -m 644 %{S:10} %{buildroot}%{_infodir}/dir
+pushd ../texi2html-%{version_t2h}
+ make DESTDIR=%{buildroot} \
+ infodir=%{_infodir} \
+ texinfohtmldir=%{_defaultdocdir}/texi2html install
+ install -m 644 README %{buildroot}%{_defaultdocdir}/texi2html/
+ install -m 644 NEWS %{buildroot}%{_defaultdocdir}/texi2html/
+ install -m 644 COPYING %{buildroot}%{_defaultdocdir}/texi2html/
+popd
+pushd ../texi2roff-%{version_t2r}
+ doc=%{_defaultdocdir}/texi2roff
+ install -m 755 texi2roff %{buildroot}%{_bindir}/
+ install -m 755 texi2index %{buildroot}%{_bindir}/
+ install -m 644 texi2roff.1 %{buildroot}%{_mandir}/man1/
+ mkdir -p %{buildroot}${doc}
+ install -m 644 Readme %{buildroot}${doc}
+ install -m 644 copyright %{buildroot}${doc}
+popd
+%find_lang %name %{name}.lang
+
+%clean
+test -n "%{buildroot}" && rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root)
+%dir %{_defaultdocdir}/texi2html
+%dir %{_defaultdocdir}/texi2roff
+%doc ABOUT-NLS AUTHORS COPYING INTRODUCTION NEWS README TODO
+%doc doc/texinfo.tex doc/txi-*.tex
+%doc %{_defaultdocdir}/texi2html/*
+%doc %{_defaultdocdir}/texi2roff/*
+%{_bindir}/pdftexi*
+%{_bindir}/texi*
+%{_infodir}/texinfo*.gz
+%{_infodir}/texi2html*.gz
+%{_mandir}/man1/pdftexi2dvi.1.gz
+%{_mandir}/man1/texi*.1.gz
+%{_mandir}/man5/texinfo.5.gz
+%{_datadir}/texinfo
+%{_datadir}/texi2html
+
+%files -n makeinfo -f %{name}.lang
+%defattr(-,root,root)
+%{_bindir}/makeinfo
+%{_mandir}/man1/makeinfo.1.gz
+
+%files -n info
+%defattr(-,root,root)
+%config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir
+/sbin/install-info
+%{_bindir}/install-info
+%{_bindir}/info
+%{_bindir}/infokey
+%{_infodir}/info.info*
+%{_infodir}/info-stnd.info*
+%{_mandir}/man1/info.1*
+%{_mandir}/man1/infokey.1*
+%{_mandir}/man1/install-info.1*
+%{_mandir}/man5/info.5*
+
+%changelog
--- /dev/null
+Name: org.tizen.tickernoti-syspopup
+Summary: tickernoti system popup application
+Version: 0.1.9
+Release: 1
+Group: TO_BE/FILLED_IN
+License: APLv2
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(syspopup)
+BuildRequires: gettext-devel
+BuildRequires: cmake
+BuildRequires: edje-tools
+
+%description
+tickernoti system popup application
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=/opt/apps/org.tizen.tickernoti-syspopup
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}/usr/share/license/%{name}
+
+%files
+%defattr(-,root,root,-)
+/opt/share/packages/org.tizen.tickernoti-syspopup.xml
+/opt/apps/org.tizen.tickernoti-syspopup/res/edje/tickernoti.edj
+/opt/apps/org.tizen.tickernoti-syspopup/bin/tickernoti-syspopup
+/usr/share/license/%{name}
+%manifest %{name}.manifest
--- /dev/null
+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
+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
+
+%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
+%defattr(-,root,root)
+%{_bindir}/*
+
+%files -n libtiff
+%doc COPYRIGHT
+%{_libdir}/*.so.*
+
+%files -n libtiff-devel
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+Name: time
+Version: 1.7
+Release: 1
+License: GPL-2.0+
+Summary: A GNU utility for monitoring a program's use of system resources
+Url: http://www.gnu.org/software/time/
+Group: Applications/System
+Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}/%{name}-%{version}.tar.bz2
+%description
+The GNU time utility runs another program, collects information about
+the resources used by that program while it is running, and displays
+the results.
+
+%prep
+%setup -q
+
+%build
+echo "ac_cv_func_wait3=\${ac_cv_func_wait3='yes'}" >> config.cache
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%docs_package
+
+%files
+%license COPYING
+%{_bindir}/time
--- /dev/null
+Name: tizen-branding-default
+Version: 0.2
+Release: 0
+License: GPL-2.0+
+Summary: Default Branding files
+Url: http://tizen.org
+Group: System/Base
+Source0: %{name}-%{version}.tar.bz2
+Source1001: %{name}.manifest
+BuildArch: noarch
+Requires: plymouth-plugin-script
+Recommends: plymouth-plugin-two-step
+
+%description
+Default branding files.
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+
+
+%install
+%{__install} -d %{buildroot}%{_datadir}/branding/default/syslinux
+
+%{__install} -d %{buildroot}%{_datadir}/plymouth/themes
+cp syslinux/* %{buildroot}%{_datadir}/branding/default/syslinux
+cp -a plymouth/tizen %{buildroot}%{_datadir}/plymouth/themes
+cp syslinux/syslinux-vesa-splash.jpg %{buildroot}%{_datadir}/plymouth/themes/tizen/tizen.png
+
+%files
+%manifest %{name}.manifest
+%{_datadir}/branding/default/syslinux
+%{_datadir}/plymouth/themes/tizen
--- /dev/null
+%define release_name Tizen Next
+%define dist_version 3.0.0
+
+Summary: Tizen release files
+Name: tizen-release
+Version: 3.0.0
+Release: 2
+License: GPL-2.0
+Group: System/Base
+URL: http://www.tizen.com
+Provides: system-release = %{version}-%{release}
+Provides: tizen-release = %{version}-%{release}
+
+#HACK
+Provides: lsb = 4.1
+
+%description
+Tizen release files such as various /etc/ files that define the release.
+
+%prep
+
+%build
+
+%install
+
+%ifarch %{ix86}
+%define _tarch ia32
+%else
+%define _tarch %{_arch}
+%endif
+
+
+rm -rf %{buildroot}
+install -d %{buildroot}/etc
+cat > %{buildroot}/etc/tizen-release <<EOF
+Tizen %{dist_version} (%{_arch})
+VERSION = %{version}
+CODENAME = Next
+EOF
+
+ln -s tizen-release %{buildroot}/etc/system-release
+
+cat > %{buildroot}/etc/os-release <<EOF
+NAME=Tizen
+VERSION="%{dist_version} (%{release_name})"
+ID=tizen
+VERSION_ID=%{dist_version}
+PRETTY_NAME="Tizen %{dist_version} (%{release_name})"
+ANSI_COLOR="0;36"
+CPE_NAME="cpe:/o:tizen:tizen:%{dist_version}"
+EOF
+
+
+mkdir -p $RPM_BUILD_ROOT/etc/products.d
+cat >$RPM_BUILD_ROOT/etc/products.d/tizen.prod << EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<product schemeversion="0">
+ <vendor>Tizen.org</vendor>
+ <name>Tizen</name>
+ <version>%{version}</version>
+ <release>%{release}</release>
+ <arch>%{_target_cpu}</arch>
+ <productline>Tizen</productline>
+ <register>
+ <target>tizen-%{version}-%{_target_cpu}</target>
+ <release></release>
+ <repositories>
+ </repositories>
+ </register>
+ <updaterepokey>000000000</updaterepokey>
+ <summary>Tizen</summary>
+ <description>Tizen</description>
+ <linguas>
+ <language>cs</language>
+ <language>da</language>
+ <language>de</language>
+ <language>en</language>
+ <language>en_GB</language>
+ <language>en_US</language>
+ <language>es</language>
+ <language>fi</language>
+ <language>fr</language>
+ <language>hu</language>
+ <language>it</language>
+ <language>ja</language>
+ <language>nb</language>
+ <language>nl</language>
+ <language>pl</language>
+ <language>pt</language>
+ <language>pt_BR</language>
+ <language>ru</language>
+ <language>sv</language>
+ <language>zh</language>
+ <language>zh_CN</language>
+ <language>zh_TW</language>
+ </linguas>
+ <urls>
+ <url name="releasenotes">http://www.tizen.org</url>
+ <url name="register">http://www.tizen.org/</url>
+ <url name="repository">https://download.tz.otcshare.org/snapshots/trunk/pc/latest/repos/pc/%{_tarch}/packages/</url>
+ </urls>
+ <buildconfig>
+ <producttheme>Tizen</producttheme>
+ <betaversion>Milestone 1</betaversion>
+ </buildconfig>
+ <installconfig>
+ <defaultlang>en_US</defaultlang>
+ <releasepackage name="tizen-release" flag="EQ" version="3.0.0" release="%{release}" />
+ <distribution>Tizen</distribution>
+ </installconfig>
+ <runtimeconfig />
+</product>
+
+EOF
+
+# this is a base product, create symlink
+ln -s tizen.prod $RPM_BUILD_ROOT/etc/products.d/baseproduct
+
+
+%files
+%config %attr(0644,root,root) /etc/tizen-release
+%config %attr(0644,root,root) /etc/os-release
+/etc/system-release
+/etc/products.d
--- /dev/null
+Name: tolua++
+Version: 1.0.93
+Release: 0
+Summary: C/C++ with Lua Integration Tool
+Source: http://www.codenix.com/~tolua/tolua++-%{version}.tar.bz2
+Url: http://www.codenix.com/~tolua/
+Group: Development/Libraries
+License: MIT
+BuildRequires: scons
+BuildRequires: lua-devel
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig
+
+%description
+tolua++ is an extended version of tolua, a tool to integrate C/C++ code with
+Lua. tolua++ includes new features oriented to c++ such as:
+* support for std::string as a basic type (this can be turned off by a command
+ line option)
+* support for class templates
+as well as other features and bugfixes.
+
+%prep
+%setup -q
+
+%build
+cat <<'EOF' > config_linux.py
+import re,os
+
+CCFLAGS = re.split(r"\s+", os.environ['CCFLAGS'])
+LIBS = re.split(r"\s+", os.environ['LIBS'])
+prefix = "%{_prefix}"
+EOF
+
+CCFLAGS="%{optflags} `pkg-config lua --cflags` -fPIC" \
+LIBS="`pkg-config lua --libs-only-l`" \
+scons %{?_smp_flags} \
+ prefix="%{_prefix}" \
+ libdir="%{_libdir}" \
+ all
+
+%install
+CCFLAGS="%{optflags} `pkg-config lua --cflags` -fPIC" \
+LIBS="`pkg-config lua --libs-only-l`" \
+scons %{?_smp_flags} \
+ prefix="%{buildroot}%{_prefix}" \
+ libdir="%{buildroot}%{_libdir}" \
+ install
+
+%files
+%defattr(-,root,root)
+%license COPYRIGHT
+%{_bindir}/tolua++
+%{_includedir}/tolua++.h
+%{_libdir}/libtolua++.a
+
+%changelog
--- /dev/null
+Name: capi-media-tone-player
+Summary: A tone player library in Tizen C API
+Version: 0.1.0
+Release: 16
+Group: Multimedia/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-media-sound-manager)
+
+%description
+A tone player library in Tizen C API.
+
+
+%package devel
+Summary: A tone player library in Tizen C API (Development)
+Group: Development/Multimedia
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE
+%manifest capi-media-tone-player.manifest
+%{_libdir}/libcapi-media-tone-player.so.*
+
+%files devel
+%{_includedir}/media/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-media-tone-player.so
--- /dev/null
+#
+
+Name: tree
+Version: 1.6.0
+Release: 1
+License: GPL-2.0+
+Summary: File listing as a tree
+Url: http://mama.indstate.edu/users/ice/tree/
+Group: System/Tools
+Source0: %{name}-%{version}.tar.bz2
+
+%description
+Tree is a recursive directory listing command that produces a depth
+indented listing of files, which is colorized ala dircolors if the
+LS_COLORS environment variable is set and output is to tty.
+
+%prep
+%setup -q
+
+%build
+make OPTFLAGS="%{optflags}" CC="gcc"
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_mandir}/man1
+install -m 644 doc/%{name}.1 %{buildroot}%{_mandir}/man1
+install -m 755 %{name} %{buildroot}%{_bindir}
+
+%files
+%defattr(-,root,root)
+%license LICENSE
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1.gz
+
+%changelog
--- /dev/null
+Name: tts
+Summary: Text To Speech client library and daemon
+Version: 0.1.60
+Release: 1
+Group: libs
+License: Samsung
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(mm-player)
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(mm-session)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(vconf-internal-keys)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(capi-system-runtime-info)
+
+BuildRequires: cmake
+
+%description
+Text To Speech client library and daemon.
+
+
+%package devel
+Summary: Text To Speech header files for TTS development
+Group: libdevel
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Text To Speech header files for TTS development.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest tts-server.manifest
+/opt/etc/smack/accesses.d/tts-server.rule
+/etc/config/sysinfo-tts.xml
+%defattr(-,root,root,-)
+%{_libdir}/lib*.so
+%{_libdir}/voice/tts/1.0/ttsd.conf
+%{_bindir}/tts-daemon*
+/usr/share/license/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/tts.pc
+%{_libdir}/pkgconfig/tts-setting.pc
+%{_includedir}/tts.h
+%{_includedir}/tts_setting.h
+%{_includedir}/ttsp.h
--- /dev/null
+Name: tzdata
+Summary: Timezone Descriptions
+License: BSD-3-Clause and SUSE-Public-Domain
+Group: Base/Configuration
+Url: http://www.gnu.org/software/libc/libc.html
+Requires(pre): filesystem, coreutils
+# COMMON-BEGIN
+Version: 2012e
+Release: 0
+Source: ftp://ftp.iana.org/tz/releases/tzdata%{version}.tar.gz
+Provides: timezone
+# COMMON-END
+%global AREA Etc
+%global ZONE UTC
+
+%description
+These are configuration files that describe available time zones. You
+can select an appropriate time zone for your system with YaST.
+
+
+
+%prep
+%setup -c
+# COMMON-PREP-BEGIN
+# COMMON-PREP-END
+
+%build
+unset ${!LC_*}
+LANG=POSIX
+LC_ALL=POSIX
+AREA=%{AREA}
+ZONE=%{ZONE}
+export AREA LANG LC_ALL ZONE
+make %{?_smp_mflags} TZDIR=%{_prefix}/share/zoneinfo CFLAGS="$RPM_OPT_FLAGS -DHAVE_GETTEXT=1 -DTZDEFAULT='\"/etc/localtime\"'" AWK=awk
+make %{?_smp_mflags} TZDIR=zoneinfo AWK=awk zones
+# Generate posixrules
+./zic -y ./yearistype -d zoneinfo -p %{AREA}/%{ZONE}
+
+%install
+mkdir -p %{buildroot}%{_prefix}/share/zoneinfo
+cp -a zoneinfo %{buildroot}%{_prefix}/share/zoneinfo/posix
+cp -al %{buildroot}%{_prefix}/share/zoneinfo/posix/. %{buildroot}%{_prefix}/share/zoneinfo
+cp -a zoneinfo-leaps %{buildroot}%{_prefix}/share/zoneinfo/right
+mkdir -p %{buildroot}/etc
+rm -f %{buildroot}/etc/localtime
+rm -f %{buildroot}%{_prefix}/share/zoneinfo/posixrules
+cp -fp %{buildroot}%{_prefix}/share/zoneinfo/%{AREA}/%{ZONE} %{buildroot}/etc/localtime
+ln -sf /etc/localtime %{buildroot}%{_prefix}/share/zoneinfo/posixrules
+install -m 644 iso3166.tab %{buildroot}%{_prefix}/share/zoneinfo/iso3166.tab
+install -m 644 zone.tab %{buildroot}%{_prefix}/share/zoneinfo/zone.tab
+install -D -m 755 tzselect %{buildroot}%{_bindir}/tzselect
+install -D -m 755 zdump %{buildroot}%{_sbindir}/zdump
+install -D -m 755 zic %{buildroot}%{_sbindir}/zic
+
+%clean
+rm -rf %{buildroot}
+
+%post
+if [ -f /etc/sysconfig/clock ];
+then
+ . /etc/sysconfig/clock
+ if [ -n "$ZONE" -a -f /etc/localtime -a -f /usr/share/zoneinfo/$ZONE ]; then
+ new=$(mktemp /etc/localtime.XXXXXXXX) || exit 1
+ cp -l /usr/share/zoneinfo/$ZONE $new 2>/dev/null || cp -fp /usr/share/zoneinfo/$ZONE $new
+ mv -f $new /etc/localtime
+ else
+ [ ! -f /etc/localtime ] || echo "WARNING: Not updating /etc/localtime with new zone file" >&2
+ fi
+fi
+
+%files
+%defattr(-,root,root)
+%verify(not link md5 size mtime) %config(missingok,noreplace) /etc/localtime
+%verify(not link md5 size mtime) %config(missingok,noreplace) %{_prefix}/share/zoneinfo/posixrules
+%{_prefix}/share/zoneinfo
+%{_bindir}/tzselect
+%{_sbindir}/zdump
+%{_sbindir}/zic
+
+%changelog
--- /dev/null
+#
+# spec file for package udhcp
+#
+# Copyright (c) 2012 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: udhcp
+Summary: Micro DHCP client / server
+License: GPL-2.0
+Group: System/Emulators/PC
+Version: 0.9.8
+Release: 2
+Url: http://udhcp.busybox.net
+Source0: %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+Patch0: oracle-rpmbuild-makefile-changes.patch
+Patch1: %{name}_usermac.patch
+Patch2: %{name}-outputpy.patch
+Patch3: %{name}-update-scripts.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+#BuildRequires:
+#Requires:
+#ExclusiveArch: i386 i686 x86_64
+
+%description
+Udhcp is a small dhcp client / server mainly used to support Xen
+para-virtualized PXE booting.
+
+
+
+Authors:
+--------
+ Russ Dill <Russ.Dill@asu.edu>
+ Matthew Ramsay <matthewr@moreton.com.au>
+ Chris Trew <christ@moreton.com.au>
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+%build
+cp %{SOURCE1001} .
+%{__make}
+
+%install
+%{make_install} SBINDIR=%{buildroot}/%{_sbindir}
+mv %{buildroot}/sbin/udhcpc %{buildroot}/%{_bindir}
+mv %{buildroot}/%{_sbindir}/udhcpd %{buildroot}/%{_bindir}
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%manifest %{name}.manifest
+%{_bindir}/*
+%doc %{_mandir}/man?/*
+%dir %{_datadir}/udhcpc
+%{_datadir}/udhcpc/*
+
+%changelog
--- /dev/null
+%define optflags -Wall -Wextra -g -fpie -fPIC -O0 -Wno-unused-parameter -Wno-missing-field-initializers -finstrument-functions -Wl,--as-needed -pie
+
+%define _optdir /opt
+%define _usrdir /usr
+%define _ugdir %{_usrdir}/ug
+
+
+Name: ug-camera-efl
+Summary: SLP Camera UI Gadget
+Version: 0.1.114
+Release: 1
+Group: TO_BE/FILLED_IN
+License: Flora Software License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: prelink
+BuildRequires: gettext-tools
+BuildRequires: edje-tools
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-evas)
+BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-content-media-content)
+BuildRequires: pkgconfig(capi-location-manager)
+BuildRequires: pkgconfig(capi-media-camera)
+BuildRequires: pkgconfig(capi-media-image-util)
+BuildRequires: pkgconfig(capi-media-recorder)
+BuildRequires: pkgconfig(capi-media-sound-manager)
+BuildRequires: pkgconfig(capi-media-wav-player)
+BuildRequires: pkgconfig(capi-system-power)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(capi-system-sensor)
+
+
+%description
+Description: SLP Camera UI Gadget
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_ugdir}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+
+%make_install
+execstack -c %{buildroot}%{_ugdir}/lib/libug-camera-efl.so.0.1.0
+
+%post
+chown 5000:5000 /opt/usr/ug/data/ug-camera-efl/
+chown 5000:5000 /opt/usr/ug/data/ug-camera-efl/.camera.ini
+mkdir -p /usr/ug/bin/
+ln -sf /usr/bin/ug-client /usr/ug/bin/camera-efl
+
+%files
+%manifest ug-camera-efl.manifest
+%defattr(-,root,root,-)
+%{_ugdir}/res/edje/%{name}/*
+%{_ugdir}/res/locale/*/LC_MESSAGES/%{name}.mo
+%{_ugdir}/res/sounds/%{name}/*
+%{_ugdir}/res/icons/%{name}/%{name}.png
+%{_ugdir}/lib/libug-camera-efl.so
+%{_ugdir}/lib/libug-camera-efl.so.0.1.0
+%{_optdir}/usr/ug/data/%{name}/.camera.ini
+%{_usrdir}/share/packages/%{name}.xml
+
--- /dev/null
+Name: ug-setting-gallery-efl
+Summary: UG setting gallery ELF
+Version: 1.0.43
+Release: 1
+Group: Applications
+License: Flora Software License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: cmake
+BuildRequires: gettext
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/vconftool
+requires(postun): /sbin/ldconfig
+%description
+ug setting gallery efl.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+%ifarch %{arm}
+%define ARCH arm
+%else
+%define ARCH i586
+%endif
+
+export LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--as-needed"
+
+LDFLAGS="$LDFLAGS" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=%{ARCH}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%post
+/sbin/ldconfig
+export LD_LIBRARY_PATH=/usr/lib/ug:$LD_LIBRARY_PATH
+
+/usr/bin/vconftool set -t double db/gallery/setting/interval_time 3.0 -g 6514
+/usr/bin/vconftool set -t bool db/gallery/setting/repeat_state 0 -g 6514
+/usr/bin/vconftool set -t bool db/gallery/setting/shuffle_state 0 -g 6514
+/usr/bin/vconftool set -t string db/gallery/setting/ss_effect "Slide" -g 6514
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest ug-setting-gallery-efl.manifest
+%defattr(-,root,root,-)
+/usr/ug/lib/*
+/usr/ug/res/*
+/usr/share/license/%{name}
+
--- /dev/null
+
+Name: ug-setting-homescreen-efl
+Summary: UI Gadget : setting-homescreen-efl
+Version: 0.1.3
+Release: 0
+Group: misc
+License: Flora License
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: edje-tools
+BuildRequires: gettext-tools
+
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(ail)
+BuildRequires: pkgconfig(pkgmgr-info)
+
+%description
+Description: UI Gadget, setting-homescreen-efl
+
+%prep
+%setup -q
+
+%build
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{/usr/ug/lib}/
+
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+
+%files
+%manifest ug-setting-homescreen-efl.manifest
+/etc/smack/accesses2.d/ug.setting-homescreen-efl.include
+/usr/ug/lib/*
+/usr/ug/res/*
--- /dev/null
+Name: ug-setting-location-efl
+Summary: UG setting location EFL
+Version: 0.3.46
+Release: 1
+Group: System/Libraries
+License: Flora Software License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(location)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(capi-location-manager)
+BuildRequires: edje-bin
+BuildRequires: cmake
+BuildRequires: gettext-tools
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/vconftool
+requires(postun): /sbin/ldconfig
+%description
+ug setting location efl.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--as-needed -Wl,--hash-style=both"
+
+LDFLAGS="$LDFLAGS" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%post
+/sbin/ldconfig
+mkdir -p /usr/ug/bin/
+mkdir -p /usr/ug/res/locale/
+ln -sf /usr/bin/ug-client /usr/ug/bin/setting-location-efl
+
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest ug-setting-location-efl.manifest
+%defattr(-,root,root,-)
+/usr/ug/lib/libug-setting-location-efl.so*
+/usr/share/packages/ug-setting-location-efl.xml
+/usr/ug/res/edje/ug-setting-location-efl/setting-location.edj
+/usr/ug/res/locale/*
--- /dev/null
+
+Name: ui-gadget-1
+Summary: UI Gadget Library
+Version: 0.1.25
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-system-runtime-info)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: cmake
+BuildRequires: edje-bin
+
+%description
+UI gadget library (development headers)
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description devel
+Development files for %{name}
+
+%prep
+%setup -q
+
+%build
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+/sbin/ldconfig
+ln -sf /usr/bin/ug-client /usr/bin/ug-launcher
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest ui-gadget-1.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+%{_libdir}/lib%{name}-efl-engine.so
+/usr/share/edje/ug_effect.edj
+%{_bindir}/ug-client
+/usr/share/edje/ug-client/*.edj
+/opt/etc/smack/accesses.d/ui-gadget-1.rule
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/ug-1/*.h
+%{_libdir}/libui-gadget-1.so
+%{_libdir}/pkgconfig/%{name}.pc
+
--- /dev/null
+Name: uim
+Version: 0.1
+Release: 1
+License: GPLv2+
+Summary: User Mode Init manager for bluetooth device in pr3
+Group: Communications/Bluetooth
+Source: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(bluez)
+
+%description
+User Mode Init manager for tiwl1283
+
+%prep
+%setup -q
+
+%build
+gcc -o uim uim.c
+
+%install
+mkdir -p %{buildroot}/bin/
+cp -f uim %{buildroot}/bin/
+
+%files
+%attr(0755,-,-) /bin/uim
--- /dev/null
+Name: unifdef
+Version: 2.8
+Release: 1
+License: BSD
+Summary: Removes ifdefs from C files
+Url: http://dotat.at/prog/unifdef/
+Group: Development/Tools
+Source: http://dotat.at/prog/unifdef/%{name}-%{version}.tar.gz
+
+%description
+Unifdef is useful for removing ifdef'ed lines from a file while otherwise
+leaving the file alone. Unifdef acts on #ifdef, #ifndef, #else, and #en
+dif lines, and it knows only enough about C to know when one of these is
+inactive because it is inside a comment, or a single or double quote.
+
+%track
+prog %{name} = {
+ url = http://dotat.at/prog/unifdef/
+ version = %{version}
+ regex = %{name}-(__VER__)\.tar\.gz
+}
+
+%prep
+%setup -q
+
+%build
+make %?_smp_mflags CC=gcc CFLAGS="%{optflags}"
+
+%install
+make install DESTDIR=%{buildroot} prefix=%{_prefix}
+
+%files
+%license COPYING
+%{_bindir}/unifdef
+%{_bindir}/unifdefall
+%{_mandir}/man1/unifdef.1*
+%{_mandir}/man1/unifdefall.1*
+
+%changelog
--- /dev/null
+Name: unzip
+Version: 6.0
+Release: 9
+License: BSD
+Summary: A utility for unpacking zip files
+Url: http://www.info-zip.org/pub/infozip/UnZip.html
+Group: Applications/Archiving
+Source: ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tar.gz
+
+%description
+The unzip utility is used to list, test, or extract files from a zip
+archive. Zip archives are commonly found on MS-DOS systems. The zip
+utility, included in the zip package, creates zip archives. Zip and
+unzip are both compatible with archives created by PKWARE(R)'s PKZIP
+for MS-DOS, but the programs' options and default behaviors do differ
+in some respects.
+
+Install the unzip package if you need to list, test or extract files from
+a zip archive.
+
+%prep
+%setup -q -n %{name}60
+
+
+
+ln -s unix/Makefile Makefile
+%build
+make CFLAGS="-D_LARGEFILE64_SOURCE" linux_noasm LF2="" %{?_smp_mflags}
+
+%install
+
+make prefix=%{buildroot}%{_prefix} MANDIR=%{buildroot}/%{_mandir}/man1 INSTALL="cp -p" install LF2=""
+
+%files
+%defattr(-,root,root)
+%doc LICENSE
+%{_bindir}/*
+%doc %{_mandir}/*/*
+
--- /dev/null
+#
+# spec file for package update-alternatives
+#
+# Copyright (c) 2012 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.
+
+%define admindir %{_localstatedir}/lib/rpm/
+
+Name: update-alternatives
+Version: 1.16.3
+Release: 0
+Summary: Maintain symbolic links determining default commands
+License: GPL-2.0+
+Group: System/Management
+Url: http://ftp.de.debian.org/debian/pool/main/d/dpkg/
+Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.bz2
+BuildRequires: ncurses-devel
+
+%description
+update-alternatives creates, removes, maintains and displays
+information about the symbolic links comprising the alternatives
+system. It is possible for several programs fulfilling the same or
+similar functions to be installed on a single system at the same time.
+For example, many systems have several text editors installed at once.
+This gives choice to the users of a system, allowing each to use a
+different editor, if desired, but makes it difficult for a program to
+make a good choice of editor to invoke if the user has not specified a
+particular preference.
+
+%prep
+%setup -q -n dpkg-%{version}
+
+%build
+%{configure} \
+ --with-admindir=%{admindir} \
+ --disable-compiler-warnings # disable for sles10 -Wvla
+
+make -C lib/compat %{?_smp_mflags}
+make -C utils/ %{?_smp_mflags}
+
+%install
+install -d -m 0755 %{buildroot}/%{_sbindir}/
+install -d -m 0755 %{buildroot}/%{_mandir}/man8/
+install -d -m 0755 %{buildroot}/%{_sysconfdir}/alternatives
+install -d -m 0755 %{buildroot}/%{admindir}/alternatives
+install -d -m 0755 %{buildroot}/%{_localstatedir}/log
+
+install -m 0755 utils/%{name} %{buildroot}/%{_sbindir}
+install -m 0644 man/%{name}.8 %{buildroot}/%{_mandir}/man8/
+
+touch %{buildroot}/%{_localstatedir}/log/%{name}.log
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%dir %{_sysconfdir}/alternatives
+%dir %{_localstatedir}/lib/rpm/alternatives
+%{_sbindir}/update-alternatives
+%{_mandir}/man8/update-alternatives.8*
+%ghost %{_localstatedir}/log/update-alternatives.log
+
+%changelog
--- /dev/null
+Name: update-desktop-files
+Version: 12.1
+Release: 0
+Summary: A Build Tool to Update Desktop Files
+License: GPL-2.0+
+Group: Development/Tools/Building
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Source: tizen_update_desktop_file.sh
+Source1: map-desktop-category.sh
+Source2: macro
+Source4: brp-trim-desktop.sh
+# This is not true technically, but we do that to make the rpm macros from
+# desktop-file-utils available to most packages that ship a .desktop file
+# (since they already have a update-desktop-files BuildRequires).
+Requires: desktop-file-utils
+BuildArch: noarch
+
+%description
+This package provides further translations and a shell script to update
+desktop files. It is used by the %%tizen_update_desktop_file rpm macro.
+
+%package -n brp-trim-desktopfiles
+Summary: Trim translations from .deskop files
+Group: Development/Tools/Building
+
+%description -n brp-trim-desktopfiles
+Trim translations from all .deskop files found in build root
+
+%prep
+%setup -q -n . -D -T 0
+mkdir %name
+cd %name
+
+%build
+
+%install
+mkdir -p $RPM_BUILD_ROOT%_rpmconfigdir
+install -m0755 %SOURCE0 %SOURCE1 $RPM_BUILD_ROOT%_rpmconfigdir
+install -m0644 -D %SOURCE2 $RPM_BUILD_ROOT/etc/rpm/macros.%name
+install -m0755 -D %SOURCE4 $RPM_BUILD_ROOT/usr/lib/rpm/brp-tizen.d/brp-70-trim-desktopfiles
+
+%files
+%defattr(-,root,root)
+%_rpmconfigdir/*
+%exclude %_rpmconfigdir/brp-tizen.d
+/etc/rpm/*
+
+%files -n brp-trim-desktopfiles
+%defattr(-,root,root)
+%_rpmconfigdir/brp-tizen.d
+
+%changelog
--- /dev/null
+
+Name: capi-web-url-download
+Summary: CAPI for content download with web url
+Version: 1.0.2
+Release: 5
+Group: Development/Libraries
+License: Apache License, Version 2.0
+URL: https://review.tizen.org/git/?p=platform/core/api/url-download.git;a=summary
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(download-provider-interface)
+BuildRequires: cmake
+
+%description
+CAPI for the content download
+
+%package devel
+Summary: CAPI web url development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+CAPI for content downloading with web url (development files)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libcapi-web-url-download.so.*
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%manifest capi-web-url-download.manifest
+%{_libdir}/libcapi-web-url-download.so
+%{_libdir}/pkgconfig/capi-web-url-download.pc
+%{_includedir}/web/download.h
--- /dev/null
+Name: capi-system-usb-accessory
+Version: 0.0.9
+Release: 1
+VCS: platform/core/api/usb-accessory#accepted/tizen/20130520.100842-0-g0fb5aab8f1efb2d0fa391a0c1e2938b80aab2d45-dirty
+License: Apache-2.0
+Summary: A USB accessory library in TIZEN C API
+Group: System/API
+Source0: %{name}-%{version}.tar.gz
+Source1: capi-system-usb-accessory.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(vconf)
+%description
+A USB accessory library in TIZEN C API.
+
+%package devel
+Summary: A accessory library in TIZEN C API (Development)
+Group: Development/System
+Requires: %{name} = %{version}
+
+%description devel
+%devel_desc
+
+%prep
+%setup -q
+
+
+%build
+cp %{SOURCE1} .
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license LICENSE.Apache_v2
+%manifest capi-system-usb-accessory.manifest
+%{_libdir}/libcapi-system-usb-accessory.so.*
+
+%files devel
+%{_includedir}/system/usb_accessory.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-system-usb-accessory.so
--- /dev/null
+Name: usb-server
+Summary: USB server
+Version: 0.0.24
+Release: 1
+Group: framework/system
+License: Apache License, Version 2.0
+Source0: usb-server-%{version}.tar.gz
+Source1: usb-server.manifest
+Source2: usb-server.rule
+
+BuildRequires: cmake
+BuildRequires: libattr-devel
+BuildRequires: gettext-devel
+BuildRequires: pkgconfig(appcore-common)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(libusb-1.0)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(libudev)
+BuildRequires: pkgconfig(edbus)
+BuildRequires: pkgconfig(capi-system-usb-accessory)
+
+%description
+Description: USB server
+
+
+%prep
+%setup -q
+
+%if 0%{?simulator}
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DSIMULATOR=yes
+%else
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DSIMULATOR=no
+%endif
+
+
+%build
+cp %{SOURCE1} .
+cp %{SOURCE2} .
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+
+vconftool set -t int memory/usb/mass_storage_status "0" -u 0 -i -f
+vconftool set -t int memory/usb/accessory_status "0" -u 5000 -i -f
+vconftool set -t int memory/usb/cur_mode "0" -u 0 -i -f
+vconftool set -t int db/usb/sel_mode "1" -f
+
+
+%files
+%manifest usb-server.manifest
+%defattr(540,root,root,-)
+/usr/bin/start_dr.sh
+/usr/bin/usb-server
+%attr(440,root,root) /usr/share/locale/*/LC_MESSAGES/usb-server.mo
+/usr/bin/direct_set_debug.sh
+/usr/bin/set_usb_debug.sh
+%attr(440,app,app) /usr/share/usb-server/data/usb_icon.png
+%attr(440,root,root) /opt/etc/smack/accesses.d/usb-server.rule
--- /dev/null
+Name: org.tizen.usb-syspopup
+Summary: USB system popup
+Version: 0.0.10
+Release: 1
+Group: framework-system
+License: APLv2
+Source0: org.tizen.usb-syspopup-%{version}.tar.gz
+Source1: org.tizen.usb-syspopup.manifest
+Source2: org.tizen.usbotg-syspopup.manifest
+
+BuildRequires: cmake
+BuildRequires: libattr-devel
+BuildRequires: gettext-devel
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(syspopup)
+
+%description
+Description: USB system popup
+
+%package -n org.tizen.usbotg-syspopup
+Summary: system-popup application (usb otg popup)
+Group: main
+Requires: %{name} = %{version}-%{release}
+
+%description -n org.tizen.usbotg-syspopup
+system-popup application (usb otg popup).
+
+%prep
+%setup -q
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+%build
+cp %{SOURCE1} .
+cp %{SOURCE2} .
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%post
+vconftool set -t int db/setting/select_popup_btn "0" -u 5000 -f
+
+%files
+%manifest org.tizen.usb-syspopup.manifest
+%defattr(440,root,root,-)
+%attr(540,app,app) /usr/apps/org.tizen.usb-syspopup/bin/usb-syspopup
+%attr(440,app,app) /usr/apps/org.tizen.usb-syspopup/res/locale/*/LC_MESSAGES/usb-syspopup.mo
+/usr/share/packages/org.tizen.usb-syspopup.xml
+
+%files -n org.tizen.usbotg-syspopup
+%manifest org.tizen.usbotg-syspopup.manifest
+%defattr(440,root,root,-)
+%attr(540,app,app) /usr/apps/org.tizen.usbotg-syspopup/bin/usbotg-syspopup
+/usr/share/packages/org.tizen.usbotg-syspopup.xml
+%attr(440,app,app) /usr/apps/org.tizen.usbotg-syspopup/res/icons/usb_icon.png
--- /dev/null
+Name: usbutils
+Version: 006
+Release: 1
+License: GPL-2.0+
+Url: http://www.linux-usb.org/
+Source: http://downloads.sourceforge.net/linux-usb/%{name}-%{version}.tar.xz
+
+Summary: Linux USB utilities
+Group: Base/Device Management
+BuildRequires: autoconf
+BuildRequires: libtool
+BuildRequires: pkgconfig(libusb-1.0)
+
+%description
+This package contains utilities for inspecting devices connected to a
+USB bus.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --datadir=%{_datadir}/hwdata \
+ --disable-usbids
+
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot} pkgconfigdir=/usr/share/pkgconfig
+
+%docs_package
+
+%files
+%license COPYING
+%{_bindir}/*
+%{_datadir}/*
--- /dev/null
+Name: user-session-units
+Version: 8
+Release: 1
+Summary: Systemd session units
+Group: System/Base
+License: GPL-2.0
+URL: http://foo-projects.org/~sofar/%{name}
+Source0: http://foo-projects.org/~sofar/%{name}/%{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(systemd)
+BuildRequires: xorg-launch-helper
+BuildRequires: pkgconfig(dbus-1)
+
+%description
+Systemd user session units.
+
+%package gnome
+Summary: Gnome user session units
+Group: System/Base
+Requires: user-session-units
+
+%description gnome
+Gnome user session units.
+
+%package enlightenment
+Summary: Enlightenment user session units
+Group: System/Base
+Requires: user-session-units
+
+%description enlightenment
+Enlightenment user session units.
+
+%prep
+%setup -q
+
+
+%build
+%autogen
+%configure --enable-gnome --enable-enlightenment
+
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+
+%files
+%license COPYING
+%{_unitdir}/*
+%exclude %{_unitdir_user}/dbus.socket
+%exclude %{_unitdir_user}/dbus.service
+
+%files enlightenment
+%{_unitdir_user}/e17.target
+%{_unitdir_user}/enlightenment.service
+%{_unitdir_user}/e17.target.wants/enlightenment.service
+
+%files gnome
+%{_unitdir_user}/gnome.target
+%{_unitdir_user}/gnome-session.service
+%{_unitdir_user}/gnome.target.wants/gnome-session.service
--- /dev/null
+#
+# Do not Edit! Generated by:
+# spectacle version 0.13
+#
+# >> macros
+# << macros
+
+Name: usleep
+Summary: Sleeps for microseconds
+Version: 1
+Release: 4.2
+Group: System/Base
+License: GPLv2
+URL: http://moblin.org/
+Source0: %{name}-%{version}.tar.gz
+Source100: usleep.yaml
+Source1001: %{name}.manifest
+BuildRequires: popt-devel
+
+%description
+A version of /bin/sleep that sleeps for microsecond intervals.
+
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+cp %{SOURCE1001} .
+make %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+
+# >> install post
+
+
+# << install post
+
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+%manifest %{name}.manifest
+# >> files
+%{_mandir}/man*/*
+/bin/usleep
+# << files
--- /dev/null
+Name: utempter
+%define utmpGroup utmp
+Version: 0.5.5
+Release: 152
+License: MIT
+Summary: A privileged helper for utmp and wtmp updates
+Group: Productivity/Security
+Source: utempter-%{version}.tar.gz
+Source2: baselibs.conf
+
+%description
+Utempter is a utility that allows non-privileged applications such as
+terminal emulators to modify the utmp database without having to be
+setuid root.
+
+%package devel
+License: MIT
+Summary: Development files for utempter
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+
+%description devel
+Utempter is a privileged helper for utmp and wtmp updates. This
+package contains the development files needed.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}" CC="gcc"
+
+%install
+export DESTDIR=%{buildroot}
+make PREFIX=$DESTDIR LIBDIR=%{_libdir} install
+chmod 755 $DESTDIR%{_libdir}/libutempter.so*
+/sbin/ldconfig -n $DESTDIR%{_libdir}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(444,root,root,755)
+%doc COPYING
+%attr(02755, root, %{utmpGroup}) /usr/sbin/utempter
+%attr(555,root,root) %{_libdir}/libutempter.so.*
+%attr(444,root,root) %doc /usr/share/man/man8/*
+
+%files devel
+%defattr(444,root,root,755)
+%attr(555,root,root) %{_libdir}/libutempter.so
+%attr(444,root,root) /usr/include/utempter.h
+
+%changelog
--- /dev/null
+Name: uthash
+Version: 1.9.7
+Release: 1
+License: BSD-style single-clause
+Summary: A hash table for C structures
+Group: System/Kernel
+Source0: %{name}-%{version}.tar.bz2
+
+%description
+Any C structure can be stored in a hash table using
+uthash. Just add a UT_hash_handle to the structure
+and choose one or more fields in your structure to
+act as the key. Then use these macros to store,
+retrieve or delete items from the hash table.
+
+%package devel
+Summary: Development files for %name
+Group: Development/Libraries
+
+%description devel
+Development files for %name.
+
+%prep
+%setup -q
+%build
+
+%install
+
+mkdir -p %{buildroot}/usr/include
+cd src
+cp utarray.h uthash.h utlist.h utstring.h %{buildroot}/usr/include
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/utarray.h
+%{_includedir}/uthash.h
+%{_includedir}/utlist.h
+%{_includedir}/utstring.h
+
--- /dev/null
+Name: util-linux
+Version: 2.22.2
+BuildRequires: binutils-devel
+BuildRequires: fdupes
+BuildRequires: gettext-devel
+BuildRequires: libtool
+BuildRequires: ncurses-devel
+BuildRequires: pam-devel
+BuildRequires: pkg-config
+BuildRequires: readline-devel
+BuildRequires: zlib-devel
+Release: 0
+# util-linux is a base package and uuidd pre-requiring pwdutils pulls
+# that into the core build cycle. pwdutils also pulls in the whole
+# ldap stack into it. Avoid this whole mess which is done only to
+# make the rpm install check of uuidd happy which has support to work without
+# these tools as well
+#!BuildIgnore: pwdutils
+Url: http://kernel.org/~kzak/util-linux/
+Summary: A collection of basic system utilities
+License: GPL-2.0+
+Group: Base/Tools
+Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.22/%{name}-%{version}.tar.xz
+Source1: util-linux-rpmlintrc
+# XXX: make nologin part of util-linux upstream
+Source2: nologin.c
+Source3: nologin.8
+Source6: etc_filesystems
+Source7: baselibs.conf
+Source8: login.pamd
+Source9: remote.pamd
+Source14: su.pamd
+Source15: su.default
+Source51: blkid.conf
+
+Requires(pre): /usr/bin/sed
+#
+Provides: eject
+Provides: base = %{version}-%{release}
+Provides: login = 4.0-33.7
+Provides: util = %{version}-%{release}
+Provides: uuid-runtime = %{version}-%{release}
+Obsoletes: base < %{version}-%{release}
+Obsoletes: login < 4.0-33.7
+Obsoletes: util < %{version}-%{release}
+Obsoletes: uuid-runtime < %{version}-%{release}
+
+%description
+This package contains a large variety of low-level system utilities
+that are necessary for a Linux system to function. It contains the
+mount program, the fdisk configuration tool, and more.
+
+%package -n libblkid
+Summary: Filesystem detection library
+Group: Base/File Systems
+
+%description -n libblkid
+Library for filesystem detection.
+
+%package -n libblkid-devel
+Summary: Development files for the filesystem detection library
+Group: Development/Libraries
+Requires: libblkid = %{version}
+
+%description -n libblkid-devel
+Files needed to develop applications using the library for filesystem
+detection.
+
+%package -n uuidd
+Summary: Helper daemon to guarantee uniqueness of time-based UUIDs
+Group: Base/File Systems
+
+%description -n uuidd
+The uuidd package contains a userspace daemon (uuidd) which guarantees
+uniqueness of time-based UUID generation even at very high rates on
+SMP systems.
+
+%package -n libuuid
+Summary: Library to generate UUIDs
+Group: Base/File Systems
+
+%description -n libuuid
+A library to generate universally unique IDs (UUIDs).
+
+%package -n libuuid-devel
+Summary: Development files for libuuid1
+Group: Development/Libraries
+Requires: libuuid = %{version}
+
+%description -n libuuid-devel
+Files to develop applications using the library to generate universally
+unique IDs (UUIDs).
+
+%package -n libmount
+Summary: Device mount library
+Group: Base/File Systems
+
+%description -n libmount
+Library designed to be used in low-level utils like
+mount(8) and /usr/sbin/mount.<type> helpers.
+
+%package -n libmount-devel
+Summary: Development files for libmount
+Group: Development/Libraries
+Requires: libmount = %{version}
+
+%description -n libmount-devel
+Files to develop applications using the libmount library.
+
+%prep
+%setup -q -n %{name}-%{version}
+#
+# nologin
+cp %{S:2} %{S:3} .
+
+%build
+autoreconf -fi
+export SUID_CFLAGS="-fpie"
+export SUID_LDFLAGS="-pie"
+%configure \
+ --enable-mesg \
+ --enable-partx \
+ --disable-kill \
+ --enable-write \
+ --enable-line \
+ --enable-new-mount \
+ --enable-ddate \
+ --enable-login-utils \
+ --disable-mountpoint \
+ --disable-use-tty-group \
+ --disable-static \
+ --disable-silent-rules \
+ --disable-rpath
+#
+make %{?_smp_mflags}
+#
+%{__cc} -fwhole-program %{optflags} -o nologin nologin.c
+
+%install
+mkdir -p %{buildroot}{/etc/pam.d,%{_mandir}/man{1,8},/usr/bin,/usr/sbin,%{_infodir}}
+mkdir -p %{buildroot}%{_localstatedir}/lib/libuuid/
+mkdir -p %{buildroot}%{_localstatedir}/run/uuidd/
+install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf
+install -m 644 %{SOURCE8} %{buildroot}/etc/pam.d/login
+install -m 644 %{SOURCE9} %{buildroot}/etc/pam.d/remote
+install -m 644 %{SOURCE14} %{buildroot}/etc/pam.d/su
+install -m 644 %{SOURCE14} %{buildroot}/etc/pam.d/su-l
+install -d -m 755 %{buildroot}/etc/default
+install -m 644 %{S:15} %{buildroot}/etc/default/su
+%make_install
+install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems
+install -m 755 nologin %{buildroot}/%{_sbindir}
+rm -f %{buildroot}/%{_libdir}/libblkid.la
+rm -f %{buildroot}/%{_libdir}/libuuid.la
+rm -f %{buildroot}/%{_libdir}/libmount.la
+install -m 644 nologin.8 %{buildroot}%{_mandir}/man8
+echo -e "#! /bin/bash\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb
+chmod 755 %{buildroot}%{_sbindir}/flushb
+# Stupid hack so we don't have a tcsh dependency
+chmod 644 %{buildroot}%{_datadir}/getopt/getopt*.tcsh
+# Following files we don't want to package, so remove them
+rm -f %{buildroot}%{_bindir}/pg
+rm -f %{buildroot}%{_mandir}/man1/pg.1*
+# Do not package these files to get rid of the perl dependency
+rm -f %{buildroot}%{_bindir}/chkdupexe
+rm -f %{buildroot}%{_mandir}/man1/chkdupexe.1
+# we use this tools from pwdutils
+rm -f %{buildroot}/%{_bindir}/{chfn,chsh,newgrp}
+rm -f %{buildroot}/%{_sbindir}/{vigr,vipw}
+rm -f %{buildroot}/%{_mandir}/man1/{chfn.1*,chsh.1*,newgrp.1*}
+rm -f %{buildroot}/%{_mandir}/man8/{vigr.8*,vipw.8*}
+
+
+
+%find_lang %{name} %{name}.lang
+# create list of setarch(8) symlinks
+find %{buildroot}%{_bindir}/ -regextype posix-egrep -type l \
+ -regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|parisc|parisc32|parisc64)$" \
+ -printf "%{_bindir}/%f\n" >> %{name}.files
+find %{buildroot}%{_mandir}/man8 -regextype posix-egrep \
+ -regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|parisc|parisc32|parisc64)\.8.*" \
+ -printf "%{_mandir}/man8/%f*\n" >> %{name}.files
+# clock.txt from uuidd is a ghost file
+touch %{buildroot}%{_localstatedir}/lib/libuuid/clock.txt
+# rcuuidd helper
+
+rm -rf %{buildroot}/%{_mandir}/ru
+
+# remove duplicate manpages
+%fdupes -s %{buildroot}/%{_mandir}
+
+
+%post -n libblkid -p /sbin/ldconfig
+
+%postun -n libblkid -p /sbin/ldconfig
+
+%post -n libmount -p /sbin/ldconfig
+
+%postun -n libmount -p /sbin/ldconfig
+
+%post -n libuuid -p /sbin/ldconfig
+
+%postun -n libuuid -p /sbin/ldconfig
+
+%lang_package
+
+%docs_package
+
+
+%files -f %{name}.files
+%license COPYING
+# Common files for all archs
+%defattr(-,root,root)
+%config(noreplace) %{_sysconfdir}/filesystems
+%config(noreplace) %{_sysconfdir}/blkid.conf
+%config(noreplace) /etc/pam.d/login
+%config(noreplace) /etc/pam.d/remote
+%config(noreplace) /etc/pam.d/su
+%config(noreplace) /etc/pam.d/su-l
+%config(noreplace) /etc/default/su
+%{_bindir}/su
+%{_bindir}/cal
+%{_bindir}/eject
+#%{_bindir}/kill
+%{_bindir}/lslocks
+%{_bindir}/utmpdump
+%{_bindir}/wdctl
+%{_sbindir}/resizepart
+%{_sbindir}/sulogin
+%{_bindir}/login
+%{_bindir}/chrt
+%{_bindir}/col
+%{_bindir}/colcrt
+%{_bindir}/colrm
+%{_bindir}/column
+%{_bindir}/ddate
+%{_bindir}/dmesg
+%{_bindir}/fallocate
+%{_bindir}/findmnt
+%{_bindir}/flock
+%{_bindir}/getopt
+%{_bindir}/hexdump
+%{_bindir}/ionice
+%{_bindir}/ipcmk
+%{_bindir}/ipcrm
+%{_bindir}/ipcs
+%{_bindir}/isosize
+%{_bindir}/line
+%{_bindir}/logger
+%{_bindir}/look
+%{_bindir}/lsblk
+%{_bindir}/lscpu
+%{_bindir}/mcookie
+%{_bindir}/mesg
+%{_bindir}/more
+%{_bindir}/mount
+%{_bindir}/namei
+%{_bindir}/prlimit
+%{_bindir}/rename
+%{_bindir}/renice
+%{_bindir}/rev
+%{_bindir}/script
+%{_bindir}/scriptreplay
+%{_bindir}/setarch
+%{_bindir}/setsid
+%{_bindir}/tailf
+%{_bindir}/taskset
+%{_bindir}/ul
+%{_bindir}/umount
+%{_bindir}/unshare
+%{_bindir}/uuidgen
+%{_sbindir}/addpart
+%{_sbindir}/agetty
+%{_sbindir}/blkid
+%{_sbindir}/blockdev
+%{_sbindir}/chcpu
+%{_sbindir}/ctrlaltdel
+%{_sbindir}/delpart
+%{_sbindir}/findfs
+%{_sbindir}/fsck
+%{_sbindir}/fsck.minix
+%{_sbindir}/fsck.cramfs
+%{_sbindir}/fsfreeze
+%{_sbindir}/fstrim
+%{_sbindir}/ldattach
+%{_sbindir}/losetup
+%{_sbindir}/mkfs
+%{_sbindir}/mkfs.bfs
+%{_sbindir}/mkfs.minix
+%{_sbindir}/mkfs.cramfs
+%{_sbindir}/mkswap
+%{_sbindir}/nologin
+%{_sbindir}/raw
+%{_sbindir}/partx
+%{_sbindir}/pivot_root
+%{_sbindir}/rtcwake
+%{_sbindir}/swaplabel
+%{_sbindir}/swapoff
+%{_sbindir}/swapon
+%{_sbindir}/switch_root
+%{_sbindir}/wipefs
+%verify(not mode) %attr(0755,root,tty) %{_bindir}/wall
+%{_bindir}/whereis
+%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
+%{_sbindir}/flushb
+%{_sbindir}/readprofile
+%dir %{_datadir}/getopt
+%attr (755,root,root) %{_datadir}/getopt/getopt-parse.bash
+%attr (755,root,root) %{_datadir}/getopt/getopt-parse.tcsh
+#XXX: post our patches upstream
+#XXX: call fdupes on /usr/share/man
+%{_sbindir}/fdisk
+%{_sbindir}/cfdisk
+%{_sbindir}/sfdisk
+%{_bindir}/cytune
+%{_sbindir}/fdformat
+%{_sbindir}/hwclock
+%{_bindir}/setterm
+%{_sbindir}/tunelp
+
+%files -n libblkid
+%defattr(-, root, root)
+/%{_libdir}/libblkid.so.1
+/%{_libdir}/libblkid.so.1.*
+
+%files -n libblkid-devel
+%defattr(-, root, root)
+%{_libdir}/libblkid.so
+%dir %{_includedir}/blkid
+%{_includedir}/blkid/blkid.h
+%{_libdir}/pkgconfig/blkid.pc
+
+%files -n libmount
+%defattr(-, root, root)
+/%{_libdir}/libmount.so.1
+/%{_libdir}/libmount.so.1.*
+
+%files -n libmount-devel
+%defattr(-, root, root)
+%{_libdir}/libmount.so
+%dir %{_includedir}/libmount
+%{_includedir}/libmount/libmount.h
+%{_libdir}/pkgconfig/mount.pc
+
+%files -n uuidd
+%defattr(-, root, root)
+%verify(not mode) %attr(0755,root,root) %{_sbindir}/uuidd
+%attr(-,uuidd,uuidd) %dir %{_localstatedir}/lib/libuuid
+%ghost %{_localstatedir}/lib/libuuid/clock.txt
+%attr(-,uuidd,uuidd) %ghost %dir %{_localstatedir}/run/uuidd
+
+%files -n libuuid
+%defattr(-, root, root)
+/%{_libdir}/libuuid.so.1
+/%{_libdir}/libuuid.so.1.*
+
+%files -n libuuid-devel
+%defattr(-, root, root)
+%{_libdir}/libuuid.so
+%dir %{_includedir}/uuid
+%{_includedir}/uuid/uuid.h
+%{_libdir}/pkgconfig/uuid.pc
+
--- /dev/null
+Name: util-macros
+Summary: X.Org build utilities
+Version: 1.17
+Release: 1
+License: MIT/X11
+Group: Development/System
+URL: http://www.x.org
+Source: util-macros-%{version}.tar.bz2
+
+%description
+ This package provides build utilties tha ship with the X Window System, including:
+ - util-macros, autotools macros for X.Org
+
+%prep
+%setup -q -n util-macros-%{version}
+
+%build
+%configure
+make
+
+%install
+%make_install
+
+%remove_docs
+rm -rf %{buildroot}/usr/share/util-macros/INSTALL
+
+%files
+%license COPYING
+%{_datadir}/aclocal/*
+%{_datadir}/pkgconfig/*
+
--- /dev/null
+#sbs-git:slp/pkgs/u/uw-imap-toolkit uw-imap-toolkit 0.1.1 a675e5c581b6726dcb93c63d826d6827bf29d671
+%define _optdir /opt
+%define _appdir %{_optdir}/apps
+
+
+Name: uw-imap-toolkit
+Summary: IMAP-2007e developed by University of Washington
+Version: 0.1.1
+Release: 0
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: libgcrypt-devel
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(dlog)
+
+%description
+IMAP-2007e run-time library for E-mail Framework
+
+
+%package -n libuw-imap-toolkit
+Summary: IMAP-2007e developed by University of Washington
+Group: TO_BE/FILLED_IN
+
+%description -n libuw-imap-toolkit
+IMAP-2007e run-time library for E-mail Framework
+
+
+%package -n libuw-imap-toolkit-devel
+Summary: IMAP-2007e developed by University of Washington
+Group: TO_BE/FILLED_IN
+Requires: libuw-imap-toolkit = %{version}-%{release}
+
+%description -n libuw-imap-toolkit-devel
+IMAP-2007e development library for E-mail Framework
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+%configure --disable-static
+
+
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%post -n libuw-imap-toolkit -p /sbin/ldconfig
+
+
+%postun -n libuw-imap-toolkit -p /sbin/ldconfig
+
+
+%files -n libuw-imap-toolkit
+%defattr(-,root,root,-)
+%{_libdir}/libuw-imap-toolkit.so.*
+
+
+%files -n libuw-imap-toolkit-devel
+%defattr(-,root,root,-)
+%{_libdir}/libuw-imap-toolkit.so
+%{_libdir}/pkgconfig/uw-imap-toolkit.pc
+%{_includedir}/uw-imap-toolkit/*
--- /dev/null
+Name: v8
+Version: 3.14.5
+Release: 0
+Summary: JavaScript Engine
+License: BSD-3-Clause
+Group: System/Libraries
+Url: http://code.google.com/p/v8
+Source0: %{name}.%{version}.tar.bz2
+BuildRequires: gcc-c++
+BuildRequires: lzma
+BuildRequires: python-devel
+BuildRequires: readline-devel
+ExclusiveArch: %{ix86} x86_64 %arm
+
+%global somajor `echo %{version} | cut -f1 -d'.'`
+%global sominor `echo %{version} | cut -f2 -d'.'`
+%global sobuild `echo %{version} | cut -f3 -d'.'`
+%global sover %{somajor}.%{sominor}.%{sobuild}
+
+%ifarch i586 i686
+%global target ia32
+%endif
+%ifarch x86_64
+%global target x64
+%endif
+%ifarch armv7l armv7hl
+%global target arm
+%endif
+
+%description
+V8 is Google's open source JavaScript engine. V8 is written in C++ and is used
+in Google Chrome, the open source browser from Google. V8 implements ECMAScript
+as specified in ECMA-262, 3rd edition.
+
+%package -n libv8
+
+Summary: JavaScript Engine
+Group: Development/Libraries/Other
+
+%description -n libv8
+Libraries for v8.
+
+%package devel
+
+Summary: Development headers and libraries for v8
+Group: Development/Libraries/Other
+Requires: lib%{name} = %{version}
+
+%description devel
+Development headers and libraries for v8.
+
+%package private-headers-devel
+
+Summary: Private Development headers for v8
+Group: Development/Libraries/C and C++
+Requires: %{name}-devel = %{version}
+
+%description private-headers-devel
+Special Private Development headers for v8.
+
+%prep
+%setup -q
+
+%build
+
+env=CCFLAGS:"-fPIC"
+make %{target}.release -j3 library=shared snapshots=on soname_version=%{somajor}
+
+%install
+mkdir -p %{buildroot}%{_includedir}/v8/x64
+mkdir -p %{buildroot}%{_libdir}
+install -p include/*.h %{buildroot}%{_includedir}
+
+install -p src/*.h %{buildroot}%{_includedir}/v8
+install -p src/x64/*.h %{buildroot}%{_includedir}/v8/x64
+
+install -p out/%{target}.release/lib.target/libv8.so* %{buildroot}%{_libdir}
+mkdir -p %{buildroot}%{_bindir}
+install -p -m0755 out/%{target}.release/d8 %{buildroot}%{_bindir}
+
+pushd %{buildroot}%{_libdir}
+ln -sf libv8.so.%{somajor} libv8.so
+
+chmod -x %{buildroot}%{_includedir}/v8*.h
+popd
+
+%post -n libv8 -p /sbin/ldconfig
+
+%postun -n libv8 -p /sbin/ldconfig
+
+%files -n libv8
+%defattr(-,root,root,-)
+%license LICENSE
+%{_bindir}/d8
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*.h
+%{_libdir}/*.so
+
+
+%files private-headers-devel
+%defattr(644,root,root,-)
+%{_includedir}/v8/
+
+%changelog
--- /dev/null
+Name: valgrind
+Url: http://valgrind.org/
+Summary: Memory Management Debugger
+License: GPL-2.0+
+Group: Development/Tools/Debuggers
+Version: 3.8.1
+Release: 0
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: automake
+BuildRequires: docbook-xsl-stylesheets
+BuildRequires: docbook_4
+BuildRequires: gcc-c++
+BuildRequires: glibc-devel-32bit
+BuildRequires: libxslt
+BuildRequires: pkgconfig
+
+%description
+Valgrind checks all memory operations in an application, like read,
+write, malloc, new, free, and delete. Valgrind can find uses of
+uninitialized memory, access to already freed memory, overflows,
+illegal stack operations, memory leaks, and any illegal
+new/malloc/free/delete commands. Another program in the package is
+"cachegrind," a profiler based on the valgrind engine.
+
+To use valgrind you should compile your application with "-g -O0"
+compiler options. Afterwards you can use it with:
+
+valgrind --tool=memcheck --sloppy-malloc=yes --leak-check=yes
+--db-attach=yes my_application, for example.
+
+More valgrind options can be listed via "valgrind --help". A
+debugged application runs slower and needs much more memory, but
+is usually still usable. Valgrind is still in development, but it
+has been successfully used to optimize several KDE applications.
+
+
+%package devel
+Summary: Memory Management Debugger
+Group: Development/Tools/Debuggers
+Requires: %name = %version
+
+%description devel
+Valgrind checks all memory operations in an application, like read,
+write, malloc, new, free, and delete. Valgrind can find uses of
+uninitialized memory, access to already freed memory, overflows,
+illegal stack operations, memory leaks, and any illegal
+new/malloc/free/delete commands. Another program in the package is
+"cachegrind," a profiler based on the valgrind engine.
+
+To use valgrind you should compile your application with "-g -O0"
+compiler options. Afterwards you can use it with:
+
+valgrind --tool=memcheck --sloppy-malloc=yes --leak-check=yes
+--db-attach=yes my_application, for example.
+
+More valgrind options can be listed via "valgrind --help". A
+debugged application runs slower and needs much more memory, but
+is usually still usable. Valgrind is still in development, but it
+has been successfully used to optimize several KDE applications.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="-O2"
+export CXXFLAGS="-O2"
+%autogen
+
+%ifarch x86_64
+%configure --enable-only64bit
+%else
+%configure
+%endif
+
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+# extra documentation available online
+rm -rf %{buildroot}%{_datadir}/doc/valgrind
+
+%docs_package
+
+%files
+%license COPYING
+%{_bindir}/*
+%dir %{_libdir}/valgrind
+%ifarch x86_64
+%{_libdir}/valgrind/*-amd64-linux
+%endif
+%ifarch %ix86
+%{_libdir}/valgrind/*-x86-linux
+%endif
+%ifarch %arm
+%{_libdir}/valgrind/*-arm-linux
+%endif
+%{_libdir}/valgrind/*-linux.so
+%{_libdir}/valgrind/*.supp
+%{_libdir}/valgrind/32bit-core-valgrind-s*.xml
+%{_libdir}/valgrind/32bit-core.xml
+%{_libdir}/valgrind/32bit-linux-valgrind-s*.xml
+%{_libdir}/valgrind/32bit-linux.xml
+%{_libdir}/valgrind/32bit-sse-valgrind-s*.xml
+%{_libdir}/valgrind/32bit-sse.xml
+%{_libdir}/valgrind/64bit-avx-valgrind-s1.xml
+%{_libdir}/valgrind/64bit-avx-valgrind-s2.xml
+%{_libdir}/valgrind/64bit-avx.xml
+%{_libdir}/valgrind/64bit-core-valgrind-s*.xml
+%{_libdir}/valgrind/64bit-core.xml
+%{_libdir}/valgrind/64bit-linux-valgrind-s*.xml
+%{_libdir}/valgrind/64bit-linux.xml
+%{_libdir}/valgrind/64bit-sse-valgrind-s*.xml
+%{_libdir}/valgrind/64bit-sse.xml
+%{_libdir}/valgrind/amd64-avx-coresse-valgrind.xml
+%{_libdir}/valgrind/amd64-avx-coresse.xml
+%{_libdir}/valgrind/amd64-avx-linux-valgrind.xml
+%{_libdir}/valgrind/amd64-avx-linux.xml
+%{_libdir}/valgrind/amd64-coresse-valgrind.xml
+%{_libdir}/valgrind/amd64-linux-valgrind.xml
+%{_libdir}/valgrind/arm-core-valgrind-s*.xml
+%{_libdir}/valgrind/arm-core.xml
+%{_libdir}/valgrind/arm-vfpv3-valgrind-s*.xml
+%{_libdir}/valgrind/arm-vfpv3.xml
+%{_libdir}/valgrind/arm-with-vfpv3-valgrind.xml
+%{_libdir}/valgrind/arm-with-vfpv3.xml
+%{_libdir}/valgrind/i386-coresse-valgrind.xml
+%{_libdir}/valgrind/i386-linux-valgrind.xml
+%{_libdir}/valgrind/mips-cp0-valgrind-s1.xml
+%{_libdir}/valgrind/mips-cp0-valgrind-s2.xml
+%{_libdir}/valgrind/mips-cp0.xml
+%{_libdir}/valgrind/mips-cpu-valgrind-s1.xml
+%{_libdir}/valgrind/mips-cpu-valgrind-s2.xml
+%{_libdir}/valgrind/mips-cpu.xml
+%{_libdir}/valgrind/mips-fpu-valgrind-s1.xml
+%{_libdir}/valgrind/mips-fpu-valgrind-s2.xml
+%{_libdir}/valgrind/mips-fpu.xml
+%{_libdir}/valgrind/mips-linux-valgrind.xml
+%{_libdir}/valgrind/mips-linux.xml
+%{_libdir}/valgrind/power-altivec-valgrind-s*.xml
+%{_libdir}/valgrind/power-altivec.xml
+%{_libdir}/valgrind/power-core-valgrind-s1.xml
+%{_libdir}/valgrind/power-core-valgrind-s2.xml
+%{_libdir}/valgrind/power-core.xml
+%{_libdir}/valgrind/power-fpu-valgrind-s*.xml
+%{_libdir}/valgrind/power-fpu.xml
+%{_libdir}/valgrind/power-linux-valgrind-s*.xml
+%{_libdir}/valgrind/power-linux.xml
+%{_libdir}/valgrind/power64-core-valgrind-s*.xml
+%{_libdir}/valgrind/power64-core.xml
+%{_libdir}/valgrind/power64-linux-valgrind-s*.xml
+%{_libdir}/valgrind/power64-linux.xml
+%{_libdir}/valgrind/powerpc-altivec32l-valgrind.xml
+%{_libdir}/valgrind/powerpc-altivec32l.xml
+%{_libdir}/valgrind/powerpc-altivec64l-valgrind.xml
+%{_libdir}/valgrind/powerpc-altivec64l.xml
+%{_libdir}/valgrind/s390-acr-valgrind-s1.xml
+%{_libdir}/valgrind/s390-acr-valgrind-s2.xml
+%{_libdir}/valgrind/s390-acr.xml
+%{_libdir}/valgrind/s390-fpr-valgrind-s1.xml
+%{_libdir}/valgrind/s390-fpr-valgrind-s2.xml
+%{_libdir}/valgrind/s390-fpr.xml
+%{_libdir}/valgrind/s390x-core64-valgrind-s1.xml
+%{_libdir}/valgrind/s390x-core64-valgrind-s2.xml
+%{_libdir}/valgrind/s390x-core64.xml
+%{_libdir}/valgrind/s390x-generic-valgrind.xml
+%{_libdir}/valgrind/s390x-generic.xml
+%{_libdir}/valgrind/s390x-linux64-valgrind-s1.xml
+%{_libdir}/valgrind/s390x-linux64-valgrind-s2.xml
+%{_libdir}/valgrind/s390x-linux64.xml
+
+%files devel
+%{_includedir}/valgrind
+%{_libdir}/pkgconfig/valgrind.pc
--- /dev/null
+Name: vconf-internal-keys
+Summary: Internal shared keys for vconf
+Version: 0.0.78
+Release: 0
+Group: Development/Headers
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+
+%description
+configuration internal shared keys
+
+%package devel
+Summary: vconf internal keys (devel)
+Group: Development/Headers
+
+%description devel
+Vconf internal key header files (devel)
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/vconf/*
+%{_libdir}/pkgconfig/*.pc
+
--- /dev/null
+Name: vconf
+Summary: Configuration system library
+Version: 0.2.45
+Release: 3
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: vconf-setup.service
+Source2: vconf-setup.conf
+Requires(post): /sbin/ldconfig, systemd
+Requires(postun): /sbin/ldconfig, systemd
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf-internal-keys)
+
+%description
+Configuration system library
+
+%package devel
+Summary: Vconf (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(glib-2.0)
+Requires: vconf = %{version}-%{release}
+Requires: vconf-keys-devel = %{version}-%{release}
+
+%description devel
+Vconf library (devel)
+
+%package keys-devel
+Summary: Vconf (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: vconf = %{version}-%{release}
+Requires: vconf-internal-keys-devel
+
+%description keys-devel
+Vconf key management header files
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}/etc/rc.d/rc3.d
+mkdir -p %{buildroot}/etc/rc.d/rc4.d
+ln -sf /etc/rc.d/init.d/vconf-init %{buildroot}/etc/rc.d/rc3.d/S04vconf-init
+ln -sf /etc/rc.d/init.d/vconf-init %{buildroot}/etc/rc.d/rc4.d/S04vconf-init
+mkdir -p %{buildroot}/opt/var/kdb/db
+mkdir -p %{buildroot}/opt/var/kdb/db/.backup
+mkdir -p %{buildroot}/tmp
+touch %{buildroot}/tmp/vconf-initialized
+mkdir -p %{buildroot}%{_unitdir}/basic.target.wants
+mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d
+install -m0644 %SOURCE1 %{buildroot}%{_unitdir}/
+install -m0644 %SOURCE2 %{buildroot}%{_prefix}/lib/tmpfiles.d/
+ln -sf ../vconf-setup.service %{buildroot}%{_unitdir}/basic.target.wants/
+mkdir -p %{buildroot}/usr/share/license
+install LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+%post
+/sbin/ldconfig
+systemctl daemon-reload
+
+%postun
+/sbin/ldconfig
+systemctl daemon-reload
+
+%files
+%manifest vconf.manifest
+%defattr(-,root,root,-)
+%attr(755,root,root) %{_sysconfdir}/rc.d/init.d/vconf-init
+%{_sysconfdir}/rc.d/rc3.d/S04vconf-init
+%{_sysconfdir}/rc.d/rc4.d/S04vconf-init
+%attr(755,root,root) %{_sysconfdir}/preconf.d/vconf-setup
+%{_bindir}/vconftool
+%config(missingok) %attr(644,root,root) /opt/var/kdb/kdb_first_boot
+%{_libdir}/*.so.*
+%dir %attr(777,root,root) /opt/var/kdb/db
+%dir %attr(777,root,root) /opt/var/kdb/db/.backup
+/tmp/vconf-initialized
+%{_unitdir}/basic.target.wants/vconf-setup.service
+%{_unitdir}/vconf-setup.service
+%{_prefix}/lib/tmpfiles.d/vconf-setup.conf
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/vconf/vconf.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so
+
+%files keys-devel
+%defattr(-,root,root,-)
+%{_includedir}/vconf/vconf-keys.h
+
+%changelog
+* Tue Oct 23 2012 - SeungYeup Kim <sy2004.kim@samsung.com>
+- Add thread safe code
+
+* Tue Sep 18 2012 - SeungYeup Kim <sy2004.kim@samsung.com>
+- Add 4 public keys (Browser User Agent)
+
+* Tue Aug 28 2012 - SeungYeup Kim <sy2004.kim@samsung.com>
+- Remove memory leak
+- Remove use after free
+
+* Tue Aug 14 2012 - Hyungdeuk Kim <hd3.kim@samsung.com>
+- Fix issues related prevent
+- Fix warning msg at build time
+
+* Mon Jul 23 2012 - SeungYeup Kim <sy2004.kim@samsung.com>
+- Enable -f option for force update
--- /dev/null
+Summary: Linux 802.1q VLAN configuration utility
+Name: vconfig
+Version: 1.9
+Release: 14
+License: GPLv2+
+Group: System Environment/Base
+Source: http://www.candelatech.com/~greear/vlan/vlan.%{version}.tar.gz
+Source1001: %{name}.manifest
+URL: http://www.candelatech.com/~greear/vlan.html
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%define _sbin /sbin
+
+%description
+The vconfig program configures and adjusts 802.1q VLAN parameters.
+
+%prep
+%setup -q -n vlan.%{version}
+
+%build
+cp %{SOURCE1001} .
+make clean
+rm -f vconfig
+make CCFLAGS="%{optflags}" STRIP=/bin/true vconfig
+
+%install
+rm -rf ${RPM_BUILD_ROOT}
+%{__install} -D -m755 vconfig ${RPM_BUILD_ROOT}%{_sbin}/vconfig
+%{__install} -D -m644 vconfig.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/vconfig.8
+rm -rf contrib/CVS
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%defattr(-, root, root, 0755)
+%manifest %{name}.manifest
+%doc CHANGELOG contrib README vlan.html vlan_test.pl
+%{_sbin}/vconfig
+%{_mandir}/man8/vconfig.8*
--- /dev/null
+Name: capi-media-video-util
+Summary: A Video Utility library in Tizen Native API
+Version: 0.1.6
+Release: 2
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(mm-transcode)
+BuildRequires: pkgconfig(capi-base-common)
+
+BuildRequires: cmake
+BuildRequires: gettext-devel
+
+%description
+A Video Utility library in Tizen Native API
+
+
+%package devel
+Summary: A Video Utility library in Tizen Native API (Developement)
+Group: TO_BE_FILLED
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(dlog)
+Requires: pkgconfig(mm-common)
+Requires: pkgconfig(mm-transcode)
+Requires: pkgconfig(capi-base-common)
+
+%description devel
+A Video Utility library in Tizen Native API (Developement)
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+mkdir -p %{buildroot}/%{_datadir}/license
+cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/%{name}
+
+%post
+
+%postun
+
+%files
+%manifest capi-media-video-util.manifest
+%{_libdir}/lib*.so.*
+%{_datadir}/license/%{name}
+
+%files devel
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/media/*.h
+
--- /dev/null
+Name: videoproto
+Version: 2.3.1
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+Description: %{summary}
+This extension provides a protocol for a video output mechanism,
+mainly to rescale video playback in the video controller hardware.
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+%define pkg_version 7.3
+%define official_ptchlvl 822
+%define VIM_SUBDIR vim73
+%define site_runtimepath /usr/share/vim/site
+
+Name: vim
+Version: 7.3
+Release: 0
+License: VIM LICENSE
+#
+Summary: Vi IMproved
+#
+Url: http://www.vim.org/
+Group: Productivity/Editors/Vi
+Source: ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2
+Source3: tizen.vimrc
+Source98: %{name}-7.3-patches.tar.bz2
+Source99: %{name}-7.3-rpmlintrc
+BuildRequires: autoconf
+BuildRequires: db4-devel
+BuildRequires: fdupes
+BuildRequires: gettext-devel
+BuildRequires: ncurses-devel
+BuildRequires: perl
+BuildRequires: pkgconfig
+BuildRequires: python-devel
+BuildRequires: systemd
+Requires(pre): update-alternatives
+#
+Provides: vi
+Provides: vim_client
+#
+%define vim_prereq %{name}-base = %{version}
+# Explicitly require versioned perl for libperl.so
+%define perl_requires perl = %(rpm -q --qf '%{VERSION}' perl)
+Requires(pre): %{vim_prereq}
+
+%description
+Vim (Vi IMproved) is an almost compatible version of the UNIX editor
+vi. Almost every possible command can be performed using only ASCII
+characters. Only the 'Q' command is missing (you do not need it). Many
+new features have been added: multilevel undo, command line history,
+file name completion, block operations, and editing of binary data.
+
+Vi is available for the AMIGA, MS-DOS, Windows NT, and various versions
+of UNIX.
+
+Package vim contains the normal version of vim. To get the full runtime
+environment install additionally vim-data.
+
+%package data
+Summary: Vi IMproved
+Group: Productivity/Editors/Vi
+BuildArch: noarch
+Requires(pre): %{vim_prereq}
+
+%description data
+Vim (Vi IMproved) is an almost compatible version of the UNIX editor
+vi. Almost every possible command can be performed using only ASCII
+characters. Only the 'Q' command is missing (you do not need it). Many
+new features have been added: multilevel undo, command line history,
+file name completion, block operations, and editing of binary data.
+
+Vi is available for the AMIGA, MS-DOS, Windows NT, and various versions
+of UNIX.
+
+Package vim-data contains the runtime files.
+
+%package base
+Summary: Vi IMproved
+Group: Productivity/Editors/Vi
+Requires(pre): %{vim_prereq}
+Requires(pre): update-alternatives
+
+%description base
+Vim (Vi IMproved) is an almost compatible version of the UNIX editor
+vi. Almost every possible command can be performed using only ASCII
+characters. Only the 'Q' command is missing (you do not need it). Many
+new features have been added: multilevel undo, command line history,
+file name completion, block operations, and editing of binary data.
+
+Vi is available for the AMIGA, MS-DOS, Windows NT, and various versions
+of UNIX.
+
+For SUSE Linux, Vim is used as /usr/bin/vi.
+
+Package vim-base contains the common files needed for all different vim
+versions. You still need to select at least one of the vim,
+vim-enhanced or gvim packages. For full runtime support you might also
+want to install the vim-data package.
+
+%package enhanced
+Summary: A version of the VIM editor which includes recent enhancements
+Group: Productivity/Editors/Vi
+Requires: %{perl_requires}
+Requires: vim-data
+Provides: vi
+Provides: vim_client
+Requires(pre): %{vim_prereq}
+Requires(pre): update-alternatives
+
+%description enhanced
+The vim-enhanced package contains a version of VIM with extra, recently
+introduced features like Ruby, Perl and TCL interpreters, but it has no
+graphical user interface. Please use gvim instead, if you need a gui
+too.
+
+Install the vim-enhanced package if you'd like to use a version of the
+VIM editor which includes recently added enhancements like interpreters
+for the Python and Perl scripting languages. You'll also need to
+install the base package 'vim', for online help, etc. If you need the
+graphical features of vim, you might want to install package gvim too.
+
+%prep
+%setup -q -n vim73 -b 98
+for p in ../vim-%{pkg_version}-patches/%{pkg_version}*; do
+ test -e $p || break
+ test ${p#*/%{pkg_version}.} -le %{official_ptchlvl} || exit 1
+ echo Patch $p
+ patch -s -p0 < $p
+done
+unset p
+cp %{SOURCE3} .
+
+# newer perl? ugly hack to fix build anyway.
+sed -i -e 's/^XS(XS_/XS_INTERNAL(XS_/' src/if_perl.xs
+
+%build
+export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing"
+export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1}
+
+export COMMON_OPTIONS="\
+ --with-vim-name=vim \
+ --with-ex-name=ex \
+ --with-view-name=view \
+ --enable-cscope \
+ --enable-multibyte \
+ --enable-sniff \
+ --with-features=huge \
+ --with-compiledby='http://www.tizen.org/' \
+ --with-tlib=tinfo \
+ --with-global-runtime=%{site_runtimepath}"
+export SCRIPT_OPTIONS="\
+ --enable-perlinterp \
+ --enable-pythoninterp \
+ --with-python-config-dir=%{py_libdir}/config"
+
+pushd src
+autoconf
+popd
+#
+# build small default binary
+%configure \
+ ${COMMON_OPTIONS} --disable-gui --without-x --disable-gpm \
+ --disable-perlinterp --disable-pythoninterp \
+ --disable-rubyinterp --disable-tclinterp
+sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h
+make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?jobs:-j%jobs}
+cp src/vim vim-normal
+make distclean
+#
+# build enhanced binary
+%configure ${COMMON_OPTIONS} ${SCRIPT_OPTIONS} --disable-gui
+sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h
+make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?jobs:-j%jobs}
+cp src/vim vim-enhanced
+#make distclean
+#
+#
+
+%install
+# create icon directory to have the icon from the tarball installed
+install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
+
+cd src
+make install DESTDIR=%{buildroot} BINDIR=%{_bindir} VIMRCLOC=/etc VIMRUNTIMEDIR=%{site_runtimepath}
+cd ..
+
+# install the other binaries
+install -D -m 0755 vim-normal %{buildroot}/%{_bindir}/vim-normal
+install -D -m 0755 vim-enhanced %{buildroot}%{_bindir}/vim-enhanced
+
+# compat symlinks
+# we need a dummy target for /etc/alternatives/vim
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+touch %{buildroot}%{_sysconfdir}/alternatives/vim
+ln -s -f /etc/alternatives/vim %{buildroot}/%{_bindir}/vim
+
+ln -s -f vim %{buildroot}%{_bindir}/vi
+ln -s -f vim %{buildroot}%{_bindir}/edit
+ln -s -f vim %{buildroot}/%{_bindir}/ex
+
+# man pages
+mkdir -p %{buildroot}%{_mandir}/man1
+ln -s -f vim.1.gz %{buildroot}%{_mandir}/man1/vi.1.gz
+ln -s -f vim.1.gz %{buildroot}%{_mandir}/man1/ex.1.gz
+
+
+# make the vim settings more generic
+ln -s -f %{VIM_SUBDIR} %{buildroot}%{_datadir}/vim/current
+
+# additional files
+install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/vimrc
+
+# create site wide runtime directory
+mkdir -p -m 0755 %{buildroot}%{site_runtimepath}/after
+mkdir -m 0755 %{buildroot}%{site_runtimepath}/autoload
+mkdir -m 0755 %{buildroot}%{site_runtimepath}/colors
+mkdir -m 0755 %{buildroot}%{site_runtimepath}/doc
+mkdir -m 0755 %{buildroot}%{site_runtimepath}/plugin
+mkdir -m 0755 %{buildroot}%{site_runtimepath}/syntax
+mkdir -m 0755 %{buildroot}%{site_runtimepath}/ftdetect
+mkdir -m 0755 %{buildroot}%{site_runtimepath}/after/syntax
+mkdir -m 0755 %{buildroot}%{_datadir}/vim/current/skeletons
+mkdir -m 0755 %{buildroot}%{_sysconfdir}/skel
+
+
+#
+# documentation
+install -d -m 0755 %{buildroot}%{_docdir}/{,g}vim/
+cp runtime/doc/uganda.txt LICENSE
+install -D -m 0644 \
+ tizen.vimrc \
+ LICENSE README.txt README_src.txt README_unix.txt \
+ %{buildroot}%{_docdir}/vim/
+#
+# remove unecessary duplicate manpages
+rm -rf %{buildroot}%{_mandir}/fr.ISO8859-1/
+rm -rf %{buildroot}%{_mandir}/fr.UTF-8/
+rm -rf %{buildroot}%{_mandir}/pl.ISO8859-2/
+rm -rf %{buildroot}%{_mandir}/pl.UTF-8/
+rm -rf %{buildroot}%{_mandir}/ru.KOI8-R/
+rm -rf %{buildroot}%{_mandir}/it.ISO8859-1/
+rm -rf %{buildroot}%{_mandir}/it.UTF-8/
+rm -rf %{buildroot}%{_mandir}/ru.UTF-8
+# and move russian manpages to a place where they can be found
+rm -rf %{buildroot}%{_mandir}/{fr,it,pl,ru}
+
+
+# remove some c source files
+rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/*.c
+rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/macros/maze/*.c
+#
+# Create ghost files (see vim.conf)
+mkdir -p %{buildroot}%{_localstatedir}/run/vi.recover
+rm -rf %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
+
+%fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/lang
+%fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tutor
+%fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/ftplugin
+
+%post
+/usr/sbin/update-alternatives --install \
+ /usr/bin/vim vim /usr/bin/vim-normal 15
+
+
+%post enhanced
+/usr/sbin/update-alternatives --install \
+ /usr/bin/vim vim %{_bindir}/vim-enhanced 20
+
+
+%preun
+if [ "$1" = 0 ] ; then
+ /usr/sbin/update-alternatives --remove vim /usr//bin/vim-normal
+fi
+
+
+%preun enhanced
+if [ "$1" = 0 ] ; then
+ /usr/sbin/update-alternatives --remove vim %{_bindir}/vim-enhanced
+fi
+
+
+%docs_package
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/vim-normal
+
+%files base
+%defattr(-,root,root,-)
+%config(noreplace) %{_sysconfdir}/vimrc
+%ghost %{_sysconfdir}/alternatives/vim
+%{_bindir}/edit
+%{_bindir}/ex
+%{_bindir}/rview
+%{_bindir}/rvim
+%{_bindir}/vi
+%{_bindir}/vim
+%{_bindir}/view
+%{_bindir}/vimdiff
+# additional binaries
+%{_bindir}/vimtutor
+%{_bindir}/xxd
+# docs and data file
+%doc %{_docdir}/vim
+#
+%{_datadir}/vim/current
+%dir %{_datadir}/vim/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/autoload/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/colors/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/compiler/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/doc/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/ftplugin/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/indent/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/keymap/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/lang/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/macros/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/plugin/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/print/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/spell/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/syntax/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/tools/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/tutor/
+%dir %{_datadir}/vim/%{VIM_SUBDIR}/skeletons/
+%dir %{site_runtimepath}
+%dir %{site_runtimepath}/autoload/
+%dir %{site_runtimepath}/colors/
+%dir %{site_runtimepath}/doc/
+%dir %{site_runtimepath}/plugin/
+%dir %{site_runtimepath}/syntax/
+%dir %{site_runtimepath}/ftdetect/
+%dir %{site_runtimepath}/after/
+%dir %{site_runtimepath}/after/syntax/
+#
+%{_datadir}/vim/%{VIM_SUBDIR}/bugreport.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/evim.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/filetype.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/ftoff.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/ftplugin.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/ftplugof.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/indent.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/indoff.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/optwin.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/scripts.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/syntax/syntax.vim
+
+%files data
+%defattr(-,root,root,-)
+# data files
+%{_datadir}/vim/%{VIM_SUBDIR}/autoload/*
+%{_datadir}/vim/%{VIM_SUBDIR}/colors/*
+%{_datadir}/vim/%{VIM_SUBDIR}/compiler/*
+%{_datadir}/vim/%{VIM_SUBDIR}/doc/*
+%{_datadir}/vim/%{VIM_SUBDIR}/ftplugin/*
+%{_datadir}/vim/%{VIM_SUBDIR}/indent/*
+%{_datadir}/vim/%{VIM_SUBDIR}/keymap/*
+%{_datadir}/vim/%{VIM_SUBDIR}/lang/*
+%{_datadir}/vim/%{VIM_SUBDIR}/macros/*
+%{_datadir}/vim/%{VIM_SUBDIR}/plugin/*
+%{_datadir}/vim/%{VIM_SUBDIR}/print/*
+%{_datadir}/vim/%{VIM_SUBDIR}/spell/*
+%{_datadir}/vim/%{VIM_SUBDIR}/syntax/*
+%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/syntax.vim
+#%{_datadir}/vim/%{VIM_SUBDIR}/tools/blink.c
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/ccfilter.1
+#%{_datadir}/vim/%{VIM_SUBDIR}/tools/ccfilter.c
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/ccfilter_README.txt
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/efm_filter.pl
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/efm_filter.txt
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/efm_perl.pl
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/mve.awk
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/mve.txt
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/pltags.pl
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/README.txt
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/ref
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/shtags.1
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/shtags.pl
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/unicode.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/vimm
+%exclude %{_datadir}/vim/%{VIM_SUBDIR}/tools/vim132
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/vimspell.sh
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/vimspell.txt
+%{_datadir}/vim/%{VIM_SUBDIR}/tools/vim_vs_net.cmd
+#%{_datadir}/vim/%{VIM_SUBDIR}/tools/xcmdsrv_client.c
+%{_datadir}/vim/%{VIM_SUBDIR}/tutor/*
+%{_datadir}/vim/%{VIM_SUBDIR}/delmenu.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/menu.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/mswin.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/synmenu.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/gvimrc_example.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/vimrc_example.vim
+
+%files enhanced
+%defattr(-,root,root,-)
+%{_bindir}/vim-enhanced
+
+
+%changelog
--- /dev/null
+#sbs-git:slp/pkgs/v/volume-app volume-app 0.1.2 226202351de9fefb43756c36d215ca74f52431d0
+Name: org.tizen.volume
+Summary: Volume application (EFL)
+Version: 0.2.8
+Release: 1
+Group: TO_BE/FILLED_IN
+License: Flora Software License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(syspopup)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(svi)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(feedback)
+
+BuildRequires: cmake
+BuildRequires: edje-bin
+BuildRequires: embryo-bin
+BuildRequires: gettext-devel
+
+%description
+volume.
+
+%prep
+%setup -q
+
+%define PREFIX /usr/apps/org.tizen.volume
+
+%build
+RPM_OPT=`echo $CFLAGS|sed 's/-Wp,-D_FORTIFY_SOURCE=2//'`
+export CFLAGS=$RPM_OPT
+cmake -DCMAKE_INSTALL_PREFIX="%{PREFIX}"
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%manifest org.tizen.volume.manifest
+%defattr(-,root,root,-)
+%{PREFIX}/bin/*
+%{PREFIX}/res/*
+/opt/share/icons/default/small/org.tizen.volume.png
+/usr/share/packages/org.tizen.volume.xml
+/opt/etc/smack/accesses.d/org.tizen.volume.rule
--- /dev/null
+Name: vpnc
+BuildRequires: gnutls
+BuildRequires: libgcrypt-devel
+BuildRequires: libgnutls-devel
+BuildRequires: pkg-config
+Version: 0.5.3r517
+Release: 0
+Summary: A Client for Cisco VPN concentrator
+License: GPL-2.0+
+Group: Networking/Security
+Url: http://svn.unix-ag.uni-kl.de/vpnc/branches/vpnc-nortel
+Requires: /usr/sbin/ip
+Requires: /usr/bin/sed
+Source0: %{name}-%{version}.tar.bz2
+Source1: vpnc.conf
+
+%description
+A VPN client compatible with Cisco's EasyVPN equipment.
+
+Cisco 3000, IOS routers, PIX/ASA Zecurity Appliances, and
+Juniper/Netscreen as well as Nortel Contivity (experimental).
+
+Supported Authentications: Pre-Shared-Key + XAUTH, Pre-Shared-Key
+Supported IKE DH-Groups: dh1 dh2 dh5 Supported Hash Algo (IKE/IPSEC):
+md5 sha1 Supported Encryptions (IKE/IPSEC): (null) (1des) 3des aes128
+aes192 aes256 Perfect Forward Secrecy: nopfs dh1 dh2 dh5
+
+It runs entirely in userspace and uses the TUN/TAP driver for access.
+
+
+%prep
+%setup -n %{name}
+
+%build
+export CFLAGS="%optflags"
+make PREFIX=/usr
+
+%install
+mkdir -p ${RPM_BUILD_ROOT}/%{_localstatedir}/run/vpnc
+%{__make} install \
+ DESTDIR=${RPM_BUILD_ROOT} \
+ PREFIX=/usr
+rm -rfv ${RPM_BUILD_ROOT}/usr/share/doc/vpnc
+mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/tmpfiles.d
+install -m 0644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_sysconfdir}/tmpfiles.d/
+
+%files
+%defattr(-,root,root)
+%attr(0600,root,root) %config(noreplace) %ghost %{_sysconfdir}/vpnc/default.conf
+%dir %{_sysconfdir}/tmpfiles.d
+%config %{_sysconfdir}/tmpfiles.d/vpnc.conf
+%ghost %{_localstatedir}/run/vpnc
+%dir %{_sysconfdir}/vpnc
+%{_sysconfdir}/vpnc/vpnc-script
+%{_sbindir}/vpnc
+%{_sbindir}/vpnc-disconnect
+%{_bindir}/cisco-decrypt
+%{_bindir}/pcf2vpnc
+%{_mandir}/man1/cisco-decrypt.1.*
+%{_mandir}/man1/pcf2vpnc.1.*
+%{_mandir}/man8/vpnc.8.*
+%license COPYING
+
+%changelog
--- /dev/null
+Name: capi-media-wav-player
+Summary: A wav player library in Tizen C API
+Version: 0.1.0
+Release: 16
+Group: Multimedia/API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-media-sound-manager)
+
+%description
+A wav player library in Tizen C API.
+
+
+%package devel
+Summary: A wav player library in Tizen C API (Development)
+Group: Development/Multimedia
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%devel_desc
+
+
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%license LICENSE.APLv2
+%{_libdir}/libcapi-media-wav-player.so.*
+%manifest capi-media-wav-player.manifest
+
+%files devel
+%{_includedir}/media/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-media-wav-player.so
--- /dev/null
+Name: wayland
+Version: 1.1.0
+Release: 0
+Summary: Wayland Compositor Infrastructure
+License: MIT
+Group: Graphics/Wayland Window System
+URL: http://wayland.freedesktop.org/
+
+#Git-Clone: git://anongit.freedesktop.org/wayland/wayland
+#Git-Web: http://cgit.freedesktop.org/wayland/wayland/
+Source: %name-%version.tar.xz
+BuildRequires: autoconf >= 2.64, automake >= 1.11
+BuildRequires: libtool >= 2.2
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(libffi)
+BuildRequires: expat-devel
+BuildRequires: xz
+BuildRequires: doxygen
+
+%description
+Wayland is a protocol for a compositor to talk to its clients as well
+as a C library implementation of that protocol. The compositor can be
+a standalone display server running on Linux kernel modesetting and
+evdev input devices, an X application, or a wayland client itself.
+The clients can be traditional applications, X servers (rootless or
+fullscreen) or other display servers.
+
+%package -n libwayland-client
+Group: Graphics/Wayland Window System
+Summary: Wayland core client library
+
+%description -n libwayland-client
+Wayland is a protocol for a compositor to talk to its clients as well
+as a C library implementation of that protocol. The compositor can be
+a standalone display server running on Linux kernel modesetting and
+evdev input devices, an X application, or a wayland client itself.
+The clients can be traditional applications, X servers (rootless or
+fullscreen) or other display servers.
+
+%package -n libwayland-cursor
+Group: Graphics/Wayland Window System
+Summary: Wayland cursor library
+
+%description -n libwayland-cursor
+The purpose of this library is to be the equivalent of libXcursor in
+the X world. This library is compatible with X cursor themes and
+loads them directly into an shm pool making it easy for the clients
+to get buffer for each cursor image.
+
+%package -n libwayland-server
+Group: Graphics/Wayland Window System
+Summary: Wayland core server library
+
+%description -n libwayland-server
+Wayland is a protocol for a compositor to talk to its clients as well
+as a C library implementation of that protocol. The compositor can be
+a standalone display server running on Linux kernel modesetting and
+evdev input devices, an X application, or a wayland client itself.
+The clients can be traditional applications, X servers (rootless or
+fullscreen) or other display servers.
+
+%package devel
+Summary: Development files for the Wayland Compositor Infrastructure
+Group: Development/Libraries
+Requires: libwayland-client = %version
+Requires: libwayland-cursor = %version
+Requires: libwayland-server = %version
+
+%description devel
+Wayland is a protocol for a compositor to talk to its clients as well
+as a C library implementation of that protocol. The compositor can be
+a standalone display server running on Linux kernel modesetting and
+evdev input devices, an X application, or a wayland client itself.
+The clients can be traditional applications, X servers (rootless or
+fullscreen) or other display servers.
+
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q
+
+%build
+%autogen
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -n libwayland-client -p /sbin/ldconfig
+%postun -n libwayland-client -p /sbin/ldconfig
+%post -n libwayland-cursor -p /sbin/ldconfig
+%postun -n libwayland-cursor -p /sbin/ldconfig
+%post -n libwayland-server -p /sbin/ldconfig
+%postun -n libwayland-server -p /sbin/ldconfig
+
+%files -n libwayland-client
+%license COPYING
+%defattr(-,root,root)
+%_libdir/libwayland-client.so.0*
+
+%files -n libwayland-cursor
+%license COPYING
+%defattr(-,root,root)
+%_libdir/libwayland-cursor.so.0*
+
+%files -n libwayland-server
+%license COPYING
+%defattr(-,root,root)
+%_libdir/libwayland-server.so.0*
+
+%files devel
+%defattr(-,root,root)
+%_bindir/wayland-scanner
+%_includedir/wayland-*.h
+%_libdir/libwayland-*.so
+%_libdir/pkgconfig/wayland-*.pc
+%_datadir/aclocal
+%_datadir/man/man3/*
+
+%changelog
--- /dev/null
+Name: wdiff
+Version: 1.0.2
+Release: 1
+License: GPL-2.0+
+Summary: Display Word Differences Between Text Files
+Url: ftp://mirrors.kernel.org/gnu/wdiff/
+Group: Productivity/Text/Utilities
+Source: http://alpha.gnu.org/gnu/wdiff/wdiff-%{version}.tar.bz2
+BuildRequires: ncurses-devel
+
+%description
+wdiff compares two files and finds which words have been deleted or
+added to old_file to get new_file. A word is considered to be anything
+between whitespace.
+
+Xwdiff is a handy X Window System front-end, based on Tcl/Tk.
+
+%package lang
+License: GPL-2.0+
+Summary: Translations for Wdiff
+Group: Productivity/Text/Utilities
+Requires: %{name} = %{version}
+
+%description lang
+Contains language specific files for of wdiff.
+
+%prep
+%setup -q
+
+%build
+# those autoconf tools never really work, do they?
+# error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE
+# autoreconf -fi
+LIBS=-lncurses \
+CFLAGS="%{optflags} -pipe -DPROTOTYPES" \
+GETOPT="" \
+%configure
+make
+
+%install
+make "DESTDIR=%{buildroot}" install
+%find_lang %{name}-gnulib
+%find_lang %{name}
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_infodir}/wdiff.info*
+/usr/bin/*
+%{_mandir}/man1/*
+
+%files lang -f %{name}-gnulib.lang -f %{name}.lang
+
+
+%changelog
--- /dev/null
+%bcond_with mesa
+%bcond_with wayland
+Name: webkit2-efl
+Summary: Webkit2 EFL
+Version: 123997_0.11.47
+Release: 1
+Group: Applications/Internet
+License: LGPLv2.1 or BSD
+Source0: %{name}-%{version}.tar.gz
+
+Requires(post): /sbin/ldconfig
+Requires(post): xkeyboard-config
+Requires(postun): /sbin/ldconfig
+
+BuildRequires: cmake, edje-bin, embryo-bin, python, bison, flex, gperf, libjpeg-turbo-devel, perl, gettext, ruby
+BuildRequires: gtest-devel
+BuildRequires: pkgconfig(cairo)
+BuildRequires: pkgconfig(capi-network-connection)
+BuildRequires: pkgconfig(capi-telephony-network-info)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(ecore-evas)
+BuildRequires: pkgconfig(ecore-file)
+BuildRequires: pkgconfig(edbus)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eeze)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(enchant)
+BuildRequires: pkgconfig(ethumb)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(feedback)
+BuildRequires: pkgconfig(fontconfig)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(glib-2.0)
+%if %{defined with_Gstreamer0.10}
+BuildRequires: pkgconfig(gstreamer-0.10)
+BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
+%else
+BuildRequires: pkgconfig(gstreamer-1.0)
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
+%endif
+BuildRequires: pkgconfig(harfbuzz)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(libmedia-utils)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(libxslt)
+BuildRequires: pkgconfig(location)
+BuildRequires: pkgconfig(mmutil-imgp)
+BuildRequires: pkgconfig(mmutil-jpeg)
+BuildRequires: pkgconfig(mm-session)
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(xt)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(leveldb)
+BuildRequires: pkgconfig(capi-location-manager)
+BuildRequires: pkgconfig(capi-system-sensor)
+BuildRequires: pkgconfig(capi-system-device)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(libavcodec)
+BuildRequires: pkgconfig(tts)
+BuildRequires: pkgconfig(capi-system-power)
+%if %{with mesa}
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(glesv2)
+BuildRequires: pkgconfig(egl)
+%else
+BuildRequires: pkgconfig(glesv20)
+%endif
+
+%if %{with wayland}
+BuildRequires: pkgconfig(wayland-client)
+BuildRequires: pkgconfig(wayland-egl)
+%endif
+
+%description
+Browser Engine based on Webkit2 EFL (Shared Library)
+
+%package devel
+Summary: Webkit2 EFL
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description devel
+Browser Engine dev library based on Webkit EFL (developement files)
+
+%package test
+Summary: Webkit2 EFL test binaries
+Group: Development/Tools
+Requires: %{name} = %{version}
+%description test
+Currently test tools means MiniBrowser, more tools can be added as needed.
+
+%prep
+%setup -q
+
+%build
+
+# Temporary workaround
+%ifarch %{arm}
+export CFLAGS="$(echo $CFLAGS | sed 's/-mfpu=[a-zA-Z0-9-]*/-mfpu=neon/g')"
+export CXXFLAGS="$(echo $CXXFLAGS | sed 's/-mfpu=[a-zA-Z0-9-]*/-mfpu=neon/g')"
+export FFLAGS="$(echo $FFLAGS | sed 's/-mfpu=[a-zA-Z0-9-]*/-mfpu=neon/g')"
+%else
+export CFLAGS="$(echo $CFLAGS | sed 's/-Wl,--as-needed//g')"
+export CXXFLAGS="$(echo $CXXFLAGS | sed 's/-Wl,--as-needed//g')"
+%endif
+
+%ifarch %{arm}
+%define EFL_TARGET arm
+%else
+%if 0%{?simulator}
+%define EFL_TARGET emulator
+%else
+%define EFL_TARGET i386
+%endif
+%endif
+
+export SOURCE_DIR="$PWD"
+export WEBKIT_BUILD_DIR=%{WEBKIT_BUILD_DIR}
+if [ -z "$WEBKIT_BUILD_DIR" -o "{WEBKIT_BUILD_DIR}" == "${WEBKIT_BUILD_DIR#%}" ]
+then
+ export WEBKIT_BUILD_DIR="BuildWK2-%{EFL_TARGET}"
+fi
+export TIZEN_WEBKIT_EXTRA_OPTIONS=%{TIZEN_WEBKIT_EXTRA_OPTIONS}
+if [ "{TIZEN_WEBKIT_EXTRA_OPTIONS}" == "${TIZEN_WEBKIT_EXTRA_OPTIONS#%}" ]
+then
+ export TIZEN_WEBKIT_EXTRA_OPTIONS=
+fi
+
+%if %{defined with_Gstreamer0.10}
+export GSTREAMER_API="-DGST_API_VERSION_1=Off"
+%else
+export GSTREAMER_API="-DGST_API_VERSION_1=On"
+%endif
+
+%if %{with wayland}
+export ECORE_X="-DENABLE_ECORE_X=Off"
+%else
+export ECORE_X="-DENABLE_ECORE_X=On"
+%endif
+
+mkdir -p $WEBKIT_BUILD_DIR
+cd $WEBKIT_BUILD_DIR
+
+export MAKE_OPTION=%{MAKE_OPTION}
+if [ "{MAKE_OPTION}" == "${MAKE_OPTION#%}" ]
+then
+ %cmake $SOURCE_DIR \
+ -DPORT=Efl \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_WEBKIT=Off \
+ -DENABLE_WEBKIT2=On \
+ -DENABLE_ALLINONE=On \
+ -DENABLE_TIZEN_SCREEN_READER=Off \
+ -DEFL_TARGET=%{EFL_TARGET} \
+ -DDefaultTheme_RESOURCE_NAME=webkit.edj \
+ $TIZEN_WEBKIT_EXTRA_OPTIONS \
+ $GSTREAMER_API \
+ $ECORE_X \
+ -DCMAKE_CXX_ARCHIVE_APPEND="<CMAKE_AR> ruT <TARGET> <LINK_FLAGS> <OBJECTS>" \
+ -DCMAKE_CXX_ARCHIVE_CREATE="<CMAKE_AR> cruT <TARGET> <LINK_FLAGS> <OBJECTS>"
+ make %{?_smp_mflags}
+else
+ make %{MAKE_OPTION} %{?_smp_mflags}
+fi
+
+%install
+rm -rf %{buildroot}
+
+export WEBKIT_BUILD_DIR=%{WEBKIT_BUILD_DIR}
+if [ -z "$WEBKIT_BUILD_DIR" -o "{WEBKIT_BUILD_DIR}" == "${WEBKIT_BUILD_DIR#%}" ]
+then
+ export WEBKIT_BUILD_DIR="BuildWK2-%{EFL_TARGET}"
+fi
+
+cd $WEBKIT_BUILD_DIR
+%make_install
+mkdir -p %{buildroot}/usr/share/edje
+cp ./bin/MiniBrowser %{buildroot}%{_bindir}/MiniBrowser
+
+%post
+#!/bin/sh
+#change file permissions
+# 1. libraries
+chmod 644 %{_libdir}/libewebkit2.so
+# 2. Resources
+chmod 644 /usr/share/edje/webkit.edj
+
+%postun
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+%{_bindir}/*
+/usr/share/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
+
+%files test
+%defattr(-,root,root,-)
+%{_bindir}/MiniBrowser
--- /dev/null
+%define _unitdir_user /usr/lib/systemd/user
+
+Name: weston
+Version: 1.1.1
+Release: 0
+Summary: Wayland Compositor Infrastructure
+License: MIT
+Group: Graphics/Wayland Window System
+Url: http://weston.freedesktop.org/
+
+#Git-Clone: git://anongit.freedesktop.org/wayland/weston
+#Git-Web: http://cgit.freedesktop.org/wayland/weston/
+Source0: %name-%version.tar.xz
+Source1: weston.service
+Source2: weston.target
+Source3: 99-chelong-quirk.rules
+Source4: weston.sh
+BuildRequires: autoconf >= 2.64, automake >= 1.11
+BuildRequires: gcc-c++
+BuildRequires: expat-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libtool >= 2.2
+BuildRequires: libvpx-devel
+BuildRequires: pam-devel
+BuildRequires: pkgconfig
+BuildRequires: xz
+BuildRequires: pkgconfig(cairo)
+BuildRequires: pkgconfig(cairo-egl) >= 1.11.3
+BuildRequires: pkgconfig(cairo-xcb)
+BuildRequires: pkgconfig(egl) >= 7.10
+BuildRequires: pkgconfig(gbm)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(glesv2)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(libdrm) >= 2.4.30
+BuildRequires: pkgconfig(libffi)
+BuildRequires: pkgconfig(libsystemd-login)
+BuildRequires: pkgconfig(libudev) >= 136
+BuildRequires: pkgconfig(mtdev) >= 1.1.0
+BuildRequires: pkgconfig(pixman-1)
+BuildRequires: pkgconfig(poppler-glib)
+BuildRequires: pkgconfig(wayland-client)
+BuildRequires: pkgconfig(wayland-egl)
+BuildRequires: pkgconfig(wayland-server)
+BuildRequires: pkgconfig(xkbcommon) >= 0.0.578
+BuildRequires: pkgconfig(xcb)
+BuildRequires: pkgconfig(xcb-xfixes)
+BuildRequires: pkgconfig(xcursor)
+BuildRequires: pkgconfig(glu) >= 9.0.0
+Requires(pre): /usr/sbin/groupadd
+
+%description
+Weston is the reference implementation of a Wayland compositor, and a
+useful compositor in its own right. Weston has various backends that
+lets it run on Linux kernel modesetting and evdev input as well as
+under X11. Weston ships with a few example clients, from simple
+clients that demonstrate certain aspects of the protocol to more
+complete clients and a simplistic toolkit. There is also a quite
+capable terminal emulator (weston-terminal) and an toy/example
+desktop shell. Finally, weston also provides integration with the
+Xorg server and can pull X clients into the Wayland desktop and act
+as a X window manager.
+
+
+%package devel
+Summary: Development files for package %{name}
+Group: Development/Libraries
+%description devel
+This package provides header files and other developer releated files for package %{name}.
+
+
+%prep
+%setup -q
+
+%build
+%autogen --disable-static --disable-setuid-install --enable-simple-clients --enable-clients --disable-libunwind
+make %{?_smp_mflags};
+
+%install
+%make_install
+
+install -d %{buildroot}/%{_unitdir_user}/weston.target.wants
+install -m 644 %{SOURCE1} %{buildroot}%{_unitdir_user}/weston.service
+install -m 644 %{SOURCE2} %{buildroot}%{_unitdir_user}/weston.target
+ln -sf ../weston.service %{buildroot}/%{_unitdir_user}/weston.target.wants/
+
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/
+install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/
+
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/
+install -m 0644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/
+
+%pre
+getent group weston-launch >/dev/null || %{_sbindir}/groupadd -o -r weston-launch
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%_bindir/wcap-*
+%_bindir/weston
+%_bindir/weston-info
+%attr(4755,root,root) %{_bindir}/weston-launch
+%{_bindir}/weston-terminal
+%_libexecdir/weston-*
+%_libdir/weston
+%_datadir/weston
+%{_unitdir_user}/weston.service
+%{_unitdir_user}/weston.target
+%{_unitdir_user}/weston.target.wants/weston.service
+%{_sysconfdir}/udev/rules.d/99-chelong-quirk.rules
+%{_sysconfdir}/profile.d/*
+
+%files devel
+%_includedir/weston/*.h
+%_libdir/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+Name: wget
+Version: 1.13.4
+Release: 0
+Summary: A Tool for Mirroring FTP and HTTP Servers
+License: GPL-3.0+
+Group: Productivity/Networking/Web/Utilities
+Url: http://www.gnu.org/software/wget/
+Source: %name-%version.tar.bz2
+BuildRequires: automake
+BuildRequires: libidn-devel
+BuildRequires: openssl-devel
+BuildRequires: pkg-config
+
+%description
+Wget enables you to retrieve WWW documents or FTP files from a server.
+This can be done in script files or via the command line.
+
+%prep
+%setup -q
+
+%build
+%configure --with-ssl=openssl
+make %{?_smp_mflags}
+
+%install
+%make_install
+%find_lang %{name}
+
+%lang_package
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%doc doc/sample.wgetrc util/rmold.pl
+%{_mandir}/*/wget*
+%{_infodir}/wget*
+%config(noreplace) %{_sysconfdir}/wgetrc
+%{_bindir}/*
+
+%changelog
--- /dev/null
+Name: which
+Version: 2.20
+Release: 4
+License: GPL-3.0
+Summary: Displays where a particular program in your path is located
+Url: http://www.xs4all.nl/~carlo17/which/
+Group: Applications/System
+Source0: http://www.xs4all.nl/~carlo17/which/%{name}-%{version}.tar.bz2
+BuildRequires: readline-devel
+
+%description
+The which command shows the full pathname of a specified program, if
+the specified program is in your PATH.
+
+%prep
+%setup -q
+
+%build
+%configure
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/*
--- /dev/null
+Name: wifi-direct-manager
+Summary: Wi-Fi Direct manger
+Version: 0.6.24
+Release: 1
+Group: TO_BE_FILLED
+License: Apache License Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /usr/bin/vconftool
+BuildRequires: pkgconfig(wifi-direct)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: cmake
+
+
+%description
+Wi-Fi Direct manager
+
+%package -n wifi-direct-plugin-wpasupplicant
+Summary: wifi drect plugin for wpa supplicant
+Group: TO_BE_FILLED
+Requires: %{name} = %{version}-%{release}
+
+%description -n wifi-direct-plugin-wpasupplicant
+wifi drect plugin for wpa supplicant
+
+
+%prep
+%setup -q
+
+%build
+
+%ifarch %{arm}
+export ARCH=arm
+%else
+
+%if 0%{?simulator}
+export ARCH=emul
+%else
+export ARCH=i586
+%endif
+
+%endif
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCHITECTURE=$ARCH
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+#%__strip %{buildroot}%{_libdir}/wifi-direct-plugin-wpasupplicant.so
+#%__strip %{buildroot}%{_bindir}/wfd-manager
+
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+cp %{_builddir}/%{buildsubdir}/LICENSE.APLv2 %{buildroot}/usr/share/license/wifi-direct-plugin-wpasupplicant
+cp %{_builddir}/%{buildsubdir}/LICENSE.Flora %{buildroot}/usr/share/license/p2p_supplicant
+
+%post
+chmod 644 /usr/etc/wifi-direct/dhcpd.p2p.conf
+chmod 644 /usr/etc/wifi-direct/dhcpd.wl0.conf
+chmod 644 /usr/etc/wifi-direct/dhcpd.eth.conf
+chmod 755 /usr/bin/dhcpd-notify.sh
+chmod 755 /usr/etc/wifi-direct/udhcp_script.non-autoip
+chmod 755 /usr/bin/wifi-direct-server.sh
+chmod 755 /usr/bin/wifi-direct-dhcp.sh
+chmod 755 /usr/sbin/p2p_supp.sh
+
+vconftool set -t int memory/wifi_direct/state 0 -u 5000 -i -f
+vconftool set -t int memory/private/wifi_direct_manager/dhcp_ip_lease 0 -i -f
+vconftool set -t string memory/private/wifi_direct_manager/dhcpc_server_ip 0.0.0.0 -i -f
+
+%postun
+
+%files
+%manifest wifi-direct-manager.manifest
+%defattr(-,root,root,-)
+%{_bindir}/wfd-manager
+/usr/etc/wifi-direct/dhcpd.p2p.conf
+/usr/etc/wifi-direct/dhcpd.wl0.conf
+/usr/etc/wifi-direct/dhcpd.eth.conf
+/usr/etc/wifi-direct/udhcp_script.non-autoip
+/usr/etc/wifi-direct/p2p_suppl.conf
+%{_bindir}/dhcpd-notify.sh
+%{_bindir}/wifi-direct-server.sh
+%{_bindir}/wifi-direct-dhcp.sh
+%{_sbindir}/p2p_supp.sh
+%attr(755,-,-) %{_bindir}/dhcpd-notify.sh
+%attr(755,-,-) %{_bindir}/wifi-direct-server.sh
+%attr(755,-,-) %{_bindir}/wifi-direct-dhcp.sh
+%attr(755,-,-) /usr/etc/wifi-direct/udhcp_script.non-autoip
+%attr(755,-,-) %{_sbindir}/p2p_supp.sh
+/usr/share/license/%{name}
+
+%files -n wifi-direct-plugin-wpasupplicant
+%manifest wifi-direct-plugin-wpasupplicant.manifest
+%defattr(-,root,root,-)
+%{_libdir}/wifi-direct-plugin-wpasupplicant.so
+/usr/share/license/wifi-direct-plugin-wpasupplicant
+/usr/share/license/p2p_supplicant
+%attr(755,-,-) %{_sbindir}/p2p_supplicant
+
--- /dev/null
+Name: capi-network-wifi-direct
+Summary: Network WiFi-Direct library in Tizen CAPI
+Version: 0.0.4
+Release: 3
+Group: API/C API
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: cmake
+
+%description
+WiFi-Direct library (Shared Library)
+
+%package devel
+Summary: WiFi-Direct library (Shared Library) (Developement)
+Group: Development/API
+Requires: capi-base-common-devel
+BuildRequires: pkgconfig(wifi-direct)
+%description devel
+WiFi-Direct library (Shared Library) (Developement)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest capi-network-wifi-direct.manifest
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/*/*.h
+
--- /dev/null
+Name: capi-network-wifi
+Summary: Network Wi-Fi library in TIZEN C API
+Version: 0.1.2_18
+Release: 1
+Group: System/Network
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(network)
+
+%description
+Network Wi-Fi library in Tizen C API
+
+%package devel
+Summary: Network Wi-Fi library in Tizen C API (Development)
+Group: System/Network
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Network Wi-Fi library in Tizen C API (Development)
+
+%prep
+%setup -q
+
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+#License
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/capi-network-wifi
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest capi-network-wifi.manifest
+%attr(644,-,-) %{_libdir}/libcapi-network-wifi.so.*
+%{_datadir}/license/capi-network-wifi
+
+%files devel
+%{_includedir}/network/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-network-wifi.so
--- /dev/null
+Name: wireless-regdb
+Version: 2013.01.11
+Release: 0
+License: ISC
+Summary: Linux wireless regulatory database
+Url: http://wireless.kernel.org/en/developers/Regulatory/
+Group: System/Base
+Source: http://wireless.kernel.org/download/wireless-regdb/wireless-regdb-%{version}.tar.xz
+Requires: python
+BuildArch: noarch
+
+%define crda_lib /usr/lib/crda
+
+%description
+This package contains the wireless regulatory database used by all
+cfg80211 based Linux wireless drivers. The wireless database being
+used is maintained by John Linville, the Linux wireless kernel maintainer
+http://wireless.kernel.org/en/developers/Regulatory/
+
+%prep
+%setup -q
+
+%build
+
+%install
+install -m 755 -d %{buildroot}/%crda_lib
+install -m 644 regulatory.bin %{buildroot}/%{crda_lib}/regulatory.bin
+%files
+%crda_lib/regulatory.bin
+%license LICENSE
+
+%changelog
--- /dev/null
+Name: wpa_supplicant
+Version: 1.0
+Release: 0
+License: BSD-3-Clause and GPL-2.0+
+Summary: WPA supplicant implementation
+Url: http://hostap.epitest.fi/wpa_supplicant/
+Group: Connectivity/Wireless
+Source: http://hostap.epitest.fi/releases/wpa_supplicant-%{version}.tar.bz2
+Source1: config
+BuildRequires: dbus-devel
+BuildRequires: libnl-devel
+BuildRequires: openssl-devel
+BuildRequires: pkg-config
+BuildRequires: readline-devel
+BuildRequires: systemd
+
+%description
+wpa_supplicant is an implementation of the WPA Supplicant component,
+i.e., the part that runs in the client stations. It implements key
+negotiation with a WPA Authenticator and it controls the roaming and
+IEEE 802.11 authentication/association of the wlan driver.
+
+%prep
+%setup -q -n wpa_supplicant-%{version}
+rm -rf wpa_supplicant-%{version}/patches
+cp %{SOURCE1} wpa_supplicant/.config
+
+%build
+cd wpa_supplicant
+CFLAGS="%{optflags}" make V=1 BINDIR=%{_sbindir} %{?_smp_mflags}
+
+
+%install
+install -d %{buildroot}/%{_sbindir}
+install -m 0755 wpa_supplicant/wpa_cli %{buildroot}%{_sbindir}
+install -m 0755 wpa_supplicant/wpa_passphrase %{buildroot}%{_sbindir}
+install -m 0755 wpa_supplicant/wpa_supplicant %{buildroot}%{_sbindir}
+install -d %{buildroot}%{_sysconfdir}/dbus-1/system.d
+install -m 0644 wpa_supplicant/dbus/dbus-wpa_supplicant.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/wpa_supplicant.conf
+install -d %{buildroot}/%{_sysconfdir}/%{name}
+install -d %{buildroot}/%{_datadir}/dbus-1/system-services
+install -m 0644 wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service %{buildroot}/%{_datadir}/dbus-1/system-services
+install -m 0644 wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service %{buildroot}/%{_datadir}/dbus-1/system-services
+install -d %{buildroot}/%{_localstatedir}/run/%{name}
+install -d %{buildroot}%{_mandir}/man{5,8}
+install -m 0644 wpa_supplicant/doc/docbook/*.8 %{buildroot}%{_mandir}/man8
+install -m 0644 wpa_supplicant/doc/docbook/*.5 %{buildroot}%{_mandir}/man5
+
+# install systemd service file
+mkdir -p %{buildroot}%{_unitdir}
+install -m 0644 wpa_supplicant/systemd/wpa_supplicant.service %{buildroot}%{_unitdir}
+mkdir -p %{buildroot}%{_unitdir}/network.target.wants
+ln -s ../wpa_supplicant.service %{buildroot}%{_unitdir}/network.target.wants/wpa_supplicant.service
+
+%docs_package
+
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_sbindir}/wpa_cli
+%{_sbindir}/wpa_passphrase
+%{_sbindir}/wpa_supplicant
+%config %{_sysconfdir}/dbus-1/system.d/%{name}.conf
+%{_datadir}/dbus-1/system-services
+%dir %{_localstatedir}/run/%{name}
+%ghost /var/run/%{name}
+%{_unitdir}/wpa_supplicant.service
+%{_unitdir}/network.target.wants/wpa_supplicant.service
--- /dev/null
+Name: wrt-commons
+Summary: Wrt common library
+Version: 0.2.119
+Release: 1
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(libssl)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(libpcrecpp)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(libiri)
+BuildRequires: pkgconfig(libidn)
+BuildRequires: pkgconfig(cryptsvc)
+BuildRequires: pkgconfig(dukgenerator)
+BuildRequires: pkgconfig(minizip)
+BuildRequires: libcryptsvc-devel
+BuildRequires: dukgenerator
+Requires: libcryptsvc
+
+%description
+Wrt common library
+
+%package devel
+Summary: Wrt common library development headers
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Wrt common library development headers
+
+%prep
+%setup -q
+
+%define with_tests 0
+%if "%{WITH_TESTS}" == "ON" || "%{WITH_TESTS}" == "Y" || "%{WITH_TESTS}" == "YES" || "%{WITH_TESTS}" == "TRUE" || "%{WITH_TESTS}" == "1"
+ %define with_tests 1
+%endif
+
+%build
+%cmake . -DVERSION=%{version} \
+ -DDPL_LOG="OFF" \
+ -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
+ %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS}
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+
+%postun -p /sbin/ldconfig
+
+%post
+/sbin/ldconfig
+mkdir -p /opt/share/widget/system
+mkdir -p /opt/share/widget/user
+mkdir -p /opt/share/widget/exec
+mkdir -p /opt/share/widget/data/Public
+mkdir -p %{_libdir}/wrt-plugins
+
+if [ -z ${2} ]; then
+ echo "This is new install of wrt-commons"
+ echo "Calling /usr/bin/wrt_commons_create_clean_db.sh"
+ /usr/bin/wrt_commons_create_clean_db.sh
+else
+ # Find out old and new version of databases
+ WRT_OLD_DB_VERSION=`sqlite3 /opt/dbspace/.wrt.db ".tables" | grep "DB_VERSION_"`
+ WRT_NEW_DB_VERSION=`cat /usr/share/wrt-engine/wrt_db.sql | tr '[:blank:]' '\n' | grep DB_VERSION_`
+ echo "OLD wrt database version ${WRT_OLD_DB_VERSION}"
+ echo "NEW wrt database version ${WRT_NEW_DB_VERSION}"
+
+ if [ ${WRT_OLD_DB_VERSION} -a ${WRT_NEW_DB_VERSION} ]
+ then
+ if [ ${WRT_NEW_DB_VERSION} = ${WRT_OLD_DB_VERSION} ]
+ then
+ echo "Equal database detected so db installation ignored"
+ else
+ echo "Calling /usr/bin/wrt_commons_reset_db.sh"
+ /usr/bin/wrt_commons_reset_db.sh
+ fi
+ else
+ echo "Calling /usr/bin/wrt_commons_reset_db.sh"
+ /usr/bin/wrt_commons_reset_db.sh
+ fi
+fi
+
+mkdir -p /usr/etc/ace
+mkdir -p /usr/apps/org.tizen.policy
+
+# DBUS services fix
+# WARNING: THIS IS TEMPORARY SOLUTION, AS THIS SHOULD NOT BE OUR
+# RESPONSIBILITY!!! WE HAVE TO CONTACT TO DBUS MAINAINERS
+
+if [ -f /var/lib/dbus/machine-id ]; then
+ echo "machine-id exists"
+else
+ if [ -f /usr/var/lib/dbus/machine-id ]; then
+ echo "machine-id exists"
+ else
+ echo "Creating machine-id"
+ mkdir -p /usr/var/lib/dbus/
+ dbus-uuidgen > /usr/var/lib/dbus/machine-id
+ dbus-uuidgen --ensure=/usr/var/lib/dbus/machine-id
+ fi
+ mkdir -p /var/lib/dbus/
+ cp /usr/var/lib/dbus/machine-id /var/lib/dbus/
+fi
+
+# Set Smack label for db files
+chsmack -a 'wrt-commons::db_wrt' /opt/dbspace/.wrt.db
+chsmack -a 'wrt-commons::db_wrt' /opt/dbspace/.wrt.db-journal
+chsmack -a 'wrt-commons::db_wrt_custom_handler' /opt/usr/dbspace/.wrt_custom_handler.db
+chsmack -a 'wrt-commons::db_wrt_custom_handler' /opt/usr/dbspace/.wrt_custom_handler.db-journal
+
+echo "[WRT] wrt-commons postinst done ..."
+
+%files
+%manifest wrt-commons.manifest
+%license LICENSE
+%{_libdir}/*.so.*
+%{_datadir}/wrt-engine/*
+%attr(755,root,root) %{_bindir}/wrt_commons_create_clean_db.sh
+%attr(755,root,root) %{_bindir}/wrt_commons_reset_db.sh
+%if %{with_tests}
+ %attr(755,root,root) %{_bindir}/wrt-commons-tests-*
+ %attr(755,root,root) %{_bindir}/wrt_dao_tests_prepare_db.sh
+ %attr(755,root,root) %{_bindir}/wrt_db_localization_prepare.sh
+ %{_datadir}/dbus-1/services/org.tizen.DBusTestService.service
+ /opt/share/wrt/wrt-commons/tests/*
+ /opt/share/widget/tests/localization/*
+%endif
+
+%files devel
+%{_libdir}/*.so
+%{_includedir}/dpl-efl/*
+%{_libdir}/pkgconfig/*.pc
--- /dev/null
+%bcond_with livebox
+Name: wrt-installer
+Summary: Installer for tizen Webruntime
+Version: 0.1.58.2
+Release: 1
+Group: Development/Libraries
+License: Apache License, Version 2.0
+URL: N/A
+Source0: %{name}-%{version}.tar.gz
+Source100: wrt-preinstall-widgets.service
+BuildRequires: cmake
+BuildRequires: edje-tools
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(dpl-efl)
+BuildRequires: pkgconfig(cert-svc-vcore)
+BuildRequires: pkgconfig(dpl-event-efl)
+BuildRequires: pkgconfig(dpl-utils-efl)
+BuildRequires: pkgconfig(dpl-wrt-dao-ro)
+BuildRequires: pkgconfig(dpl-wrt-dao-rw)
+BuildRequires: pkgconfig(security-install)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(xmlsec1)
+BuildRequires: pkgconfig(libidn)
+BuildRequires: pkgconfig(libiri)
+BuildRequires: pkgconfig(libpcrecpp)
+BuildRequires: pkgconfig(pkgmgr-installer)
+BuildRequires: pkgconfig(pkgmgr-parser)
+BuildRequires: pkgconfig(pkgmgr-types)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(cert-svc)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(wrt-plugins-types)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(shortcut)
+BuildRequires: pkgconfig(dpl-encryption)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(app2sd)
+%if %{with livebox}
+BuildRequires: pkgconfig(web-provider)
+%endif
+BuildRequires: pkgconfig(libprivilege-control)
+BuildRequires: pkgconfig(osp-appfw)
+BuildRequires: osp-appfw-internal-devel
+BuildRequires: pkgconfig(libsmack)
+Requires: osp-appfw
+Requires: xmlsec1
+
+%description
+Description: Wrt Installer for Tizen apps and Wac apps
+
+%prep
+%setup -q
+
+%define with_tests 0
+%if "%{WITH_TESTS}" == "ON" || "%{WITH_TESTS}" == "Y" || "%{WITH_TESTS}" == "YES" || "%{WITH_TESTS}" == "TRUE" || "%{WITH_TESTS}" == "1"
+ %define with_tests 1
+%endif
+
+%build
+
+export LDFLAGS+="-Wl,--rpath=/usr/lib -Wl,--hash-style=both -Wl,--as-needed"
+LDFLAGS="$LDFLAGS"
+
+%cmake . -DCMAKE_INSTALL_PREFIX=/usr \
+%if %{with livebox}
+ -DLIVEBOX_SUPPORT=On \
+%else
+ -DLIVEBOX_SUPPORT=Off \
+%endif
+ -DSMACK=Off \
+ -DDPL_LOG=ON \
+ -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
+ %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+%make_install
+
+mkdir -p %{buildroot}%{_libdir}/systemd/system
+install -m 644 %{SOURCE100} %{buildroot}%{_libdir}/systemd/system
+
+mkdir -p %{buildroot}/usr/bin
+install -m 755 wrt_preinstall_widgets.sh %{buildroot}/usr/bin
+
+mkdir -p %{buildroot}%{_libdir}/systemd/system/graphical.target.wants
+ln -s ../wrt-preinstall-widgets.service %{buildroot}%{_libdir}/systemd/system/graphical.target.wants
+
+mkdir -p %{buildroot}/opt/share/packages
+mkdir -p %{buildroot}/opt/usr/apps/.preinstallWidgets
+
+%clean
+rm -rf %{buildroot}
+
+%post
+/sbin/ldconfig
+chmod +s /usr/bin/wrt-installer
+
+#symlink for package manager
+ln -sf /usr/bin/wrt-installer /usr/etc/package-manager/backend/wgt
+
+#for booting recovery
+mkdir -p /opt/share/widget/temp_info
+
+# for downloadable Application icons path
+mkdir -p /opt/share/icons/default/small
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest wrt-installer.manifest
+%attr(755,root,root) %{_bindir}/wrt-installer
+/usr/etc/package-manager/backendlib/libwgt.so
+%{_datadir}/license/%{name}
+%{_libdir}/systemd/system/graphical.target.wants/wrt-preinstall-widgets.service
+%{_libdir}/systemd/system/wrt-preinstall-widgets.service
+/usr/bin/wrt_preinstall_widgets.sh
+%dir /opt/share/packages
+%dir /opt/usr/apps/.preinstallWidgets
+%if %{with_tests}
+ %attr(755,root,root) %{_bindir}/wrt-installer-tests-*
+ /opt/share/widget/tests/installer/widgets/*
+%endif
--- /dev/null
+Name: wrt-plugins-common
+Summary: WebRuntime common library
+Version: 0.3.86.2
+Release: 1
+Group: Development/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+URL: https://review.tizen.org/git/?p=platform/framework/web/wrt-plugins-common.git;a=summary
+BuildRequires: cmake
+BuildRequires: pkgconfig(dpl-efl)
+BuildRequires: pkgconfig(wrt-plugins-types)
+BuildRequires: pkgconfig(security-client)
+BuildRequires: pkgconfig(dpl-event-efl)
+BuildRequires: pkgconfig(ewebkit2)
+BuildRequires: pkgconfig(dpl-wrt-dao-ro)
+BuildRequires: pkgconfig(dpl-wrt-dao-rw)
+BuildRequires: pkgconfig(dpl-db-efl)
+BuildRequires: pkgconfig(libpcrecpp)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(cert-svc-vcore)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+JavaScript plugins for WebRuntime
+
+%package devel
+Summary: WebRuntime common library development headers
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+This package contains all needed header files for developing a WRT plugin
+
+%prep
+%setup -q
+
+%define with_tests 0
+%if "%{WITH_TESTS}" == "ON" || "%{WITH_TESTS}" == "Y" || "%{WITH_TESTS}" == "YES" || "%{WITH_TESTS}" == "TRUE" || "%{WITH_TESTS}" == "1"
+ %define with_tests 1
+%endif
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--hash-style=both"
+
+%cmake . -DDPL_LOG="ON" \
+ -DCMAKE_PROJECT_VERSION=%{version} \
+ -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
+ %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS}
+make %{?jobs:-j%jobs}
+
+%install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+%make_install
+
+%clean
+rm -rf %{buildroot}
+
+%post
+mkdir -p %{_libdir}/wrt-plugins
+mkdir -p /usr/etc/wrt/injected-javascript
+touch /opt/share/widget/plugin-installation-required
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest wrt-plugins-common.manifest
+/usr/etc/wrt-plugins/config.dtd
+%{_libdir}/*.so
+%{_libdir}/*.so.*
+%{_libdir}/wrt-plugins/w3c-widget-interface/libwrt-plugins-w3c-widget-interface.so
+%attr(644,root,root) /usr/share/wrt-plugins-common/widget_interface_db.sql
+%attr(755,root,root) %{_bindir}/wrt-popup-ace-runtime
+%attr(755,root,root) %{_bindir}/wrt-popup-wrt-runtime
+%attr(755,root,root) %{_bindir}/wrt-plugins-installer
+%{_datadir}/license/%{name}
+/etc/smack/accesses2.d/wrt-popup-ace-runtime.rule
+/etc/smack/accesses2.d/wrt-popup-wrt-runtime.rule
+/opt/etc/smack/accesses.d/wrt-popup-ace-runtime.rule
+/opt/etc/smack/accesses.d/wrt-popup-wrt-runtime.rule
+%if %{with_tests}
+ %attr(755,root,root) %{_bindir}/widgetdb_tests_prepare_db.sh
+ %attr(755,root,root) %{_bindir}/wrt-plugins-common-tests-widgetdb
+%endif
+/etc/ld.so.conf.d/wrt-plugins-common.conf
+
+%files devel
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
--- /dev/null
+Name: wrt-plugins-tizen
+Summary: JavaScript plugins for WebRuntime
+Version: 0.4.32
+Release: 1
+Group: Development/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(capi-web-favorites)
+BuildRequires: pkgconfig(mm-fileinfo)
+BuildRequires: pkgconfig(libpcrecpp)
+BuildRequires: pkgconfig(calendar-service2)
+BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(msg-service)
+BuildRequires: pkgconfig(email-service)
+BuildRequires: pkgconfig(accounts-svc)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(icu-io)
+BuildRequires: pkgconfig(icu-le)
+BuildRequires: pkgconfig(icu-lx)
+BuildRequires: pkgconfig(icu-uc)
+BuildRequires: pkgconfig(network)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(ewebkit2)
+BuildRequires: pkgconfig(dpl-efl)
+BuildRequires: pkgconfig(dpl-event-efl)
+BuildRequires: pkgconfig(wrt-plugins-types)
+BuildRequires: pkgconfig(wrt-plugins-commons)
+BuildRequires: pkgconfig(wrt-plugins-commons-javascript)
+BuildRequires: pkgconfig(wrt-plugins-plugin-manager)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(capi-network-nfc)
+BuildRequires: pkgconfig(capi-location-geocoder)
+BuildRequires: pkgconfig(capi-location-manager)
+BuildRequires: pkgconfig(capi-location-poi)
+BuildRequires: pkgconfig(capi-location-route)
+BuildRequires: pkgconfig(capi-network-bluetooth)
+BuildRequires: pkgconfig(capi-network-connection)
+BuildRequires: pkgconfig(capi-telephony-call)
+BuildRequires: pkgconfig(capi-telephony-sim)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(capi-system-runtime-info)
+BuildRequires: pkgconfig(sensor)
+BuildRequires: pkgconfig(capi-system-sensor)
+BuildRequires: pkgconfig(capi-system-power)
+BuildRequires: pkgconfig(pmapi)
+BuildRequires: pkgconfig(capi-system-system-settings)
+BuildRequires: pkgconfig(capi-system-device)
+BuildRequires: pkgconfig(capi-content-media-content)
+BuildRequires: pkgconfig(capi-media-metadata-extractor)
+BuildRequires: pkgconfig(smartcard-service-common)
+BuildRequires: pkgconfig(smartcard-service)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(capi-appfw-package-manager)
+BuildRequires: pkgconfig(capi-web-url-download)
+BuildRequires: pkgconfig(push)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(message-port)
+BuildRequires: pkgconfig(sync-agent)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: expat-devel
+BuildRequires: cmake
+BuildRequires: gettext-devel
+BuildRequires: boost-devel
+BuildRequires: boost-thread
+BuildRequires: boost-system
+BuildRequires: boost-filesystem
+
+%description
+JavaScript plugins for WebRuntime
+
+%package devel
+Summary: Wrt-plugin-tizen development headers
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Wrt-plugin-tizen development headers
+
+%prep
+%setup -q
+
+%build
+
+%define PREFIX "%{_libdir}/wrt-plugins"
+
+export LDFLAGS+="-Wl,--rpath=%{PREFIX} -Wl,--as-needed"
+
+cmake \
+-DENABLE_OPTIONAL_BT=YES \
+-DENABLE_OPTIONAL_CALL_HISTORY=YES \
+-DENABLE_OPTIONAL_NBS=YES \
+-DENABLE_OPTIONAL_NFC=YES \
+-DENABLE_OPTIONAL_PUSH=YES \
+-DENABLE_OPTIONAL_SE=YES \
+. -DCMAKE_INSTALL_PREFIX=%{_prefix} -DDPL_LOG="ON" -DENABLE_TIME_TRACER="OFF"
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+
+%postun
+
+
+%files
+%manifest wrt-plugins-tizen.manifest
+%{_libdir}/wrt-plugins/*
+/usr/etc/tizen-apis/*
+
+%files devel
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
--- /dev/null
+#sbs-git:slp/pkgs/s/security-server security-server 0.0.37
+Name: wrt-security
+Summary: Wrt security daemon
+Version: 0.0.62
+Release: 0
+Group: Security/Access Control
+License: Apache License, Version 2.0
+URL: N/A
+Source0: %{name}-%{version}.tar.gz
+Source1: wrt-security.manifest
+Source2: wrt-security-daemon.service
+BuildRequires: cmake
+BuildRequires: zip
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: libattr-devel
+BuildRequires: pkgconfig(libsmack)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dpl-efl)
+BuildRequires: pkgconfig(dpl-utils-efl)
+BuildRequires: pkgconfig(dpl-dbus-efl)
+BuildRequires: pkgconfig(libpcrecpp)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(xmlsec1)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(capi-appfw-package-manager)
+BuildRequires: pkgconfig(privacy-manager-client)
+BuildRequires: pkgconfig(privacy-manager-server)
+BuildRequires: pkgconfig(capi-security-privacy-manager)
+BuildRequires: pkgconfig(dpl-wrt-dao-ro)
+
+%description
+Wrt security daemon and utilities.
+
+%package -n wrt-security-devel
+Summary: Header files for client libraries
+Group: Development/Libraries
+Requires: wrt-security = %{version}-%{release}
+
+%description -n wrt-security-devel
+Developer files for client libraries.
+
+
+
+%prep
+%setup -q
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_libdir}"
+
+%cmake . -DDPL_LOG="ON" \
+ -DVERSION=%{version} \
+ -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
+%make_install
+mkdir -p %{buildroot}/etc/rc.d/rc3.d
+mkdir -p %{buildroot}/etc/rc.d/rc5.d
+ln -sf /etc/rc.d/init.d/wrt-security-daemon.sh %{buildroot}/etc/rc.d/rc3.d/S10wrt-security-daemon
+ln -sf /etc/rc.d/init.d/wrt-security-daemon.sh %{buildroot}/etc/rc.d/rc5.d/S10wrt-security-daemon
+
+mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
+install -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/wrt-security-daemon.service
+ln -sf %{_unitdir}/wrt-security-daemon.service %{buildroot}%{_unitdir}/multi-user.target.wants/wrt-security-daemon.service
+
+%clean
+rm -rf %{buildroot}
+
+%post
+if [ -z ${2} ]; then
+ echo "This is new install of wrt-security"
+ echo "Calling /usr/bin/wrt_security_create_clean_db.sh"
+ /usr/bin/wrt_security_create_clean_db.sh
+else
+ # Find out old and new version of databases
+ ACE_OLD_DB_VERSION=`sqlite3 /opt/dbspace/.ace.db ".tables" | grep "DB_VERSION_"`
+ ACE_NEW_DB_VERSION=`cat /usr/share/wrt-engine/ace_db.sql | tr '[:blank:]' '\n' | grep DB_VERSION_`
+ echo "OLD ace database version ${ACE_OLD_DB_VERSION}"
+ echo "NEW ace database version ${ACE_NEW_DB_VERSION}"
+
+ if [ ${ACE_OLD_DB_VERSION} -a ${ACE_NEW_DB_VERSION} ]
+ then
+ if [ ${ACE_NEW_DB_VERSION} = ${ACE_OLD_DB_VERSION} ]
+ then
+ echo "Equal database detected so db installation ignored"
+ else
+ echo "Calling /usr/bin/wrt_security_create_clean_db.sh"
+ /usr/bin/wrt_security_create_clean_db.sh
+ fi
+ else
+ echo "Calling /usr/bin/wrt_security_create_clean_db.sh"
+ /usr/bin/wrt_security_create_clean_db.sh
+ fi
+fi
+
+/sbin/ldconfig
+echo "[WRT] wrt-security postinst done ..."
+
+%postun
+/sbin/ldconfig
+
+%files -n wrt-security
+%manifest packaging/wrt-security.manifest
+%defattr(-,root,root,-)
+%attr(755,root,root) /usr/bin/wrt-security-daemon
+%{_libdir}/libace*.so
+%{_libdir}/libace*.so.*
+%{_libdir}/libwrt-ocsp.so
+%{_libdir}/libwrt-ocsp.so.*
+/usr/share/wrt-engine/*
+%attr(755,root,root) %{_bindir}/wrt_security_create_clean_db.sh
+%attr(755,root,root) %{_bindir}/wrt_security_change_policy.sh
+%attr(664,root,root) %{_datadir}/dbus-1/services/*
+%attr(664,root,root) /usr/etc/ace/bondixml*
+%attr(664,root,root) /usr/etc/ace/UnrestrictedPolicy.xml
+%attr(664,root,root) /usr/etc/ace/WAC2.0Policy.xml
+%attr(664,root,root) /usr/etc/ace/TizenPolicy.xml
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/wac/wac.publisherid.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen.root.preproduction.cert.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/wac/wac.root.production.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/wac/wac.root.preproduction.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-developer-root-ca.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-distributor-root-ca-partner.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-distributor-root-ca-public.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-distributor-root-ca-partner-manufacturer.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-distributor-root-ca-partner-operator.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-developers-root.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-partner-class-developer-root.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-partner-class-root-authority.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-platform-class-developer-root.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-platform-class-root-authority.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-public-class-developer-root.pem
+%attr(664,root,root) /opt/share/cert-svc/certs/code-signing/tizen/tizen-public-class-root-authority.pem
+%{_datadir}/license/%{name}
+/etc/rc.d/init.d/wrt-security-daemon.sh
+%attr(755,root,root) /etc/rc.d/init.d/wrt-security-daemon.sh
+/etc/rc.d/rc3.d/S10wrt-security-daemon
+/etc/rc.d/rc5.d/S10wrt-security-daemon
+%{_unitdir}/*
+
+%files -n wrt-security-devel
+%defattr(-,root,root,-)
+%{_includedir}/wrt-security/*
+%{_includedir}/ace/*
+%{_includedir}/ace-client/*
+%{_includedir}/ace-settings/*
+%{_includedir}/ace-install/*
+%{_includedir}/ace-common/*
+%{_includedir}/ace-popup-validation/*
+%{_includedir}/wrt-ocsp/*
+%{_libdir}/pkgconfig/security-client.pc
+%{_libdir}/pkgconfig/security-communication-client.pc
+%{_libdir}/pkgconfig/security-core.pc
+%{_libdir}/pkgconfig/security-dao-ro.pc
+%{_libdir}/pkgconfig/security-dao-rw.pc
+%{_libdir}/pkgconfig/security-install.pc
+%{_libdir}/pkgconfig/security-popup-validation.pc
+%{_libdir}/pkgconfig/security-settings.pc
+%{_libdir}/pkgconfig/security-wrt-ocsp.pc
+%{_libdir}/pkgconfig/security.pc
+
--- /dev/null
+%bcond_with wayland
+Name: wrt
+Summary: Web runtime
+Version: 0.8.198.3
+Release: 1
+Group: Development/Libraries
+License: Apache-2.0
+URL: N/A
+Source0: %{name}-%{version}.tar.gz
+## wrt-launchpad-daemon #######################################################
+Source101: wrt_launchpad_daemon@.service
+###############################################################################
+
+BuildRequires: cmake
+BuildRequires: gettext
+BuildRequires: edje-tools
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(ewebkit2)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(cert-svc)
+BuildRequires: pkgconfig(dpl-efl)
+BuildRequires: pkgconfig(libpcrecpp)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(secure-storage)
+BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(libiri)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(cert-svc-vcore)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(security-core)
+BuildRequires: pkgconfig(security-client)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(libprivilege-control)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(haptic)
+BuildRequires: pkgconfig(capi-web-url-download)
+BuildRequires: pkgconfig(wrt-plugin-loading)
+BuildRequires: pkgconfig(wrt-plugin-js-overlay)
+BuildRequires: pkgconfig(dpl-encryption)
+BuildRequires: pkgconfig(wrt-popup-wrt-runner)
+BuildRequires: pkgconfig(wrt-popup-ace-runner)
+BuildRequires: pkgconfig(sysman)
+BuildRequires: pkgconfig(app2sd)
+BuildRequires: pkgconfig(capi-system-system-settings)
+%if !%{with wayland}
+BuildRequires: pkgconfig(osp-appfw)
+BuildRequires: osp-appfw-internal-devel
+Requires: osp-appfw
+%endif
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+## wrt-launchpad-daemon #######################################################
+BuildRequires: pkgconfig(app-checker)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(libsmack)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(aul)
+###############################################################################
+
+%description
+web runtime
+
+%package devel
+Summary: Wrt header files for external modules
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+wrt library development headers
+
+%prep
+%setup -q
+
+%define with_tests 0
+%if "%{WITH_TESTS}" == "ON" || "%{WITH_TESTS}" == "Y" || "%{WITH_TESTS}" == "YES" || "%{WITH_TESTS}" == "TRUE" || "%{WITH_TESTS}" == "1"
+ %define with_tests 1
+%endif
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_libdir}"
+
+%cmake . -DDPL_LOG="ON" \
+ -DPROJECT_VERSION=%{version} \
+ -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
+%if %{with wayland}
+ -DDECRYPT_SUPPORT=Off \
+ -DX11_SUPPORT=Off \
+%else
+ -DDECRYPT_SUPPORT=On \
+ -DX11_SUPPORT=On \
+%endif
+ %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS}
+
+make %{?jobs:-j%jobs}
+
+%install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+%make_install
+
+## wrt-launchpad-daemon #######################################################
+mkdir -p %{buildroot}/etc/init.d
+install -m 755 src/wrt-launchpad-daemon/wrt_launchpad_run.sh %{buildroot}/%{_sysconfdir}/init.d
+
+mkdir -p %{buildroot}/etc/rc.d/rc3.d
+mkdir -p %{buildroot}/etc/rc.d/rc4.d
+ln -sf ../../init.d/wrt_launchpad_run.sh %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/S15wrt_launchpad_run
+ln -sf ../../init.d/wrt_launchpad_run.sh %{buildroot}/%{_sysconfdir}/rc.d/rc4.d/S80wrt_launchpad_run
+
+#systemd
+mkdir -p %{buildroot}%{_unitdir}/graphical.target.wants
+install -m 0644 %SOURCE101 %{buildroot}%{_unitdir}/wrt_launchpad_daemon@.service
+ln -s ../wrt_launchpad_daemon@.service %{buildroot}%{_unitdir}/graphical.target.wants/wrt_launchpad_daemon@app.service
+
+%preun
+if [ $1 == 0 ]; then
+ systemctl stop wrt_launchpad_daemon@app.service
+fi
+###############################################################################
+
+%clean
+rm -rf %{buildroot}
+
+%post
+/sbin/ldconfig
+chmod +s /usr/bin/wrt-launcher
+
+## wrt-launchpad-daemon #######################################################
+#systemd
+/sbin/ldconfig
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+ systemctl restart wrt_launchpad_daemon@app.service
+fi
+###############################################################################
+
+echo "[WRT] wrt postinst done ..."
+
+## wrt-launchpad-daemon #######################################################
+#systemd
+%postun -p /sbin/ldconfig
+systemctl daemon-reload
+###############################################################################
+
+%files
+%manifest wrt.manifest
+%{_libdir}/*.so
+%{_libdir}/*.so.*
+%attr(755,root,root) %{_bindir}/wrt-client
+%attr(755,root,root) %{_bindir}/wrt-launcher
+%attr(755,root,root) %{_bindir}/wrt_reset_all.sh
+%attr(755,root,root) %{_bindir}/wrt_reset_db.sh
+%{_datadir}/locale/*
+%{_datadir}/wrt-engine/*
+%{_datadir}/license/%{name}
+%attr(644,root,root) %{_datadir}/edje/wrt/*
+%attr(644,root,root) %{_datadir}/edje/ace/*
+%attr(644,root,root) /usr/etc/wrt/*
+%if %{with_tests}
+ %attr(755,root,root) %{_bindir}/wrt-tests-general
+ /opt/share/widget/tests/general/*
+%endif
+%attr(755,root,root) %{_sysconfdir}/profile.d/wrt_env.sh
+
+## wrt-launchpad-daemon #######################################################
+%attr(755,root,root) %{_bindir}/wrt_launchpad_daemon
+/usr/share/aul/preload_list_wrt.txt
+%{_sysconfdir}/init.d/wrt_launchpad_run.sh
+%attr(0755,root,root) %{_sysconfdir}/rc.d/rc3.d/S15wrt_launchpad_run
+%attr(0755,root,root) %{_sysconfdir}/rc.d/rc4.d/S80wrt_launchpad_run
+/etc/smack/accesses2.d/wrt_launchpad_daemon.rule
+/opt/etc/smack/accesses.d/wrt_launchpad_daemon.rule
+#systemd
+%{_unitdir}/graphical.target.wants/wrt_launchpad_daemon@app.service
+%{_unitdir}/wrt_launchpad_daemon@.service
+###############################################################################
+
+%files devel
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
+
--- /dev/null
+Name: xorg-x11-proto-gesture
+Summary: X.Org X11 Protocol gestureproto
+Version: 0.1.0
+Release: 3
+Group: Development/System
+License: MIT
+URL: http://www.x.org
+Source0: %{name}-%{version}.tar.gz
+Provides: gestureproto
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+Description: %{summary}
+This package provides development headers describing the wire protocol
+for the Gesture extension, used to control all manner of options related
+to gesture event handling.
+
+More information about X.Org can be found at:
+<URL:http://www.X.org>
+<URL:http://xorg.freedesktop.org>
+<URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
+
+This package is built from the X.org gestureproto proto module.
+
+%prep
+%setup -q
+
+%build
+
+./autogen.sh
+%reconfigure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%remove_docs
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: x86info
+License: GPL-2.0
+Url: http://www.codemonkey.org.uk/projects/x86info/
+Group: System/Monitoring
+AutoReqProv: on
+Version: 1.30
+Release: 1
+Summary: Show x86 CPU Information
+Source: http://www.codemonkey.org.uk/x86info/%{name}-%{version}.tgz
+BuildRequires: gcc
+BuildRequires: python
+BuildRequires: pkgconfig(libpci)
+ExclusiveArch: %{ix86} x86_64
+
+%description
+Unlike other 'cpuinfo' tools which just parse /proc/cpuinfo, x86info
+probes the CPU registers to find out more information. It can discover
+the contents of model-specific registers, discover CPU silicon
+revisions, and more.
+
+%prep
+%setup -q
+
+%build
+make CFLAGS="$RPM_OPT_FLAGS"
+
+%install
+mkdir -p $RPM_BUILD_ROOT/usr/bin
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+mkdir -p $RPM_BUILD_ROOT/usr/sbin
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
+install -m 755 x86info $RPM_BUILD_ROOT/usr/bin
+install -m 644 x86info.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install -m 755 lsmsr $RPM_BUILD_ROOT/usr/sbin
+install -m 644 lsmsr.8 $RPM_BUILD_ROOT%{_mandir}/man8
+
+
+%files
+%license COPYING
+%defattr(-, root, root)
+%doc %{_mandir}/man1/%{name}.1.gz
+%doc %{_mandir}/man8/lsmsr.8.gz
+%doc README TODO
+%{_bindir}/%{name}
+%{_sbindir}/lsmsr
+
+%changelog
--- /dev/null
+Name: xauth
+Version: 1.0.7
+Release: 1
+License: MIT
+Summary: Utility to edit and display the X authorization information
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xau)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xmuu)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+
+%description
+The xauth program is used to edit and display the authorization
+information used in connecting to the X server.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/xauth
+%{_mandir}/man1/xauth.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xbitmaps
+Version: 1.1.1
+Release: 0
+License: MIT
+Summary: Base X bitmaps
+Url: http://xorg.freedesktop.org/releases/individual/data/
+Group: Development/Libraries/C and C++
+
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros) >= 1.3
+BuildArch: noarch
+
+%description
+This package contains the base X bitmaps, which are used in many
+legacy X clients.
+
+%package devel
+Summary: Development files for the base X bitmaps
+Group: Development/Libraries/C and C++
+
+%description devel
+This package contains the base X bitmaps, which are used in many
+legacy X clients.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/X11/bitmaps
+%{_datadir}/pkgconfig/xbitmaps.pc
+
+%changelog
--- /dev/null
+Name: xcb-proto
+Version: 1.8
+Release: 1
+License: MIT
+Summary: X C Binding - protocol descriptions
+Url: http://www.x.org
+Group: Development/X11 Protocols
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: python
+BuildRequires: pkgconfig(xorg-macros)
+Requires: python-xcb-proto
+
+%description
+The xcb-proto package provides the XML-XCB protocol
+descriptions that libxcb uses to generate the majority of
+its code and API.
+
+%package -n python-xcb-proto
+Summary: Python libraries mandatory for XML-XCB Development
+Group: Development/X11 Protocols
+Requires: python = %{py_ver}
+
+%description -n python-xcb-proto
+Language-independent Python
+libraries that used to parse an XML description and create objects
+used by Python code generators in individual language bindings.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+
+%files
+%license COPYING
+%{_datadir}/pkgconfig/xcb-proto.pc
+%dir %{_datadir}/xcb/
+%{_datadir}/xcb/*.xsd
+%{_datadir}/xcb/*.xml
+
+%files -n python-xcb-proto
+%python_sitelib/xcbgen/
--- /dev/null
+Name: xcb-util-keysyms
+%define lname libxcb-keysyms
+Version: 0.3.9
+Release: 0
+Summary: XCB utility module for X keycode constants and conversions
+License: MIT
+Group: Development/Libraries/C and C++
+Url: http://xcb.freedesktop.org/
+
+#Git-Clone: git://anongit.freedesktop.org/xcb/util
+#Git-Web: http://cgit.freedesktop.org/xcb/util/
+Source: %name-%version.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+#git#BuildRequires: autoconf >= 2.59c, automake, libtool
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xcb) >= 1.4
+BuildRequires: pkgconfig(xcb-proto) >= 1.6
+BuildRequires: pkgconfig(xorg-macros) >= 1.6.0
+BuildRequires: pkgconfig(xproto) >= 7.0.8
+
+%description
+The XCB util modules provide a number of libraries which sit on top
+of libxcb, the core X protocol library, and some of the extension
+libraries.
+
+Included in this package is:
+
+- keysyms: Standard X key constants and conversion to/from keycodes.
+
+%package -n %lname
+Summary: XCB utility module for X keycode constants and conversions
+Group: System/Libraries
+
+%description -n %lname
+The XCB util modules provide a number of libraries which sit on top
+of libxcb, the core X protocol library, and some of the extension
+libraries.
+
+Included in this package is:
+
+- keysyms: Standard X key constants and conversion to/from keycodes.
+
+%package devel
+Summary: Development files for the XCB keysyms utility module
+Group: Development/Libraries/C and C++
+Requires: %lname = %version
+
+%description devel
+The XCB util modules provide a number of libraries which sit on top
+of libxcb, the core X protocol library, and some of the extension
+libraries.
+
+This package contains the development headers for the library found
+in %lname.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -n %lname -p /sbin/ldconfig
+
+%postun -n %lname -p /sbin/ldconfig
+
+%files -n %lname
+%defattr(-,root,root)
+%_libdir/libxcb-keysyms.so.1*
+
+%files devel
+%defattr(-,root,root)
+%_includedir/xcb
+%_libdir/libxcb-keysyms.so
+%_libdir/pkgconfig/xcb-keysyms.pc
+
+%changelog
--- /dev/null
+Name: xcb-util
+Version: 0.3.9
+Release: 0
+License: MIT
+Summary: Utility libraries for X C Binding
+Url: http://xcb.freedesktop.org/
+Group: Graphics/X Window System
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: gperf
+BuildRequires: libxcb-devel >= 1.4
+BuildRequires: m4
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+
+%description
+The xcb-util module provides a number of libraries which sit on top of
+libxcb, the core X protocol library, and some of the extension
+libraries. These experimental libraries provide convenience functions
+and interfaces which make the raw X protocol more usable. Some of the
+libraries also provide client-side code which is not strictly part of
+the X protocol but which have traditionally been provided by Xlib.
+
+%package -n libxcb-util
+Summary: XCB utility modules
+Group: Graphics/X Window System
+
+%description -n libxcb-util
+The XCB util modules provide a number of libraries which sit on top
+of libxcb, the core X protocol library, and some of the extension
+libraries. These experimental libraries provide convenience functions
+and interfaces which make the raw X protocol more usable. Some of the
+libraries also provide client-side code which is not strictly part of
+the X protocol but which have traditionally been provided by Xlib.
+
+Included in this package are:
+
+- atom: Standard core X atom constants and atom caching.
+- aux: Convenient access to connection setup and some core requests.
+- event: Callback X event handling.
+
+%package devel
+Summary: Development and header files for xcb-util
+Group: Development/Libraries
+Requires: libxcb-util = %{version}
+Requires: pkgconfig
+
+%description devel
+Development files for xcb-util.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -n libxcb-util -p /sbin/ldconfig
+
+%postun -n libxcb-util -p /sbin/ldconfig
+
+
+%files -n libxcb-util
+%defattr(-,root,root,-)
+%{_libdir}/libxcb-util.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so
+%{_includedir}/xcb/*.h
--- /dev/null
+Name: xcmiscproto
+Version: 1.2.2
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: xconsole
+Version: 1.0.4
+Release: 0
+License: MIT
+Summary: Utility to monitor system console messages with X
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xaw7)
+BuildRequires: pkgconfig(xmu)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xt)
+
+%description
+xconsole displays in a X11 window the messages which are usually sent
+to /dev/console
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/xconsole
+%{_sysconfdir}/X11/app-defaults/XConsole
+%{_mandir}/man1/xconsole.1%{?ext_man}
+
--- /dev/null
+# Copyright (c) 2011 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.
+
+Name: xdelta
+Version: 1.1.4
+Release: 0
+License: GPL-2.0+
+Summary: Binary delta generator and RCS replacement library
+Url: http://xdelta.org/
+Group: Platform Development/Tools
+Source: %{name}-%{version}.tar.gz
+BuildRequires: coreutils
+BuildRequires: glibc-devel
+BuildRequires: libtool
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(zlib)
+
+%description
+Xdelta is a binary delta generator and RCS replacement library. The
+delta algorithm is faster than GNU diff for text files and works on
+binary files, too.
+
+%package devel
+License: GPL-2.0+
+Summary: Binary delta generator and RCS replacement library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: pkgconfig(glib-2.0)
+
+%description devel
+Xdelta is a binary delta generator and RCS replacement library. The
+delta algorithm is faster than GNU diff for text files and works on
+binary files, too.
+
+%prep
+%setup -q
+chmod -x AUTHORS COPYING INSTALL Makefile.am NEWS README *.c *.h *.in xd* */*
+
+%build
+export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+%reconfigure --disable-static
+make
+
+%install
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+%license COPYING
+%{_bindir}/xdelta
+%{_mandir}/man1/xdelta.*
+%{_libdir}/lib*.so.*
+
+%files devel
+%defattr(-, root, root)
+%{_includedir}/*
+%{_bindir}/xdelta-config
+%{_libdir}/*.so
+%{_datadir}/aclocal/xdelta.m4
+
+%changelog
--- /dev/null
+Name: xdg-user-dirs
+Version: 0.14
+Release: 0
+License: GPL-2.0
+Summary: Utilities to handle user data directories
+Url: http://freedesktop.org/wiki/Software/xdg-user-dirs
+Group: Graphics/X Window System
+Source0: %{name}-%{version}.tar.bz2
+Source1: xdg-user-dirs.sh
+
+%description
+xdg-user-dirs is a tool to help manage "well known" user directories
+like the desktop folder and the music folder. It also
+handles localization (i.e. translation) of the filenames.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+%find_lang %{name}
+mkdir -p %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d
+install -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/xdg-user-dirs.sh
+
+%lang_package
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%config(noreplace) %{_sysconfdir}/xdg/user-dirs.conf
+%config(noreplace) %{_sysconfdir}/xdg/user-dirs.defaults
+%dir %{_sysconfdir}/X11/xinit
+%dir %{_sysconfdir}/X11/xinit/xinitrc.d
+%{_sysconfdir}/X11/xinit/xinitrc.d/xdg-user-dirs.sh
+%{_bindir}/xdg-user-dir
+%{_bindir}/xdg-user-dirs-update
+
--- /dev/null
+Name: xdg-utils
+Version: 20120310
+Release: 0
+License: MIT
+Summary: Utilities to uniformly interface desktop environments
+Url: http://portland.freedesktop.org/
+Group: System/GUI/Other
+# http://portland.freedesktop.org/download/xdg-utils-%%{version}.tgz
+Source0: xdg-utils-%{version}.tar.xz
+BuildRequires: make
+# for xmlto to be able to generate text from html
+BuildRequires: web_browser
+BuildRequires: xmlto
+BuildRequires: xz
+Requires: perl
+Requires: perl-Net-DBus
+Requires: perl-X11-Protocol
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+
+%description
+The xdg-utils package is a set of simple scripts that provide basic
+desktop integration functions for any Free Desktop, such as Linux.
+
+They are intended to provide a set of defacto standards. This means
+ that: * Third party software developers can rely on these
+ xdg-utils for all of their simple integration needs.
+
+* Developers of desktop environments can make sure that their
+ environments are well supported
+
+If a desktop developer wants to be certain that their environment
+functions with all third party software, then can simply make sure that
+these utilities work properly in their environment.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%configure
+(cd scripts; make scripts)
+make %{?_smp_flags}
+
+%install
+%make_install
+
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%doc LICENSE
+%{_bindir}/xdg-desktop-icon
+%{_bindir}/xdg-desktop-menu
+%{_bindir}/xdg-email
+%{_bindir}/xdg-icon-resource
+%{_bindir}/xdg-mime
+%{_bindir}/xdg-open
+%{_bindir}/xdg-su
+%{_bindir}/xdg-screensaver
+%{_bindir}/xdg-settings
+%{_bindir}/xdg-terminal
+%changelog
--- /dev/null
+Name: xdgmime
+Version: 0.0.12
+Release: 2
+License: LGPLv2, AFLv2
+Summary: Pkg xdgmime
+Group: TO_BE/FILLED_IN
+Source0: xdgmime-%{version}.tar.gz
+BuildRequires: cmake
+
+%description
+Package xdgmime
+
+%package devel
+Summary: Pkg xdgmime (devel)
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Package xdgmime (devel)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libxdgmime.so.*
+%manifest xdgmime.manifest
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/xdgmime.h
+%{_libdir}/libxdgmime.so
+%{_libdir}/pkgconfig/xdgmime.pc
--- /dev/null
+Name: xdpyinfo
+Version: 1.3.1
+Release: 1
+License: MIT
+Summary: Utility to display information about an X server
+Url: http://xorg.freedesktop.org/
+Group: Graphics/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(dmx)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(x11-xcb)
+BuildRequires: pkgconfig(xcb)
+BuildRequires: pkgconfig(xcomposite)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xi)
+BuildRequires: pkgconfig(xinerama)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xrender)
+BuildRequires: pkgconfig(xtst)
+BuildRequires: pkgconfig(xxf86dga)
+BuildRequires: pkgconfig(xxf86misc)
+BuildRequires: pkgconfig(xxf86vm)
+
+%description
+xdpyinfo is a utility for displaying information about an X server.
+
+It is used to examine the capabilities of a server, the predefined
+values for various parameters used in communicating between clients
+and the server, and the different types of screens, visuals, and X11
+protocol extensions that are available.
+
+%prep
+%setup -q
+
+%build
+%reconfigure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/xdpyinfo
+%{_mandir}/man1/xdpyinfo.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xextproto
+Version: 7.2.1
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: xf86-input-evdev
+Version: 2.7.3
+Release: 0
+License: MIT
+Summary: Generic Linux input driver for the Xorg X server
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Servers/XF86_4
+Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
+Source1: evdev.conf
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(inputproto)
+BuildRequires: pkgconfig(libudev)
+BuildRequires: pkgconfig(mtdev)
+BuildRequires: pkgconfig(resourceproto)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xorg-server)
+BuildRequires: pkgconfig(xproto)
+Requires: udev
+
+%description
+evdev is an Xorg input driver for Linux's generic event devices. It
+therefore supports all input devices that the kernel knows about,
+including most mice, keyboards, tablets and touchscreens.
+
+%package devel
+Summary: Generic Linux input driver for the Xorg X server -- Development Files
+Group: Development/Libraries/X11
+Requires: %{name} = %{version}
+
+%description devel
+evdev is an Xorg input driver for Linux's generic event devices. It
+therefore supports all input devices that the kernel knows about,
+including most mice, keyboards, tablets and touchscreens.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
+install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/10-evdev.conf
+
+
+%remove_docs
+%post
+# re-plug the input devices
+udevadm trigger --subsystem-match=input --action=change
+exit 0
+
+%postun
+# re-plug the input devices
+udevadm trigger --subsystem-match=input --action=change
+exit 0
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_sysconfdir}/X11/xorg.conf.d/10-evdev.conf
+%dir %{_libdir}/xorg/modules/input
+%{_libdir}/xorg/modules/input/evdev_drv.so
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/xorg/evdev-properties.h
+%{_libdir}/pkgconfig/xorg-evdev.pc
+
+%changelog
--- /dev/null
+Name: xf86-input-keyboard
+Version: 1.6.1
+Release: 0
+License: GPL-2.0+
+Summary: Keyboard input driver for the Xorg X server
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Servers/XF86_4
+Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(inputproto)
+BuildRequires: pkgconfig(resourceproto)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xorg-server) >= 1.4
+BuildRequires: pkgconfig(xproto)
+Requires: udev
+Requires: xkeyboard-config >= 1.5
+
+%description
+kbd is an Xorg input driver for keyboards. The driver supports the
+standard OS-provided keyboard interface, but these are currently only
+available to this driver module for Linux, BSD, and Solaris.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%remove_docs
+
+%post
+# re-plug the input devices
+udevadm trigger --subsystem-match=input --action=change
+exit 0
+
+%postun
+# re-plug the input devices
+udevadm trigger --subsystem-match=input --action=change
+exit 0
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%dir %{_libdir}/xorg/modules/input
+%{_libdir}/xorg/modules/input/kbd_drv.so
+
+%changelog
--- /dev/null
+Name: xf86-input-synaptics
+Version: 1.6.2
+Release: 0
+License: MIT
+Summary: Synaptics touchpad input driver for the Xorg X server
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Servers/XF86_4
+Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
+BuildRequires: autoconf >= 2.60
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(inputproto)
+BuildRequires: pkgconfig(mtdev)
+BuildRequires: pkgconfig(randrproto)
+BuildRequires: pkgconfig(recordproto)
+BuildRequires: pkgconfig(resourceproto)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xi) >= 1.2
+BuildRequires: pkgconfig(xorg-macros) >= 1.13
+BuildRequires: pkgconfig(xorg-server) >= 1.7
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xtst)
+Requires: udev
+
+%description
+synaptics is an Xorg input driver for touchpads.
+
+Even though touchpads can be handled by the normal evdev or mouse
+drivers, this driver allows more advanced features of the touchpad to
+become available.
+
+%package devel
+Summary: Synaptics touchpad input driver for the Xorg X server -- Development Files
+Group: Development/Libraries/X11
+Requires: %{name} = %{version}
+
+%description devel
+synaptics is an Xorg input driver for touchpads.
+
+Even though touchpads can be handled by the normal evdev or mouse
+drivers, this driver allows more advanced features of the touchpad to
+become available.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fi
+%configure --with-xorg-conf-dir=/etc/X11/xorg.conf.d
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+%post
+# re-plug the input devices
+udevadm trigger --subsystem-match=input --action=change
+exit 0
+
+%postun
+# re-plug the input devices
+udevadm trigger --subsystem-match=input --action=change
+exit 0
+
+%files
+%defattr(-,root,root)
+%doc COPYING README
+%config %{_sysconfdir}/X11/xorg.conf.d/50-synaptics.conf
+%dir %{_libdir}/xorg/modules/input
+%{_libdir}/xorg/modules/input/synaptics_drv.so
+%{_bindir}/synclient
+%{_bindir}/syndaemon
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/xorg/synaptics.h
+%{_includedir}/xorg/synaptics-properties.h
+%{_libdir}/pkgconfig/xorg-synaptics.pc
+
+%changelog
--- /dev/null
+Name: xf86-video-cirrus
+Version: 1.5.1
+Release: 0
+License: MIT
+Summary: Cirrus Logic video driver for the Xorg X server
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Servers/XF86_4
+Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(fontsproto)
+BuildRequires: pkgconfig(pciaccess) >= 0.8.0
+BuildRequires: pkgconfig(randrproto)
+BuildRequires: pkgconfig(renderproto)
+BuildRequires: pkgconfig(resourceproto)
+BuildRequires: pkgconfig(videoproto)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xorg-macros) >= 1.2
+BuildRequires: pkgconfig(xorg-server) >= 1.4
+BuildRequires: pkgconfig(xproto)
+Supplements: modalias(xorg-server:pci:v00001013d00000038sv*sd*bc*sc*i*)
+Supplements: modalias(xorg-server:pci:v00001013d000000A0sv*sd*bc*sc*i*)
+Supplements: modalias(xorg-server:pci:v00001013d000000A4sv*sd*bc*sc*i*)
+Supplements: modalias(xorg-server:pci:v00001013d000000A8sv*sd*bc*sc*i*)
+Supplements: modalias(xorg-server:pci:v00001013d000000ACsv*sd*bc*sc*i*)
+Supplements: modalias(xorg-server:pci:v00001013d000000B8sv*sd*bc*sc*i*)
+Supplements: modalias(xorg-server:pci:v00001013d000000BCsv*sd*bc*sc*i*)
+Supplements: modalias(xorg-server:pci:v00001013d000000D0sv*sd*bc*sc*i*)
+Supplements: modalias(xorg-server:pci:v00001013d000000D4sv*sd*bc*sc*i*)
+Supplements: modalias(xorg-server:pci:v00001013d000000D6sv*sd*bc*sc*i*)
+Supplements: modalias(xorg-server:pci:v00001013d00001202sv*sd*bc*sc*i*)
+
+%description
+cirrus is an Xorg driver for Cirrus Logic video cards.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%dir %{_libdir}/xorg/modules/drivers
+%{_libdir}/xorg/modules/drivers/cirrus_alpine.so
+%{_libdir}/xorg/modules/drivers/cirrus_laguna.so
+%{_libdir}/xorg/modules/drivers/cirrus_drv.so
+%{_mandir}/man4/cirrus.4%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xf86-video-fbdev
+Version: 0.4.3
+Release: 0
+License: MIT
+Summary: Framebuffer video driver for the Xorg X server
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Servers/XF86_4
+Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(fontsproto)
+BuildRequires: pkgconfig(pciaccess) >= 0.8.0
+BuildRequires: pkgconfig(randrproto)
+BuildRequires: pkgconfig(renderproto)
+BuildRequires: pkgconfig(resourceproto)
+BuildRequires: pkgconfig(videoproto)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xorg-server) >= 1.0.99.901
+BuildRequires: pkgconfig(xproto)
+
+%description
+fbdev is an Xorg driver for framebuffer devices.
+
+This is a non-accelerated driver, the following framebuffer depths are
+supported: 8, 15, 16, 24. All visual types are supported for depth 8,
+and TrueColor visual is supported for the other depths. Multi-head
+configurations are supported.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%dir %{_libdir}/xorg/modules/drivers
+%{_libdir}/xorg/modules/drivers/fbdev_drv.so
+%{_mandir}/man4/fbdev.4%{?ext_man}
+
+%changelog
--- /dev/null
+%define glamor 0
+
+Name: xf86-video-intel
+Version: 2.21.2
+Release: 0
+License: MIT
+Summary: Intel video driver for the Xorg X server
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Servers
+Source0: %{name}-%{version}.tar.bz2
+Source99: baselibs.conf
+
+%if %glamor
+Requires: glamor
+%endif
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(dri2proto) >= 2.6
+BuildRequires: pkgconfig(fontsproto)
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(libdrm) >= 2.4.24
+BuildRequires: pkgconfig(libdrm_intel) >= 2.4.29
+BuildRequires: pkgconfig(libudev)
+BuildRequires: pkgconfig(pciaccess) >= 0.10
+BuildRequires: pkgconfig(pixman-1)
+BuildRequires: pkgconfig(randrproto)
+BuildRequires: pkgconfig(renderproto)
+BuildRequires: pkgconfig(resourceproto)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(x11-xcb)
+BuildRequires: pkgconfig(xcb-aux)
+BuildRequires: pkgconfig(xcb-dri2)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xf86driproto)
+BuildRequires: pkgconfig(xfixes)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xorg-server) >= 1.0.99.901
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xrender)
+BuildRequires: pkgconfig(xvmc)
+%if %glamor
+BuildRequires: pkgconfig(glamor)
+%endif
+ExclusiveArch: %ix86 x86_64
+
+%description
+intel is an Xorg driver for Intel integrated video cards.
+
+The driver supports depths 8, 15, 16 and 24. All visual types are
+supported in depth 8. For the i810/i815 other depths support the
+TrueColor and DirectColor visuals. For the i830M and later, only the
+TrueColor visual is supported for depths greater than 8. The driver
+supports hardware accelerated 3D via the Direct Rendering Infrastructure
+(DRI), but only in depth 16 for the i810/i815 and depths 16 and 24 for
+the 830M and later.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fi
+%configure \
+ --enable-uxa \
+ --enable-sna \
+%if %glamor
+ --enable-glamor \
+%endif
+ --with-default-accel=uxa
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libI810XvMC.so*
+%{_libdir}/libIntelXvMC.so*
+%dir %{_libdir}/xorg/modules/drivers
+%{_libdir}/xorg/modules/drivers/intel_drv.so
+
+%changelog
--- /dev/null
+Name: xf86-video-vesa
+Version: 2.3.2
+Release: 0
+License: MIT
+Summary: Generic VESA video driver for the Xorg X server
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Servers/XF86_4
+Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
+Patch0: xf86-video-vesa_DefaultRefresh.diff
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(fontsproto)
+BuildRequires: pkgconfig(pciaccess) >= 0.10
+BuildRequires: pkgconfig(randrproto)
+BuildRequires: pkgconfig(renderproto)
+BuildRequires: pkgconfig(resourceproto)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xorg-macros) >= 1.3
+BuildRequires: pkgconfig(xorg-server) >= 1.0.99.901
+BuildRequires: pkgconfig(xproto)
+Supplements: xorg-server
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+vesa is an Xorg driver for Generic VESA video cards.
+
+It can drive most VESA-compatible video cards, but only makes use of the
+basic standard VESA core that is common to these cards. The driver
+supports depths 8, 15 16 and 24.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%dir %{_libdir}/xorg/modules/drivers
+%{_libdir}/xorg/modules/drivers/vesa_drv.so
+%{_mandir}/man4/vesa.4%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xf86-video-vmware
+Version: 12.0.2
+Release: 0
+License: MIT
+Summary: VMware SVGA video driver for the Xorg X server
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Servers/XF86_4
+#Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
+Source0: %{name}-%{version}_007bed3.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(fontsproto)
+BuildRequires: pkgconfig(pciaccess) >= 0.8.0
+BuildRequires: pkgconfig(randrproto)
+BuildRequires: pkgconfig(renderproto)
+BuildRequires: pkgconfig(resourceproto)
+BuildRequires: pkgconfig(videoproto)
+BuildRequires: pkgconfig(xatracker) >= 0.4.0
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xineramaproto)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xorg-server) >= 1.0.1
+BuildRequires: pkgconfig(xproto)
+ExclusiveArch: %ix86 x86_64
+
+%description
+vmware is an Xorg driver for VMware virtual video cards.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%dir %{_libdir}/xorg/modules/drivers
+%{_libdir}/xorg/modules/drivers/vmware_drv.so
+%{_mandir}/man4/vmware.4%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xf86bigfontproto
+Version: 1.2.0
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: xf86dgaproto
+Summary: X.Org X11 Protocol xf86dgaproto
+Version: 2.1
+Release: 1
+Group: Development/System
+License: MIT
+URL: http://www.x.org
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: xf86driproto
+Summary: X.Org X11 Protocol xf86driproto
+Version: 2.1.1
+Release: 1
+Group: Development/System
+License: MIT
+URL: http://www.x.org
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+# some file to be intalled can be ignored when rpm generates packages
+%define _unpackaged_files_terminate_build 0
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/dri/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: xf86miscproto
+Version: 0.9.3
+Release: 1
+License: MIT
+Summary: xf86miscproto protocol
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: xf86vidmodeproto
+Version: 2.3.1
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: xhost
+Version: 1.0.5
+Release: 0
+License: MIT
+Summary: Utility to control X server access
+Url: http://xorg.freedesktop.org/
+Group: System/X11
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xau)
+BuildRequires: pkgconfig(xmuu)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+
+%description
+xhost is used to manage the list of host names or user names
+allowed to make connections to the X server.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/xhost
+%{_mandir}/man1/xhost.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xineramaproto
+Version: 1.2.1
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc
--- /dev/null
+Name: xinit
+Version: 1.3.2
+Release: 0
+License: MIT
+Summary: X Window System initializer
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: libtool
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+Requires: setxkbmap
+Requires: xauth
+Requires: xmodmap
+Requires: xrdb
+Requires: xsetroot
+
+%description
+The xinit program is used to start the X Window System server and a
+first client program on systems that are not using a display manager
+such as xdm or in environments that use multiple window systems.
+When this first client exits, xinit will kill the X server and then
+terminate.
+
+%prep
+%setup -q
+
+%build
+%configure --with-xinitdir=%{_sysconfdir}/X11/xinit/
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%config %{_sysconfdir}/X11/xinit/
+%{_bindir}/startx
+%{_bindir}/xinit
+%{_mandir}/man1/startx.1%{?ext_man}
+%{_mandir}/man1/xinit.1%{?ext_man}
+
+%changelog
--- /dev/null
+#
+
+Name: xinput
+Version: 1.6.0
+Release: 0
+License: MIT and HPND
+Summary: Utility to configure and test X input devices
+Url: http://xorg.freedesktop.org/
+Group: System/X11
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig(inputproto) >= 2.0.99.1
+BuildRequires: pkgconfig(pkg-config)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xi) >= 1.4.99.1
+BuildRequires: pkgconfig(xinerama)
+BuildRequires: pkgconfig(xorg-macros) >= 1.3
+BuildRequires: pkgconfig(xrandr)
+
+%description
+xinput is a utility to configure and test XInput devices.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/xinput
+%{_mandir}/man1/xinput.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xkbcomp
+Version: 1.2.4
+Release: 0
+License: MIT
+Summary: Utility to compile XKB keyboard description
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: bison
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xkbfile)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto) >= 7.0.17
+
+%description
+The xkbcomp keymap compiler converts a description of an XKB keymap
+into one of several output formats.
+
+%package devel
+Summary: Utility to compile XKB keyboard description -- Development Files
+Group: Development/Libraries/X11
+Requires: %{name} = %{version}
+
+%description devel
+The xkbcomp keymap compiler converts a description of an XKB keymap
+into one of several output formats.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/xkbcomp
+%{_mandir}/man1/xkbcomp.1%{?ext_man}
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/pkgconfig/xkbcomp.pc
+
+%changelog
--- /dev/null
+Name: xkbevd
+Version: 1.1.3
+Release: 1
+License: MIT
+Summary: XKB event daemon
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: bison
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xkbfile)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+
+%description
+The xkbevd event daemon listens for specified XKB events and executes
+requested commands if they occur. The configuration file consists of
+a list of event specification/action pairs and/or variable definitions.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/xkbevd
+%{_mandir}/man1/xkbevd.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xkbprint
+Version: 1.0.3
+Release: 1
+License: MIT
+Summary: Utility to print an XKB keyboard description
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xkbfile)
+BuildRequires: pkgconfig(xorg-macros) >= 1.3
+
+%description
+xkbprint generates a printable or encapsulated PostScript description
+of an XKB keyboard description.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/xkbprint
+
+%changelog
--- /dev/null
+Name: xkbutils
+Version: 1.0.3
+Release: 0
+License: MIT
+Summary: Collection of small utilities utilizing the X11 XKeyboard extension
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(inputproto)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xaw7)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xt)
+
+%description
+xkbutils is a collection of small utilities utilizing the XKeyboard
+(XKB) extension to the X11 protocol.
+
+It includes:
+ xkbbell - generate XKB bell events
+ xkbvleds - display the state of LEDs on an XKB keyboard in a window
+ xkbwatch - reports changes in the XKB keyboard state
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/xkbbell
+%{_bindir}/xkbvleds
+%{_bindir}/xkbwatch
+
+%changelog
--- /dev/null
+Name: xkeyboard-config
+Version: 2.7
+Release: 0
+License: GPL-2.0+ ; LGPL-2.1+ ; MIT
+Summary: The X Keyboard Extension
+Url: http://www.freedesktop.org/Software/XKeyboardConfig
+Group: System/X11/Utilities
+Source: http://xorg.freedesktop.org/releases/individual/data/%{name}-%{version}.tar.bz2
+BuildRequires: fdupes
+BuildRequires: intltool
+BuildRequires: perl-XML-Parser
+BuildRequires: pkg-config
+BuildRequires: xkbcomp
+BuildRequires: pkgconfig(xorg-macros) >= 1.12
+Requires: xkbcomp
+Provides: XFree86:/etc/X11/xkb/symbols/us
+Provides: xorg-x11:/etc/X11/xkb/symbols/us
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+Requires(pre): /usr/bin/ln
+Requires(pre): /usr/bin/rm
+
+%description
+The X Keyboard Extension essentially replaces the core protocol
+definition of keyboard. The extension makes possible to clearly and
+explicitly specify most aspects of keyboard behaviour on per-key basis
+and to more closely track the logical and physical state of the
+keyboard. It also includes a number of keyboard controls designed to
+make keyboards more accessible to people with physical impairments.
+
+%prep
+%setup -q
+
+%build
+%configure --with-xkb-rules-symlink=xfree86,xorg \
+ --with-xkb-base=/usr/share/X11/xkb \
+ --enable-compat_rules \
+ --disable-runtime-deps \
+ --disable-xkbcomp-symlink
+rm -f */*.dir
+make
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_localstatedir}/lib/xkb
+ln -snf /usr/bin/xkbcomp %{buildroot}/usr/share/X11/xkb/xkbcomp
+# Bug 335553
+mkdir -p %{buildroot}%{_localstatedir}/lib/xkb/compiled/
+ln -snf /var/lib/xkb/compiled/ %{buildroot}/usr/share/X11/xkb/compiled
+%find_lang %{name}
+%fdupes -s %{buildroot}/usr/share/X11/xkb
+
+%files -f %{name}.lang
+%defattr(-,root,root)
+%doc AUTHORS COPYING README docs/HOWTO.* docs/README.*
+%dir %{_localstatedir}/lib/xkb
+%dir %{_localstatedir}/lib/xkb/compiled
+/usr/share/X11/xkb/
+%{_datadir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+Name: xlsatoms
+Version: 1.1.1
+Release: 0
+License: MIT
+Summary: Utility to list interned atoms defined on an X11 server
+Url: http://xorg.freedesktop.org/
+Group: Graphics/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(xcb)
+BuildRequires: pkgconfig(xorg-macros) >= 1.3
+%description
+xlsatoms lists the interned atoms defined on an X11 server.
+
+%prep
+%setup -q
+
+%build
+%autogen
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/xlsatoms
+%{_mandir}/man1/xlsatoms.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xmlcharent
+Version: 0.3
+Release: 405
+License: BSD-3-Clause
+Summary: XML Character Entities
+Url: http://www.oasis-open.org/committees/docbook/xmlcharent/
+Group: Productivity/Publishing/XML
+Source0: http://www.oasis-open.org/committees/docbook/%{name}/%{version}/%{name}-%{version}.zip
+Source1: catalog.xml
+Source2: CATALOG.xmlcharent
+BuildRequires: sgml-skel
+BuildRequires: unzip
+%define regcat /usr/bin/sgml-register-catalog
+Requires(pre): %{regcat}
+Requires(pre): /usr/bin/edit-xml-catalog
+Requires(pre): /usr/bin/xmlcatalog
+Requires(pre): gawk
+Requires(pre): grep
+Requires(pre): sed
+Requires: libxml2
+Requires: sgml-skel
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+
+%description
+XML encodings for the 19 standard character entity sets defined in
+non-normative Annex D of [ISO 8879:1986].
+
+%define INSTALL install -m755 -s
+%define INSTALL_DIR install -d -m755
+%define INSTALL_DATA install -m644
+%define INSTALL_SCRIPT install -m755 -o root -g root
+%define sgml_dir %{_datadir}/sgml
+%define sgml_var_dir /var/lib/sgml
+%define sgml_mod_dir %{sgml_dir}/xmlcharent
+%define xml_dir %{_datadir}/xml
+%define xml_mod_dir %{xml_dir}/entities/%{name}/%{version}
+%define sgml_config_dir /var/lib/sgml
+%define sgml_sysconf_dir %{_sysconfdir}/sgml
+%define xml_config_dir /var/lib/xml
+%define xml_sysconf_dir %{_sysconfdir}/xml
+
+%prep
+%setup -q
+sed 's|@VERSION@|%{version}|
+s|@DIR@|%{xml_mod_dir}|' %{SOURCE1} >catalog.xml
+sed 's|@VERSION@|%{version}|
+s|@DIR@|%{xml_mod_dir}|' %{SOURCE2} >CATALOG.%{name}
+#%setup -q -n %{name}
+
+%build
+# # lynx -width=300 -dump entities-2002-03-19.html \
+# # | grep '\(Public\|System\) identifier' \
+# # | awk -F 'entifier: ' '
+# # / System i/ {printf "\"%s\"\n", gensub(/.*\//,"%{sgml_dir_iso}/", g, $2)}
+# # / Public i/ {printf "PUBLIC \"-//%s\" ", $2}' > CATALOG.xmlcharent
+# {
+# for f in iso-*.ent; do
+# {
+# grep ' *ISO 8879:1986' $f | sed 's:^ \+::' \
+# | awk '{printf "PUBLIC \"-//%s\"", $0}';
+# echo " \"%{sgml_dir_iso}/$f\"";
+# }
+# done
+# } > CATALOG.xmlcharent
+# sed 's:%{xml_mod_dir}/::' CATALOG.xmlcharent > sgml.catalog
+# Prep XML catalog fragment
+%define FOR_ROOT_CAT for-catalog-%{name}-%{version}.xml
+xmlcatbin=/usr/bin/xmlcatalog
+# build root catalog fragment
+rm -f %{FOR_ROOT_CAT}.tmp
+$xmlcatbin --noout --create %{FOR_ROOT_CAT}.tmp
+CATALOG=%{xml_mod_dir}/catalog.xml
+$xmlcatbin --noout --add "delegatePublic" "ISO 8879:1986//ENTITIES" \
+ "file://$CATALOG" %{FOR_ROOT_CAT}.tmp
+# Create tag
+sed '/<catalog/a\
+ <group id="%{name}-%{version}">
+/<\/catalog/i\
+ </group>' \
+ %{FOR_ROOT_CAT}.tmp > %{FOR_ROOT_CAT}
+
+%install
+%{INSTALL_DIR} %{buildroot}{%{xml_mod_dir},%{sgml_dir},%{sgml_var_dir}}
+%{INSTALL_DATA} catalog.xml *.ent %{buildroot}%{xml_mod_dir}
+%{INSTALL_DATA} CATALOG.xmlcharent %{buildroot}%{sgml_var_dir}
+pushd %{buildroot}%{sgml_dir}
+ln -sf ../../../var/lib/sgml/CATALOG.* .
+popd
+pushd %{buildroot}%{xml_mod_dir}
+for f in *.ent; do
+ ln -sf "$f" "${f/-}"
+done
+popd
+# parse-sgml-catalog.sh CATALOG.xmlcharent > CATALOG.norm
+# sgml2xmlcat.sh -i CATALOG.norm \
+# -l -s '%{buildroot}/usr/share/sgml' -p xmlcharent
+#
+mkdir -p %{buildroot}%{_sysconfdir}/xml
+install -m644 %{FOR_ROOT_CAT} %{buildroot}%{_sysconfdir}/xml
+#
+%define all_cat xmlcharent
+
+%post
+if [ -x %{regcat} ]; then
+ for c in %{all_cat}; do
+ grep -q -e "%{sgml_dir}/CATALOG.$c\\>" /etc/sgml/catalog \
+ || %{regcat} -a %{sgml_dir}/CATALOG.$c >/dev/null 2>&1 || :
+ done
+fi
+xmlcatbin=usr/bin/xmlcatalog
+if [ -x /usr/bin/edit-xml-catalog ]; then
+/usr/bin/edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
+ --add /etc/xml/%{FOR_ROOT_CAT}
+fi
+
+%postun
+if [ "$1" = "0" -a -x %{regcat} ]; then
+ for c in %{all_cat}; do
+ %{regcat} -r %{sgml_dir}/CATALOG.$c >/dev/null 2>&1 || :
+ done
+fi
+xmlcatbin=/usr/bin/xmlcatalog
+# remove entries only on removal of file
+if [ ! -f %{xml_sysconf_dir}/%{FOR_ROOT_CAT} -a -x /usr/bin/edit-xml-catalog ] ; then
+ /usr/bin/edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
+ --del %{name}-%{version}
+fi
+
+%files
+%defattr(-, root, root)
+# %doc entities-*.html
+%{xml_mod_dir}
+%config %{_sysconfdir}/xml/%{FOR_ROOT_CAT}
+%config %{sgml_var_dir}/CATALOG.*
+# %{sgml_dir}/ISO*
+%{sgml_dir}/CATALOG.*
+%dir %{xml_dir}/entities
+%dir %{xml_dir}/entities/xmlcharent
+
+%changelog
--- /dev/null
+Name: xmlsec1
+Version: 1.2.14
+Release: 1
+License: MIT
+Summary: Library providing support for "XML Signature" and "XML Encryption" standards
+Url: http://www.aleksey.com/xmlsec/index.html
+Group: System/Libraries
+Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
+BuildRequires: pkgconfig(libxml-2.0) >= 2.6.27
+BuildRequires: pkgconfig(libxslt)
+BuildRequires: pkgconfig(openssl)
+
+%description
+This C library allows to transform XML files into other XML files
+(or HTML, text, ...) using the standard XSLT stylesheet transformation
+mechanism. To use it you need to have a version of libxml2 >= 2.6.27
+installed. The xsltproc command is a command line interface to the XSLT engine
+
+%package gcrypt
+Summary: Gcrypt crypto plugin for XML Security Library
+Group: System/Libraries
+Requires: %{name} = %{version}
+
+%description gcrypt
+OpenSSL plugin for XML Security Library provides OpenSSL based crypto services
+for the xmlsec library.
+
+%package openssl
+Summary: Gcrypt crypto plugin for XML Security Library
+Group: System/Libraries
+Requires: %{name} = %{version}
+
+%description openssl
+OpenSSL plugin for XML Security Library provides OpenSSL based crypto services
+for the xmlsec library.
+
+%package devel
+Summary: Libraries, includes, etc
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+This C library allows to transform XML files into other XML files
+(or HTML, text, ...) using the standard XSLT stylesheet transformation
+mechanism. To use it you need to have a version of libxml2 >= 2.6.27
+installed.
+
+%prep
+%setup -q
+
+
+%build
+
+%configure --disable-static \
+ --enable-dynamic --disable-crypto-dl --disable-apps-crypto-dl --without-gnutls
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%post gcrypt -p /sbin/ldconfig
+
+%postun gcrypt -p /sbin/ldconfig
+
+
+%post openssl -p /sbin/ldconfig
+
+%postun openssl -p /sbin/ldconfig
+
+
+
+%files
+%license COPYING
+%doc Copyright
+%{_libdir}/libxmlsec1.so.*
+%{_bindir}/xmlsec1
+
+
+%files gcrypt
+#%{_libdir}/libxmlsec1-gcrypt.so.*
+
+%files openssl
+%{_libdir}/libxmlsec1-openssl.so.*
+
+%files devel
+%doc Copyright
+%{_includedir}/xmlsec1
+%{_bindir}/xmlsec1-config
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*
+%{_libdir}/xmlsec1Conf.sh
+%{_datadir}/aclocal/xmlsec1.m4
+
--- /dev/null
+Name: xmlto
+Version: 0.0.25
+Release: 0
+License: GPL-2.0+
+Summary: Tool for Converting XML Files to Various Formats
+Url: https://fedorahosted.org/xmlto/
+Group: Productivity/Publishing/XML
+Source0: https://fedorahosted.org/releases/x/m/xmlto/%{name}-%{version}.tar.bz2
+BuildRequires: docbook-xsl-stylesheets
+BuildRequires: flex
+BuildRequires: libxslt
+BuildRequires: sgml-skel
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: fdupes
+
+# We rely entirely on the DocBook XSL stylesheets!
+Requires: docbook-xsl-stylesheets >= 1.56.0
+Requires: docbook_4
+Requires: xsltproc
+
+%description
+This is a package for converting XML files to various formats using XSL
+stylesheets. As a processor it depends on xsltproc and as a formatter
+for print output it makes use of passivetex.
+
+%prep
+%setup -q
+
+
+rm -f xmlif/xmlif.c
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+! mkdir %{buildroot}%{_datadir}/xmlto/xsl
+%{fdupes '%{buildroot}%{_datadir}/xmlto'}
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/*
+%{_mandir}/*/*
+%{_datadir}/xmlto
+
+%changelog
--- /dev/null
+Name: xmodmap
+Version: 1.0.7
+Release: 0
+License: MIT
+Summary: Utility to modify keymaps and pointer button mappings in X
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+Source1: Xmodmap.template
+Source2: Xmodmap.remote.template
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto) >= 7.0.17
+
+%description
+The xmodmap program is used to edit and display the keyboard modifier
+map and keymap table that are used by client applications to convert
+event keycodes into keysyms. It is usually run from the user's
+session startup script to configure the keyboard according to personal
+tastes.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+install -m0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/X11/Xmodmap
+install -m0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/X11/Xmodmap.remote
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%config %{_sysconfdir}/X11/Xmodmap
+%config %{_sysconfdir}/X11/Xmodmap.remote
+%{_bindir}/xmodmap
+%{_mandir}/man1/xmodmap.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xorg-cf-files
+Version: 1.0.4
+Release: 0
+License: MIT
+Summary: Data files for the imake utility
+Url: http://xorg.freedesktop.org/
+Group: Development/Tools/Building
+Source0: http://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2
+BuildRequires: font-util >= 1.1
+BuildRequires: pkgconfig(xorg-macros) >= 1.4
+Requires: gccmakedep
+Requires: imake
+Requires: makedepend
+# This was part of the xorg-x11-util-devel package up to version 7.6
+BuildArch: noarch
+
+%description
+The xorg-cf-files package contains the data files for the imake utility,
+defining the known settings for a wide variety of platforms (many of
+which have not been verified or tested in over a decade), and for many
+of the libraries formerly delivered in the X.Org monolithic releases.
+
+The X Window System used imake extensively up through the X11R6.9
+release, for both full builds within the source tree and external
+software. X has since moved to GNU autoconf and automake for its build
+system in X11R7.0 and later releases, but still maintains imake for
+building existing external software programs that have not yet
+converted.
+
+%define _configdir %{_datadir}/X11/config
+
+%prep
+%setup -q
+cat > host.def << EOF
+#define ConfigDir %_configdir
+#define XAppLoadDir /usr/share/X11/app-defaults
+#define UseSeparateConfDir NO
+#define ManPath /usr/share/man
+%ifarch ppc64 s390x x86_64 sparc64
+#define ModuleDir /usr/lib64/xorg/modules
+%else
+#define ModuleDir /usr/lib/xorg/modules
+%endif
+#ifdef i386Architecture
+#undef DefaultGcc2i386Opt
+#define DefaultGcc2i386Opt %{optflags} -fno-strict-aliasing
+#endif
+#ifdef MipsArchitecture
+#undef DefaultGcc2MipsOpt
+#define DefaultGcc2MipsOpt %{optflags} -fno-strict-aliasing
+#endif
+#ifdef PpcArchitecture
+#undef DefaultGcc2PpcOpt
+#define DefaultGcc2PpcOpt %{optflags} -fno-strict-aliasing
+#endif
+#ifdef Ppc64Architecture
+#undef DefaultGcc2Ppc64Opt
+#define DefaultGcc2Ppc64Opt %{optflags} -fno-strict-aliasing
+#endif
+#ifdef AMD64Architecture
+#undef DefaultGcc2AMD64Opt
+#define DefaultGcc2AMD64Opt %{optflags} -fno-strict-aliasing
+#endif
+#ifdef s390xArchitecture
+#undef OptimizedCDebugFlags
+#define OptimizedCDebugFlags %{optflags} -fno-strict-aliasing
+#endif
+#ifdef ia64Architecture
+#undef OptimizedCDebugFlags
+#define OptimizedCDebugFlags %{optflags} -fno-strict-aliasing
+#endif
+#if defined(SparcArchitecture) || defined(Sparc64Architecture)
+#undef OptimizedCDebugFlags
+#define OptimizedCDebugFlags %{optflags} -fno-strict-aliasing
+# undef HaveLib64
+#if defined(Sparc64Architecture)
+# define HaveLib64 YES
+#else
+# define HaveLib64 NO
+#endif
+#endif
+EOF
+
+%build
+%configure --with-config-dir=%_configdir
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc ChangeLog COPYING README
+%dir %{_datadir}/X11
+%{_datadir}/X11/config/
+
+%changelog
--- /dev/null
+Name: xorg-launch-helper
+Version: 4
+Release: 1
+Summary: Xorg service helper
+
+Group: Graphics/X Window System
+License: GPL-2.0
+URL: http://foo-projects.org/~sofar/%{name}
+Source0: http://foo-projects.org/~sofar/%{name}/%{name}-%{version}.tar.gz
+Source1: xorg.conf
+Source2: xorg_done.service
+
+BuildRequires: pkgconfig(systemd)
+BuildRequires: pkgconfig(libsystemd-daemon)
+Requires: /usr/bin/Xorg
+
+%description
+A wrapper to launch Xorg as a service in systemd environments.
+
+%prep
+%setup -q
+
+%build
+%reconfigure
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+# temoprary HW configuration. it should be seperated.
+mkdir -p %{buildroot}/etc/sysconfig
+install -m 644 %{SOURCE1} %{buildroot}/etc/sysconfig/xorg
+install -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/systemd/user/
+ln -sf ../xorg_done.service %{buildroot}%{_prefix}/lib/systemd/user/xorg.target.wants
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_bindir}/xorg-launch-helper
+%{_prefix}/lib/systemd/user/xorg.service
+%{_prefix}/lib/systemd/user/xorg_done.service
+%{_prefix}/lib/systemd/user/xorg.target
+%{_prefix}/lib/systemd/user/xorg.target.wants/xorg.service
+%{_prefix}/lib/systemd/user/xorg.target.wants/xorg_done.service
+/etc/sysconfig/xorg
--- /dev/null
+%bcond_with mesa
+
+Name: xorg-server
+Version: 1.13.3
+Release: 1
+License: MIT
+Summary: X Server
+Url: http://www.x.org
+Group: Graphics/X Window System
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: libgcrypt-devel
+BuildRequires: pkgconfig(gestureproto)
+BuildRequires: pkgconfig(xf86dgaproto)
+BuildRequires: pkgconfig(bigreqsproto)
+BuildRequires: pkgconfig(compositeproto)
+BuildRequires: pkgconfig(damageproto)
+BuildRequires: pkgconfig(dri2proto)
+BuildRequires: pkgconfig(fixesproto)
+BuildRequires: pkgconfig(fontsproto)
+BuildRequires: pkgconfig(fontutil)
+BuildRequires: pkgconfig(inputproto)
+BuildRequires: pkgconfig(kbproto)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(libudev)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(pciaccess)
+BuildRequires: pkgconfig(pixman-1)
+BuildRequires: pkgconfig(randrproto)
+BuildRequires: pkgconfig(recordproto)
+BuildRequires: pkgconfig(renderproto)
+BuildRequires: pkgconfig(resourceproto)
+BuildRequires: pkgconfig(scrnsaverproto)
+BuildRequires: pkgconfig(videoproto)
+BuildRequires: pkgconfig(videoproto)
+BuildRequires: pkgconfig(xcmiscproto)
+BuildRequires: pkgconfig(xdmcp)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(xf86vidmodeproto)
+BuildRequires: pkgconfig(xfont)
+BuildRequires: pkgconfig(xineramaproto)
+BuildRequires: pkgconfig(xkbfile)
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xtrans)
+BuildRequires: pkgconfig(xv)
+BuildRequires: pkgconfig(glproto)
+BuildRequires: pkgconfig(xf86driproto)
+%if %{with mesa}
+BuildRequires: pkgconfig(dri)
+BuildRequires: pkgconfig(gl)
+%else
+BuildRequires: pkgconfig(gles20)
+%endif
+
+Provides: xorg-x11-server
+Obsoletes: xorg-x11-server < 1.13.0
+Provides: xorg-x11-server-common
+Obsoletes: xorg-x11-server-common < 1.13.0
+Provides: xorg-x11-server-Xorg
+Obsoletes: xorg-x11-server-Xorg < 1.13.0
+
+%description
+X.org X Server
+
+%package devel
+Summary: SDK for X server driver module development
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: libpciaccess-devel
+Requires: pixman-devel
+
+%description devel
+The SDK package provides the developmental files which are necessary for
+developing X server driver modules, and for compiling driver modules
+outside of the standard X11 source code tree. Developers writing video
+drivers, input drivers, or other X modules should install this package.
+
+%prep
+%setup -q
+
+
+%build
+./autogen.sh
+%reconfigure \
+%if %{with mesa}
+%ifarch %ix86 x86_64
+ --enable-dri \
+ --enable-dri2 \
+ --enable-dga \
+ --enable-xaa \
+%else
+ --disable-debug \
+ --disable-dri \
+ --disable-glx \
+ --enable-dri2 \
+ --disable-aiglx \
+ --disable-glx-tls \
+ --disable-vgahw \
+ --disable-vbe \
+ --disable-dga \
+ --disable-xaa \
+%endif
+%else
+ --disable-dri \
+ --disable-glx \
+ --enable-dri2 \
+ --disable-aiglx \
+ --disable-glx-tls \
+ --disable-vgahw \
+ --disable-vbe \
+ --disable-dga \
+ --disable-xaa \
+%endif
+ --disable-strict-compilation \
+ --disable-static \
+ --disable-unit-tests \
+ --disable-sparkle \
+ --disable-builddocs \
+ --disable-install-libxf86config \
+ --enable-registry \
+ --enable-gesture \
+ --enable-composite \
+ --enable-shm \
+ --enable-xres \
+ --enable-record \
+ --enable-xv \
+ --enable-xvmc \
+ --disable-screensaver \
+ --enable-xdmcp \
+ --enable-xdm-auth-1 \
+ --enable-xinerama \
+ --enable-xf86vidmode \
+ --enable-xace \
+ --disable-xselinux \
+ --disable-xcsecurity \
+ --disable-xcalibrate \
+ --disable-tslib \
+ --disable-dbe \
+ --disable-xf86bigfont \
+ --enable-dpms \
+ --disable-config-dbus \
+ --enable-config-udev \
+ --disable-config-hal \
+ --enable-xfree86-utils \
+ --with-int10=x86emu \
+ --disable-windowswm \
+ --enable-libdrm \
+ --enable-xorg \
+ --disable-dmx \
+ --disable-xvfb \
+ --disable-xnest \
+ --disable-xquartz \
+ --disable-xwin \
+ --disable-kdrive \
+ --disable-xephyr \
+ --disable-xfake \
+ --disable-xfbdev \
+ --disable-kdrive-kbd \
+ --disable-kdrive-mouse \
+ --disable-kdrive-evdev \
+ --disable-doc \
+ --disable-devel-doc \
+ --without-dtrace \
+ --with-extra-module-dir="/usr/lib/xorg/extra-modules" \
+ --with-os-vendor="Tizen" \
+ --with-xkb-path="/usr/share/X11/xkb" \
+ --with-xkb-output="/var/lib/xkb/compiled" \
+ --with-default-font-path="built-ins" \
+ --disable-install-setuid \
+ --with-sha1=libgcrypt \
+ CFLAGS="${CFLAGS} \
+ -Wall -g \
+ -D_F_UDEV_DEBUG_ \
+ -D_F_NO_GRABTIME_UPDATE_ \
+ -D_F_NO_CATCH_SIGNAL_ \
+ -D_F_CHECK_NULL_CLIENT_ \
+ -D_F_COMP_OVL_PATCH \
+ -D_F_PUT_ON_PIXMAP_ \
+ -D_F_IGNORE_MOVE_SPRITE_FOR_FLOATING_POINTER_ \
+ -D_F_NOT_ALWAYS_CREATE_FRONTBUFFER_ \
+ -D_F_GESTURE_EXTENSION_ \
+ " \
+ CPPFLAGS="${CPPFLAGS} "
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+rm %{buildroot}/%{_datadir}/X11/xorg.conf.d/10-evdev.conf
+rm %{buildroot}/var/lib/xkb/compiled/README.compiled
+
+%remove_docs
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/xorg/protocol.txt
+%{_bindir}/X
+%{_bindir}/Xorg
+%{_bindir}/gtf
+%{_bindir}/cvt
+%dir %{_libdir}/xorg
+%dir %{_libdir}/xorg/modules
+%if %{with mesa}
+%dir %{_libdir}/xorg/modules/extensions
+%{_libdir}/xorg/modules/extensions/*.so
+%endif
+%dir %{_libdir}/xorg/modules/multimedia
+%{_libdir}/xorg/modules/multimedia/*.so
+%{_libdir}/xorg/modules/*.so
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/xorg-server.pc
+%dir %{_includedir}/xorg
+%{_includedir}/xorg/*.h
+%{_datadir}/aclocal/xorg-server.m4
+
--- /dev/null
+Name: xprop
+Version: 1.2.1
+Release: 1
+License: MIT
+Summary: Property displayer for X
+Url: http://xorg.freedesktop.org/
+Group: Graphics/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto) >= 7.0.17
+
+%description
+xprop displays window and font properties of an X server.
+
+%prep
+%setup -q
+
+%build
+%autogen
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/xprop
+%{_mandir}/man1/xprop.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xproto
+Version: 7.0.23
+Release: 0
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%license COPYING
+%defattr(-,root,root,-)
+%{_includedir}/X11/*.h
+%{_datadir}/pkgconfig/*.pc
+
--- /dev/null
+Name: xrandr
+Version: 1.4.0
+Release: 0
+Summary: Primitive command line interface to RandR extension
+License: MIT
+Group: Graphics/X Window System
+Url: http://xorg.freedesktop.org/
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto) >= 7.0.17
+BuildRequires: pkgconfig(xrandr) >= 1.3
+BuildRequires: pkgconfig(xrender)
+
+%description
+Xrandr is used to set the size, orientation and/or reflection of
+the outputs for a screen. It can also set the screen size.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+rm %{buildroot}%{_bindir}/xkeystone
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/xrandr
+%{_mandir}/man1/xrandr.1%{?ext_man}
+
+%changelog
--- /dev/null
+#
+# spec file for package xrdb
+#
+# Copyright (c) 2012 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: xrdb
+Version: 1.0.9
+Release: 1
+License: MIT
+Summary: X server resource database utility
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xmuu)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+Requires: cpp
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+# This was part of the xorg-x11 package up to version 7.6
+Conflicts: xorg-x11 <= 7.6
+
+%description
+Xrdb is used to get or set the contents of the RESOURCE_MANAGER property
+on the root window of screen 0, or the SCREEN_RESOURCES property on the
+root window of any or all screens, or everything combined.
+
+%prep
+%setup -q
+
+%build
+%configure --with-cpp=%{_bindir}/cpp
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS ChangeLog COPYING README
+%{_bindir}/xrdb
+%{_mandir}/man1/xrdb.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xrestop
+Version: 0.4
+Release: 0
+License: GPL-2.0+
+Summary: X Resource Monitor
+Url: http://www.freedesktop.org/Software/xrestop
+Group: Development/Tools
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: ncurses-devel
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xau)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xres)
+
+%description
+A utility to monitor application usage of X resources in the X Server, and
+display them in a manner similar to 'top'. This is a very useful utility
+for tracking down application X resource usage leaks.
+
+%prep
+%setup -q
+
+%build
+%reconfigure
+make %{?_smp_mflags}
+# SUBDIRS=
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/xrestop
--- /dev/null
+Name: xset
+Version: 1.2.2
+Release: 1
+License: MIT
+Summary: User preference utility for X
+Url: http://xorg.freedesktop.org/
+Group: System/X11
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xfontcache)
+BuildRequires: pkgconfig(xxf86misc)
+BuildRequires: pkgconfig(xmuu)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto) >= 7.0.17
+
+%description
+This program is used to set various user preference options of the
+display.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/xset
+%{_mandir}/man1/xset.1%{?ext_man}
+
--- /dev/null
+Name: xsetroot
+Version: 1.1.0
+Release: 0
+License: MIT
+Summary: Utility to set X root window parameter
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xbitmaps)
+BuildRequires: pkgconfig(xcursor)
+BuildRequires: pkgconfig(xmuu)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+# This was part of the xorg-x11 package up to version 7.6
+
+%description
+The xsetroot program allows you to tailor the appearance of the
+background ("root") window on a workstation display running X.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING README
+%{_bindir}/xsetroot
+%{_mandir}/man1/xsetroot.1%{?ext_man}
+
+%changelog
--- /dev/null
+Name: xterm
+BuildRequires: freetype-devel
+BuildRequires: ncurses-devel
+BuildRequires: update-desktop-files
+BuildRequires: utempter-devel
+BuildRequires: libXaw-devel
+Url: http://invisible-island.net/xterm/
+Provides: XFree86:/usr/X11R6/bin/xterm
+Provides: xorg-x11:/usr/X11R6/bin/xterm
+Version: 279
+Release: 0
+Summary: The basic X terminal program
+License: MIT
+Group: System/X11/Utilities
+Source: ftp://invisible-island.net/xterm/%name-%version.tgz
+Source1: luitx
+Source3: Backarrow2Delete
+Source4: Backarrow2BackSpace
+Source6: terminal.png
+%define vttest_version 20120506
+Source7: ftp://invisible-island.net/vttest/vttest-%vttest_version.tgz
+Source8: 20x20ja.bdf.bz2
+Source9: 20x20ko.bdf.bz2
+# Snoop for the escape sequence assignment of the keypad
+Source20: snooper.tar.bz2
+
+%description
+This package contains the basic X.Org terminal program.
+
+%prep
+%setup -q -b7
+
+
+
+
+cp $RPM_SOURCE_DIR/*bdf.bz2 .
+bunzip2 *.bdf.bz2
+
+%build
+%define xappdefs /usr/share/X11/app-defaults
+%define xfontsd /usr/share/fonts
+%define xterminfo /usr/lib/X11/etc
+
+%configure \
+ --enable-256-color \
+ --enable-dec-locator \
+ --enable-hp-fkeys \
+ --enable-mini-luit \
+ --enable-sco-fkeys \
+ --enable-wide-chars \
+ --with-utempter \
+ --with-tty-group=tty \
+ --with-app-defaults=%{xappdefs} \
+
+make %{?_smp_mflags}
+
+pushd "../vttest-%vttest_version"
+%configure
+make %{?_smp_mflags}
+popd
+
+if [ ! which bdftopcf ] ; then exit 1; fi
+for i in *.bdf
+do
+ bdftopcf "$i" | gzip -9 >"${i%.bdf}.pcf.gz"
+done
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+mkdir -p $RPM_BUILD_ROOT%{xterminfo}
+install -m 644 terminfo $RPM_BUILD_ROOT%{xterminfo}/xterm.terminfo
+install -m 644 termcap $RPM_BUILD_ROOT%{xterminfo}/xterm.termcap
+
+pushd "../vttest-%vttest_version"
+ make install DESTDIR=$RPM_BUILD_ROOT
+popd
+install -m 755 $RPM_SOURCE_DIR/luitx $RPM_BUILD_ROOT/usr/bin
+install -m 755 $RPM_SOURCE_DIR/Backarrow2Delete $RPM_BUILD_ROOT/usr/bin
+install -m 755 $RPM_SOURCE_DIR/Backarrow2BackSpace $RPM_BUILD_ROOT/usr/bin
+
+mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
+install -m 644 $RPM_SOURCE_DIR/terminal.png \
+ $RPM_BUILD_ROOT/usr/share/pixmaps
+
+mkdir -p $RPM_BUILD_ROOT%{xfontsd}/misc/
+install -m 644 *.pcf.gz $RPM_BUILD_ROOT%{xfontsd}/misc/
+%tizen_update_desktop_file -i xterm TerminalEmulator
+
+
+%files
+%defattr(-,root,root)
+%doc README README.i18n
+/usr/bin/vttest
+/usr/bin/luitx
+%attr(755,root,root) /usr/bin/xterm
+/usr/bin/resize
+/usr/bin/uxterm
+/usr/bin/koi8rxterm
+/usr/bin/Backarrow2Delete
+/usr/bin/Backarrow2BackSpace
+/usr/share/man/man1/xterm.1.gz
+/usr/share/man/man1/resize.1.gz
+%{_mandir}/man1/vttest.1.gz
+%{_mandir}/man1/koi8rxterm.1.gz
+%{_mandir}/man1/uxterm.1.gz
+/usr/share/applications/xterm.desktop
+/usr/share/pixmaps/*
+%dir %{xterminfo}
+%{xterminfo}/xterm.termcap
+%{xterminfo}/xterm.terminfo
+%dir %{xfontsd}/misc
+%{xfontsd}/misc/20x20ja.pcf.gz
+%{xfontsd}/misc/20x20ko.pcf.gz
+%{xappdefs}/KOI8RXTerm
+%{xappdefs}/KOI8RXTerm-color
+%{xappdefs}/UXTerm
+%{xappdefs}/UXTerm-color
+%{xappdefs}/XTerm
+%{xappdefs}/XTerm-color
+
+%changelog
--- /dev/null
+Name: xtrans
+Version: 1.2.7
+Release: 0
+License: MIT
+Summary: Library to handle network protocol transport in X
+Url: http://xorg.freedesktop.org/
+Group: Development/Libraries/X11
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(xorg-macros) >= 1.12
+BuildArch: noarch
+
+%description
+xtrans is a library of code that is shared among various X packages to
+handle network protocol transport in a modular fashion, allowing a
+single place to add new transport types. It is used by the X server,
+libX11, libICE, the X font server, and related components.
+
+%prep
+%setup -q
+
+%build
+%configure --docdir=%{_docdir}/xtrans
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%pre
+test -L usr/include/X11 && rm usr/include/X11
+exit 0
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%doc %{_docdir}/xtrans/xtrans.xml
+%{_includedir}/X11/Xtrans/
+%{_datadir}/aclocal/xtrans.m4
+%{_datadir}/pkgconfig/xtrans.pc
+
+%changelog
--- /dev/null
+Name: xz
+Version: 5.0.3
+Release: 0
+License: LGPL-2.1+ and GPL-2.0+
+Summary: A Program for Compressing Files
+Url: http://tukaani.org/lzma/
+Group: Base/Tools
+Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2
+Source2: baselibs.conf
+BuildRequires: pkgconfig
+Provides: lzma = %{version}
+Obsoletes: lzma < %{version}
+
+%ifarch %{arm}
+%define do_profiling 0
+%endif
+
+# avoid bootstrapping problem
+%define _binary_payload w9.bzdio
+
+%description
+The xz command is a very powerful program for compressing files.
+
+* Average compression ratio of LZMA is about 30% better than that of
+ gzip, and 15% better than that of bzip2.
+
+* Decompression speed is only little slower than that of gzip, being
+ two to five times faster than bzip2.
+
+* In fast mode, compresses faster than bzip2 with a comparable
+ compression ratio.
+
+* Achieving the best compression ratios takes four to even twelve
+ times longer than with bzip2. However. this doesn't affect
+ decompressing speed.
+
+* Very similar command line interface to what gzip and bzip2 have.
+
+%package -n liblzma
+Summary: LZMA library
+Group: System/Libraries
+
+%description -n liblzma
+Library for encoding/decoding LZMA files.
+
+%package devel
+Summary: Development package for the LZMA library
+Group: Development/Libraries
+Requires: liblzma = %{version}
+Provides: lzma-devel = %{version}
+Obsoletes: lzma-devel < %{version}
+Provides: lzma-alpha-devel = %{version}
+Obsoletes: lzma-alpha-devel < %{version}
+
+%description devel
+This package contains the header files and libraries needed for
+compiling programs using the LZMA library.
+
+%prep
+%setup -q
+
+%build
+%if %{do_profiling}
+profiledir=$(mktemp -d)
+trap "rm -rf $profiledir" EXIT
+export CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir"
+%endif
+%configure --disable-static --with-pic --docdir=%_docdir/%{name}
+make %{?_smp_mflags}
+%if %{do_profiling}
+time make check
+make clean
+export CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir"
+%configure --disable-static --with-pic --docdir=%_docdir/%{name}
+make %{?_smp_mflags}
+%endif
+
+%check
+time make check
+
+%install
+%make_install
+%find_lang %{name}
+
+%post -n liblzma -p /sbin/ldconfig
+
+%postun -n liblzma -p /sbin/ldconfig
+
+%lang_package
+
+%docs_package
+
+%files
+%defattr(-, root, root)
+%license COPYING*
+%_docdir/%{name}
+%{_bindir}/*
+
+%files -n liblzma
+%defattr(-, root, root)
+%{_libdir}/lib*.so.5*
+
+%files devel
+%defattr(-, root, root)
+%{_includedir}/*.h
+%{_includedir}/lzma
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
--- /dev/null
+Name: yaml
+Version: 0.1.4
+Release: 1
+License: MIT
+Group: Development/Libraries/C and C++
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Url: http://pyyaml.org/wiki/LibYAML
+Source: http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz
+Summary: A YAML 1.1 parser and emitter written in C
+%description
+A YAML 1.1 parser and emitter written in C
+
+%package -n libyaml
+Group: Development/Libraries/C and C++
+Summary: A YAML 1.1 parser and emitter written in C
+
+%description -n libyaml
+A YAML 1.1 parser and emitter written in C
+
+%package -n libyaml-devel
+License: MIT
+Group: Development/Libraries/C and C++
+Requires: libyaml = %{version}
+Summary: Development files for libyaml
+
+%description -n libyaml-devel
+A YAML 1.1 parser and emitter written in C
+
+This package holds the development files for libyaml.
+
+%prep
+%setup -n %{name}-%{version}
+
+%build
+%configure --with-pic --disable-static
+make %{?_smp_flags}
+
+%check
+make check
+
+%install
+%make_install
+
+%post -n libyaml -p /sbin/ldconfig
+
+%postun -n libyaml -p /sbin/ldconfig
+
+%files -n libyaml
+%defattr(-,root,root,-)
+%{_libdir}/libyaml-0.so.*
+
+%files -n libyaml-devel
+%defattr(-,root,root,-)
+%{_includedir}/yaml.h
+%{_libdir}/libyaml.so
+%{_libdir}/pkgconfig/yaml-0.1.pc
+
+%changelog
--- /dev/null
+Name: yasm
+Version: 1.2.0
+Release: 1
+License: BSD-2-Clause or BSD-3-Clause
+Summary: Yasm Modular Assembler
+Url: http://yasm.tortall.net/
+Group: System/Libraries
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: binutils-devel
+
+%description
+Yasm is a complete rewrite of the NASM assembler under the “new” BSD License (some portions are under other licenses, see COPYING for details).
+Yasm currently supports the x86 and AMD64 instruction sets, accepts NASM and GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and 64-bit Mach-O, RDOFF2, COFF, Win32, and Win64 object formats, and generates source debugging information in STABS, DWARF 2, and CodeView 8 formats.
+Yasm can be easily integrated into Visual Studio 2005/2008 and 2010 for assembly of NASM or GAS syntax code into Win32 or Win64 object files.
+
+%prep
+%setup -q
+
+%build
+./configure --prefix=/usr
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%license COPYING
+%{_bindir}/yasm
+%{_bindir}/vsyasm
+%{_bindir}/ytasm
+%{_includedir}/libyasm-stdint.h
+%{_includedir}/libyasm.h
+%{_includedir}/libyasm/*
+%{_mandir}/man1/yasm.1.gz
+%{_mandir}/man7/yasm_arch.7.gz
+%{_mandir}/man7/yasm_dbgfmts.7.gz
+%{_mandir}/man7/yasm_objfmts.7.gz
+%{_mandir}/man7/yasm_parsers.7.gz
--- /dev/null
+%{!?python_sitelib_platform: %define python_sitelib_platform %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+Name: yum-metadata-parser
+Version: 1.1.4
+Release: 0
+License: GPL-2.0
+Summary: A fast metadata parser for yum
+Url: http://linux.duke.edu/projects/yum/
+Group: Development/Libraries
+Source0: http://linux.duke.edu/projects/yum/download/%{name}/%{name}-%{version}.tar.gz
+BuildRequires: pkgconfig
+BuildRequires: sqlite-devel
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(python-2.7)
+Requires: glib2 >= 2.15
+Conflicts: yum < 3.2.0
+
+%description
+Fast metadata parser for yum implemented in C.
+
+%prep
+%setup -q
+
+%build
+python setup.py build
+
+%install
+rm -rf %{buildroot}
+python setup.py install -O1 --root=%{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{python_sitelib_platform}/_sqlitecache.so
+%{python_sitelib_platform}/sqlitecachec.py
+%{python_sitelib_platform}/sqlitecachec.pyc
+%{python_sitelib_platform}/sqlitecachec.pyo
+
+%{python_sitelib_platform}/*egg-info
+
+%changelog
--- /dev/null
+%define auto_sitelib 1
+%define disable_check 1
+
+# We always used /usr/lib here, even on 64bit ... so it's a bit meh.
+%define yum_pluginslib /usr/lib/yum-plugins
+%define yum_pluginsshare /usr/share/yum-plugins
+
+Name: yum
+Version: 3.4.3
+Release: 0
+License: GPL-2.0+
+Summary: RPM package installer/updater/manager
+Group: System/Base
+Source0: http://yum.baseurl.org/download/3.4/%{name}-%{version}.tar.gz
+Source1: yum.conf
+
+Url: http://yum.baseurl.org/
+BuildRequires: gettext
+BuildRequires: intltool
+BuildRequires: python-gpgme
+BuildRequires: python >= 2.4
+BuildRequires: python-iniparse
+BuildRequires: python-nose
+BuildRequires: python-urlgrabber >= 3.9.0
+BuildRequires: rpm >= 4.10.0
+BuildRequires: python-rpm
+BuildRequires: yum-metadata-parser >= 1.1.0
+Requires: python-gpgme
+Requires: python >= 2.7
+Requires: python-iniparse
+Requires: python-urlgrabber >= 3.9.0
+Requires: rpm >= 4.10.0
+Requires: python-rpm
+Requires: yum-metadata-parser >= 1.1.0
+BuildArch: noarch
+
+%description
+Yum is a utility that can check for and automatically download and
+install updated RPM packages. Dependencies are obtained and downloaded
+automatically, prompting the user for permission as necessary.
+
+%prep
+%setup -q
+
+%build
+make
+
+%check
+make check
+
+
+%install
+make DESTDIR=%{buildroot} UNITDIR=%{_unitdir} install
+install -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/yum.conf
+mkdir -p %{buildroot}/%{_sysconfdir}/yum/pluginconf.d %{buildroot}/%{yum_pluginslib}
+mkdir -p %{buildroot}/%{yum_pluginsshare}
+
+mv %{buildroot}/%{_sysconfdir}/yum/repos.d %{buildroot}/%{_sysconfdir}/yum.repos.d
+
+# yum-updatesd has moved to the separate source version
+rm -f %{buildroot}/%{_sysconfdir}/yum/yum.conf
+rm -f %{buildroot}/%{_sysconfdir}/yum/yum-updatesd.conf
+rm -f %{buildroot}/%{_sysconfdir}/rc.d/init.d/yum-updatesd
+rm -f %{buildroot}/%{_sysconfdir}/dbus-1/system.d/yum-updatesd.conf
+rm -f %{buildroot}/%{_sbindir}/yum-updatesd
+rm -f %{buildroot}/%{_mandir}/man*/yum-updatesd*
+rm -f %{buildroot}/%{_datadir}/yum-cli/yumupd.py*
+
+rm -rf %{buildroot}/etc/cron.daily
+rm -rf %{buildroot}/etc/sysconfig/yum-cron
+rm -rf %{buildroot}/etc/yum/yum-daily.yum
+rm -rf %{buildroot}/etc/yum/yum-weekly.yum
+rm -rf %{buildroot}/etc/rc.d/init.d
+
+# Ghost files:
+mkdir -p %{buildroot}%{_localstatedir}/lib/yum/history
+mkdir -p %{buildroot}%{_localstatedir}/lib/yum/plugins
+mkdir -p %{buildroot}%{_localstatedir}/lib/yum/yumdb
+touch %{buildroot}%{_localstatedir}/lib/yum/uuid
+
+# rpmlint bogus stuff...
+chmod +x %{buildroot}/%{_datadir}/yum-cli/*.py
+chmod +x %{buildroot}/%{python_sitelib}/yum/*.py
+chmod +x %{buildroot}/%{python_sitelib}/rpmUtils/*.py
+
+%find_lang %{name}
+
+
+
+%files -f %{name}.lang
+%defattr(-, root, root, -)
+%license COPYING
+%config(noreplace) %{_sysconfdir}/yum.conf
+%dir %{_sysconfdir}/yum.repos.d
+%config(noreplace) %{_sysconfdir}/yum/version-groups.conf
+%dir %{_sysconfdir}/yum
+%dir %{_sysconfdir}/yum/protected.d
+%dir %{_sysconfdir}/yum/vars
+%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
+%{_sysconfdir}/bash_completion.d
+%{_datadir}/yum-cli/
+%{_bindir}/yum
+%{python_sitelib}/yum
+%{python_sitelib}/rpmUtils
+%dir %{_localstatedir}/cache/yum
+%dir %{_localstatedir}/lib/yum
+%ghost %{_localstatedir}/lib/yum/uuid
+%ghost %{_localstatedir}/lib/yum/history
+%ghost %{_localstatedir}/lib/yum/plugins
+%ghost %{_localstatedir}/lib/yum/yumdb
+%{_mandir}/man*/yum.*
+%{_mandir}/man*/yum-shell*
+# plugin stuff
+%dir %{_sysconfdir}/yum/pluginconf.d
+%dir %{yum_pluginslib}
+%dir %{yum_pluginsshare}
+
--- /dev/null
+Name: zeromq
+Version: 3.2.2
+Release: 1
+Summary: The ZeroMQ messaging library
+Group: System/Libraries
+License: LGPL-3.0+
+URL: http://www.zeromq.org/
+Source: http://download.zeromq.org/%{name}-%{version}.tar.gz
+Source1001: %name.manifest
+BuildRequires: libuuid-devel
+Requires: libuuid
+
+# Build pgm only on supported archs
+%ifarch %ix86 x86_64
+BuildRequires: python, perl
+%endif
+
+%description
+The 0MQ lightweight messaging kernel is a library which extends the
+standard socket interfaces with features traditionally provided by
+specialised messaging middleware products. 0MQ sockets provide an
+abstraction of asynchronous message queues, multiple messaging
+patterns, message filtering (subscriptions), seamless access to
+multiple transport protocols and more.
+
+This package contains the ZeroMQ shared library.
+
+
+%package -n libzmq
+Summary: The ZeroMQ messaging library
+%description -n libzmq
+The 0MQ lightweight messaging kernel is a library which extends the
+standard socket interfaces with features traditionally provided by
+specialised messaging middleware products. 0MQ sockets provide an
+abstraction of asynchronous message queues, multiple messaging
+patterns, message filtering (subscriptions), seamless access to
+multiple transport protocols and more.
+
+This package contains the ZeroMQ shared library.
+
+%package devel
+Summary: Development files and static library for the ZeroMQ library
+Group: Development/Libraries
+Requires: libzmq = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+The 0MQ lightweight messaging kernel is a library which extends the
+standard socket interfaces with features traditionally provided by
+specialised messaging middleware products. 0MQ sockets provide an
+abstraction of asynchronous message queues, multiple messaging
+patterns, message filtering (subscriptions), seamless access to
+multiple transport protocols and more.
+
+This package contains ZeroMQ related development libraries and header files.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+%build
+%configure
+
+%{__make} %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%post -p /sbin/ldconfig -n libzmq
+
+%postun -p /sbin/ldconfig -n libzmq
+
+
+%files -n libzmq
+%manifest zeromq.manifest
+%defattr(-,root,root,-)
+%license COPYING COPYING.LESSER
+%{_libdir}/libzmq.so.3
+%{_libdir}/libzmq.so.3.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/zmq.h
+%{_includedir}/zmq_utils.h
+%{_libdir}/pkgconfig/libzmq.pc
+%{_libdir}/libzmq.so
--- /dev/null
+Name: zip
+Version: 3.0
+Release: 1
+License: BSD-3-Clause
+Summary: File compression program
+Url: http://www.info-zip.org/
+Group: Productivity/Archiving/Compression
+Source: %{name}-%{version}.tar.bz2
+
+%description
+Zip is a compression and file packaging utility. It is compatible with
+PKZIP(tm) 2.04g (Phil Katz ZIP) for MS-DOS systems.
+
+%prep
+%setup -q -n zip30
+
+%build
+make %{?_smp_mflags} -f unix/Makefile prefix=/usr CC="gcc %{optflags} -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" generic_gcc
+
+%install
+mkdir -p %{buildroot}/usr/bin
+mkdir -p %{buildroot}%{_mandir}/man1
+make install -f unix/Makefile BINDIR=%{buildroot}/usr/bin MANDIR=%{buildroot}%{_mandir}/man1
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%doc LICENSE
+%{_bindir}/zip
+%{_bindir}/zipcloak
+%{_bindir}/zipnote
+%{_bindir}/zipsplit
+
+%changelog
--- /dev/null
+%define keepstatic 1
+Name: zlib
+Provides: libz
+Obsoletes: libz
+Version: 1.2.7
+Release: 0
+Summary: Data Compression Library
+License: Zlib
+Group: Base/Libraries
+Url: http://www.zlib.net/
+# git://github.com/kaffeemonster/zlib.git (branch adler32_vec)
+Source: http://zlib.net/zlib-%{version}.tar.bz2
+Source1: LICENSE
+Source2: baselibs.conf
+BuildRequires: pkgconfig
+
+%description
+ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt
+(deflate format) and rfc1952.txt (gzip format). These documents are
+also available in other formats from
+ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html.
+
+%package devel
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Requires: glibc-devel
+Requires: zlib = %{version}
+Provides: libz:/usr/include/zlib.h
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require the provided includes and
+libraries.
+
+%package devel-static
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}
+Provides: %{name}-devel:%{_libdir}/libz.a
+
+%description devel-static
+This package contains all necessary include files and libraries needed
+to develop applications that require the provided includes and
+libraries.
+
+%package -n minizip
+Summary: Minizip manipulates files from a .zip archive
+Group: System/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description -n minizip
+Minizip manipulates files from a .zip archive.
+
+%package -n minizip-devel
+Summary: Development files for the minizip library
+Group: Development/Libraries
+Requires: minizip = %{version}-%{release}
+
+%description -n minizip-devel
+This package contains the libraries and header files needed for
+developing applications which use minizip.
+
+%prep
+%setup -q
+
+%build
+export LDFLAGS="-Wl,-z,relro,-z,now"
+%define do_profiling 0
+%if %{do_profiling}
+profiledir=$(mktemp -d)
+trap "rm -rf $profiledir" EXIT
+CC="gcc" ./configure --shared --prefix=%{_prefix} --libdir=/%{_lib}
+make CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir" %{?_smp_mflags}
+time make check
+make clean
+make CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir" %{?_smp_mflags}
+%else
+export CFLAGS="%{optflags}"
+CC="gcc" ./configure --shared --prefix=%{_prefix} --libdir=/%{_lib}
+make %{?_smp_mflags}
+%endif
+
+cd contrib/minizip
+%reconfigure
+make %{?_smp_mflags}
+
+%check
+time make check
+
+%install
+#mkdir -p %{buildroot}%{_mandir}/man3
+mkdir -p %{buildroot}%{_libdir}
+%make_install
+ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libz.so) %{buildroot}%{_libdir}/libz.so
+rm -v %{buildroot}/%{_lib}/libz.so
+# static lib
+mv %{buildroot}/%{_lib}/libz.a %{buildroot}%{_libdir}
+# Move .pc file to %{_libdir}
+mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
+# manpage
+install -m 644 zlib.3 %{buildroot}%{_mandir}/man3
+install -m 644 zutil.h %{buildroot}%{_includedir}
+
+pushd contrib/minizip
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -rf %{buildroot}%{_libdir}/libminizip.a
+rm -rf %{buildroot}%{_libdir}/libminizip.la
+popd
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+/%{_lib}/libz.so.1.2.*
+/%{_lib}/libz.so.1
+
+%files devel
+%defattr(-,root,root)
+%doc README
+%{_mandir}/man3/zlib.3.gz
+%{_includedir}/zlib.h
+%{_includedir}/zconf.h
+%{_includedir}/zutil.h
+%{_libdir}/libz.so
+%{_libdir}/pkgconfig/zlib.pc
+
+%files devel-static
+%defattr(-,root,root)
+%{_libdir}/libz.a
+
+%files -n minizip
+%{_libdir}/libminizip.so.*
+
+%files -n minizip-devel
+%dir %{_includedir}/minizip
+%{_includedir}/minizip/*.h
+%{_libdir}/libminizip.so
+%{_libdir}/pkgconfig/minizip.pc
+
+%changelog
--- /dev/null
+#
+# spec file for package zypp-plugin
+#
+# Copyright (c) 2011-2012 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.
+#
+Name: zypp-plugin
+Version: 0.3
+Release: 0
+Group: System/Packages
+License: GPL-2.0
+Url: https://gitorious.org/opensuse/zypp-plugin
+Summary: Helper that makes writing ZYpp plugins easier
+Source0: %{name}-%{version}.tar.bz2
+
+# Actually libzypp(plugin) should be required. Unfortunately the corresponing
+# provides was introduced to late for SUSE Manager/SLE-11-SP1. We do not want to
+# enforce libzypp update to satisfy this, so the Requires should saty disabled,
+# until libzypp on SUSE Manager/SLE-11-SP1 was updated and provides libzypp(plugin).
+#Requires: libzypp(plugin)
+BuildRequires: python-devel
+Requires: python
+
+%description
+Empty main package. Helper for different languages reside in subpackages.
+
+%package python
+Group: System/Packages
+License: GPL-2.0
+Summary: Helper that makes writing ZYpp plugins in python easier
+
+%description python
+This API allows writing ZYpp plugins by just subclassing from a python class
+and implementing the commands you want to respond to as python methods.
+
+%prep
+%setup -q -n zypp-plugin
+
+%build
+
+%install
+%{__mkdir_p} %{buildroot}%{py_sitedir}
+%{__install} python/zypp_plugin.py %{buildroot}%{py_sitedir}/zypp_plugin.py
+
+%files python
+%defattr(-,root,root)
+%{py_sitedir}/zypp_plugin.py
--- /dev/null
+Name: zypper
+BuildRequires: libzypp-devel >= 12.1.0
+BuildRequires: boost-devel >= 1.33.1
+BuildRequires: gettext-devel >= 0.15
+BuildRequires: readline-devel >= 5.1
+BuildRequires: augeas-devel >= 0.5.0
+BuildRequires: gcc-c++ >= 4.5
+BuildRequires: cmake >= 2.4.6
+Requires: procps
+Requires: libzypp
+License: GPL-2.0+
+Group: System/Package Management
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Summary: Command line software manager using libzypp
+Version: 1.8.14
+Release: 0
+Source: %{name}-%{version}.tar.bz2
+Source1: %{name}-rpmlintrc
+URL: http://en.opensuse.org/Zypper
+
+%description
+Zypper is a command line tool for managing software. It can be used to add
+package repositories, search for packages, install, remove, or update packages,
+install patches, hardware drivers, verify dependencies, and more.
+
+Zypper can be used interactively or non-interactively by user, from scripts,
+or front-ends.
+
+Authors:
+--------
+ Jan Kupec <jkupec@suse.cz>
+ Duncan Mac-Vicar <dmacvicar@suse.de>
+ Martin Vidner <mvidner@suse.cz>
+ Josef Reidinger <jreidinger@suse.cz>
+
+%package log
+Requires: python >= 2.7
+BuildArch: noarch
+Summary: CLI for accessing the zypper logfile
+License: GPL-2.0+
+Group: System/Packages
+%description log
+CLI for accessing the zypper logfile
+
+Authors:
+--------
+ Dominik Heidler <dheidler@suse.de>
+
+%prep
+%setup -q
+
+%build
+mkdir build
+cd build
+
+# The code base is the same, but SLES11-SP1 (suse_version == 1110)
+# may use it's own set of .po files from po/sle-zypper-po.tar.bz2.
+unset TRANSLATION_SET
+
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DSYSCONFDIR=%{_sysconfdir} \
+ -DMANDIR=%{_mandir} \
+ -DCMAKE_VERBOSE_MAKEFILE=TRUE \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DUSE_TRANSLATION_SET=${TRANSLATION_SET:-zypper} \
+ ..
+
+#gettextize -f
+make %{?_smp_mflags}
+make -C po %{?_smp_mflags} translations
+
+%install
+cd build
+make install DESTDIR=$RPM_BUILD_ROOT
+make -C po install DESTDIR=$RPM_BUILD_ROOT
+rm -f %{buildroot}/%{_bindir}/aptitude
+# Create filelist with translations
+cd ..
+%{find_lang} zypper
+%{__install} -d -m755 $RPM_BUILD_ROOT%{_var}/log
+touch $RPM_BUILD_ROOT%{_var}/log/zypper.log
+rm %{buildroot}%{_datadir}/doc/packages/zypper/COPYING
+
+%lang_package
+
+%files
+%license COPYING
+%defattr(-,root,root)
+%config(noreplace) %{_sysconfdir}/zypp/zypper.conf
+%config(noreplace) %{_sysconfdir}/logrotate.d/zypper.lr
+%config(noreplace) %{_sysconfdir}/logrotate.d/zypp-refresh.lr
+%{_sysconfdir}/bash_completion.d/zypper.sh
+%{_bindir}/zypper
+%{_bindir}/installation_sources
+%{_sbindir}/zypp-refresh
+%dir %{_datadir}/zypper
+%{_datadir}/zypper/zypper.aug
+%dir %{_datadir}/zypper/xml
+%{_datadir}/zypper/xml/xmlout.rnc
+%doc %{_mandir}/man8/zypper.8*
+%doc %dir %{_datadir}/doc/packages/zypper
+%doc %{_datadir}/doc/packages/zypper/TODO
+%doc %{_datadir}/doc/packages/zypper/zypper-rug
+%doc %{_datadir}/doc/packages/zypper/HACKING
+# declare ownership of the log file but prevent
+# it from being erased by rpm -e
+%ghost %config(noreplace) %{_var}/log/zypper.log
+
+%files log
+%defattr(-,root,root)
+%{_sbindir}/zypper-log
+%doc %{_mandir}/man8/zypper-log.8*
+
+
+%changelog