[qt5-qtquick1] import

Rex Dieter rdieter at fedoraproject.org
Thu Sep 19 15:36:20 UTC 2013


commit 2d8465b3e07800eb8a15405e5356ec26136291a5
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Thu Sep 19 10:36:05 2013 -0500

    import

 .gitignore        |    1 +
 qt5-qtquick1.spec |  123 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 125 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f646743 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/qtquick1-opensource-src-5.1.1.tar.xz
diff --git a/qt5-qtquick1.spec b/qt5-qtquick1.spec
new file mode 100644
index 0000000..2dcaaca
--- /dev/null
+++ b/qt5-qtquick1.spec
@@ -0,0 +1,123 @@
+
+%global qt_module qtquick1
+
+Summary: A declarative language for describing user interfaces in Qt5
+Name:    qt5-%{qt_module}
+Version: 5.1.1
+Release: 2%{?dist}
+
+# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
+License: LGPLv2 with exceptions or GPLv3 with exceptions
+Url: http://qt-project.org/
+Source0: http://download.qt-project.org/official_releases/qt/5.1/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
+
+BuildRequires: qt5-qtbase-devel >= %{version}
+BuildRequires: qt5-qtscript-devel >= %{version}
+BuildRequires: qt5-qttools-devel >= %{version}
+BuildRequires: qt5-qtwebkit-devel >= %{version}
+
+%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
+
+%description
+Qt Quick is a collection of technologies that are designed to help
+developers create the kind of intuitive, modern, fluid user interfaces
+that are increasingly used on mobile phones, media players, set-top
+boxes and other portable devices.
+
+Qt Quick consists of a rich set of user interface elements, a declarative
+language for describing user interfaces and a language runtime. A
+collection of C++ APIs is used to integrate these high level features
+with classic Qt applications.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: qt5-qtbase-devel%{?_isa}
+%description devel
+%{summary}.
+
+
+%prep
+%setup -q -n %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}
+
+
+%build
+%{_qt5_qmake}
+
+make %{?_smp_mflags}
+
+
+%install
+make install INSTALL_ROOT=%{buildroot}
+
+# put non-conflicting binaries with -qt5 postfix in %%{_bindir}
+mkdir %{buildroot}%{_bindir}
+pushd %{buildroot}%{_qt5_bindir}
+for i in * ; do
+  case "${i}" in
+    qmlviewer)
+      mv $i ../../../bin/${i}-qt5
+      ln -s ../../../bin/${i}-qt5 .
+      ln -s ../../../bin/${i}-qt5 $i
+      ;;
+   *)
+      mv $i ../../../bin/
+      ln -s ../../../bin/$i .
+      ;;
+  esac
+done
+popd
+
+## .prl file love (maybe consider just deleting these -- rex
+# nuke dangling reference(s) to %%buildroot, excessive (.la-like) libs
+sed -i \
+  -e "/^QMAKE_PRL_BUILD_DIR/d" \
+  -e "/^QMAKE_PRL_LIBS/d" \
+  %{buildroot}%{_qt5_libdir}/*.prl
+
+## unpackaged files
+# .la files, die, die, die.
+rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
+
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%doc LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt
+%{_qt5_libdir}/libQt5Declarative.so.5*
+%{_qt5_bindir}/qml*
+%{_bindir}/qml*
+%{_qt5_importdir}/Qt/
+%{_qt5_importdir}/QtWebKit/
+%{_qt5_importdir}/builtins.qmltypes
+%{_qt5_plugindir}/designer/*.so
+%{_qt5_plugindir}/qml1tooling/
+
+%files devel
+%{_qt5_headerdir}/QtDeclarative/
+%{_qt5_libdir}/libQt5Declarative.so
+%{_qt5_libdir}/libQt5Declarative.prl
+%{_qt5_libdir}/cmake/Qt5Declarative/
+%{_qt5_libdir}/pkgconfig/Qt5Declarative.pc
+%{_qt5_archdatadir}/mkspecs/modules/qt_lib_declarative.pri
+
+
+%changelog
+* Mon Sep 16 2013 Rex Dieter <rdieter at fedoraproject.org> 5.1.1-2
+- %%doc LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt
+- escape macros in comments
+- better %%description/%%summary
+
+* Tue Sep 03 2013 Rex Dieter <rdieter at fedoraproject.org> 5.1.1-1
+- 5.1.1
+
+* Thu May 09 2013 Rex Dieter <rdieter at fedoraproject.org> 5.0.2-2
+- fix qmlviewer conflict with qt4
+
+* Thu Apr 11 2013 Rex Dieter <rdieter at fedoraproject.org> 5.0.2-1
+- 5.0.2
+
+* Sat Feb 23 2013 Rex Dieter <rdieter at fedoraproject.org> 5.0.1-1
+- first try
+
diff --git a/sources b/sources
index e69de29..23d2402 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+05956168e0a4bba44c31b61dd4fc5e6e  qtquick1-opensource-src-5.1.1.tar.xz


More information about the scm-commits mailing list