1
0
Stephan Kulow 2015-02-16 20:12:00 +00:00 committed by Git OBS Bridge
parent 4c3391a615
commit 5c651d7008
5 changed files with 41 additions and 8 deletions

14
fix_desktop_file.patch Normal file
View File

@ -0,0 +1,14 @@
Index: lxqt-notificationd-0.9.0/config/lxqt-config-notificationd.desktop.in
===================================================================
--- lxqt-notificationd-0.9.0.orig/config/lxqt-config-notificationd.desktop.in
+++ lxqt-notificationd-0.9.0/config/lxqt-config-notificationd.desktop.in
@@ -5,7 +5,7 @@ GenericName=LXQt Notification Settings
Comment=Configure desktop notifications
Exec=lxqt-config-notificationd
Icon=preferences-desktop-theme
-Categories=Settings;DesktopSettings;Qt;LXQt;
-OnlyShowIn=LXQt;LXDE;
+Categories=Settings;DesktopSettings;Qt;X-LXQt;
+OnlyShowIn=X-LXQt;LXDE;
#TRANSLATIONS_DIR=translations

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:720b6cca74ff5c0433b39feb3040cc25cd6fdcbdfe51186cefac7a42e157999b
size 38336

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f33f8086319ed9d4cffddaed76925db5d79716e90d1112e5b124c95594a74b24
size 37052

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Feb 9 20:02:11 UTC 2015 - sfalken@opensuse.org
- New upstream version 0.9.0
- Added -lang subpackage
- Added patch
+ fix_desktop_file.patch
-------------------------------------------------------------------
Sun Jan 25 23:39:27 UTC 2015 - sfalken@opensuse.org

View File

@ -17,18 +17,22 @@
Name: lxqt-notificationd
Version: 0.8.0
Version: 0.9.0
Release: 0
Summary: Global keyboard shortcuts Tools
License: LGPL-2.1+
Group: System/GUI/LXDE-Qt
Url: http://www.lxde.org
Source: %{name}-%{version}.tar.xz
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
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig(Qt5Xdg)
BuildRequires: pkgconfig(lxqt-qt5) >= 0.8.0
BuildRequires: kwindowsystem-devel
BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: pkgconfig(Qt5Xdg)
BuildRequires: pkgconfig(lxqt) >= %{version}
Requires(pre): desktop-file-utils
Requires(post): desktop-file-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -36,14 +40,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Daemon and library for global keyboard shortcuts regustration
%lang_package
%prep
%setup -q
%patch0 -p1
%build
mkdir build
pushd build
cmake \
-DUSE_QT5=ON \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
..
%__make %{?_smp_mflags}
@ -53,6 +59,7 @@ popd
pushd build
make DESTDIR=$RPM_BUILD_ROOT install
popd
%fdupes -s %{buildroot}%{_datadir}
%post
%desktop_database_post
@ -67,4 +74,8 @@ popd
%{_bindir}/lxqt-config-notificationd
%{_datadir}/applications/lxqt-config-notificationd.desktop
%files -n %{name}-lang
%defattr(-,root,root)
%{_datadir}/lxqt/translations
%changelog