%global mainver 1.7 %global gitver 18437d0 Name: kde-plasma-applicationname Version: %{mainver}g%{gitver} Release: 2%{?dist} Summary: QML plasmoid to display the application title of the focused window License: LGPLv2+ URL: https://github.com/scarpin0/applicationname-plasmoid # https://github.com/scarpin0/applicationname-plasmoid/tarball/%%{mainver} Source0: scarpin0-applicationname-plasmoid-1.7-0-g18437d0.tar.gz BuildArch: noarch BuildRequires: kdebase-workspace-devel %description A QML plasmoid to display the application name of the focused window. Features: * Shows the application name of the focused windows * Shows the activity name if no window is focused * Optionally, it shows the window title (enable this option in the settings) %prep %setup -q -n scarpin0-applicationname-plasmoid-%{gitver} %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} ../ popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %files %doc README %{_kde4_appsdir}/plasma/plasmoids/org.kde.plasma.applet.applicationname %{_kde4_datadir}/kde4/services/plasma-applet-applicationname.desktop %changelog * Sat Jun 15 2013 Mario Blättermann - 1.7g18437d0-2 - New project homepage and download location - No kbuildsycoca4 anymore because it is not applicable for the build * Sat Dec 22 2012 Mario Blättermann - 1.7g18437d0-1 - Initial package