File alligator.spec of Package alligator-22.04-3.56

# spec file for alligator
#
# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.

Name:           alligator 
Version:        22.04
Release:        3.56
License:        GPL-3.0
Summary:        Alligator, a feed reader
Url:            https://invent.kde.org/plasma-mobile/alligator
Source0:        alligator-%{version}.tar.xz
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  cmake
BuildRequires:  fdupes
BuildRequires:  AppStream
BuildRequires:  extra-cmake-modules
BuildRequires:  hicolor-icon-theme
BuildRequires:  update-desktop-files

BuildRequires:  cmake(Qt5Core)
BuildRequires:  cmake(Qt5Quick)
BuildRequires:  cmake(Qt5Test)
BuildRequires:  cmake(Qt5Gui)
BuildRequires:  cmake(Qt5QuickControls2)
BuildRequires:  cmake(Qt5Sql)

BuildRequires:  cmake(KF5CoreAddons)
BuildRequires:  cmake(KF5Syndication)
BuildRequires:  cmake(KF5Notifications)
BuildRequires:  cmake(KF5Config)
BuildRequires:  cmake(KF5I18n)

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Alligator is a convergent RSS/Atom feed reader.
Get the name? It's because he feeds.

%prep
%setup -q -n alligator-%{version}

%build
%cmake_kf5 -d build
%cmake_build

%install
%kf5_makeinstall -C build
%kf5_post_install
%fdupes %{buildroot}%{_prefix}
%find_lang %name                

%files -f %name.lang 
%defattr(-,root,root,-)
%doc README.md
%license LICENSES/{LicenseRef-KDE-Accepted-GPL,GPL-2.0-only,GPL-3.0-only}.txt
%{_kf5_bindir}/%{name}
%{_kf5_iconsdir}/hicolor/*/*/*.svg
%{_kf5_applicationsdir}/*.desktop
%{_kf5_appstreamdir}/*.appdata.xml
%changelog
openSUSE Build Service is sponsored by