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.6.3
|
2024-01-05 20:30:49 +01:00
|
|
|
Release: 1mamba
|
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
|
|
|
|
BuildRequires: libacl-devel
|
|
|
|
BuildRequires: libarchive-devel
|
|
|
|
BuildRequires: libatk-devel
|
|
|
|
BuildRequires: libattr-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libgtk-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: liblzo-devel
|
|
|
|
BuildRequires: libnettle-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libsoup-devel
|
|
|
|
BuildRequires: libsqlite-devel
|
2024-01-05 20:30:49 +01:00
|
|
|
BuildRequires: libthai-devel
|
2024-01-05 20:30:48 +01:00
|
|
|
BuildRequires: libxml2-devel
|
2024-01-05 20:30:49 +01:00
|
|
|
BuildRequires: libyaml-devel
|
2024-01-05 20:30:48 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## 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
|
|
|
|
./autogen.sh
|
2024-01-05 20:30:49 +01:00
|
|
|
%configure \
|
|
|
|
--disable-rpm
|
|
|
|
|
2024-01-05 20:30:48 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%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)
|
|
|
|
%{_libdir}/libappstream-builder.so.*
|
|
|
|
%{_libdir}/libappstream-glib.so.*
|
|
|
|
%{_libdir}/girepository-1.0/AppStreamBuilder-1.0.typelib
|
|
|
|
%{_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)
|
|
|
|
%dir %{_includedir}/libappstream-builder
|
|
|
|
%{_includedir}/libappstream-builder/*.h
|
|
|
|
%dir %{_includedir}/libappstream-glib
|
|
|
|
%{_includedir}/libappstream-glib/*.h
|
|
|
|
%{_libdir}/libappstream-builder.a
|
|
|
|
%{_libdir}/libappstream-builder.la
|
|
|
|
%{_libdir}/libappstream-builder.so
|
|
|
|
%{_libdir}/libappstream-glib.a
|
|
|
|
%{_libdir}/libappstream-glib.la
|
|
|
|
%{_libdir}/libappstream-glib.so
|
|
|
|
%{_libdir}/pkgconfig/appstream-builder.pc
|
|
|
|
%{_libdir}/pkgconfig/appstream-glib.pc
|
2024-01-05 20:30:49 +01:00
|
|
|
%{_datadir}/aclocal/*.m4
|
2024-01-05 20:30:48 +01:00
|
|
|
%{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir
|
|
|
|
%{_datadir}/gir-1.0/AppStreamGlib-1.0.gir
|
|
|
|
%doc NEWS README.md
|
|
|
|
|
|
|
|
%changelog
|
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
|