5acd590
%global appname com.github.cassidyjames.dippi
5acd590
5acd590
Name:           dippi
5acd590
Summary:        Calculate display info like DPI and aspect ratio
277ea2a
Version:        2.7.0
20fc6fb
Release:        1%{?dist}
5acd590
License:        GPLv3
5acd590
5acd590
URL:            https://github.com/cassidyjames/%{name}
5acd590
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
5acd590
5acd590
BuildRequires:  desktop-file-utils
5acd590
BuildRequires:  gettext
5acd590
BuildRequires:  libappstream-glib
5acd590
BuildRequires:  meson
5acd590
BuildRequires:  vala
5acd590
5acd590
BuildRequires:  pkgconfig(glib-2.0)
5acd590
BuildRequires:  pkgconfig(granite)
5acd590
BuildRequires:  pkgconfig(gtk+-3.0)
5acd590
5acd590
Requires:       hicolor-icon-theme
5acd590
5acd590
5acd590
%description
5acd590
Analyze any display. Input a few simple details and figure out the
5acd590
aspect ratio, DPI, and other details of a particular display. Great for
5acd590
deciding which laptop or external monitor to purchase, and if it would
5acd590
be considered HiDPI.
5acd590
5acd590
Handy features:
5acd590
- Find out if a display is a good choice based on its size and resolution
5acd590
- Get advice about different densities
5acd590
- Differentiates between laptops and desktop displays
5acd590
- Stupid simple: all in a cute li'l window
5acd590
5acd590
5acd590
%prep
5acd590
%autosetup
5acd590
5acd590
5acd590
%build
5acd590
%meson
5acd590
%meson_build
5acd590
5acd590
5acd590
%install
5acd590
%meson_install
5acd590
5acd590
%find_lang %{appname}
5acd590
5acd590
5acd590
%check
5acd590
desktop-file-validate \
5acd590
    %{buildroot}/%{_datadir}/applications/%{appname}.desktop
5acd590
5acd590
appstream-util validate-relax --nonet \
5acd590
    %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
5acd590
5acd590
5acd590
%files -f %{appname}.lang
5acd590
%doc README.md
5acd590
%license COPYING
5acd590
5acd590
%{_bindir}/%{appname}
5acd590
5acd590
%{_datadir}/applications/%{appname}.desktop
5acd590
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
5acd590
%{_datadir}/metainfo/%{appname}.appdata.xml
5acd590
5acd590
5acd590
%changelog
277ea2a
* Sat Jul 07 2018 Fabio Valentini <decathorpe@gmail.com> - 2.7.0-1
277ea2a
- Update to version 2.7.0.
277ea2a
02855a9
* Sat Apr 21 2018 Fabio Valentini <decathorpe@gmail.com> - 2.6.3-1
02855a9
- Update to version 2.6.3.
02855a9
f55e735
* Wed Apr 11 2018 Fabio Valentini <decathorpe@gmail.com> - 2.6.2-1
f55e735
- Update to version 2.6.2.
f55e735
da202d0
* Wed Mar 21 2018 Fabio Valentini <decathorpe@gmail.com> - 2.6.1-1
da202d0
- Update to version 2.6.1.
da202d0
20fc6fb
* Sat Feb 24 2018 Fabio Valentini <decathorpe@gmail.com> - 2.5.4-1
20fc6fb
- Update to version 2.5.4.
20fc6fb
783d877
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.3-2
783d877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
783d877
6511125
* Mon Feb 05 2018 Fabio Valentini <decathorpe@gmail.com> - 2.5.3-1
6511125
- Update to version 2.5.3.
6511125
5acd590
* Sat Jan 20 2018 Fabio Valentini <decathorpe@gmail.com> - 2.5.1-1
5acd590
- Update to version 2.5.1.
5acd590
5acd590
* Mon Jan 15 2018 Fabio Valentini <decathorpe@gmail.com> - 2.5.0-1
5acd590
- Initial package.
5acd590