diff --git a/fix_desktop_file.patch b/fix_desktop_file.patch new file mode 100644 index 0000000..934c4f0 --- /dev/null +++ b/fix_desktop_file.patch @@ -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 diff --git a/lxqt-notificationd-0.8.0.tar.xz b/lxqt-notificationd-0.8.0.tar.xz deleted file mode 100644 index c84834b..0000000 --- a/lxqt-notificationd-0.8.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:720b6cca74ff5c0433b39feb3040cc25cd6fdcbdfe51186cefac7a42e157999b -size 38336 diff --git a/lxqt-notificationd-0.9.0.tar.xz b/lxqt-notificationd-0.9.0.tar.xz new file mode 100644 index 0000000..7c477fb --- /dev/null +++ b/lxqt-notificationd-0.9.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f33f8086319ed9d4cffddaed76925db5d79716e90d1112e5b124c95594a74b24 +size 37052 diff --git a/lxqt-notificationd.changes b/lxqt-notificationd.changes index be6b96a..b3b33f0 100644 --- a/lxqt-notificationd.changes +++ b/lxqt-notificationd.changes @@ -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 diff --git a/lxqt-notificationd.spec b/lxqt-notificationd.spec index 6a3383a..97e0357 100644 --- a/lxqt-notificationd.spec +++ b/lxqt-notificationd.spec @@ -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