Commit 87eed3c1 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Update to latest freedesktop-sdk-images

Picks up a few fixes from fd.o
Drops the local libappdata-glib in favour of the fd.o one
Drops the xlib stuff from gdk-pixbuf like the fd.o one
parent 0bac8032
Subproject commit c9522b213d62b470ca596a7859b2413f1e3eebf9
Subproject commit f37b3785aeb473ecd4046093bb20124dea6e6bc0
......@@ -55,9 +55,9 @@ the functionality of the installed %{name} package.
%build
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
%configure $CONFIGFLAGS \
--with-x11 \
--without-x11 \
--without-libjasper \
--with-included-loaders=png \
--with-included-loaders="png,jpeg" \
--enable-installed-tests
)
make %{?_smp_mflags}
......@@ -92,7 +92,6 @@ fi
%files -f gdk-pixbuf.lang
%doc AUTHORS COPYING NEWS
%{_libdir}/libgdk_pixbuf-2.0.so.*
%{_libdir}/libgdk_pixbuf_xlib-2.0.so.*
%{_libdir}/girepository-1.0
%dir %{_libdir}/gdk-pixbuf-2.0
%dir %{_libdir}/gdk-pixbuf-2.0/2.10.0
......@@ -105,9 +104,7 @@ fi
%files dev
%{_includedir}/gdk-pixbuf-2.0
%{_libdir}/libgdk_pixbuf-2.0.so
%{_libdir}/libgdk_pixbuf_xlib-2.0.so
%{_libdir}/pkgconfig/gdk-pixbuf-2.0.pc
%{_libdir}/pkgconfig/gdk-pixbuf-xlib-2.0.pc
%{_bindir}/gdk-pixbuf-csource
%{_bindir}/gdk-pixbuf-pixdata
%{_datadir}/gir-1.0
......
......@@ -10,7 +10,6 @@ BuildArch: noarch
BuildRequires: gnome-platform
BuildRequires: freedesktop-sdk
BuildRequires: libappstream-glib
Requires: gnome-platform
Requires: freedesktop-sdk
......@@ -32,7 +31,6 @@ Requires: gtk2-dev
Requires: gtk3-dev
Requires: gvfs-dev
Requires: hyphen-dev
Requires: libappstream-glib-dev
Requires: libcroco-dev
Requires: libnotify-dev
Requires: librsvg2-dev
......
Summary: Library for AppStream metadata
Name: libappstream-glib
Version: 0.5.1
Release: 1%{?dist}
License: LGPLv2+
URL: http://people.freedesktop.org/~hughsient/appstream-glib/
Source0: http://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-%{version}.tar.xz
BuildRequires: freedesktop-sdk-base
BuildRequires: glib2-dev
BuildRequires: gobject-introspection-dev
BuildRequires: libsoup-dev
BuildRequires: gdk-pixbuf2-dev
BuildRequires: gtk3-dev
BuildRequires: gcab
# for the builder component
BuildRequires: fontconfig-dev
BuildRequires: freetype-dev
BuildRequires: pango-dev
%description
This library provides GObjects and helper methods to make it easy to read and
write AppStream metadata. It also provides a simple DOM implementation that
makes it easy to edit nodes and convert to and from the standardized XML
representation.
%package dev
Summary: GLib Libraries and headers for appstream-glib
Requires: %{name}%{?_isa} = %{version}-%{release}
%description dev
GLib headers and libraries for appstream-glib.
%package builder
Summary: Library and command line tools for building AppStream metadata
Requires: %{name}%{?_isa} = %{version}-%{release}
%description builder
This library and command line tool is used for building AppStream metadata
from a directory of packages.
%package builder-dev
Summary: GLib Libraries and headers for appstream-builder
Requires: %{name}-builder%{?_isa} = %{version}-%{release}
%description builder-dev
GLib headers and libraries for appstream-builder.
%prep
%setup -q -n appstream-glib-%{version}
%build
%configure \
--disable-gtk-doc \
--disable-dep11 \
--disable-static \
--disable-silent-rules \
--disable-dependency-tracking
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%__rm -f %{buildroot}%{_libdir}/libappstream-glib*.la
%__rm -f %{buildroot}%{_libdir}/libappstream-builder*.la
%__rm -f %{buildroot}%{_libdir}/asb-plugins-2/*.la
%find_lang appstream-glib
%post -p /sbin/ldconfig
%post builder -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun builder -p /sbin/ldconfig
%files -f appstream-glib.lang
%doc README.md AUTHORS NEWS COPYING
%{_libdir}/libappstream-glib.so.8*
%{_libdir}/girepository-1.0/*.typelib
%{_bindir}/appstream-util
%{_bindir}/appdata-validate
%dir %{_datadir}/bash-completion/completions/
%{_datadir}/bash-completion/completions/appstream-util
%files dev
%{_libdir}/libappstream-glib.so
%{_libdir}/pkgconfig/appstream-glib.pc
%dir %{_includedir}/libappstream-glib
%{_includedir}/libappstream-glib/*.h
%{_datadir}/gtk-doc/html/appstream-glib
%{_datadir}/gir-1.0/AppStreamGlib-1.0.gir
%{_datadir}/aclocal/*.m4
%{_datadir}/installed-tests/appstream-glib/*.test
%files builder
%doc COPYING
%{_bindir}/appstream-builder
%{_datadir}/bash-completion/completions/appstream-builder
%{_libdir}/asb-plugins-2/*.so
%{_libdir}/libappstream-builder.so.8*
%files builder-dev
%doc COPYING
%{_libdir}/libappstream-builder.so
%{_libdir}/pkgconfig/appstream-builder.pc
%dir %{_includedir}/libappstream-builder
%{_includedir}/libappstream-builder/*.h
%{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir
%changelog
* Mon Mar 9 2015 Alexander Larsson <alexl@redhat.com> - 0.3.4-1
- Initial version
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment