File lxqt-menu-data.spec of Package lxqt-menu-data

#
# spec file for package lxqt-menu-data
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           lxqt-menu-data
Version:        1.4.1+git8.22fa7ff
Release:        0
Summary:        FD.O compliant menu files for LXQt
License:        LGPL-2.1-or-later
URL:            http://lxqt.org
Source:         %{name}-%{version}.tar.xz
BuildArch:	    noarch
BuildRequires:  cmake >= 3.1.0
BuildRequires:  cmake(Qt6LinguistTools)
BuildRequires:  cmake(lxqt2-build-tools) >= 0.13.0

%description
Freedesktop.org compliant menu files for LXQt Panel, Configuration Center and PCManFM-Qt/libfm-qt.

%package -n %{name}-devel
Summary:	Development files for %{name}
Group:		Development/Libraries/C and C++
BuildArch:	noarch
Requires:	%{name} >= %{version}
Requires:	cmake

%description -n %{name}-devel
lxqt-menu-data libraries for development

%prep
%autosetup -p1

%build
%cmake_qt6
%{qt6_build}

%install
%{qt6_install}

%files
%license LICENSE
%doc README.md
%dir %{_sysconfdir}/xdg/menus
%config %{_sysconfdir}/xdg/menus/*.menu
%dir %{_datadir}/desktop-directories
%{_datadir}/desktop-directories/*.directory

%files -n %{name}-devel
%dir %{_datadir}/cmake/%{name}
%{_datadir}/cmake/%{name}/*.cmake

%changelog

openSUSE Build Service is sponsored by