automatic version update by autodist [release 0.12.2-1mamba;Sat Aug 18 2018]

This commit is contained in:
Automatic Build System 2024-01-05 20:30:20 +01:00
parent a255b0544c
commit 241b26819d

View File

@ -1,5 +1,5 @@
Name: appstream
Version: 0.11.3
Version: 0.12.2
Release: 1mamba
Summary: Tools and libraries to work with AppStream metadata
Group: System/Tools
@ -11,12 +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
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
@ -63,14 +61,20 @@ This package contains libraries and header files for developing applications tha
%setup -q -n AppStream-%{version}
%build
%cmake -d build \
-DQT=ON
%meson
#mkdir build
%make
#cd build
#meson --prefix=%{_prefix} --libdir=%{_libdir} ..
#ninja
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
export DESTDIR=%{buildroot}
%meson_install
%find_lang %{name} || touch %{name}.lang
@ -94,8 +98,8 @@ This package contains libraries and header files for developing applications tha
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_sysconfdir}/appstream.conf
%dir %{_includedir}/AppStream
%{_includedir}/AppStream/*.h
%dir %{_includedir}/appstream
%{_includedir}/appstream/*
%{_libdir}/libappstream.so
%{_libdir}/pkgconfig/appstream.pc
%{_datadir}/gettext/its/metainfo.its
@ -107,18 +111,24 @@ This package contains libraries and header files for developing applications tha
%{_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
* Sat Aug 18 2018 Automatic Build System <autodist@mambasoft.it> 0.12.2-1mamba
- automatic version update by autodist
* Sun Aug 12 2018 Automatic Build System <autodist@mambasoft.it> 0.12.1-1mamba
- automatic version update by autodist
* Mon Aug 14 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.3-1mamba
- package created using the webbuild interface