liblxqt/liblxqt.spec

128 lines
3.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: liblxqt
Version: 2.1.0
Release: 2mamba
Summary: The core library of LXQt providing essential functionality needed by nearly all of its components
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/lxqt/liblxqt
Source: https://github.com/lxqt/liblxqt.git/%{version}/liblxqt-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6DBus
BuildRequires: libQt6Gui
BuildRequires: libQt6Widgets
BuildRequires: libQt6Xml
BuildRequires: libX11-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libkf6-kwindowsystem-devel
BuildRequires: libqtxdg-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtsvg-devel
## AUTOBUILDREQ-END
BuildRequires: libpolkit-qt6-1-devel
BuildRequires: cmake
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description
liblxqt represents the core library of LXQt providing essential functionality needed by nearly all of its components.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Graphical Desktop/Applications/Environment
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name} --with-qt
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/liblxqt.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/lxqt
%dir %{_includedir}/lxqt/LXQt
%{_includedir}/lxqt/LXQt/*
%{_libdir}/liblxqt.so
%{_libdir}/pkgconfig/lxqt.pc
%dir %{_datadir}/cmake/lxqt
%{_datadir}/cmake/lxqt/lxqt-*.cmake
%doc README.md
%files tools -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/lxqt-backlight_backend
%{_datadir}/polkit-1/actions/org.lxqt.backlight.pkexec.policy
%{_datadir}/lxqt/power.conf
%changelog
* Sat Nov 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-2mamba
- use %find_lang macro
* Fri Nov 08 2024 Automatic Build System <autodist@openmamba.org> 2.1.0-1mamba
- automatic version update by autodist
* Wed Apr 24 2024 Automatic Build System <autodist@openmamba.org> 2.0.0-1mamba
- automatic version update by autodist
* Sun Nov 05 2023 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Tue Apr 18 2023 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Thu Nov 10 2022 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Tue Apr 19 2022 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Fri Nov 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0
* Sat Apr 17 2021 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
- automatic version update by autodist
* Sun Nov 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.0-1mamba
- update to 0.16.0
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-1mamba
- package created using the webbuild interface