## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global commit 0a58a1fa639836be5d7fc8f8178f9988856e28a0 %global srcname Wildcard %global app_id com.felipekinoshita.Wildcard Name: wildcard Version: 0.3.3 Release: %autorelease Summary: Test your regular expressions # Wildcard itself is GPL-3.0-or-later, the rest comes from the rust # dependencies that end up statically linked into it # See LICENSE.depndencies for the full breakdown License: GPL-3.0-or-later AND ((MIT OR Apache-2.0) AND Unicode-DFS-2016) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT) URL: https://gitlab.gnome.org/World/Wildcard Source: %{url}/-/archive/v%{version}/%{srcname}-%{version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: blueprint-compiler BuildRequires: cargo BuildRequires: cargo-rpm-macros BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libadwaita-1) Requires: hicolor-icon-theme %description Wildcard gives you a nice and simple to use interface to test/practice regular expressions. %prep %autosetup -p1 -n %{srcname}-v%{version}-%{commit} %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %meson %meson_build %cargo_license_summary %{cargo_license} > LICENSE.dependencies %install %meson_install %find_lang %{name} %check %meson_test %files -f %{name}.lang %license COPYING %doc README.md %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/applications/%{app_id}.desktop %{_datadir}/glib-2.0/schemas/%{app_id}.gschema.xml %{_datadir}/icons/hicolor/*/apps/%{app_id}*.svg %{_metainfodir}/%{app_id}.metainfo.xml %changelog ## START: Generated by rpmautospec * Tue Jul 16 2024 Lyes Saadi - 0.3.3-4 - Removing ExcludeArch s390x * Fri May 24 2024 Fabio Valentini - 0.3.3-3 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Sat Jan 27 2024 Fedora Release Engineering - 0.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Dec 29 2023 Davide Cavalca - 0.3.3-1 - Initial import; Fixes: RHBZ#2253369 ## END: Generated by rpmautospec