ukui-notification-daemon/ukui-notification-daemon.spec

99 lines
2.9 KiB
RPMSpec
Raw Normal View History

2020-11-12 09:53:12 +08:00
Name: ukui-notification-daemon
Version: 3.3.1
Release: 6
2020-11-12 09:53:12 +08:00
Summary: daemon to display passive popup notifications
License: GPL-3+
URL: https://github.com/ukui/ukui-notification-daemon
Source0: %{name}-%{version}.tar.gz
2022-12-29 22:02:14 -05:00
Patch01: 0001-add-translations-file.patch
Patch02: 0002-fix-ukui-notification-daemon-SIGSEGV.patch
Patch03: 0001-fix-wrong-assignment-operator-implementation.patch
2020-11-12 09:53:12 +08:00
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtsvg-devel
BuildRequires: qt5-qttools-devel
BuildRequires: dconf-devel
BuildRequires: glib2-devel
BuildRequires: gsettings-qt-devel
BuildRequires: libX11-devel
2022-03-02 14:10:40 +08:00
BuildRequires: libcanberra-devel
BuildRequires: ukui-interface
2021-02-04 15:29:03 +08:00
2020-11-12 09:53:12 +08:00
Requires: gsettings-qt
Requires: libX11
Requires: dconf
2021-02-04 15:29:03 +08:00
Provides: desktop-notification-daemon
2020-11-12 09:53:12 +08:00
%description
daemon to display passive popup notifications
ukui-notification-daemon displays passive popup notifications, as per
the Desktop Notifications Specification.
The Desktop Notifications Specification provides a standard way of
doing passive popup notifications on the Linux desktop. These are
designed to notify the user of something without interrupting their
work with a dialog box that they must close. Passive popups can
automatically disappear after a short period of time, as per the
Desktop Notifications spec.
%prep
%setup -q
%patch -p1 1
%patch -p1 2
%patch -p1 3
2020-11-12 09:53:12 +08:00
%build
export PATH=%{_qt5_bindir}:$PATH
mkdir qmake-build
pushd qmake-build
%{qmake_qt5} ..
%{make_build}
popd
%install
pushd qmake-build
%{make_install} INSTALL_ROOT=%{buildroot}
2022-12-29 22:02:14 -05:00
popd
2020-11-12 09:53:12 +08:00
2022-03-02 14:10:40 +08:00
2020-11-12 09:53:12 +08:00
%files
%doc debian/changelog
%license debian/copyright
2022-03-02 14:10:40 +08:00
%{_prefix}/lib/ukui-notification-daemon/ukui-notifications
2020-11-12 09:53:12 +08:00
%{_datadir}/dbus-1/services/org.ukui.freedesktop.Notification.service
%{_datadir}/glib-2.0/schemas/org.ukui.notification.gschema.xml
2022-03-02 14:10:40 +08:00
%{_datadir}/glib-2.0/schemas/org.ukui.log4qt.ukui-notification.gschema.xml
2022-12-29 22:02:14 -05:00
%{_datadir}/ukui-notification-daemon/ukui-notification-daemon_zh_CN.qm
2020-11-12 09:53:12 +08:00
%changelog
* Thu Apr 25 2024 houhongxun <houhongxun@kylinos.cn> - 3.3.1-6
- fix wrong assignment operator implementaion
* Fri Jul 21 2023 peijiankang <peijiankang@kylinos.cn> - 3.3.1-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add Patch2: 0002-fix-ukui-notification-daemon-SIGSEGV.patch
* Tue Mar 14 2023 douyan <douyan@kylinos.cn> - 3.3.1-4
- add Provides: desktop-notification-daemon
2023-02-07 14:28:47 +08:00
* Tue Feb 07 2023 tanyulong <tanyulong@kylinos.cn> - 3.3.1-3
- Enable debuginfo for fix strip
2022-12-29 22:02:14 -05:00
* Fri Dec 30 2022 lvfei <lvfei@kylinos.cn> - 3.3.1-2
- add patch :0001-add-translations-file.patch
* Thu Nov 10 2022 douyan <douyan@kylinos.cn> - 3.3.1-1
- update to upstream version 3.3.1.0225.1
2022-03-02 14:10:40 +08:00
* Wed Mar 02 2022 tanyulong <tanyulong@kylinos.cn> - 1.0.4-1
- update to uptream version 1.0.4
2021-02-04 15:29:03 +08:00
* Thu Feb 4 2021 lvhan <lvhan@kylinos.cn> - 1.0.1-2
- update to upstream version 1.0.1-1
* Wed Nov 11 2020 douyan <douyan@kylinos.cn> - 1.0.1-1
2022-03-02 14:10:40 +08:00
- update to upstream version 1.0.0-1+1031