2024-01-05 17:51:20 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-05 17:51:20 +01:00
|
|
|
Name: skanlite
|
2024-01-05 17:51:20 +01:00
|
|
|
Version: 2.0.1
|
2024-01-05 17:51:20 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: An image scanner application for KDE 4
|
|
|
|
Group: Graphical Desktop/Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://kde-apps.org/content/show.php?content=109803
|
2024-01-05 17:51:20 +01:00
|
|
|
Source: https://ftp.heanet.ie/mirrors/ftp.kde.org/stable/skanlite/%{majver}/skanlite-%{version}.tar.xz
|
2024-01-05 17:51:20 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: kdelibs-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libksane-devel
|
|
|
|
BuildRequires: libpng-devel
|
2024-01-05 17:51:20 +01:00
|
|
|
BuildRequires: libqt5-devel
|
2024-01-05 17:51:20 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
2024-01-05 17:51:20 +01:00
|
|
|
Skanlite is an image scanner application for KDE 5.
|
2024-01-05 17:51:20 +01:00
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 17:51:20 +01:00
|
|
|
%cmake_kde5 -d build
|
2024-01-05 17:51:20 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-05 17:51:20 +01:00
|
|
|
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
|
2024-01-05 17:51:20 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 17:51:20 +01:00
|
|
|
%files -f %{name}5_qt.lang
|
2024-01-05 17:51:20 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:51:20 +01:00
|
|
|
%{_kde5_bindir}/skanlite
|
|
|
|
%{_kde5_xdgappsdir}/org.kde.skanlite.desktop
|
2024-01-05 17:51:20 +01:00
|
|
|
%{_datadir}/metainfo/org.kde.skanlite.appdata.xml
|
2024-01-05 17:51:20 +01:00
|
|
|
%dir %{_kde5_htmldir}/de/skanlite
|
|
|
|
%doc %lang(de) %{_kde5_htmldir}/de/skanlite/*
|
|
|
|
%doc %lang(en) %{_kde5_htmldir}/en/skanlite/*
|
|
|
|
%doc %lang(es) %{_kde5_htmldir}/es/skanlite/*
|
|
|
|
#%doc %lang(et) %{_kde5_htmldir}/et/skanlite/*
|
|
|
|
%doc %lang(fr) %{_kde5_htmldir}/fr/skanlite/*
|
|
|
|
%doc %lang(it) %{_kde5_htmldir}/it/skanlite/*
|
|
|
|
%doc %lang(nl) %{_kde5_htmldir}/nl/skanlite/*
|
|
|
|
%doc %lang(pt) %{_kde5_htmldir}/pt/skanlite/*
|
|
|
|
%doc %lang(pt_BR) %{_kde5_htmldir}/pt_BR/skanlite/*
|
|
|
|
%doc %lang(sv) %{_kde5_htmldir}/sv/skanlite/*
|
|
|
|
%doc %lang(uk) %{_kde5_htmldir}/uk/skanlite/*
|
2024-01-05 17:51:20 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:51:20 +01:00
|
|
|
* Wed Dec 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
|
|
|
- update to 2.0.1
|
|
|
|
|
2024-01-05 17:51:20 +01:00
|
|
|
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
|
|
|
|
- update to 2.0
|
|
|
|
|
2024-01-05 17:51:20 +01:00
|
|
|
* 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
|