LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File sni-qt.spec of Package sni-qt (Project GNOME:Ayatana)

# Written by: Xiao-Long Chen <chenxiaolong@cxl.epac.to>

Name:		sni-qt
Version:	0.2.6
Release:	1
License:	LGPL-3.0
Summary:	Library that turns Qt tray icons into appindicators
Url:		https://launchpad.net/sni-qt
Group:		System/Libraries
Source:		https://launchpad.net/sni-qt/trunk/%{version}/+download/sni-qt-%{version}.tar.bz2
# From Ubuntu packaging version 0.2.5-0ubuntu3
Source1:	sni-qt.conf

BuildRequires:	cmake
BuildRequires:	gcc-c++

BuildRequires:	pkgconfig(dbusmenu-qt)
BuildRequires:	pkgconfig(QtCore)

This package contains a Qt plugin which turns all QSystemTrayIcon into
StatusNotifierItems (appindicators).

%setup -q

mkdir build
cd build

cmake .. \
  -DCMAKE_BUILD_TYPE=release \
  -DLIB_SUFFIX=$(echo %{_lib} | sed 's/lib//') \

make %{?_smp_mflags}

cd build

install -dm755 $RPM_BUILD_ROOT%{_sysconfdir}/xdg/
install -m644 '%{SOURCE1}' $RPM_BUILD_ROOT%{_sysconfdir}/xdg/

%config(noreplace) %{_sysconfdir}/xdg/sni-qt.conf
%dir %{_libdir}/qt4/plugins/systemtrayicon/

* Sat Aug 18 2012 Xiao-Long Chen <chenxiaolong@cxl.epac.to> - 0.2.6-1
- Initial release
- Version 0.2.6