enable appstream-compose build [release 0.14.6-2mamba;Wed Oct 27 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 20:30:20 +01:00
parent 720fefc436
commit 1a78c798bd

View File

@ -1,6 +1,6 @@
Name: appstream
Version: 0.14.6
Release: 1mamba
Release: 2mamba
Summary: Tools and libraries to work with AppStream metadata
Group: System/Tools
Vendor: openmamba
@ -12,11 +12,17 @@ Patch0: appstream-0.14.0-upstream-Do_not_automatically_clean_up_errors_th
License: GPL, LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcairo-devel
BuildRequires: libcurl-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: liblmdb-devel
BuildRequires: libpango-devel
BuildRequires: libqt5-devel
BuildRequires: librsvg-devel
BuildRequires: libstdc++6-devel
BuildRequires: libstemmer-devel
BuildRequires: libxml2-devel
@ -65,12 +71,12 @@ This package contains libraries and header files for developing applications tha
%prep
%setup -q -n AppStream-%{version}
#%patch0 -p1
%build
%meson \
-Dqt=true \
-Dstemming=true
-Dstemming=true \
-Dcompose=true
%meson_build
@ -87,29 +93,48 @@ export DESTDIR=%{buildroot}
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%posttrans
%{_bindir}/appstreamcli refresh --force >& /dev/null ||:
%transfiletriggerin -- %{_datadir}/app-info/xmls
%{_bindir}/appstreamcli refresh --force >& /dev/null ||:
%transfiletriggerpostun -- %{_datadir}/app-info/xmls
%{_bindir}/appstreamcli refresh >& /dev/null ||:
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/appstream.conf
%{_bindir}/appstreamcli
%{_datadir}/gettext/its/metainfo.its
%{_datadir}/gettext/its/metainfo.loc
%{_datadir}/installed-tests/appstream/metainfo-validate.test
%{_datadir}/metainfo/org.freedesktop.appstream.cli.metainfo.xml
%{_bindir}/appstreamcli
%{_datadir}/metainfo/org.freedesktop.appstream.compose.metainfo.xml
%{_mandir}/man1/appstreamcli.1*
%{_mandir}/man1/appstreamcli-compose.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libappstream.so.*
%{_libdir}/libappstream-compose.so.*
%{_libexecdir}/appstreamcli-compose
%{_libdir}/girepository-1.0/AppStream-1.0.typelib
%{_libdir}/girepository-1.0/AppStreamCompose-1.0.typelib
%doc AUTHORS
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/appstream
%{_includedir}/appstream/*
%dir %{_includedir}/appstream-compose
%{_includedir}/appstream-compose/*
%{_libdir}/libappstream.so
%{_libdir}/pkgconfig/appstream.pc
%{_libdir}/libappstream-compose.so
%{_datadir}/gir-1.0/AppStreamCompose-1.0.gir
%{_datadir}/gir-1.0/AppStream-1.0.gir
%{_libdir}/pkgconfig/appstream.pc
%{_libdir}/pkgconfig/appstream-compose.pc
%{_datadir}/gtk-doc/html/appstream
%dir %{_datadir}/doc/appstream
%{_datadir}/doc/appstream/*
@ -128,6 +153,9 @@ export DESTDIR=%{buildroot}
%{_libdir}/libAppStreamQt.so
%changelog
* Wed Oct 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.6-2mamba
- enable appstream-compose build
* Sun Oct 10 2021 Automatic Build System <autodist@mambasoft.it> 0.14.6-1mamba
- automatic version update by autodist