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