This commit is contained in:
parent
31486f1020
commit
3c589f67a0
24
neochat.spec
24
neochat.spec
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%define _kf5_version 5.88.0
|
||||
%bcond_without lang
|
||||
%bcond_without released
|
||||
Name: neochat
|
||||
Version: 23.01.0
|
||||
Release: 0
|
||||
@ -26,7 +26,7 @@ License: GPL-3.0-or-later AND GPL-3.0-only AND BSD-2-Clause
|
||||
Group: Productivity/Networking/Instant Messenger
|
||||
URL: https://apps.kde.org/neochat/
|
||||
Source0: https://download.kde.org/stable/plasma-mobile/%{version}/%{name}-%{version}.tar.xz
|
||||
%if %{with lang}
|
||||
%if %{with released}
|
||||
Source1: https://download.kde.org/stable/plasma-mobile/%{version}/%{name}-%{version}.tar.xz.sig
|
||||
Source2: %{name}.keyring
|
||||
%endif
|
||||
@ -36,6 +36,7 @@ BuildRequires: extra-cmake-modules >= %{_kf5_version}
|
||||
BuildRequires: fdupes
|
||||
%if 0%{?suse_version} == 1500
|
||||
BuildRequires: gcc10-c++
|
||||
BuildRequires: gcc10-PIE
|
||||
%endif
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: pkgconfig
|
||||
@ -92,33 +93,30 @@ messaging.
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%if %{with lang}
|
||||
%find_lang %{name} --all-name
|
||||
%endif
|
||||
%find_lang %{name} --all-name
|
||||
|
||||
%files
|
||||
%attr(0644, root, root) %license LICENSES/*
|
||||
%license LICENSES/*
|
||||
%doc README*
|
||||
%doc %lang(en) %{_kf5_mandir}/man1/neochat.1%{?ext_man}
|
||||
%doc %lang(ca) %{_kf5_mandir}/ca/man1/neochat.1%{?ext_man}
|
||||
%doc %lang(es) %{_kf5_mandir}/es/man1/neochat.1%{?ext_man}
|
||||
%doc %lang(it) %{_kf5_mandir}/it/man1/neochat.1%{?ext_man}
|
||||
%doc %lang(nl) %{_kf5_mandir}/nl/man1/neochat.1%{?ext_man}
|
||||
%doc %lang(uk) %{_kf5_mandir}/uk/man1/neochat.1%{?ext_man}
|
||||
%{_kf5_bindir}/neochat
|
||||
%{_kf5_applicationsdir}/org.kde.neochat.desktop
|
||||
%dir %{_kf5_sharedir}/krunner/
|
||||
%dir %{_kf5_sharedir}/krunner/dbusplugins/
|
||||
%{_kf5_sharedir}/krunner/dbusplugins/plasma-runner-neochat.desktop
|
||||
%{_kf5_iconsdir}/hicolor/scalable/apps/org.kde.neochat.svg
|
||||
%{_kf5_applicationsdir}/org.kde.neochat.desktop
|
||||
%{_kf5_appstreamdir}/org.kde.neochat.appdata.xml
|
||||
%{_kf5_bindir}/neochat
|
||||
%{_kf5_iconsdir}/hicolor/*/apps/org.kde.neochat.svg
|
||||
%{_kf5_iconsdir}/hicolor/scalable/apps/org.kde.neochat.tray.svg
|
||||
%{_kf5_appstreamdir}/org.kde.neochat.appdata.xml
|
||||
%{_kf5_notifydir}/neochat.notifyrc
|
||||
%{_kf5_sharedir}/krunner/dbusplugins/plasma-runner-neochat.desktop
|
||||
|
||||
%if %{with lang}
|
||||
%files lang -f %{name}.lang
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user