libdbusmenu-lxqt/libdbusmenu-lxqt.spec

72 lines
1.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: libdbusmenu-lxqt
Version: 0.2.0
Release: 1mamba
Summary: A Qt implementation of the DBusMenu protocol
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/lxqt/libdbusmenu-lxqt
Source: https://github.com/lxqt/libdbusmenu-lxqt.git/%{version}/libdbusmenu-lxqt-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6DBus
BuildRequires: libQt6Gui
BuildRequires: libQt6Widgets
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
A Qt implementation of the DBusMenu protocol.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libdbusmenu-lxqt.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/dbusmenu-lxqt
%{_includedir}/dbusmenu-lxqt/dbusmenu*.h
%dir %{_libdir}/cmake/dbusmenu-lxqt
%{_libdir}/cmake/dbusmenu-lxqt/dbusmenu-lxqt-*.cmake
%{_libdir}/libdbusmenu-lxqt.so
%{_libdir}/pkgconfig/dbusmenu-lxqt.pc
%doc NEWS
%changelog
* Wed Nov 06 2024 Automatic Build System <autodist@openmamba.org> 0.2.0-1mamba
- automatic version update by autodist
* Fri Apr 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
- package created using the webbuild interface