581fd15
Name:    lxqt-notificationd
581fd15
Summary: Notification daemon for LXQt desktop suite
b58d818
Version: 0.16.0
b58d818
Release: 1%{?dist}
581fd15
License: LGPLv2+
581fd15
URL:     http://lxqt.org/
27fab25
Source0: https://github.com/lxqt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
7573cb0
Source1: notifications.conf
f5860f3
BuildRequires: make
7573cb0
BuildRequires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.1.0
581fd15
BuildRequires: pkgconfig(Qt5Help)
581fd15
BuildRequires: pkgconfig(Qt5Xdg)
efd9a6b
BuildRequires: pkgconfig(lxqt) >= 0.15.0
dcc93b2
BuildRequires: kf5-kwindowsystem-devel >= 5.5
581fd15
BuildRequires: desktop-file-utils
efd9a6b
BuildRequires: pkgconfig(glib-2.0)
5cba78a
%if 0%{?el7}
5cba78a
BuildRequires:  devtoolset-7-gcc-c++
5cba78a
%endif
e206d1b
581fd15
%description
581fd15
%{summary}.
581fd15
7573cb0
%package l10n
efd9a6b
BuildArch:      noarch
7573cb0
Summary:        Translations for lxqt-notificationd
7573cb0
Requires:       lxqt-notificationd
7573cb0
%description l10n
7573cb0
This package provides translations for the lxqt-notificationd package.
7573cb0
581fd15
%prep
9a5ad75
%setup -q 
581fd15
581fd15
%build
5cba78a
%if 0%{?el7}
5cba78a
scl enable devtoolset-7 - <<\EOF
5cba78a
%endif
5cba78a
581fd15
mkdir -p %{_target_platform}
581fd15
pushd %{_target_platform}
4105acc
   %{cmake_lxqt} -DUSE_QT5=TRUE -DPULL_TRANSLATIONS=NO ..
581fd15
popd
581fd15
581fd15
make %{?_smp_mflags} -C %{_target_platform}
581fd15
5cba78a
%if 0%{?el7}
5cba78a
EOF
5cba78a
%endif
5cba78a
581fd15
%install
581fd15
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
581fd15
desktop-file-edit --remove-category=LXQt --add-category=X-LXQt \
581fd15
	--remove-only-show-in=LXQt --add-only-show-in=X-LXQt %{buildroot}%{_datadir}/applications/lxqt-config-notificationd.desktop
7573cb0
mkdir -p %{buildroot}%{_sysconfdir}/lxqt/
7573cb0
install -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/lxqt/
581fd15
7573cb0
%find_lang lxqt-notificationd --with-qt
7573cb0
%find_lang lxqt-config-notificationd --with-qt
581fd15
9a5ad75
%files
581fd15
%{_bindir}/lxqt-notificationd
581fd15
%{_bindir}/lxqt-config-notificationd
581fd15
%{_datadir}/applications/lxqt-config-notificationd.desktop
27fab25
%{_sysconfdir}/xdg/autostart/lxqt-notifications.desktop
7573cb0
%{_sysconfdir}/lxqt/notifications.conf
7573cb0
7573cb0
%files l10n -f lxqt-notificationd.lang -f lxqt-config-notificationd.lang
7573cb0
%license LICENSE
7573cb0
%doc AUTHORS CHANGELOG README.md
7573cb0
%dir %{_datadir}/lxqt/translations/lxqt-notificationd
efd9a6b
%{_datadir}/lxqt/translations/lxqt-notificationd/lxqt-notificationd_arn.qm
efd9a6b
%{_datadir}/lxqt/translations/lxqt-notificationd/lxqt-notificationd_ast.qm
efd9a6b
%dir %{_datadir}/lxqt/translations/lxqt-config-notificationd
efd9a6b
%{_datadir}/lxqt/translations/lxqt-config-notificationd/lxqt-config-notificationd_arn.qm
efd9a6b
%{_datadir}/lxqt/translations/lxqt-config-notificationd/lxqt-config-notificationd_ast.qm
581fd15
581fd15
%changelog
b58d818
* Mon Nov 23 2020 Zamir SUN <sztsian@gmail.com> - 0.16.0-1
b58d818
- Update to 0.16.0
b58d818
9a85d26
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-2
9a85d26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9a85d26
efd9a6b
* Sun May 03 2020 Zamir SUN <sztsian@gmail.com> - 0.15.0-1
efd9a6b
- Update to 0.15.0
efd9a6b
b38c4d2
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-3
b38c4d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b38c4d2
c359b4f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-2
c359b4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c359b4f
080da02
* Mon Apr 15 2019 Zamir SUN <sztsian@gmail.com> - 0.14.1-1
080da02
- Update to version 0.14.1
080da02
4053ed0
* Wed Feb 13 2019 Zamir SUN <zsun@fedoraproject.org>  - 0.14.0-2
4053ed0
- Add default config for Fedora
4053ed0
dad18ca
* Wed Feb 13 2019 Zamir SUN <zsun@fedoraproject.org>  - 0.14.0-1
dad18ca
- Prepare for LXQt 0.14.0
dad18ca
adf09fb
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-2
adf09fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
adf09fb
27fab25
* Fri Aug 03 2018 Zamir SUN <zsun@fedoraproject.org> - 0.13.0-1
27fab25
- Update to version 0.13.0
27fab25
443f399
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-8
443f399
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
443f399
51f8bb5
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-7
51f8bb5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
51f8bb5
92fbda1
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-6
92fbda1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
92fbda1
6808753
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-5
6808753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6808753
17460ef
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-4
17460ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
17460ef
6b40517
* Thu Jan 19 2017 Christian Dersch <lupinix@mailbox.org> - 0.11.1-3
6b40517
- rebuilt
6b40517
9a5ad75
* Wed Jan 18 2017 Christian Dersch <lupinix@mailbox.org> - 0.11.1-2
9a5ad75
- moved translations to lxqt-l10n
9a5ad75
5444a68
* Sat Jan 07 2017 Christian Dersch <lupinix@mailbox.org> - 0.11.1-1
5444a68
- new version
5444a68
4105acc
* Sun Sep 25 2016 Helio Chissini de Castro <helio@kde.org> - 0.11.0-1
4105acc
- New upstream release 0.11.0
4105acc
75ef5e3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4
75ef5e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
75ef5e3
89fb794
* Mon Jan 18 2016 Helio Chissini de Castro <helio@kde.org> - 0.10.0-3
89fb794
- Remove last missing conflicts/obsoletes with razorqt
89fb794
ab30f44
* Wed Dec 09 2015 Helio Chissini de Castro <helio@kde.org> - 0.10.0-2
ab30f44
- Use new cmake_lxqt infra
ab30f44
0f2471c
* Mon Nov 02 2015 Helio Chissini de Castro <helio@kde.org> - 0.10.0-1
0f2471c
- New upstream release
0f2471c
e2cd144
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-6
e2cd144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e2cd144
d93c55c
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.9.0-5
d93c55c
- Rebuilt for GCC 5 C++11 ABI change
d93c55c
57f77ce
* Wed Feb 18 2015 Helio Chissini de Castro <helio@kde.org> - 0.9.0-4
57f77ce
- Rebuild (gcc5)
57f77ce
e206d1b
* Tue Feb 10 2015 Helio Chissini de Castro <helio@kde.org> - 0.9.0-3
e206d1b
- Obsoletes razorqt-notifications
e206d1b
56031cd
* Mon Feb 09 2015 Helio Chissini de Castro <helio@kde.org> - 0.9.0-2
56031cd
- Proper add locale for Qt tm files
56031cd
dcc93b2
* Sun Feb 08 2015 Helio Chissini de Castro <helio@kde.org> - 0.9.0-1
dcc93b2
- New upstream release 0.9.0
dcc93b2
dcc93b2
* Tue Feb 03 2015 Helio Chissini de Castro <hcastro@redhat.com> - 0.9.0-0.1
dcc93b2
- Preparing for 0.9.0
dcc93b2
641da3e
* Mon Dec 29 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-5
641da3e
- Rebuild against new Qt 5.4.0
641da3e
581fd15
* Sun Dec 21 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-4
581fd15
- Unify naming as discussed on Fedora IRC
581fd15
581fd15
* Mon Nov 10 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-3
581fd15
- Fix for review issues in https://bugzilla.redhat.com/show_bug.cgi?id=1159044
581fd15
581fd15
* Thu Oct 30 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-2
581fd15
- Fix buildreqs
581fd15
581fd15
* Mon Oct 27 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-1
581fd15
- First release to LxQt new base