diff --git a/README.md b/README.md index 8404e2c..72f39c4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qt5-qtsvg +Qt5 SVG components. + diff --git a/qt5-qtsvg.spec b/qt5-qtsvg.spec new file mode 100644 index 0000000..9d339df --- /dev/null +++ b/qt5-qtsvg.spec @@ -0,0 +1,89 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: qt5-qtsvg +Version: 5.15.2 +Release: 2mamba +Summary: Qt5 SVG components +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.qt.io/ +Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtsvg-everywhere-src-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libstdc++6-devel +BuildRequires: libz-devel +BuildRequires: qt5-qtbase-devel +## AUTOBUILDREQ-END + +%description +Qt5 SVG components. + +%package -n libQt5Svg +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n libQt5Svg +This package contains shared libraries for %{name}. + +%package -n libQt5Svg-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: libQt5Svg = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n libQt5Svg-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q -n qtsvg-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 libQt5Svg -p /sbin/ldconfig +%postun -n libQt5Svg -p /sbin/ldconfig + +%files -n libQt5Svg +%defattr(-,root,root) +%{_libdir}/libQt5Svg.so.* +%{_libdir}/qt5/plugins/iconengines/libqsvgicon.so +%{_libdir}/qt5/plugins/imageformats/libqsvg.so +%doc LICENSE.* + +%files -n libQt5Svg-devel +%defattr(-,root,root) +%dir %{_includedir}/qt5/QtSvg +%{_includedir}/qt5/QtSvg/* +%dir %{_libdir}/cmake/Qt5Gui +%{_libdir}/cmake/Qt5Gui/Qt5Gui*.cmake +%dir %{_libdir}/cmake/Qt5Svg +%{_libdir}/cmake/Qt5Svg/Qt5Svg*.cmake +%{_libdir}/libQt5Svg.la +%{_libdir}/libQt5Svg.prl +%{_libdir}/libQt5Svg.so +%{_libdir}/pkgconfig/Qt5Svg.pc +%{_libdir}/qt5/mkspecs/modules/qt_lib_svg.pri +%{_libdir}/qt5/mkspecs/modules/qt_lib_svg_private.pri + +%changelog +* Fri Nov 05 2021 Silvan Calarco 5.15.2-2mamba +- bump release to allow update from monolithic release + +* Fri Nov 05 2021 Silvan Calarco 5.15.2-1mamba +- package created using the webbuild interface