From 104a2a26ba8a9d37146ee7e11dcbe2acd03f033b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 02:30:29 +0100 Subject: [PATCH] package created using the webbuild interface [release 20.12.1-1mamba;Mon Jan 25 2021] --- README.md | 2 ++ kontrast.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 kontrast.spec diff --git a/README.md b/README.md index 5c1fe86..b3f09c0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kontrast +Kontrast is a color contrast checker and tell you if your color combinations are accessible for people with color vision defiencies. + diff --git a/kontrast.spec b/kontrast.spec new file mode 100644 index 0000000..44165f2 --- /dev/null +++ b/kontrast.spec @@ -0,0 +1,59 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: kontrast +Version: 20.12.1 +Release: 1mamba +Summary: A color contrast checker and tell you if your color combinations are accessible for people with color vision defiencies +Group: Graphical Desktop/Applications/Accessibility +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kde.org +Source: https://download.kde.org/stable/release-service/%{version}/src/kontrast-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libgcc +BuildRequires: libkcoreaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Kontrast is a color contrast checker and tell you if your color combinations are accessible for people with color vision defiencies. + +%debug_package + +%prep +%setup -q + +%build +%cmake_kde5 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}5_qt.lang +%defattr(-,root,root) +%{_bindir}/kontrast +%{_datadir}/applications/org.kde.kontrast.desktop +%{_datadir}/icons/hicolor/scalable/apps/org.kde.kontrast.svg +%{_datadir}/metainfo/org.kde.kontrast.appdata.xml +%doc LICENSES + +%changelog +* Mon Jan 25 2021 Silvan Calarco 20.12.1-1mamba +- package created using the webbuild interface