diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..48c4ed5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/gwe-0.13.3.tar.gz diff --git a/gwe.spec b/gwe.spec new file mode 100644 index 0000000..ba5336d --- /dev/null +++ b/gwe.spec @@ -0,0 +1,94 @@ +%global uuid com.leinardi.%{name} + +Name: gwe +Version: 0.13.3 +Release: 6%{?dist} +Summary: System utility designed to provide information of NVIDIA card + +License: GPLv3+ +URL: https://gitlab.com/leinardi/gwe +Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz +Source1: README.fedora.md +BuildArch: noarch + +BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.45.1 +BuildRequires: python3-devel +BuildRequires: python3-peewee >= 3.13.1 +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.56.0 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.30 +Requires: dbus-common +Requires: hicolor-icon-theme +Requires: python3-gobject +Requires: python3-injector >= 0.18.2 +Requires: python3-matplotlib-gtk3 >= 3.1.1 +Requires: python3-peewee >= 3.13.1 +Requires: python3-py3nvml >= 0.2.5 +Requires: python3-pyxdg >= 0.26 +Requires: python3-requests +Requires: python3-rx >= 3.0.1 +Requires: python3-xlib >= 0.26 + +%description +GWE is a GTK system utility designed to provide information, control the fans +and overclock your NVIDIA video card and graphics processor. + +This package require NVIDIA driver. Please read included README.Fedora file: + + xdg-open %{_docdir}/%{name}/README.fedora.md + + +%prep +%autosetup + + +%build +%meson +%meson_build + + +%install +%meson_install +install -m 0644 -Dp %{SOURCE1} %{buildroot}%{_docdir}/%{name}/README.fedora.md +# Remove HiDPI version PNG icons since we have SVG version here +rm -r %{buildroot}%{_datadir}/icons/hicolor/*@2x/ + + +%check +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop + + +%files +%license COPYING.txt +%doc CHANGELOG.md README.md README.fedora.md RELEASING.md +%{_bindir}/%{name} +%{_datadir}/%{name}/ +%{_datadir}/applications/*.desktop +%{_datadir}/dbus-1/services/*.service +%{_datadir}/glib-2.0/schemas/*.gschema.xml +%{_datadir}/icons/hicolor/*/*/*.png +%{_datadir}/icons/hicolor/symbolic/*/*.svg +%{_metainfodir}/*.xml +%{python3_sitelib}/%{name}/ + + +%changelog +* Tue Jan 28 2020 Artem Polishchuk - 0.13.3-6 +- Improve description + +* Sun Jan 26 2020 Artem Polishchuk - 0.13.3-3 +- Minor packaging fixes + +* Wed Jan 15 2020 Artem Polishchuk - 0.13.3-2 +- Update to 0.13.3 + +* Sun Sep 01 2019 Artem Polishchuk - 0.13.0-1 +- Update to 0.13.0 + +* Tue Mar 12 2019 Artem Polishchuk - 0.12.3-7 +- Updated spec file + +* Tue Mar 12 2019 Dead Mozay - 0.12.3-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..1dd853c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (gwe-0.13.3.tar.gz) = 5139a959dca3329058f325d248851a1b33121709e445fe832cb32a02028611193414b74d4b3df8cd6193c0ec7fd02f09648eef059989e65284ee3209e9364893