Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/appstream.git#bf158a20cd899dec2525201463e37f7987947350
This commit is contained in:
parent
dc20486d7a
commit
13261460b1
|
@ -5,7 +5,7 @@
|
|||
Summary: Utilities to generate, maintain and access the AppStream database
|
||||
Name: appstream
|
||||
Version: 0.14.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
# lib LGPLv2+, tools GPLv2+
|
||||
License: GPLv2+ and LGPLv2+
|
||||
|
@ -26,17 +26,25 @@ BuildRequires: gtk-doc
|
|||
BuildRequires: intltool
|
||||
BuildRequires: itstool
|
||||
BuildRequires: libstemmer-devel
|
||||
BuildRequires: pkgconfig(gio-2.0) pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(libsoup-2.4)
|
||||
BuildRequires: pkgconfig(librsvg-2.0)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(lmdb)
|
||||
BuildRequires: pkgconfig(packagekit-glib2)
|
||||
BuildRequires: pkgconfig(pango)
|
||||
BuildRequires: pkgconfig(protobuf-lite)
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
# lrelease
|
||||
BuildRequires: qt5-linguist
|
||||
BuildRequires: pkgconfig(yaml-0.1)
|
||||
BuildRequires: sed
|
||||
BuildRequires: vala
|
||||
BuildRequires: xmlto
|
||||
|
||||
|
@ -55,6 +63,19 @@ Provides: appstream-vala = %{version}-%{release}
|
|||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package compose
|
||||
Summary: Library for generating AppStream data
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%description compose
|
||||
%{summary}.
|
||||
|
||||
%package compose-devel
|
||||
Summary: Development files for %{name}-compose library
|
||||
Requires: %{name}-compose%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
%description compose-devel
|
||||
%{summary}.
|
||||
|
||||
%package qt
|
||||
Summary: Qt5 bindings for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
@ -75,6 +96,7 @@ Requires: pkgconfig(Qt5Core)
|
|||
|
||||
%build
|
||||
%{meson} \
|
||||
-Dcompose=true \
|
||||
-Dqt=true \
|
||||
-Dvapi=%{?vala:true}%{!?vala:false}
|
||||
|
||||
|
@ -158,6 +180,19 @@ mv %{buildroot}%{_datadir}/metainfo/*.xml \
|
|||
## trouble replacing dirs with symlinks, omit it for now -- rex
|
||||
%exclude %{_datadir}/gtk-doc/html/appstream
|
||||
|
||||
%ldconfig_scriptlets compose
|
||||
|
||||
%files compose
|
||||
%{_libdir}/libappstream-compose.so.0*
|
||||
%{_libdir}/libappstream-compose.so.%{version}
|
||||
%{_libdir}/girepository-1.0/AppStreamCompose-1.0.typelib
|
||||
|
||||
%files compose-devel
|
||||
%{_includedir}/appstream-compose/
|
||||
%{_libdir}/libappstream-compose.so
|
||||
%{_libdir}/pkgconfig/appstream-compose.pc
|
||||
%{_datadir}/gir-1.0/AppStreamCompose-1.0.gir
|
||||
|
||||
%ldconfig_scriptlets qt
|
||||
|
||||
%files qt
|
||||
|
@ -169,8 +204,10 @@ mv %{buildroot}%{_datadir}/metainfo/*.xml \
|
|||
%{_libdir}/cmake/AppStreamQt/
|
||||
%{_libdir}/libAppStreamQt.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Apr 03 2021 Neal Gompa <ngompa13@gmail.com> - 0.14.3-2
|
||||
- Build appstream-compose library for appstream-generator >= 0.8.4
|
||||
|
||||
* Mon Mar 08 2021 Rex Dieter <rdieter@fedoraproject.org> - 0.14.3-1
|
||||
- 0.14.3
|
||||
|
||||
|
|
Loading…
Reference in New Issue