From: Thiago Macieira Date: Fri, 12 Oct 2012 21:42:15 +0000 (-0700) Subject: Import qtxmlpatterns 5.0.0-beta1 X-Git-Tag: 1.0_branch^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;p=profile%2Fivi%2Fqtxmlpatterns.git Import qtxmlpatterns 5.0.0-beta1 Change-Id: I3a1f42a6f653e1049fd24561624170fbc0a52c78 --- diff --git a/packaging/qtxmlpatterns.changes b/packaging/qtxmlpatterns.changes new file mode 100644 index 0000000..51daebc --- /dev/null +++ b/packaging/qtxmlpatterns.changes @@ -0,0 +1,4 @@ +* Fri Oct 12 2012 Thiago Macieira v5.0.0-beta1@75d13b2 +- Initial import of QtXmlPatterns 5.0.0-beta1 + + diff --git a/packaging/qtxmlpatterns.spec b/packaging/qtxmlpatterns.spec new file mode 100644 index 0000000..47b2ca0 --- /dev/null +++ b/packaging/qtxmlpatterns.spec @@ -0,0 +1,62 @@ +Name: qtxmlpatterns +Version: 5.0.0beta1 +Release: 1 +License: LGPLv2.1 with exception or GPLv3 +Summary: Advanced XML support in Qt +Url: http://qt-project.org/ +Group: System/Libraries +Source0: %{name}-%{version}.tar.bz2 +Requires: qtbase >= 5.0.0beta1 + +BuildRequires: qtbase-devel >= %{version} +BuildRequires: pkgconfig(QtNetwork) +BuildRequires: gcc-c++ + +# Indirect dependencies so that gbs / OBS can build: +BuildRequires: mesa-libEGL-devel +BuildRequires: mesa-libGLESv2-devel +BuildRequires: mesa-libgbm + +%description +XML Query and XML Schema support for Qt + +%package devel +Summary: Development files for qtxmlpatterns + +%description devel +Development files for qtxmlpattenrs + +%prep +%setup -q -n %{name}-%{version} + +%build + +export QTDIR=/usr/share/qt5 +export DESTDIR=%{buildroot} + +qmake +make %{?jobs:-j%jobs} + +%install +%make_install #INSTALL_ROOT="%{buildroot}" + +# These files should not have been installed +rm -rf %{_includedir}/Qt + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/*.so.* +%{_bindir}/* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/qt5/QtXmlPatterns +%{_libdir}/cmake/* +%{_libdir}/pkgconfig/* +%{_libdir}/*.so +*{_libdir}/*.prl +%{_datadir}/qt5/mkspecs/modules/*.pri +