Group :: Som
RPM: eartag
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_enable snapshot
%define ver_major 0.4
%define rdn_name app.drey.EarTag
%def_enable check
Name: eartag
Version: %ver_major.3
Release: alt1
Summary: Small and simple audio file tag editor
License: MIT
Group: Sound
Url: https://gitlab.gnome.org/World/eartag
%if_disabled snapshot
Source: %url/-/archive/v%version/%name-%version.tar.gz
%else
Vcs: https://gitlab.gnome.org/World/eartag.git
Source: %name-%version.tar
%endif
%define gtk_ver 4.9
%define adwaita_ver 1.2
Requires: typelib(Adw) = 1
Requires: yelp
BuildArch: noarch
%add_python3_path %_datadir/%name
Requires: python3(acoustid)
BuildRequires(pre): rpm-macros-meson rpm-build-python3 rpm-build-gir
BuildRequires: meson yelp-tools
BuildRequires: /usr/bin/appstream-util desktop-file-utils
BuildRequires: /usr/bin/appstreamcli
BuildRequires: pkgconfig(gtk4) >= %gtk_ver
BuildRequires: pkgconfig(libadwaita-1) >= %adwaita_ver
%{?_enable_check:BuildRequires: python3(pytest)
BuildRequires: python3-module-pygobject3 typelib(Adw)
BuildRequires: python3(mutagen) python3(magic) python3-module-Pillow}
%description
%summary
%prep
%setup
%build
%meson
%meson_build
%install
%meson_install
%find_lang --with-gnome --output=%name.lang %rdn_name
%check
%__meson_test
%files -f %name.lang
%_bindir/%name
%_datadir/%name/
%_desktopdir/%rdn_name.desktop
%_datadir/glib-2.0/schemas/%rdn_name.gschema.xml
%_iconsdir/hicolor/*/apps/%{rdn_name}*.svg
%_datadir/metainfo/%rdn_name.metainfo.xml
%doc README*
%changelog
…
Todas as alterações você pod ver aqui
%define ver_major 0.4
%define rdn_name app.drey.EarTag
%def_enable check
Name: eartag
Version: %ver_major.3
Release: alt1
Summary: Small and simple audio file tag editor
License: MIT
Group: Sound
Url: https://gitlab.gnome.org/World/eartag
%if_disabled snapshot
Source: %url/-/archive/v%version/%name-%version.tar.gz
%else
Vcs: https://gitlab.gnome.org/World/eartag.git
Source: %name-%version.tar
%endif
%define gtk_ver 4.9
%define adwaita_ver 1.2
Requires: typelib(Adw) = 1
Requires: yelp
BuildArch: noarch
%add_python3_path %_datadir/%name
Requires: python3(acoustid)
BuildRequires(pre): rpm-macros-meson rpm-build-python3 rpm-build-gir
BuildRequires: meson yelp-tools
BuildRequires: /usr/bin/appstream-util desktop-file-utils
BuildRequires: /usr/bin/appstreamcli
BuildRequires: pkgconfig(gtk4) >= %gtk_ver
BuildRequires: pkgconfig(libadwaita-1) >= %adwaita_ver
%{?_enable_check:BuildRequires: python3(pytest)
BuildRequires: python3-module-pygobject3 typelib(Adw)
BuildRequires: python3(mutagen) python3(magic) python3-module-Pillow}
%description
%summary
%prep
%setup
%build
%meson
%meson_build
%install
%meson_install
%find_lang --with-gnome --output=%name.lang %rdn_name
%check
%__meson_test
%files -f %name.lang
%_bindir/%name
%_datadir/%name/
%_desktopdir/%rdn_name.desktop
%_datadir/glib-2.0/schemas/%rdn_name.gschema.xml
%_iconsdir/hicolor/*/apps/%{rdn_name}*.svg
%_datadir/metainfo/%rdn_name.metainfo.xml
%doc README*
%changelog
…
Todas as alterações você pod ver aqui