Commit 762846ea authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add libappstream to gnome sdk

parent 3b244014
......@@ -50,7 +50,7 @@ PACKAGES = \
gstreamer1 python3-cairo pygobject3 \
cogl clutter clutter-gtk webkitgtk4 \
aspell hunspell-en hunspell enchant \
zenity \
zenity libappstream-glib \
......@@ -10,6 +10,7 @@ BuildArch: noarch
BuildRequires: gnome-platform
BuildRequires: freedesktop-sdk
BuildRequires: libappstream-glib
Requires: gnome-platform
Requires: freedesktop-sdk
......@@ -31,6 +32,8 @@ Requires: gtk2-dev
Requires: gtk3-dev
Requires: gvfs-dev
Requires: json-glib-dev
Requires: libappstream-glib-dev
Requires: libappstream-glib-builder-dev
Requires: libcroco-dev
Requires: libnotify-dev
Requires: librsvg2-dev
Summary: Library for AppStream metadata
Name: libappstream-glib
Version: 0.3.4
Release: 1%{?dist}
License: LGPLv2+
BuildRequires: freedesktop-sdk-base
BuildRequires: glib2-dev
BuildRequires: gobject-introspection-dev
BuildRequires: libsoup-dev
BuildRequires: gdk-pixbuf2-dev
BuildRequires: gtk3-dev
# for the builder component
BuildRequires: fontconfig-dev
BuildRequires: freetype-dev
BuildRequires: pango-dev
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
%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.
%setup -q -n appstream-glib-%{version}
%configure \
--disable-gtk-doc \
--disable-dep11 \
--disable-static \
--disable-silent-rules \
make %{?_smp_mflags}
%__rm -f %{buildroot}%{_libdir}/libappstream-glib*.la
%__rm -f %{buildroot}%{_libdir}/libappstream-builder*.la
%__rm -f %{buildroot}%{_libdir}/asb-plugins/*.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
%dir %{_datadir}/bash-completion/completions/
%files dev
%dir %{_includedir}/libappstream-glib
%files builder
%files builder-dev
%dir %{_includedir}/libappstream-builder
* Mon Mar 9 2015 Alexander Larsson <> - 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