From 1f71c9a87b66cea6df23e1c9efab8e601470486e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:30:20 +0100 Subject: [PATCH] rebuilt with qt support [release 0.12.2-2mamba;Thu Aug 23 2018] --- appstream.spec | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/appstream.spec b/appstream.spec index 81ff9f4..0e08166 100644 --- a/appstream.spec +++ b/appstream.spec @@ -1,6 +1,6 @@ Name: appstream Version: 0.12.2 -Release: 1mamba +Release: 2mamba Summary: Tools and libraries to work with AppStream metadata Group: System/Tools Vendor: openmamba @@ -11,7 +11,10 @@ Source: https://www.freedesktop.org/software/appstream/releases/AppStream License: GPL, LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libgcc BuildRequires: libglib-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel BuildRequires: libstemmer-devel BuildRequires: libxml2-devel BuildRequires: libyaml-devel @@ -61,7 +64,9 @@ This package contains libraries and header files for developing applications tha %setup -q -n AppStream-%{version} %build -%meson +%meson \ + -Dqt=true + #mkdir build #cd build @@ -111,19 +116,22 @@ export DESTDIR=%{buildroot} %{_datadir}/doc/appstream/* %doc NEWS README.md -#%files -n lib%{name}-qt -#%defattr(-,root,root) -#%{_libdir}/libAppStreamQt.so.* +%files -n lib%{name}-qt +%defattr(-,root,root) +%{_libdir}/libAppStreamQt.so.* -#%files -n lib%{name}-qt-devel -#%defattr(-,root,root) -#%dir %{_includedir}/AppStreamQt -#%{_includedir}/AppStreamQt/*.h -#%dir %{_libdir}/cmake/AppStreamQt -#%{_libdir}/cmake/AppStreamQt/AppStreamQt*.cmake -#%{_libdir}/libAppStreamQt.so +%files -n lib%{name}-qt-devel +%defattr(-,root,root) +%dir %{_includedir}/AppStreamQt +%{_includedir}/AppStreamQt/*.h +%dir %{_libdir}/cmake/AppStreamQt +%{_libdir}/cmake/AppStreamQt/AppStreamQt*.cmake +%{_libdir}/libAppStreamQt.so %changelog +* Thu Aug 23 2018 Silvan Calarco 0.12.2-2mamba +- rebuilt with qt support + * Sat Aug 18 2018 Automatic Build System 0.12.2-1mamba - automatic version update by autodist