qt5-qtxmlpatterns/qt5-qtxmlpatterns.spec

90 lines
2.6 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: qt5-qtxmlpatterns
Version: 5.15.2
Release: 2mamba
Summary: Qt5 xmlpatterns component
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/qtxmlpatterns-everywhere-src-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END
%description
Qt5 xmlpatterns component.
%package -n libQt5XmlPatterns
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n libQt5XmlPatterns
This package contains shared libraries for %{name}.
%package -n libQt5XmlPatterns-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libQt5XmlPatterns = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n libQt5XmlPatterns-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n qtxmlpatterns-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 libQt5XmlPatterns -p /sbin/ldconfig
%postun -n libQt5XmlPatterns -p /sbin/ldconfig
%files -n libQt5XmlPatterns
%defattr(-,root,root)
%{_libdir}/qt5/bin/xmlpatterns
%{_libdir}/qt5/bin/xmlpatternsvalidator
%{_libdir}/libQt5XmlPatterns.so.*
%dir %{_libdir}/qt5/qml/QtQuick/XmlListModel
%{_libdir}/qt5/qml/QtQuick/XmlListModel/*
%doc LICENSE.*
%files -n libQt5XmlPatterns-devel
%defattr(-,root,root)
%dir %{_includedir}/qt5/QtXmlPatterns
%{_includedir}/qt5/QtXmlPatterns/*
%{_libdir}/libQt5XmlPatterns.la
%{_libdir}/libQt5XmlPatterns.prl
%{_libdir}/libQt5XmlPatterns.so
%{_libdir}/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri
%{_libdir}/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri
%{_libdir}/cmake/Qt5XmlPatterns/Qt5XmlPatternsConfig.cmake
%{_libdir}/cmake/Qt5XmlPatterns/Qt5XmlPatternsConfigVersion.cmake
%{_libdir}/pkgconfig/Qt5XmlPatterns.pc
%changelog
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
- bump release
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- package created using the webbuild interface