From 801a98c6f99558fa8873e08da96a03fea95e4744 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 12 Oct 2012 14:42:15 -0700 Subject: [PATCH] Import qtxmlpatterns 5.0.0-beta1 Change-Id: I3a1f42a6f653e1049fd24561624170fbc0a52c78 --- packaging/qtxmlpatterns.changes | 4 +++ packaging/qtxmlpatterns.spec | 62 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 packaging/qtxmlpatterns.changes create mode 100644 packaging/qtxmlpatterns.spec 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 + -- 2.7.4