libdbusmenu-lxqt/libdbusmenu-lxqt.spec

69 lines
1.7 KiB
RPMSpec

Name: libdbusmenu-lxqt
Version: 0.1.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: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-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}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%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 README
%changelog
* Fri Apr 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
- package created using the webbuild interface