%define __cmake_in_source_build 1 Name: lxqt-notificationd Summary: Notification daemon for LXQt desktop suite Version: 1.1.0 Release: 2%{?dist} License: LGPLv2+ URL: http://lxqt.org/ Source0: https://github.com/lxqt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Source1: notifications.conf BuildRequires: make BuildRequires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.1.0 BuildRequires: pkgconfig(Qt5Help) BuildRequires: pkgconfig(Qt5Xdg) BuildRequires: pkgconfig(lxqt) >= 1.0.0 BuildRequires: kf5-kwindowsystem-devel >= 5.5 BuildRequires: desktop-file-utils BuildRequires: pkgconfig(glib-2.0) %if 0%{?el7} BuildRequires: devtoolset-7-gcc-c++ %endif %description %{summary}. %package l10n BuildArch: noarch Summary: Translations for lxqt-notificationd Requires: lxqt-notificationd %description l10n This package provides translations for the lxqt-notificationd package. %prep %setup -q %build %if 0%{?el7} scl enable devtoolset-7 - <<\EOF %endif %{cmake_lxqt} -DUSE_QT5=TRUE -DPULL_TRANSLATIONS=NO .. make %{?_smp_mflags} -C %{_vpath_builddir} %if 0%{?el7} EOF %endif %install make install/fast DESTDIR=%{buildroot} -C %{_vpath_builddir} desktop-file-edit --remove-category=LXQt --add-category=X-LXQt \ --remove-only-show-in=LXQt --add-only-show-in=X-LXQt %{buildroot}%{_datadir}/applications/lxqt-config-notificationd.desktop mkdir -p %{buildroot}%{_sysconfdir}/lxqt/ install -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/lxqt/ %find_lang lxqt-notificationd --with-qt %find_lang lxqt-config-notificationd --with-qt %files %{_bindir}/lxqt-notificationd %{_bindir}/lxqt-config-notificationd %{_datadir}/applications/lxqt-config-notificationd.desktop %{_sysconfdir}/xdg/autostart/lxqt-notifications.desktop %{_sysconfdir}/lxqt/notifications.conf %files l10n -f lxqt-notificationd.lang -f lxqt-config-notificationd.lang %license LICENSE %doc AUTHORS CHANGELOG README.md %dir %{_datadir}/lxqt/translations/lxqt-notificationd %{_datadir}/lxqt/translations/lxqt-notificationd/lxqt-notificationd_arn.qm %{_datadir}/lxqt/translations/lxqt-notificationd/lxqt-notificationd_ast.qm %dir %{_datadir}/lxqt/translations/lxqt-config-notificationd %{_datadir}/lxqt/translations/lxqt-config-notificationd/lxqt-config-notificationd_arn.qm %{_datadir}/lxqt/translations/lxqt-config-notificationd/lxqt-config-notificationd_ast.qm %changelog * Thu Jul 21 2022 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 16 2022 Zamir SUN - 1.1.0-1 - new version * Thu Jan 20 2022 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 25 2021 Zamir SUN - 1.0.0-1 - Update to 1.0.0 * Sat Aug 07 2021 Zamir SUN - 0.17.0-1 - Update to 0.17.0 * Thu Aug 05 2021 Zamir SUN - 0.16.0-4 - Fix FTBFS - Fixes RHBZ#1987693 * Thu Jul 22 2021 Fedora Release Engineering - 0.16.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 23 2020 Zamir SUN - 0.16.0-1 - Update to 0.16.0 * Tue Jul 28 2020 Fedora Release Engineering - 0.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 03 2020 Zamir SUN - 0.15.0-1 - Update to 0.15.0 * Wed Jan 29 2020 Fedora Release Engineering - 0.14.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Apr 15 2019 Zamir SUN - 0.14.1-1 - Update to version 0.14.1 * Wed Feb 13 2019 Zamir SUN - 0.14.0-2 - Add default config for Fedora * Wed Feb 13 2019 Zamir SUN - 0.14.0-1 - Prepare for LXQt 0.14.0 * Fri Feb 01 2019 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Aug 03 2018 Zamir SUN - 0.13.0-1 - Update to version 0.13.0 * Fri Jul 13 2018 Fedora Release Engineering - 0.11.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.11.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.11.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.11.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.11.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jan 19 2017 Christian Dersch - 0.11.1-3 - rebuilt * Wed Jan 18 2017 Christian Dersch - 0.11.1-2 - moved translations to lxqt-l10n * Sat Jan 07 2017 Christian Dersch - 0.11.1-1 - new version * Sun Sep 25 2016 Helio Chissini de Castro - 0.11.0-1 - New upstream release 0.11.0 * Thu Feb 04 2016 Fedora Release Engineering - 0.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jan 18 2016 Helio Chissini de Castro - 0.10.0-3 - Remove last missing conflicts/obsoletes with razorqt * Wed Dec 09 2015 Helio Chissini de Castro - 0.10.0-2 - Use new cmake_lxqt infra * Mon Nov 02 2015 Helio Chissini de Castro - 0.10.0-1 - New upstream release * Wed Jun 17 2015 Fedora Release Engineering - 0.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.9.0-5 - Rebuilt for GCC 5 C++11 ABI change * Wed Feb 18 2015 Helio Chissini de Castro - 0.9.0-4 - Rebuild (gcc5) * Tue Feb 10 2015 Helio Chissini de Castro - 0.9.0-3 - Obsoletes razorqt-notifications * Mon Feb 09 2015 Helio Chissini de Castro - 0.9.0-2 - Proper add locale for Qt tm files * Sun Feb 08 2015 Helio Chissini de Castro - 0.9.0-1 - New upstream release 0.9.0 * Tue Feb 03 2015 Helio Chissini de Castro - 0.9.0-0.1 - Preparing for 0.9.0 * Mon Dec 29 2014 Helio Chissini de Castro - 0.8.0-5 - Rebuild against new Qt 5.4.0 * Sun Dec 21 2014 Helio Chissini de Castro - 0.8.0-4 - Unify naming as discussed on Fedora IRC * Mon Nov 10 2014 Helio Chissini de Castro - 0.8.0-3 - Fix for review issues in https://bugzilla.redhat.com/show_bug.cgi?id=1159044 * Thu Oct 30 2014 Helio Chissini de Castro - 0.8.0-2 - Fix buildreqs * Mon Oct 27 2014 Helio Chissini de Castro - 0.8.0-1 - First release to LxQt new base