63 lines
1.7 KiB
RPMSpec
63 lines
1.7 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 22.04.0-1mamba
|
||
|
- package created using the webbuild interface
|