From 26006a086cdf36699559abd6cedd4eaa4af30972 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:36:29 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.15.1-1mamba;Fri Oct 02 2020] --- README.md | 3 ++ lxqt-panel.spec | 127 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 130 insertions(+) create mode 100644 lxqt-panel.spec diff --git a/README.md b/README.md index c86dbd4..310e68a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # lxqt-panel +lxqt-panel represents the taskbar of LXQt. + + diff --git a/lxqt-panel.spec b/lxqt-panel.spec new file mode 100644 index 0000000..cb0ff43 --- /dev/null +++ b/lxqt-panel.spec @@ -0,0 +1,127 @@ +Name: lxqt-panel +Version: 0.15.1 +Release: 1mamba +Summary: The taskbar of the LXQt desktop environment +Group: Graphical Desktop/Applications/Environment +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lxqt/lxqt-panel +Source: https://github.com/lxqt/lxqt-panel.git/%{version}/lxqt-panel-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libICE-devel +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXdamage-devel +BuildRequires: libXext-devel +BuildRequires: libXfixes-devel +BuildRequires: libXrender-devel +BuildRequires: libalsa-devel +BuildRequires: libdbusmenu-qt5-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libkwindowsystem-devel +BuildRequires: liblxqt-devel +BuildRequires: liblxqt-globalkeys-devel +BuildRequires: libpulseaudio-devel +BuildRequires: libqt5-devel +BuildRequires: libqtxdg-devel +BuildRequires: libsensors-devel +BuildRequires: libsolid-devel +BuildRequires: libstatgrab-devel +BuildRequires: libstdc++6-devel +BuildRequires: libsysstat-devel +BuildRequires: libxcb-devel +BuildRequires: libxcb-util-devel +BuildRequires: libxkbcommon-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +lxqt-panel represents the taskbar of LXQt. + + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +find %{buildroot}/usr/share/lxqt/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}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(-,root,root) +%{_sysconfdir}/xdg/autostart/lxqt-panel.desktop +%{_sysconfdir}/xdg/menus/lxqt-applications.menu +%{_bindir}/lxqt-panel +%{_datadir}/desktop-directories/lxqt-leave.directory +%{_datadir}/desktop-directories/lxqt-settings.directory +%dir %{_datadir}/lxqt/lxqt-panel +%{_datadir}/lxqt/lxqt-panel/*.desktop +%{_datadir}/lxqt/panel.conf +%{_mandir}/man1/lxqt-panel.1* +%doc AUTHORS LICENSE + +%files -n lib%{name} +%defattr(-,root,root) +%dir %{_libdir}/lxqt-panel +%{_libdir}/lxqt-panel/libbacklight.so +%{_libdir}/lxqt-panel/libcolorpicker.so +%{_libdir}/lxqt-panel/libcpuload.so +%{_libdir}/lxqt-panel/libdirectorymenu.so +%{_libdir}/lxqt-panel/libkbindicator.so +%{_libdir}/lxqt-panel/libmount.so +%{_libdir}/lxqt-panel/libnetworkmonitor.so +%{_libdir}/lxqt-panel/libsensors.so +%{_libdir}/lxqt-panel/libsysstat.so +%{_libdir}/lxqt-panel/libvolume.so + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/lxqt +%{_includedir}/lxqt/*.h +%doc README.md + + +%changelog +* Fri Oct 02 2020 Silvan Calarco 0.15.1-1mamba +- package created using the webbuild interface