LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kwin-titlebar-appmenu.spec of Package kwin-titlebar-appmenu (Project GNOME:Ayatana)

# Copyright (c) 2011 Damianator <damianatorrpm@gmail.com>
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name:           kwin-titlebar-appmenu
Version:        0.1
Release:        1
Summary:        Display menubar of application windows
Source0:        138804-titlemenu-0.1.tar.gz
Url:            https://bitbucket.org/jimi312/titlebar-menu/
#Url:            https://bitbucket.org/jimi312/titlebar-menu/
Group:          System/GUI/KDE
License:        GPLv3
BuildRequires:  cmake
BuildRequires:  kdebase4-workspace-devel
BuildRequires:  dbusmenu-qt-devel
BuildRequires:  libqjson-devel
BuildRoot:	%{_tmppath}/%{orig_name}-%{version}-build

%kde4_runtime_requires

%description
This is a kwin effect that draws the application menu in the titlebar when the mouse is hovered over the titlebar. 
%prep
%setup -q -n titlemenu-%{version}

%build
export SUSE_ASNEEDED=0
%cmake_kde4
make VERBOSE=1

%install
make DESTDIR=%{buildroot} install

%clean
rm -rf '%{buildroot}'

%files
%defattr(-,root,root)
%{_libdir}/kde4/kcm_kwin4_effect_titlemenu.so
%{_libdir}/kde4/kwin4_effect_titlemenu.so
%{_datadir}/kde4/services/kwin/titlemenu.desktop
%{_datadir}/kde4/services/kwin/titlemenu_config.desktop
%changelog
* Sun Sep 25 2011 Damianatorrpm <damianatorrpm@gmail.cm> 0.1
- initial build