Group :: Graphics
RPM: drawing
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable snapshot
%define _name drawing
%define ver_major 1.0
%define rdn_name com.github.maoschanz.drawing
Name: %_name
Version: %ver_major.2
Release: alt1
Summary: A simple raster image editor for the GNOME desktop
License: GPL-3.0-or-later
Group: Graphics
Url: https://github.com/maoschanz/drawing
%if_disabled snapshot
Source: https://github.com/maoschanz/%_name/archive/%version/%_name-%version.tar.gz
%else
Vcs: https://github.com/maoschanz/drawing.git
Source: %_name-%version.tar
%endif
BuildArch: noarch
Requires: typelib(Gtk) = 3.0
%add_python3_path %_datadir/%_name
BuildRequires(pre): rpm-macros-meson rpm-build-python3 rpm-build-gir
BuildRequires: meson yelp-tools /usr/bin/appstream-util desktop-file-utils
%description
Drawing is a simple image editor, similar to Microsoft Paint, is aiming at the
GNOME desktop. PNG, JPEG and BMP files are supported.
%prep
%setup -n %_name-%version
%build
%meson
%meson_build
%install
%meson_install
%find_lang --with-gnome %_name
%files -f %_name.lang
%_bindir/%_name
%_desktopdir/%rdn_name.desktop
%_datadir/%_name/
%_datadir/glib-2.0/schemas/%rdn_name.gschema.xml
%_iconsdir/hicolor/*/apps/%{rdn_name}*.*
%_datadir/metainfo/%rdn_name.*.xml
%doc README*
%changelog
…
Full changelog you can see here
%define _name drawing
%define ver_major 1.0
%define rdn_name com.github.maoschanz.drawing
Name: %_name
Version: %ver_major.2
Release: alt1
Summary: A simple raster image editor for the GNOME desktop
License: GPL-3.0-or-later
Group: Graphics
Url: https://github.com/maoschanz/drawing
%if_disabled snapshot
Source: https://github.com/maoschanz/%_name/archive/%version/%_name-%version.tar.gz
%else
Vcs: https://github.com/maoschanz/drawing.git
Source: %_name-%version.tar
%endif
BuildArch: noarch
Requires: typelib(Gtk) = 3.0
%add_python3_path %_datadir/%_name
BuildRequires(pre): rpm-macros-meson rpm-build-python3 rpm-build-gir
BuildRequires: meson yelp-tools /usr/bin/appstream-util desktop-file-utils
%description
Drawing is a simple image editor, similar to Microsoft Paint, is aiming at the
GNOME desktop. PNG, JPEG and BMP files are supported.
%prep
%setup -n %_name-%version
%build
%meson
%meson_build
%install
%meson_install
%find_lang --with-gnome %_name
%files -f %_name.lang
%_bindir/%_name
%_desktopdir/%rdn_name.desktop
%_datadir/%_name/
%_datadir/glib-2.0/schemas/%rdn_name.gschema.xml
%_iconsdir/hicolor/*/apps/%{rdn_name}*.*
%_datadir/metainfo/%rdn_name.*.xml
%doc README*
%changelog
…
Full changelog you can see here