2014-11-06 16:50:05 +01:00
|
|
|
#
|
|
|
|
# spec file for package lxqt-notificationd
|
|
|
|
#
|
2021-04-16 11:54:44 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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.
|
|
|
|
|
2020-01-27 11:36:58 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-11-06 16:50:05 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: lxqt-notificationd
|
2021-11-08 10:48:04 +01:00
|
|
|
Version: 1.0.0
|
2014-11-06 16:50:05 +01:00
|
|
|
Release: 0
|
2016-07-31 20:30:19 +02:00
|
|
|
Summary: LXQt Notification daemon
|
2018-05-22 17:03:38 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2016-09-24 23:11:07 +02:00
|
|
|
Group: System/GUI/LXQt
|
2018-05-22 17:03:38 +02:00
|
|
|
URL: http://www.lxqt.org
|
|
|
|
Source: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
2016-09-24 23:11:07 +02:00
|
|
|
Source2: %{name}.keyring
|
2019-01-31 11:09:58 +01:00
|
|
|
BuildRequires: cmake >= 3.1.0
|
2015-02-16 21:12:00 +01:00
|
|
|
BuildRequires: fdupes
|
2014-11-06 16:50:05 +01:00
|
|
|
BuildRequires: gcc-c++
|
2021-11-08 10:48:04 +01:00
|
|
|
BuildRequires: lxqt-build-tools-devel >= 0.10.0
|
2018-05-22 17:03:38 +02:00
|
|
|
BuildRequires: pkgconfig
|
2020-11-04 14:42:04 +01:00
|
|
|
BuildRequires: cmake(KF5WindowSystem) >= 5.36.0
|
2021-11-08 10:48:04 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5UiTools) >= 5.15.0
|
2015-02-16 21:12:00 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Xdg)
|
2020-01-27 11:36:58 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2017-10-23 13:06:42 +02:00
|
|
|
BuildRequires: pkgconfig(lxqt) >= %{version}
|
2016-09-24 23:11:07 +02:00
|
|
|
Recommends: %{name}-lang
|
2014-11-06 16:50:05 +01:00
|
|
|
|
|
|
|
%description
|
2016-07-31 20:30:19 +02:00
|
|
|
The LXQt Notification daemon
|
2014-11-06 16:50:05 +01:00
|
|
|
|
2019-01-31 11:09:58 +01:00
|
|
|
%lang_package
|
|
|
|
|
2014-11-06 16:50:05 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2015-11-13 23:35:53 +01:00
|
|
|
# Changing LXQt into X-LXQt in desktop files to be freedesktop compliant and shut rpmlint warnings
|
|
|
|
#find -name '*desktop.in*' -exec sed -ri 's/(LXQt;)/X-\1/' {} +
|
2014-11-06 16:50:05 +01:00
|
|
|
|
|
|
|
%build
|
2016-09-24 23:11:07 +02:00
|
|
|
%cmake -DPULL_TRANSLATIONS=No
|
2015-11-13 23:35:53 +01:00
|
|
|
make %{?_smp_mflags}
|
2014-11-06 16:50:05 +01:00
|
|
|
|
|
|
|
%install
|
2015-02-25 02:17:30 +01:00
|
|
|
%cmake_install
|
2015-02-16 21:12:00 +01:00
|
|
|
%fdupes -s %{buildroot}%{_datadir}
|
2014-11-06 16:50:05 +01:00
|
|
|
|
2019-01-31 11:09:58 +01:00
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
|
2014-11-06 16:50:05 +01:00
|
|
|
%files
|
2018-05-22 17:03:38 +02:00
|
|
|
%license LICENSE
|
|
|
|
%doc AUTHORS README.md
|
2014-11-06 16:50:05 +01:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/lxqt-config-notificationd
|
|
|
|
%{_datadir}/applications/lxqt-config-notificationd.desktop
|
2017-10-23 13:06:42 +02:00
|
|
|
%{_sysconfdir}/xdg/autostart/lxqt-notifications.desktop
|
2014-11-06 16:50:05 +01:00
|
|
|
|
2019-01-31 11:09:58 +01:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%dir %{_datadir}/lxqt
|
|
|
|
%dir %{_datadir}/lxqt/translations
|
|
|
|
%dir %{_datadir}/lxqt/translations/lxqt-notificationd
|
|
|
|
%{_datadir}/lxqt/translations/lxqt-config-notificationd
|
2020-04-25 15:49:52 +02:00
|
|
|
%{_datadir}/lxqt/translations/lxqt-notificationd/*
|
2019-01-31 11:09:58 +01:00
|
|
|
|
2014-11-06 16:50:05 +01:00
|
|
|
%changelog
|