2024-01-05 20:30:48 +01:00
|
|
|
%define tagver %(echo %version | tr . _)
|
|
|
|
Name: appstream-glib
|
2024-01-05 20:30:49 +01:00
|
|
|
Version: 0.7.17
|
2024-01-05 20:30:49 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 20:30:48 +01:00
|
|
|
Summary: A library that provides GObjects and helper methods to make it easy to read and write AppStream metadata
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/hughsie/appstream-glib
|
|
|
|
## GITSOURCE https://github.com/hughsie/appstream-glib.git appstream_glib_0_2_5
|
|
|
|
Source: https://github.com/hughsie/appstream-glib.git/appstream_glib_%{tagver}/appstream-glib-%{version}.tar.bz2
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 20:30:49 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-05 20:30:48 +01:00
|
|
|
BuildRequires: libarchive-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk-devel
|
2024-01-05 20:30:49 +01:00
|
|
|
BuildRequires: libjson-glib-devel
|
2024-01-05 20:30:48 +01:00
|
|
|
BuildRequires: libpango-devel
|
2024-01-05 20:30:49 +01:00
|
|
|
BuildRequires: librpm-devel
|
2024-01-05 20:30:48 +01:00
|
|
|
BuildRequires: libsoup-devel
|
2024-01-05 20:30:49 +01:00
|
|
|
BuildRequires: libstemmer-devel
|
|
|
|
BuildRequires: libuuid-devel
|
2024-01-05 20:30:48 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 20:30:49 +01:00
|
|
|
BuildRequires: gcab
|
|
|
|
Provides: appdata-tools
|
|
|
|
Obsoletes: appdata-tools
|
2024-01-05 20:30:48 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. It also provides a simple DOM implementation that makes it easy to edit nodes and convert to and from the standardized XML representation.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%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}.
|
|
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 20:30:49 +01:00
|
|
|
%meson \
|
|
|
|
-Dgtk-doc=true \
|
|
|
|
-Dstemmer=true \
|
|
|
|
-Ddep11=false \
|
2024-01-05 20:30:49 +01:00
|
|
|
-Drpm=true
|
2024-01-05 20:30:49 +01:00
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
%meson_build
|
2024-01-05 20:30:48 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 20:30:49 +01:00
|
|
|
export DESTDIR=%{buildroot}
|
|
|
|
%meson_install
|
2024-01-05 20:30:48 +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
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 20:30:49 +01:00
|
|
|
%{_bindir}/appstream-compose
|
2024-01-05 20:30:48 +01:00
|
|
|
%{_bindir}/appstream-builder
|
|
|
|
%{_bindir}/appstream-util
|
|
|
|
%{_datadir}/bash-completion/completions/appstream-builder
|
|
|
|
%{_datadir}/bash-completion/completions/appstream-util
|
|
|
|
%{_datadir}/installed-tests/appstream-glib/appdata-validate.test
|
|
|
|
%{_datadir}/installed-tests/appstream-glib/destdir-check.test
|
2024-01-05 20:30:49 +01:00
|
|
|
%{_datadir}/gettext/its/appdata.*
|
|
|
|
%{_mandir}/man1/appstream-*.1*
|
2024-01-05 20:30:48 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 20:30:49 +01:00
|
|
|
#%{_libdir}/libappstream-builder.so.*
|
2024-01-05 20:30:48 +01:00
|
|
|
%{_libdir}/libappstream-glib.so.*
|
2024-01-05 20:30:49 +01:00
|
|
|
#%{_libdir}/girepository-1.0/AppStreamBuilder-1.0.typelib
|
2024-01-05 20:30:48 +01:00
|
|
|
%{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib
|
2024-01-05 20:30:49 +01:00
|
|
|
%dir %{_libdir}/asb-plugins-*
|
|
|
|
%{_libdir}/asb-plugins-*/libasb_plugin_*
|
2024-01-05 20:30:48 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 20:30:49 +01:00
|
|
|
#%dir %{_includedir}/libappstream-builder
|
|
|
|
#%{_includedir}/libappstream-builder/*.h
|
2024-01-05 20:30:48 +01:00
|
|
|
%dir %{_includedir}/libappstream-glib
|
|
|
|
%{_includedir}/libappstream-glib/*.h
|
2024-01-05 20:30:49 +01:00
|
|
|
#%{_libdir}/libappstream-builder.so
|
2024-01-05 20:30:48 +01:00
|
|
|
%{_libdir}/libappstream-glib.so
|
2024-01-05 20:30:49 +01:00
|
|
|
#%{_libdir}/pkgconfig/appstream-builder.pc
|
2024-01-05 20:30:48 +01:00
|
|
|
%{_libdir}/pkgconfig/appstream-glib.pc
|
2024-01-05 20:30:49 +01:00
|
|
|
%{_datadir}/aclocal/*.m4
|
2024-01-05 20:30:49 +01:00
|
|
|
#%{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir
|
2024-01-05 20:30:48 +01:00
|
|
|
%{_datadir}/gir-1.0/AppStreamGlib-1.0.gir
|
2024-01-05 20:30:49 +01:00
|
|
|
%dir %{_datadir}/gtk-doc/html/appstream-glib
|
|
|
|
%{_datadir}/gtk-doc/html/appstream-glib/*
|
2024-01-05 20:30:48 +01:00
|
|
|
%doc NEWS README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:30:49 +01:00
|
|
|
* Wed May 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.17-2mamba
|
|
|
|
- rebuilt with rpm support enabled
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Sun Feb 23 2020 Automatic Build System <autodist@mambasoft.it> 0.7.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Sun Oct 06 2019 Automatic Build System <autodist@mambasoft.it> 0.7.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Sun Mar 03 2019 Automatic Build System <autodist@mambasoft.it> 0.7.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Thu Oct 25 2018 Automatic Build System <autodist@mambasoft.it> 0.7.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Fri Oct 05 2018 Automatic Build System <autodist@mambasoft.it> 0.7.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Sat Sep 15 2018 Automatic Build System <autodist@mambasoft.it> 0.7.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Sun Aug 12 2018 Automatic Build System <autodist@mambasoft.it> 0.7.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Fri May 12 2017 Automatic Build System <autodist@mambasoft.it> 0.6.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Mon Apr 24 2017 Automatic Build System <autodist@mambasoft.it> 0.6.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Wed Mar 08 2017 Automatic Build System <autodist@mambasoft.it> 0.6.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Tue Nov 08 2016 Automatic Build System <autodist@mambasoft.it> 0.6.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 0.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 0.5.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Thu May 05 2016 Automatic Build System <autodist@mambasoft.it> 0.5.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:49 +01:00
|
|
|
* Sat Mar 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-2mamba
|
|
|
|
- provide/obsolete appdata-tools
|
|
|
|
|
|
|
|
* Sat Feb 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1mamba
|
|
|
|
- update to 0.4.1
|
|
|
|
|
|
|
|
* Sun Oct 26 2014 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:30:48 +01:00
|
|
|
* Wed Aug 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.5-1mamba
|
|
|
|
- package created using the webbuild interface
|