From 9cc9075e32102a259ffc1e604a410d0a29926cef Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Aug 23 2019 15:12:26 +0000 Subject: Initial import (#1740423). --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2739c4a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/coin-1.2.6.tar.gz diff --git a/coin.spec b/coin.spec new file mode 100644 index 0000000..fbe52a2 --- /dev/null +++ b/coin.spec @@ -0,0 +1,61 @@ +# Enable LTO +%global optflags %{optflags} -flto=$(nproc) +%global build_ldflags %{build_ldflags} -flto + +%global appname com.github.lainsce.coin + +Name: coin +Version: 1.2.6 +Release: 1%{?dist} +Summary: Track the virtual currencies in real world currency value + +License: GPLv3+ +URL: https://github.com/lainsce/coin +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: desktop-file-utils +BuildRequires: gcc +BuildRequires: intltool +BuildRequires: libappstream-glib +BuildRequires: meson +BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: vala +Requires: hicolor-icon-theme + +%description +Track the virtual currencies in real world currency value with this handy +applet. + +• Choose which currency and virtual currency to use for tracking +• Quit anytime with the shortcut Ctrl + Q +• Move the applet by dragging it from anywhere in the window +• Stays out of your way in the desktop + +%prep +%autosetup -p1 + +%build +%meson +%meson_build + +%install +%meson_install +%find_lang %{appname} + +%check +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{appname}.appdata.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/%{appname}.desktop + +%files -f %{appname}.lang +%license LICENSE +%doc README.md AUTHORS +%{_bindir}/%{appname} +%{_datadir}/applications/*.desktop +%{_datadir}/glib-2.0/schemas/*.gschema.xml +%{_datadir}/icons/hicolor/*/*/*.svg +%{_metainfodir}/*.appdata.xml + +%changelog +* Mon Aug 12 2019 Artem Polishchuk - 1.2.6-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..9badb75 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (coin-1.2.6.tar.gz) = 0f726fcf4261497ce43cd07a258b32a7cbafe534ccc60aee9781350f5f9412655d2bc57e4cd86e506e4883c86dbf9e80c6d9be5d78d98f4e9f30fdad5f482818