commit 634e5fe12f9430438c3e25ce4150140e43810d7d67074593692334b98eb97c24 Author: Christophe Giboudeaux Date: Sat Nov 21 12:58:30 2020 +0000 20.12 beta OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kontrast?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/applications.keyring b/applications.keyring new file mode 100644 index 0000000..48be415 Binary files /dev/null and b/applications.keyring differ diff --git a/kontrast-20.11.80.tar.xz b/kontrast-20.11.80.tar.xz new file mode 100644 index 0000000..9eea17a --- /dev/null +++ b/kontrast-20.11.80.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e07ede6d7595b664579b53bb90dbd3965d67cbe741eb41abc5cc77de71240376 +size 120964 diff --git a/kontrast-20.11.80.tar.xz.sig b/kontrast-20.11.80.tar.xz.sig new file mode 100644 index 0000000..8a1d405 --- /dev/null +++ b/kontrast-20.11.80.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEyiYsbIPeTS+yijMqOmpNuDnqptcFAl+uonkACgkQOmpNuDnq +ptePPQ/9FZQrJ7jQSvskkqDDj1MNrg8MQiqbvXaSR1Ha9Hw7xPidKQRnq1a+ZOUo +BrM06y+4hOXQhEtWXgd3kCp8UNTF/SNkRgWxoyj+D4DuI0jdU2AI4kxwskoA4ZYI +EjC+dzKdERIxzcJBBcYh+LC/Lwp7G7rqdkyVONN4y6sRgXA8ujBl0lmCdGqEal4w +aD4LIrgRQtWvnVBv2vd5rJCnbE0QzUIchLIT65m5UP1Nd2mNGq+X89QjedkMH97P +WV6cvAm1Ellx/4bBUz24IrmG559Lc4Ds3Te8x2LIz2lPAJSW5b91am5u6F0pb5Nb +AcgJNpsyJgZtq71rzUesL63GROy7mR0jSmWaXxiXBHL5UJhqjm8S5qBSS5PGhW4h +u3Z2OtQGT0hWQ565HYE7om5C2rhJ/78WRpHzSDQocEjLfXhsNsh4tKC9Fvt2aPDQ +eJZ+z1iOxgw7TaVpIxGGtYjE4KeOllMV0Xx2WKtPiZK9LF+7VHpQjIMDUusnAfAV +T0iETsPeCAUr8WhSRC4xCbNQP/cfVcoxEdtlg/9Z3Q8bbYe8VjsEFrfILWdgo9ju +0xKQ3pedhtJHVm6dEvYDF6LS6dXY1PIq06DiCbxJE0uJTSsok7qPP8Wg8CPaxg9u +pi2bPwManDxZUk0BiIOsIWeNrlPHgS8ImWnu7eTMpAweplf7A3U= +=ZGvH +-----END PGP SIGNATURE----- diff --git a/kontrast.changes b/kontrast.changes new file mode 100644 index 0000000..519b1ed --- /dev/null +++ b/kontrast.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Nov 14 20:03:11 UTC 2020 - Christophe Giboudeaux + +- Initial package. diff --git a/kontrast.spec b/kontrast.spec new file mode 100644 index 0000000..21dad07 --- /dev/null +++ b/kontrast.spec @@ -0,0 +1,81 @@ +# +# spec file for package kontrast +# +# Copyright (c) 2020 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} +%bcond_without lang +Name: kontrast +Version: 20.11.80 +Release: 0 +Summary: Contrast checker +License: GPL-3.0-or-later AND CC0-1.0 +URL: https://kde.org +Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz +%if %{with lang} +Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig +Source2: applications.keyring +%endif +BuildRequires: extra-cmake-modules +BuildRequires: update-desktop-files +BuildRequires: cmake(KF5CoreAddons) +BuildRequires: cmake(KF5Declarative) +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KF5Kirigami2) +BuildRequires: cmake(Qt5Core) >= 5.14.0 +BuildRequires: cmake(Qt5DBus) +BuildRequires: cmake(Qt5Gui) +BuildRequires: cmake(Qt5Qml) +BuildRequires: cmake(Qt5QuickControls2) +BuildRequires: cmake(Qt5Sql) +BuildRequires: cmake(Qt5Svg) +Requires: kirigami2 +Requires: libqt5-qtquickcontrols2 +Recommends: %{name}-lang +%lang_package + +%description +Kontrast allows choosing background and text color that are easy to read when +used together. + +%prep +%autosetup -p1 + +%build +%cmake_kf5 -d build +%cmake_build + +%install +%kf5_makeinstall -C build + +%if %{with lang} +%find_lang %{name} +%endif + +%suse_update_desktop_file -r org.kde.kontrast Qt KDE Utility Accessibility + +%files +%license LICENSES/* +%{_kf5_applicationsdir}/org.kde.kontrast.desktop +%{_kf5_appstreamdir}/org.kde.kontrast.appdata.xml +%{_kf5_bindir}/kontrast +%{_kf5_iconsdir}/hicolor/scalable/apps/org.kde.kontrast.svg + +%if %{with lang} +%files lang -f %{name}.lang +%endif + +%changelog