Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win32:KF565
mingw32-AppStream
AppStream.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File AppStream.spec of Package mingw32-AppStream
# # spec file for package mingw32-AppStream # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define libappstream_sover 4 %define libAppStreamQt_sover 2 %define _name AppStream Name: mingw32-%{_name} Version: 0.12.11 Release: 0 Summary: Tools and libraries to work with AppStream metadata License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: Development/Libraries/C and C++ URL: https://www.freedesktop.org/software/appstream/docs/ Source0: http://www.freedesktop.org/software/appstream/releases/%{_name}-%{version}.tar.xz Source1: http://www.freedesktop.org/software/appstream/releases/%{_name}-%{version}.tar.xz.asc Source2: %{_name}.keyring # PATCH-FIX-UPSTREAM Patch1: properly-escape-markup.patch # PATCH-FIX-OPENSUSE Patch100: fix-build-gcc7.patch BuildRequires: mingw32-docbook-xsl-stylesheets BuildRequires: gettext BuildRequires: gperf BuildRequires: mingw32-lmdb-devel BuildRequires: meson >= 0.48 BuildRequires: mingw32-cross-pkgconf BuildRequires: xsltproc BuildRequires: mingw32(pkg:Qt5Core) BuildRequires: mingw32(pkg:Qt5Test) BuildRequires: mingw32(pkg:gio-2.0) BuildRequires: mingw32(pkg:glib-2.0) >= 2.58 BuildRequires: mingw32(pkg:gobject-introspection-1.0) BuildRequires: mingw32(pkg:libsoup-2.4) BuildRequires: mingw32(pkg:libxml-2.0) BuildRequires: mingw32(pkg:vapigen) BuildRequires: mingw32(pkg:yaml-0.1) Recommends: mingw32-curl %_mingw32_package_header_debug BuildArch: noarch %description AppStream-Core makes it easy to access application information from the AppStream database over a nice GObject-based interface. %package -n mingw32-libappstream%{libappstream_sover} Summary: The main library for AppStream License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: System/Libraries %description -n mingw32-libappstream%{libappstream_sover} The main library for AppStream. %package -n mingw32-libAppStreamQt%{libAppStreamQt_sover} Summary: Qt5 bindings for AppStream License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: System/Libraries %description -n mingw32-libAppStreamQt%{libAppStreamQt_sover} The Qt5 bindings for AppStream. %package -n mingw32-libAppStreamQt-devel Summary: Header files for AppStream's Qt5 bindings License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: Development/Libraries/C and C++ Requires: mingw32-libAppStreamQt%{libAppStreamQt_sover} = %{version} Requires: mingw32-libappstream%{libappstream_sover} = %{version} %description -n mingw32-libAppStreamQt-devel This package contains all necessary include files, libraries, configuration files and development tools (with manual pages) needed to compile and link applications using the Qt bindings for AppStream. %package devel Summary: Header files for AppStream development License: GPL-2.0-or-later Group: Development/Libraries/C and C++ Requires: mingw32-libappstream%{libappstream_sover} = %{version} %description devel This package contains all necessary include files, libraries, configuration files and development tools (with manual pages) needed to compile and link applications using AppStream. %package doc Summary: Documentation for AppStream License: GPL-2.0-or-later Group: Documentation/HTML %description doc AppStream-Core makes it easy to access application information from the AppStream database over a nice GObject-based interface. This package contains the documentation files for AppStream. %package -n mingw32-typelib-1_0-AppStream-1.0 Summary: Introspection bindings for AppStream License: LGPL-2.1-or-later Group: System/Libraries %description -n mingw32-typelib-1_0-AppStream-1.0 GObject introspection bindings for interfaces provided by AppStream. %lang_package %_mingw32_debug_package %prep %autosetup -p1 -n %{_name}-%{version} %build %meson -Dqt=true \ -Dvapi=true \ -Ddocs=false \ -Dapidocs=false \ -Dstemming=false %meson_build %install %meson_install %check %meson_test %_mingw32_find_lang appstream %{name}.lang %post appstreamcli refresh --force || true %files lang -f %{_name}.lang %files %doc NEWS %license LICENSE* %{_mingw32_bindir}/appstreamcli.exe %config(noreplace) %{_mingw32_sysconfdir}/appstream.conf %dir %{_mingw32_datadir}/metainfo %{_mingw32_datadir}/metainfo/org.freedesktop.appstream.cli.metainfo.xml %{_mingw32_mandir}/man1/appstreamcli.* %files -n mingw32-libappstream%{libappstream_sover} %doc NEWS %license LICENSE* %{_mingw32_bindir}/libappstream{libappstream_sover}.dll %{_mingw32_bindir}/libappstream{version}.dll %files -n mingw32-libAppStreamQt%{libAppStreamQt_sover} %license LICENSE* %{_mingw32_bindir}/libAppStreamQt{libAppStreamQt_sover}.dll %{_mingw32_bindir}/libAppStreamQt{version}.dll %files -n mingw32-libAppStreamQt-devel %{_mingw32_includedir}/AppStreamQt/ %{_mingw32_libdir}/cmake/AppStreamQt/ %{_mingw32_libdir}/libAppStreamQt.dll.a %files devel %{_mingw32_libdir}/libappstream.dll.a %{_mingw32_libdir}/pkgconfig/appstream.pc %{_mingw32_includedir}/appstream/ %{_mingw32_datadir}/gir-1.0/AppStream-1.0.gir %{_mingw32_datadir}/gettext/ %dir %{_mingw32_datadir}/vala/ %dir %{_mingw32_datadir}/vala/vapi/ %{_mingw32_datadir}/vala/vapi/appstream.deps %{_mingw32_datadir}/vala/vapi/appstream.vapi %files -n mingw32-typelib-1_0-AppStream-1.0 %license LICENSE* %{_mingw32_libdir}/girepository-1.0/AppStream-1.0.typelib %files doc %{_mingw32_datadir}/doc/appstream %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor