lxqt-panel/lxqt-panel.spec

149 lines
4.3 KiB
RPMSpec

Name: lxqt-panel
Version: 1.0.0
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: libICE-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libQt5X11Extras-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: 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
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: lxmenu-data
Requires: pavucontrol-qt
%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/libcustomcommand.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
* Wed Nov 24 2021 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Tue Apr 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17.1-2mamba
- require pavucontrol-qt
* Sun Apr 18 2021 Automatic Build System <autodist@mambasoft.it> 0.17.1-1mamba
- automatic version update by autodist
* Mon Nov 09 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
* Fri Oct 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-2mamba
- require lxmenu-data
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-1mamba
- package created using the webbuild interface