0cd1dbc
%global uuid    com.github.lainsce.%{name}
9cc9075
9cc9075
Name:           coin
b4941e9
Version:        1.3.0
dc2a519
Release:        %autorelease
9cc9075
Summary:        Track the virtual currencies in real world currency value
9cc9075
9cc9075
License:        GPLv3+
9cc9075
URL:            https://github.com/lainsce/coin
9cc9075
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
9cc9075
9cc9075
BuildRequires:  desktop-file-utils
9cc9075
BuildRequires:  gcc
9cc9075
BuildRequires:  intltool
9cc9075
BuildRequires:  libappstream-glib
9cc9075
BuildRequires:  meson
b0b1afa
BuildRequires:  vala
b0b1afa
9cc9075
BuildRequires:  pkgconfig(granite)
9cc9075
BuildRequires:  pkgconfig(gtk+-3.0)
2a2df8d
BuildRequires:  pkgconfig(json-glib-1.0)
2a2df8d
BuildRequires:  pkgconfig(libsoup-2.4)
b0b1afa
9cc9075
Requires:       hicolor-icon-theme
9cc9075
9cc9075
%description
9cc9075
Track the virtual currencies in real world currency value with this handy
9cc9075
applet.
9cc9075
2a2df8d
- Choose which currency and virtual currency to use for tracking
2a2df8d
- Quit anytime with the shortcut Ctrl + Q
2a2df8d
- Move the applet by dragging it from anywhere in the window
2a2df8d
- Stays out of your way in the desktop
9cc9075
0cd1dbc
9cc9075
%prep
9cc9075
%autosetup -p1
9cc9075
0cd1dbc
9cc9075
%build
9cc9075
%meson
9cc9075
%meson_build
9cc9075
0cd1dbc
9cc9075
%install
9cc9075
%meson_install
0cd1dbc
%find_lang %{uuid}
0cd1dbc
9cc9075
9cc9075
%check
b0b1afa
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
0cd1dbc
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
9cc9075
0cd1dbc
0cd1dbc
%files -f %{uuid}.lang
9cc9075
%license LICENSE
9cc9075
%doc README.md AUTHORS
0cd1dbc
%{_bindir}/%{uuid}
9cc9075
%{_datadir}/applications/*.desktop
9cc9075
%{_datadir}/glib-2.0/schemas/*.gschema.xml
9cc9075
%{_datadir}/icons/hicolor/*/*/*.svg
9cc9075
%{_metainfodir}/*.appdata.xml
9cc9075
0cd1dbc
9cc9075
%changelog
dc2a519
%autochangelog