diff --git a/README.md b/README.md index dfd9fec..42a884d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # lxqt-config +Several tools involved in the configuration of both LXQt and the underlying operating system. + diff --git a/lxqt-config.spec b/lxqt-config.spec new file mode 100644 index 0000000..7cd55b8 --- /dev/null +++ b/lxqt-config.spec @@ -0,0 +1,90 @@ +Name: lxqt-config +Version: 0.15.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 +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: ldconfig +BuildRequires: libICE-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: libqt5-devel +BuildRequires: libqtxdg-devel +BuildRequires: libstdc++6-devel +BuildRequires: libudev-devel +BuildRequires: libxcb-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: xf86-input-libinput +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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-appearance.desktop +%{_datadir}/applications/lxqt-config-brightness.desktop +%{_datadir}/applications/lxqt-config-file-associations.desktop +%{_datadir}/applications/lxqt-config-input.desktop +%{_datadir}/applications/lxqt-config-locale.desktop +%{_datadir}/applications/lxqt-config-monitor.desktop +%{_datadir}/applications/lxqt-config.desktop +%{_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 +* Sat Oct 03 2020 Silvan Calarco 0.15.0-1mamba +- package created using the webbuild interface