From f1043b58236833829cfc1688803d6a739fbf66cb Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:51:43 +0100 Subject: [PATCH] package created using the webbuild interface [release 22.04.0-1mamba;Sun Apr 24 2022] --- README.md | 2 ++ skanpage.spec | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 skanpage.spec diff --git a/README.md b/README.md index 4717289..fa9d66b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # skanpage +Utility to scan images and multi-page documents. + diff --git a/skanpage.spec b/skanpage.spec new file mode 100644 index 0000000..ab992ea --- /dev/null +++ b/skanpage.spec @@ -0,0 +1,62 @@ +Name: skanpage +Version: 22.04.0 +Release: 1mamba +Summary: Utility to scan images and multi-page documents +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/KDE/skanpage +Source: http://mirror.freedif.org/KDE/ftp/stable/release-service/%{version}/src/skanpage-%{version}.tar.xz +License: GPL, BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libkconfig-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libkcrash-devel +BuildRequires: libki18n-devel +BuildRequires: libkirigami2-devel +BuildRequires: libksane-devel +BuildRequires: libpurpose-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt5-qtquickcontrols2-devel +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +Utility to scan images and multi-page documents. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/skanpage +%{_datadir}/applications/org.kde.skanpage.desktop +%{_datadir}/metainfo/org.kde.skanpage.appdata.xml +%{_datadir}/qlogging-categories5/skanpage.categories +%{_datadir}/icons/hicolor/48x48/apps/skanpage.png +%{_datadir}/icons/hicolor/scalable/apps/skanpage.svg +%doc LICENSES + +%changelog +* Sun Apr 24 2022 Silvan Calarco 22.04.0-1mamba +- package created using the webbuild interface