[mingw-qt5-qtsvg] Initial import

Erik van Pienbroek epienbro at fedoraproject.org
Mon Feb 10 18:37:53 UTC 2014


commit bcc599467bcb407f6787ceef02096cd18532479a
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Mon Feb 10 19:38:16 2014 +0100

    Initial import

 .gitignore           |    1 +
 mingw-qt5-qtsvg.spec |  171 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 173 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2dd5756 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/qtsvg-opensource-src-5.2.1.tar.xz
diff --git a/mingw-qt5-qtsvg.spec b/mingw-qt5-qtsvg.spec
new file mode 100644
index 0000000..ab76c39
--- /dev/null
+++ b/mingw-qt5-qtsvg.spec
@@ -0,0 +1,171 @@
+%?mingw_package_header
+
+%global qt_module qtsvg
+#%%global pre rc1
+
+#%%global snapshot_date 20121112
+#%%global snapshot_rev 45483bfa
+
+%if 0%{?snapshot_date}
+%global source_folder qt-%{qt_module}
+%else
+%global source_folder %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}
+%endif
+
+# first two digits of version
+%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
+
+Name:           mingw-qt5-%{qt_module}
+Version:        5.2.1
+Release:        1%{?pre:.%{pre}}%{?snapshot_date:.git%{snapshot_date}.%{snapshot_rev}}%{?dist}
+Summary:        Qt5 for Windows - QtSvg component
+
+License:        GPLv3 with exceptions or LGPLv2 with exceptions
+Group:          Development/Libraries
+URL:            http://qt-project.org/
+
+%if 0%{?snapshot_date}
+# To regenerate:
+# wget http://qt.gitorious.org/qt/%{qt_module}/archive-tarball/%{snapshot_rev} -O qt5-%{qt_module}-%{snapshot_rev}.tar.gz
+Source0:        qt5-%{qt_module}-%{snapshot_rev}.tar.gz
+%else
+%if "%{?pre}" != ""
+Source0:        http://download.qt-project.org/development_releases/qt/%{release_version}/%{version}-%{pre}/submodules/%{qt_module}-opensource-src-%{version}-%{pre}.tar.xz
+%else
+Source0:        http://download.qt-project.org/official_releases/qt/%{release_version}/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
+%endif
+%endif
+
+BuildArch:      noarch
+
+BuildRequires:  mingw32-filesystem >= 96
+BuildRequires:  mingw32-gcc-c++
+BuildRequires:  mingw32-qt5-qtbase
+
+BuildRequires:  mingw64-filesystem >= 96
+BuildRequires:  mingw64-gcc-c++
+BuildRequires:  mingw64-qt5-qtbase
+
+
+%description
+This package contains the Qt software toolkit for developing
+cross-platform applications.
+
+This is the Windows version of Qt, for use in conjunction with the
+Fedora Windows cross-compiler.
+
+
+# Win32
+%package -n mingw32-qt5-%{qt_module}
+Summary:        Qt5 for Windows - QtSvg component
+
+%description -n mingw32-qt5-%{qt_module}
+This package contains the Qt software toolkit for developing
+cross-platform applications.
+
+This is the Windows version of Qt, for use in conjunction with the
+Fedora Windows cross-compiler.
+
+
+# Win64
+%package -n mingw64-qt5-%{qt_module}
+Summary:        Qt5 for Windows - QtSvg component
+
+%description -n mingw64-qt5-%{qt_module}
+This package contains the Qt software toolkit for developing
+cross-platform applications.
+
+This is the Windows version of Qt, for use in conjunction with the
+Fedora Windows cross-compiler.
+
+
+%?mingw_debug_package
+
+
+%prep
+%setup -q -n %{source_folder}
+
+
+%build
+%mingw_qmake_qt5 ../%{qt_module}.pro
+%mingw_make %{?_smp_mflags}
+
+
+%install
+%mingw_make install INSTALL_ROOT=$RPM_BUILD_ROOT
+
+# .prl files aren't interesting for us
+find $RPM_BUILD_ROOT -name "*.prl" -delete
+
+# The .dll's are installed in both %%{mingw32_bindir} and %%{mingw32_libdir}
+# One copy of the .dll's is sufficient
+rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/*.dll
+rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/*.dll
+
+
+# Win32
+%files -n mingw32-qt5-%{qt_module}
+%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
+%{mingw32_bindir}/Qt5Svg.dll
+%{mingw32_includedir}/qt5/QtSvg/
+%{mingw32_libdir}/libQt5Svg.dll.a
+%{mingw32_libdir}/cmake/Qt5Svg/
+%{mingw32_libdir}/cmake/Qt5Gui/Qt5Gui_QSvgPlugin.cmake
+%{mingw32_libdir}/pkgconfig/Qt5Svg.pc
+%dir %{mingw32_libdir}/qt5/plugins/iconengines/
+%{mingw32_libdir}/qt5/plugins/iconengines/qsvgicon.dll
+%{mingw32_libdir}/qt5/plugins/imageformats/qsvg.dll
+%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_svg.pri
+%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_svg_private.pri
+
+# Win64
+%files -n mingw64-qt5-%{qt_module}
+%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
+%{mingw64_bindir}/Qt5Svg.dll
+%{mingw64_includedir}/qt5/QtSvg/
+%{mingw64_libdir}/libQt5Svg.dll.a
+%{mingw64_libdir}/cmake/Qt5Svg/
+%{mingw64_libdir}/cmake/Qt5Gui/Qt5Gui_QSvgPlugin.cmake
+%{mingw64_libdir}/pkgconfig/Qt5Svg.pc
+%dir %{mingw64_libdir}/qt5/plugins/iconengines/
+%{mingw64_libdir}/qt5/plugins/iconengines/qsvgicon.dll
+%{mingw64_libdir}/qt5/plugins/imageformats/qsvg.dll
+%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_svg.pri
+%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_svg_private.pri
+
+
+%changelog
+* Sat Feb  8 2014 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.2.1-1
+- Update to 5.2.1
+
+* Sat Jan 25 2014 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.2.0-2
+- Own the folders %%{mingw32_libdir}/qt5/plugins/iconengines and %%{mingw64_libdir}/qt5/plugins/iconengines
+
+* Wed Jan  8 2014 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.2.0-1
+- Update to 5.2.0
+- Dropped manual rename of import libraries
+- Added license files
+
+* Fri Nov 29 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.2.0-0.1.rc1
+- Update to 5.2.0 RC1
+
+* Sun Jul 14 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.1.0-1
+- Update to 5.1.0
+
+* Fri May 10 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.0.2-1
+- Update to 5.0.2
+
+* Sat Feb  9 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.0.1-1
+- Update to 5.0.1
+
+* Fri Jan 11 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.0.0-1
+- Update to Qt 5.0.0 Final
+
+* Mon Nov 12 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.0.0-0.2.beta1.git20121112.45483bfa
+- Update to 20121112 snapshot (rev 45483bfa)
+- Rebuild against latest mingw-qt5-qtbase
+- Dropped pkg-config rename hack as it's unneeded now
+
+* Thu Sep 13 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.0.0-0.1.beta1
+- Initial release
+
diff --git a/sources b/sources
index e69de29..89be55d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3f5487fe2bd5024f18f63a8d0eb4294d  qtsvg-opensource-src-5.2.1.tar.xz


More information about the scm-commits mailing list