A new user interface for you! Read more...

File twitter-plasmoid.spec of Package twitter-plasmoid

#
# spec file for package twitter-plasmoid
#
# Copyright (c) 2018 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           twitter-plasmoid
Version:        0.1
Release:        0
Summary:        Plasma 5 applet for controlling twitter
License:        GPL-2.0-only
Group:          System/GUI/KDE
Url:            https://github.com/ammarik/Plasmoid_Twitter_client
Source:         %{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  extra-cmake-modules
BuildRequires:  fdupes
BuildRequires:  liboauth-devel
BuildRequires:  libcurl-devel
BuildRequires:  libopenssl-devel
BuildRequires:  twitcurl-devel
BuildRequires:  libkde4-devel
BuildRequires:  cmake(KF5Plasma)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(Qt5Core)
BuildRequires:  cmake(Qt5Widgets)
BuildRequires:  cmake(Qt5Quick)

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

%description
This client is designed for desktop environment KDE Plasma 5 as a widget that is clipped to the computer desktop.
Application directly on the desktop shows the latest notifications and posts from Twitter, allows to post statuses,
send or display private messages.

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

%build
%cmake_kf5 -d build
%make_jobs

%install
%kf5_makeinstall -C build
%fdupes -s %{buildroot}
#%find_lang plasma_applet_org.kde.activeWindowControl %{name}.lang

#%files -f %{name}.lang
%files
%defattr(-,root,root)
%doc README.md
%doc License.md
%{_libdir}/qt5/qml
%{_kf5_plasmadir}/
%{_kf5_servicesdir}/
%{_datadir}/metainfo

%changelog