liblxqt/liblxqt.spec

117 lines
3.3 KiB
RPMSpec

Name: liblxqt
Version: 1.3.0
Release: 1mamba
Summary: The core library of LXQt providing essential functionality needed by nearly all of its components
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/lxqt/liblxqt
Source: https://github.com/lxqt/liblxqt.git/%{version}/liblxqt-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libQt5X11Extras-devel
BuildRequires: libX11-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libqtxdg-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: libpolkit-qt5-1-devel
BuildRequires: cmake
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description
liblxqt represents the core library of LXQt providing essential functionality needed by nearly all of its components.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Graphical Desktop/Applications/Environment
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
find %{buildroot}/usr/share/*/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 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/liblxqt.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/lxqt
%dir %{_includedir}/lxqt/LXQt
%{_includedir}/lxqt/LXQt/*
%{_libdir}/liblxqt.so
%{_libdir}/pkgconfig/lxqt.pc
%dir %{_datadir}/cmake/lxqt
%{_datadir}/cmake/lxqt/lxqt-*.cmake
%doc README.md
%files tools -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/lxqt-backlight_backend
%{_datadir}/polkit-1/actions/org.lxqt.backlight.pkexec.policy
%{_datadir}/lxqt/power.conf
%changelog
* Tue Apr 18 2023 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Thu Nov 10 2022 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Tue Apr 19 2022 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Fri Nov 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0
* Sat Apr 17 2021 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
- automatic version update by autodist
* Sun Nov 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.0-1mamba
- update to 0.16.0
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-1mamba
- package created using the webbuild interface