## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 forgeurl https://github.com/RajSolai/TextSnatcher Name: textsnatcher Version: 2.0.0 Release: %autorelease Summary: Easy to use OCR app %forgemeta License: GPL-3.0-or-later URL: %forgeurl Source0: %forgesource BuildRequires: gcc BuildRequires: meson BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(granite) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libhandy-1) BuildRequires: pkgconfig(libportal) BuildRequires: vala Requires: scrot Requires: tesseract %description Copy text from images with ease, perform OCR operations in seconds. %prep %forgesetup %build %meson %meson_build %install %meson_install rm -r %{buildroot}%{_datadir}/icons/hicolor/*@2 ln %{buildroot}%{_bindir}/com.github.rajsolai.textsnatcher %{buildroot}%{_bindir}/textsnatcher %files %license LICENSE %doc README.md %{_bindir}/com.github.rajsolai.textsnatcher %{_bindir}/textsnatcher %{_datadir}/applications/com.github.rajsolai.textsnatcher.desktop %{_datadir}/icons/hicolor/*/apps/com.github.rajsolai.textsnatcher.svg %{_datadir}/metainfo/com.github.rajsolai.textsnatcher.appdata.xml %changelog ## START: Generated by rpmautospec * Sat Nov 09 2024 Nils Philippsen - 2.0.0-1 - Import spec file ## END: Generated by rpmautospec