The package rpms/skanlite.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/skanlite.git/commit/?id=bc47709bc....
Change:
-ExcludeArch: ppc64 ppc64le
Thanks.
Full change:
============
commit bc47709bc50551c5d99f73e061234f6ec07f1b4b
Author: Sandro Mani <manisandro(a)gmail.com>
Date: Sun Nov 4 12:41:25 2018 +0100
Update to 2.1.0.1
diff --git a/skanlite.spec b/skanlite.spec
index f342941..b0a722e 100644
--- a/skanlite.spec
+++ b/skanlite.spec
@@ -1,91 +1,70 @@
Name: skanlite
-Version: 1.1
-Release: 13%{?dist}
+Version: 2.1.0.1
+Release: 1%{?dist}
Summary: Lightweight scanning program
-Group: Applications/Productivity
# Actually: GPLv2 or GPLv3 or any later Version approved by KDE e.V.
License: GPLv2 or GPLv3
URL:
https://www.kde.org/applications/graphics/%{name}/
-Source0:
http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}....
+Source0:
http://download.kde.org/stable/%{name}/%(echo %{version} | awk -F.
'{print $1"."$2}')/%{name}-%{version}.tar.xz
+
+BuildRequires: cmake
+BuildRequires: cmake(KF5CoreAddons)
+BuildRequires: cmake(KF5DocTools)
+BuildRequires: cmake(KF5I18n)
+BuildRequires: cmake(KF5KIO)
+BuildRequires: cmake(KF5Sane)
+BuildRequires: cmake(KF5XmlGui)
+BuildRequires: desktop-file-utils
+BuildRequires: extra-cmake-modules
+BuildRequires: gcc-c++
+BuildRequires: libappstream-glib
+BuildRequires: libpng-devel
+BuildRequires: qt5-qtbase-devel
+
+Requires: kde-filesystem
+Requires: khotkeys
-BuildRequires: gettext
-BuildRequires: kdelibs4-devel
-BuildRequires: libappstream-glib
-BuildRequires: libpng-devel
-BuildRequires: pkgconfig(libksane)
-%if 0%{?rhel}
-ExcludeArch: ppc64 ppc64le
-%endif
-
-%{?_kde4_version:Requires: kdelibs4 >= %{_kde4_version}}
%description
Skanlite is a light-weight scanning application based on libksane.
+
%prep
-%setup -q -n %{name}-%{version}
+%autosetup -p1
+
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
-%{cmake_kde4} ..
+%cmake ..
+%make_build
popd
-make %{?_smp_mflags} -C %{_target_platform}
%install
-make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
-
-# Register as an application to be visible in the software center
-#
-# NOTE: It would be *awesome* if this file was maintained by the upstream
-# project, translated and installed into the right place during `make install`.
-#
-# See
http://www.freedesktop.org/software/appstream/docs/ for more details.
-#
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
-cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <<EOF
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Ryan Lerch <rlerch(a)redhat.com> -->
-<component type="desktop">
- <id>skanlite.desktop</id>
- <metadata_license>CC0-1.0</metadata_license>
- <summary>Scan images</summary>
- <description>
- <p>
- Skanlite is an application to scan images using a hardware scanner attached to your
computer.
- It is able to save in a variety of image formats (including JPEG) and can even
- save your scan as a PDF.
- Skanlite also has support for scanning multiple pages and merging them
- into a single document.
- </p>
- </description>
- <url
type="homepage">http://kde-apps.org/content/show.php?content...
- <screenshots>
- <screenshot type="default">
- <
image>http://kde-apps.org/CONTENT/content-pre1/109803-1.png</image>
- </screenshot>
- <screenshot>
- <
image>http://kde-apps.org/CONTENT/content-pre2/109803-2.png</image>
- </screenshot>
- </screenshots>
-</component>
-EOF
-
-%find_lang %{name} --with-kde
+%make_install -C %{_target_platform}
+%find_lang %{name} --all-name --with-html
+install -Dpm 0644 hotkeys_and_scripts/%{name}.khotkeys
%{buildroot}%{_kf5_datadir}/khotkeys/%{name}.khotkeys
+
%check
-desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/%{name}.desktop
-appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
+desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.%{name}.desktop
+appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/metainfo/org.kde.%{name}.appdata.xml
+
%files -f %{name}.lang
%license src/COPYING
-%doc src/TODO
-%{_kde4_bindir}/%{name}
-%{_kde4_datadir}/appdata/%{name}.appdata.xml
-%{_kde4_datadir}/applications/kde4/%{name}.desktop
+%{_kf5_bindir}/%{name}
+%{_kf5_datadir}/applications/org.kde.%{name}.desktop
+%{_kf5_datadir}/khotkeys/%{name}.khotkeys
+%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml
+
%changelog
+* Sun Nov 04 2018 Sandro Mani <manisandro(a)gmail.com> - 2.1.0.1-1
+- Modernize spec
+- Update to 2.1.0.1
+
* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1-13
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild