update to 2.0 [release 2.0-1mamba;Fri May 20 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 17:51:20 +01:00
parent 80bd9b6892
commit 8077d2166e
2 changed files with 25 additions and 22 deletions

View File

@ -1,4 +1,4 @@
# skanlite # skanlite
Skanlite is an image scanner application for KDE 4. Skanlite is an image scanner application for KDE 5.

View File

@ -1,5 +1,5 @@
Name: skanlite Name: skanlite
Version: 1.1 Version: 2.0
Release: 1mamba Release: 1mamba
Summary: An image scanner application for KDE 4 Summary: An image scanner application for KDE 4
Group: Graphical Desktop/Applications/Graphics Group: Graphical Desktop/Applications/Graphics
@ -7,7 +7,7 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://kde-apps.org/content/show.php?content=109803 URL: http://kde-apps.org/content/show.php?content=109803
Source: ftp://ftp.kde.org/pub/kde/stable/skanlite/%{version}/src/skanlite-%{version}.tar.xz Source: https://ftp.heanet.ie/mirrors/ftp.kde.org/stable/skanlite/%{version}/skanlite-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -15,14 +15,14 @@ BuildRequires: kdelibs-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libksane-devel BuildRequires: libksane-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libqt4-devel BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Skanlite is an image scanner application for KDE 4. Skanlite is an image scanner application for KDE 5.
%debug_package %debug_package
@ -30,36 +30,39 @@ Skanlite is an image scanner application for KDE 4.
%setup -q %setup -q
%build %build
%cmake_kde4 -d build %cmake_kde5 -d build
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
%find_lang %{name} %find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang %files -f %{name}5_qt.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_bindir}/skanlite %{_kde5_bindir}/skanlite
%{_kde4_xdgappsdir}/skanlite.desktop %{_kde5_xdgappsdir}/org.kde.skanlite.desktop
%dir %{_kde4_htmldir}/de/skanlite %dir %{_kde5_htmldir}/de/skanlite
%doc %lang(de) %{_kde4_htmldir}/de/skanlite/* %doc %lang(de) %{_kde5_htmldir}/de/skanlite/*
%doc %lang(en) %{_kde4_htmldir}/en/skanlite/* %doc %lang(en) %{_kde5_htmldir}/en/skanlite/*
#%doc %lang(es) %{_kde4_htmldir}/es/skanlite/* %doc %lang(es) %{_kde5_htmldir}/es/skanlite/*
#%doc %lang(et) %{_kde4_htmldir}/et/skanlite/* #%doc %lang(et) %{_kde5_htmldir}/et/skanlite/*
%doc %lang(fr) %{_kde4_htmldir}/fr/skanlite/* %doc %lang(fr) %{_kde5_htmldir}/fr/skanlite/*
#%doc %lang(it) %{_kde4_htmldir}/it/skanlite/* %doc %lang(it) %{_kde5_htmldir}/it/skanlite/*
%doc %lang(nl) %{_kde4_htmldir}/nl/skanlite/* %doc %lang(nl) %{_kde5_htmldir}/nl/skanlite/*
#%doc %lang(pt) %{_kde4_htmldir}/pt/skanlite/* %doc %lang(pt) %{_kde5_htmldir}/pt/skanlite/*
#%doc %lang(pt_BR) %{_kde4_htmldir}/pt_BR/skanlite/* %doc %lang(pt_BR) %{_kde5_htmldir}/pt_BR/skanlite/*
#%doc %lang(sv) %{_kde4_htmldir}/sv/skanlite/* %doc %lang(sv) %{_kde5_htmldir}/sv/skanlite/*
%doc %lang(uk) %{_kde4_htmldir}/uk/skanlite/* %doc %lang(uk) %{_kde5_htmldir}/uk/skanlite/*
%changelog %changelog
* 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 * Wed Feb 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
- update to 1.1 - update to 1.1