lxqt-config/lxqt-config.spec

101 lines
3.1 KiB
RPMSpec

Name: lxqt-config
Version: 1.1.0
Release: 1mamba
Summary: Several tools involved in the configuration of both LXQt and the underlying operating system
Group: Graphical Desktop/Applications/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/lxqt/lxqt-config
Source: https://github.com/lxqt/lxqt-config.git/%{version}/lxqt-config-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libQt5X11Extras-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXcursor-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXi-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libkscreen-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: liblxqt-devel
BuildRequires: libqtxdg-devel
BuildRequires: libstdc++6-devel
BuildRequires: libudev-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: xf86-input-libinput
%description
Several tools involved in the configuration of both LXQt and the underlying operating system.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
find %{buildroot}%{_datadir}/*/translations/ -name *.qm | \
while read line; do
bn=`echo ${line}|cut -d_ -f2-3`
echo "%lang(${bn/.*}) ${line/*-root}" >> %{name}.lang
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/menus/lxqt-config.menu
%{_bindir}/lxqt-config
%{_bindir}/lxqt-config-appearance
%{_bindir}/lxqt-config-brightness
%{_bindir}/lxqt-config-file-associations
%{_bindir}/lxqt-config-input
%{_bindir}/lxqt-config-locale
%{_bindir}/lxqt-config-monitor
%{_libdir}/lxqt-config/liblxqt-config-cursor.so
%{_datadir}/applications/lxqt-config*.desktop
%{_datadir}/desktop-directories/lxqt-settings-*.directory
%{_datadir}/icons/hicolor/48x48/apps/brightnesssettings.svg
%{_datadir}/lxqt/icons/monitor.svg
%{_mandir}/man1/lxqt-config-appearance.1*
%{_mandir}/man1/lxqt-config-mouse.1*
%{_mandir}/man1/lxqt-config.1*
%doc AUTHORS LICENSE
%changelog
* Tue Apr 19 2022 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Tue Nov 23 2021 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Sat Apr 17 2021 Automatic Build System <autodist@mambasoft.it> 0.17.1-1mamba
- automatic version update by autodist
* Sun Nov 15 2020 Automatic Build System <autodist@mambasoft.it> 0.16.1-1mamba
- automatic version update by autodist
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
- automatic version update by autodist
* Sat Oct 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-1mamba
- package created using the webbuild interface