2014-11-06 16:50:05 +01:00
|
|
|
#
|
|
|
|
# spec file for package lxqt-notificationd
|
|
|
|
#
|
2015-02-03 11:39:27 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-11-06 16:50:05 +01:00
|
|
|
#
|
|
|
|
# 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: lxqt-notificationd
|
2015-02-16 21:12:00 +01:00
|
|
|
Version: 0.9.0
|
2014-11-06 16:50:05 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Global keyboard shortcuts Tools
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: System/GUI/LXDE-Qt
|
|
|
|
Url: http://www.lxde.org
|
2015-02-16 21:12:00 +01:00
|
|
|
Source: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
# PATCH-FIX-OPENSUSE fix_desktop_file.patch sfalken@opensuse.org -- Fix Desktop categories
|
|
|
|
Patch0: fix_desktop_file.patch
|
2014-11-06 16:50:05 +01:00
|
|
|
BuildRequires: cmake
|
2015-02-16 21:12:00 +01:00
|
|
|
BuildRequires: fdupes
|
2014-11-06 16:50:05 +01:00
|
|
|
BuildRequires: gcc-c++
|
2015-02-16 21:12:00 +01:00
|
|
|
BuildRequires: kwindowsystem-devel
|
2015-02-03 11:39:27 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5UiTools)
|
2015-02-16 21:12:00 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Xdg)
|
|
|
|
BuildRequires: pkgconfig(lxqt) >= %{version}
|
2014-11-06 16:50:05 +01:00
|
|
|
Requires(pre): desktop-file-utils
|
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Daemon and library for global keyboard shortcuts regustration
|
|
|
|
|
2015-02-16 21:12:00 +01:00
|
|
|
%lang_package
|
|
|
|
|
2014-11-06 16:50:05 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2015-02-16 21:12:00 +01:00
|
|
|
%patch0 -p1
|
2014-11-06 16:50:05 +01:00
|
|
|
|
|
|
|
%build
|
2015-02-03 11:39:27 +01:00
|
|
|
mkdir build
|
|
|
|
pushd build
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
|
|
|
..
|
2014-11-06 16:50:05 +01:00
|
|
|
%__make %{?_smp_mflags}
|
2015-02-03 11:39:27 +01:00
|
|
|
popd
|
2014-11-06 16:50:05 +01:00
|
|
|
|
|
|
|
%install
|
2015-02-03 11:39:27 +01:00
|
|
|
pushd build
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
popd
|
2015-02-16 21:12:00 +01:00
|
|
|
%fdupes -s %{buildroot}%{_datadir}
|
2014-11-06 16:50:05 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/lxqt-config-notificationd
|
|
|
|
%{_datadir}/applications/lxqt-config-notificationd.desktop
|
|
|
|
|
2015-02-16 21:12:00 +01:00
|
|
|
%files -n %{name}-lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/lxqt/translations
|
|
|
|
|
2014-11-06 16:50:05 +01:00
|
|
|
%changelog
|