package created using the webbuild interface [release 0.15.1-1mamba;Fri Oct 02 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 06:36:29 +01:00
parent ff1a9aeee8
commit 26006a086c
2 changed files with 130 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# lxqt-panel # lxqt-panel
lxqt-panel represents the taskbar of LXQt.

127
lxqt-panel.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.15.1-1mamba
- package created using the webbuild interface