[mingw-qt5-qtimageformats] Initial import

Erik van Pienbroek epienbro at fedoraproject.org
Mon Jun 3 22:12:12 UTC 2013


commit 14c5d0d646c0879f8a8634ecc28ff150082b44c4
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Tue Jun 4 00:11:53 2013 +0200

    Initial import

 .gitignore                    |    1 +
 mingw-qt5-qtimageformats.spec |  129 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 131 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..af6122a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/qtimageformats-opensource-src-5.0.2.tar.xz
diff --git a/mingw-qt5-qtimageformats.spec b/mingw-qt5-qtimageformats.spec
new file mode 100644
index 0000000..ad1bcb1
--- /dev/null
+++ b/mingw-qt5-qtimageformats.spec
@@ -0,0 +1,129 @@
+%?mingw_package_header
+
+%global qt_module qtimageformats
+#%%global pre beta1
+
+#%%global snapshot_date 20121112
+#%%global snapshot_rev a0ec617b
+
+%if 0%{?snapshot_date}
+%global source_folder qt-%{qt_module}
+%else
+%global source_folder %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}
+%endif
+
+Name:           mingw-qt5-%{qt_module}
+Version:        5.0.2
+Release:        2%{?pre:.%{pre}}%{?snapshot_date:.git%{snapshot_date}.%{snapshot_rev}}%{?dist}
+Summary:        Qt5 for Windows - QtImageFormats component
+
+License:        GPLv3 with exceptions or LGPLv2 with exceptions
+Group:          Development/Libraries
+URL:            http://www.qtsoftware.com/
+
+%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
+Source0:        http://releases.qt-project.org/qt5/%{version}/submodules/%{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}.tar.xz
+%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 - QtImageFormats 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 - QtImageFormats 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
+
+
+# Win32
+%files -n mingw32-qt5-%{qt_module}
+%doc LGPL_EXCEPTION.txt LICENSE.GPL LICENSE.LGPL
+%{mingw32_libdir}/qt5/plugins/imageformats/qmng.dll
+%{mingw32_libdir}/qt5/plugins/imageformats/qtga.dll
+%{mingw32_libdir}/qt5/plugins/imageformats/qtiff.dll
+%{mingw32_libdir}/qt5/plugins/imageformats/qwbmp.dll
+
+# Win64
+%files -n mingw64-qt5-%{qt_module}
+%doc LGPL_EXCEPTION.txt LICENSE.GPL LICENSE.LGPL
+%{mingw64_libdir}/qt5/plugins/imageformats/qmng.dll
+%{mingw64_libdir}/qt5/plugins/imageformats/qtga.dll
+%{mingw64_libdir}/qt5/plugins/imageformats/qtiff.dll
+%{mingw64_libdir}/qt5/plugins/imageformats/qwbmp.dll
+
+
+%changelog
+* Sun Jun  2 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.0.2-2
+- Added license files
+
+* 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.a0ec617b
+- Update to 20121112 snapshot (rev a0ec617b)
+- Rebuild against latest mingw-qt5-qtbase
+- Dropped pkg-config rename hack as it's unneeded now
+- Dropped upstreamed patch
+
+* Mon Sep 10 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.0.0-0.1.beta1
+- Initial release
+
diff --git a/sources b/sources
index e69de29..bacda85 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e397a4237f51cfef7a3b38ad29b831d7  qtimageformats-opensource-src-5.0.2.tar.xz


More information about the scm-commits mailing list