87 lines
2.5 KiB
RPMSpec
87 lines
2.5 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: qt5-qtx11extras
|
|
Version: 5.15.7
|
|
Release: 1mamba
|
|
Summary: Qt5 X11 extras components
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.qt.io/
|
|
Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtx11extras-everywhere-opensource-src-%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglvnd-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: qt5-qtbase-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
Qt5 X11 extras components.
|
|
|
|
%package -n libQt5X11Extras
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n libQt5X11Extras
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n libQt5X11Extras-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: libQt5X11Extras = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description -n libQt5X11Extras-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n qtx11extras-everywhere-src-%{version}
|
|
|
|
%build
|
|
%_qt5_qmake
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n libQt5X11Extras -p /sbin/ldconfig
|
|
%postun -n libQt5X11Extras -p /sbin/ldconfig
|
|
|
|
%files -n libQt5X11Extras
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libQt5X11Extras.so.*
|
|
%doc LICENSE.*
|
|
|
|
%files -n libQt5X11Extras-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/qt5/QtX11Extras
|
|
%{_includedir}/qt5/QtX11Extras/*
|
|
%{_libdir}/libQt5X11Extras.prl
|
|
%{_libdir}/libQt5X11Extras.so
|
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_x11extras.pri
|
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_x11extras_private.pri
|
|
%dir %{_libdir}/cmake/Qt5X11Extras
|
|
%{_libdir}/cmake/Qt5X11Extras/Qt5X11Extras*.cmake
|
|
%{_libdir}/pkgconfig/Qt5X11Extras.pc
|
|
|
|
%changelog
|
|
* Mon Nov 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.7-1mamba
|
|
- update to 5.15.7
|
|
|
|
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
|
|
- bump release to allow updating monolithic release
|
|
|
|
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
|
|
- package created using the webbuild interface
|