1 |
%define rel 1 |
2 |
|
3 |
Name: lxqt-about |
4 |
Version: 2.0.0 |
5 |
Release: %mkrel %{rel} |
6 |
Summary: About application for the LXQt desktop |
7 |
License: LGPLv2+ |
8 |
Group: Graphical desktop/KDE |
9 |
URL: https://lxqt-project.org/ |
10 |
Source0: https://github.com/lxqt/lxqt-about/releases/download/%{version}/%{name}-%{version}.tar.xz |
11 |
|
12 |
BuildRequires: cmake |
13 |
BuildRequires: locales |
14 |
BuildRequires: cmake(lxqt) |
15 |
BuildRequires: cmake(Qt6Core) |
16 |
BuildRequires: cmake(Qt6Help) |
17 |
|
18 |
%description |
19 |
About application for the LXQt desktop. |
20 |
|
21 |
%files |
22 |
%{_bindir}/lxqt-about |
23 |
%{_datadir}/applications/lxqt-about.desktop |
24 |
%{_datadir}/lxqt/translations/lxqt-about/ |
25 |
%{_iconsdir}/hicolor/scalable/apps/lxqt-about.svg |
26 |
|
27 |
#-------------------------------------------------------------------- |
28 |
|
29 |
%prep |
30 |
%setup -q %{name}-%{version} |
31 |
|
32 |
%build |
33 |
%cmake_qt6 |
34 |
LC_ALL=UTF-8 \ |
35 |
%cmake_build |
36 |
|
37 |
%install |
38 |
%cmake_install |
39 |
|
40 |
desktop-file-edit --remove-category="Help" \ |
41 |
--add-category="Documentation" \ |
42 |
--add-category="Utility" \ |
43 |
%{buildroot}%{_datadir}/applications/%{name}.desktop |
44 |
|