skanlite/skanlite.spec

108 lines
3.3 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: skanlite
Version: 22.04.3
Release: 1mamba
Summary: An image scanner application for KDE
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://apps.kde.org/skanlite/
Source: https://download.kde.org/stable/release-service/%{version}/src/skanlite-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libgcc
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libksane-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libsolid-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
Skanlite is an image scanner application for KDE.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --with-html --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_kde5_bindir}/skanlite
%{_kde5_xdgappsdir}/org.kde.skanlite.desktop
%{_datadir}/metainfo/org.kde.skanlite.appdata.xml
%{_datadir}/icons/hicolor/48x48/apps/org.kde.skanlite.svg
%doc LICENSES
%changelog
* Sat Jul 09 2022 Automatic Build System <autodist@mambasoft.it> 22.04.3-1mamba
- automatic version update by autodist
* Fri Jun 10 2022 Automatic Build System <autodist@mambasoft.it> 22.04.2-1mamba
- automatic version update by autodist
* Sat May 14 2022 Automatic Build System <autodist@mambasoft.it> 22.04.1-1mamba
- automatic version update by autodist
* Sat Apr 23 2022 Automatic Build System <autodist@mambasoft.it> 22.04.0-1mamba
- automatic version update by autodist
* Fri Mar 04 2022 Automatic Build System <autodist@mambasoft.it> 21.12.3-1mamba
- automatic version update by autodist
* Sat Feb 05 2022 Automatic Build System <autodist@mambasoft.it> 21.12.2-1mamba
- automatic version update by autodist
* Sat Jan 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 21.12.1-1mamba
- update to 21.12.1
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 21.12.0-1mamba
- update to 21.12.0
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1mamba
- update to 2.2.0
* Mon Apr 16 2018 Automatic Build System <autodist@mambasoft.it> 2.1.0.1-1mamba
- automatic version update by autodist
* Wed Dec 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
- update to 2.0.1
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
- update to 2.0
* Wed Feb 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
- update to 1.1
* Wed Oct 31 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-1mamba
- package created by autospec