2024-01-05 20:30:20 +01:00
|
|
|
Name: appstream
|
2024-01-05 20:30:20 +01:00
|
|
|
Version: 0.15.1
|
2024-01-05 20:30:20 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 20:30:20 +01:00
|
|
|
Summary: Tools and libraries to work with AppStream metadata
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.freedesktop.org/wiki/Distributions/AppStream/
|
|
|
|
Source: https://www.freedesktop.org/software/appstream/releases/AppStream-%{version}.tar.xz
|
2024-01-05 20:30:20 +01:00
|
|
|
Patch0: appstream-0.14.0-upstream-Do_not_automatically_clean_up_errors_that_will_be_propagated.patch
|
2024-01-05 20:30:20 +01:00
|
|
|
License: GPL, LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: libcairo-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: libcurl-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: librsvg-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: libstemmer-devel
|
|
|
|
BuildRequires: libxml2-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: libxmlb-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: libyaml-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
2024-01-05 20:30:20 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tools and libraries to work with AppStream metadata.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
2024-01-05 20:30:20 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 20:30:20 +01:00
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-qt
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Qt shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}-qt
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-qt-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name}-qt = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-qt-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n AppStream-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-05 20:30:20 +01:00
|
|
|
%meson \
|
2024-01-05 20:30:20 +01:00
|
|
|
-Dqt=true \
|
2024-01-05 20:30:20 +01:00
|
|
|
-Dstemming=true \
|
|
|
|
-Dcompose=true
|
2024-01-05 20:30:20 +01:00
|
|
|
|
|
|
|
%meson_build
|
2024-01-05 20:30:20 +01:00
|
|
|
|
|
|
|
%install
|
2024-01-05 20:30:20 +01:00
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
export DESTDIR=%{buildroot}
|
|
|
|
%meson_install
|
2024-01-05 20:30:20 +01:00
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
%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 ||:
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_sysconfdir}/appstream.conf
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_bindir}/appstreamcli
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_datadir}/gettext/its/metainfo.its
|
|
|
|
%{_datadir}/gettext/its/metainfo.loc
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_datadir}/installed-tests/appstream/metainfo-validate.test
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_datadir}/metainfo/org.freedesktop.appstream.cli.metainfo.xml
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_datadir}/metainfo/org.freedesktop.appstream.compose.metainfo.xml
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_mandir}/man1/appstreamcli.1*
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_mandir}/man1/appstreamcli-compose.1*
|
2024-01-05 20:30:20 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libappstream.so.*
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_libdir}/libappstream-compose.so.*
|
|
|
|
%{_libexecdir}/appstreamcli-compose
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_libdir}/girepository-1.0/AppStream-1.0.typelib
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_libdir}/girepository-1.0/AppStreamCompose-1.0.typelib
|
2024-01-05 20:30:20 +01:00
|
|
|
%doc AUTHORS
|
2024-01-05 20:30:20 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 20:30:20 +01:00
|
|
|
%dir %{_includedir}/appstream
|
|
|
|
%{_includedir}/appstream/*
|
2024-01-05 20:30:20 +01:00
|
|
|
%dir %{_includedir}/appstream-compose
|
|
|
|
%{_includedir}/appstream-compose/*
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_libdir}/libappstream.so
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_libdir}/libappstream-compose.so
|
|
|
|
%{_datadir}/gir-1.0/AppStreamCompose-1.0.gir
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_datadir}/gir-1.0/AppStream-1.0.gir
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_libdir}/pkgconfig/appstream.pc
|
|
|
|
%{_libdir}/pkgconfig/appstream-compose.pc
|
2024-01-05 20:30:20 +01:00
|
|
|
%{_datadir}/gtk-doc/html/appstream
|
|
|
|
%dir %{_datadir}/doc/appstream
|
|
|
|
%{_datadir}/doc/appstream/*
|
|
|
|
%doc NEWS README.md
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
%files -n lib%{name}-qt
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libAppStreamQt.so.*
|
2024-01-05 20:30:20 +01:00
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
%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
|
2024-01-05 20:30:20 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:30:20 +01:00
|
|
|
* Wed Dec 22 2021 Automatic Build System <autodist@mambasoft.it> 0.15.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Fri Dec 03 2021 Automatic Build System <autodist@mambasoft.it> 0.15.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Wed Oct 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.6-2mamba
|
|
|
|
- enable appstream-compose build
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Sun Oct 10 2021 Automatic Build System <autodist@mambasoft.it> 0.14.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 0.14.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Wed Jun 23 2021 Automatic Build System <autodist@mambasoft.it> 0.14.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Mon Mar 08 2021 Automatic Build System <autodist@mambasoft.it> 0.14.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Sun Mar 07 2021 Automatic Build System <autodist@mambasoft.it> 0.14.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Thu Feb 18 2021 Automatic Build System <autodist@mambasoft.it> 0.14.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Wed Feb 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.0-2mamba
|
|
|
|
- added upstream patch to fix crash on applications that use this library (e.g. discover)
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Tue Feb 02 2021 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Tue Dec 01 2020 Automatic Build System <autodist@mambasoft.it> 0.13.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Tue May 12 2020 Automatic Build System <autodist@mambasoft.it> 0.12.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Sun Jan 19 2020 Automatic Build System <autodist@mambasoft.it> 0.12.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Wed Sep 25 2019 Automatic Build System <autodist@mambasoft.it> 0.12.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Wed Aug 28 2019 Automatic Build System <autodist@mambasoft.it> 0.12.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Mon Jul 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.7-1mamba
|
|
|
|
- update to 0.12.7
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Sat Mar 02 2019 Automatic Build System <autodist@mambasoft.it> 0.12.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Mon Jan 28 2019 Automatic Build System <autodist@mambasoft.it> 0.12.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Mon Dec 24 2018 Automatic Build System <autodist@mambasoft.it> 0.12.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Mon Oct 22 2018 Automatic Build System <autodist@mambasoft.it> 0.12.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Thu Aug 23 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.2-2mamba
|
|
|
|
- rebuilt with qt support
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 20:30:20 +01:00
|
|
|
* Mon Aug 14 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.3-1mamba
|
|
|
|
- package created using the webbuild interface
|