SHA256
1
0
forked from pool/kontrast
Christophe Giboudeaux 2020-11-21 12:58:30 +00:00 committed by Git OBS Bridge
commit 634e5fe12f
7 changed files with 128 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

BIN
applications.keyring Normal file

Binary file not shown.

3
kontrast-20.11.80.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e07ede6d7595b664579b53bb90dbd3965d67cbe741eb41abc5cc77de71240376
size 120964

View File

@ -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-----

4
kontrast.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat Nov 14 20:03:11 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Initial package.

81
kontrast.spec Normal file
View File

@ -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