From e9d52e08fce25d917de7f8b5f6d71896182c790f Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Oct 06 2018 12:47:42 +0000 Subject: Initial import (#1635415) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a753263 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/kvantum-0.10.8.tar.gz diff --git a/kvantum.spec b/kvantum.spec new file mode 100644 index 0000000..5d80b8b --- /dev/null +++ b/kvantum.spec @@ -0,0 +1,100 @@ +Name: kvantum +Version: 0.10.8 +Release: 1%{?dist} +Summary: SVG-based theme engine for Qt5, KDE and LXQt + +License: GPLv3 +URL: https://github.com/tsujan/Kvantum +Source0: %url/archive/V%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(Qt5) +BuildRequires: pkgconfig(Qt5Designer) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5X11Extras) +BuildRequires: desktop-file-utils +BuildRequires: kde-filesystem +Requires: kde-filesystem +Requires: %{name}-data +Requires: hicolor-icon-theme +Requires: plasma-desktop + + +%description +Kvantum is an SVG-based theme engine for Qt5, KDE and LXQt, with an emphasis +on elegance, usability and practicality. + +Kvantum has a default dark theme, which is inspired by the default theme of +Enlightenment. Creation of realistic themes like that for KDE was the first +reason to make Kvantum but it goes far beyond its default theme: you could +make themes with very different looks and feels for it, whether they be +photorealistic or cartoonish, 3D or flat, embellished or minimalistic, or +something in between, and Kvantum will let you control almost every aspect of +Qt widgets. + +Kvantum also comes with extra themes that are installed as root with Qt5 +installation and can be selected and activated by using Kvantum Manager. + + +%package data +Summary: SVG-based theme engine for Qt5, KDE and LXQt +BuildArch: noarch +Requires: kvantum + +%description data +Kvantum is an SVG-based theme engine for Qt5, KDE and LXQt, with an emphasis +on elegance, usability and practicality. + +This package contains the data needed Kvantum. + + +%prep +%autosetup -n Kvantum-%{version} + + +%build +cd Kvantum +mkdir build && cd build +%cmake .. +%make_build + + +%install +cd Kvantum/build +%make_install + +# desktop-file-validate doesn't recognize LXQt +sed -i "s|LXQt|X-LXQt|" %{buildroot}%{_datadir}/applications/kvantummanager.desktop +desktop-file-validate %{buildroot}%{_datadir}/applications/kvantummanager.desktop + +%find_lang %{name} --all-name --with-qt + + +%files +%license Kvantum/COPYING +%doc Kvantum/ChangeLog Kvantum/NEWS Kvantum/README.md +%{_bindir}/kvantummanager +%{_bindir}/kvantumpreview +%{_qt5_plugindir}/styles/libkvantum.so + + +%files data -f Kvantum/build/%{name}.lang +%{_datadir}/Kvantum/ +%{_datadir}/applications/kvantummanager.desktop +%{_datadir}/color-schemes/Kv*.colors +%{_datadir}/icons/hicolor/scalable/apps/kvantum.svg +%{_kde4_appsdir}/color-schemes/Kv*.colors +%{_datadir}/themes/Kv*/ +%dir %{_datadir}/kvantumpreview +%dir %{_datadir}/kvantumpreview/translations +%dir %{_datadir}/kvantummanager +%dir %{_datadir}/kvantummanager/translations + + +%changelog +* Tue Oct 02 2018 Robert-André Mauchin - 0.10.8-1 +- Initial release + diff --git a/sources b/sources new file mode 100644 index 0000000..5302a6e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (kvantum-0.10.8.tar.gz) = c1a632217f991bd4a489600d6c3ca5e1c9ef8381ae2dfd609d25ee8e7dd7ea65b5e1cb0c62fc4d004e7c7846cc80b4eceb2ffb0a7ffaa412a3e579f972b411e2