File colorpicker.spec of Package colorpicker

# spec file for package colorpicker
# Copyright (c) 2020 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           colorpicker
Version:        1.1.5
Release:        0
Summary:        A Color Picker
License:        GPL-3.0-or-later
Group:          Productivity/Graphics/Visualization/Other
BuildRequires:  fdupes
BuildRequires:  hicolor-icon-theme
BuildRequires:  meson >= 0.40.0
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  vala
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(granite)
BuildRequires:  pkgconfig(gtk+-3.0)
Recommends:     %{name}-lang

A color picker program designed for Elementary OS.


%setup -q -n ColorPicker-%{version}

sed -i 's/\bmetainfo\b/appdata/' $(grep -rl 'metainfo')


%suse_update_desktop_file -r com.github.ronnydo.colorpicker GTK Graphics Viewer
%find_lang com.github.ronnydo.colorpicker %{name}.lang
%fdupes %{buildroot}/%{_datadir}



%dir %{_datadir}/appdata

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by