summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2013-09-08 16:16:21 +0200
committerTomasz Olszak <olszak.tomasz@gmail.com>2014-10-03 15:59:48 +0200
commit282588c172075d3da58c7efaa5e5f375c5a2bace (patch)
tree90895ce0932b0253837676715cca2226acf4bef0
parent3fbcc1a5a7023576349f986ee136aeba2c18d334 (diff)
downloadqtxmlpatterns-282588c172075d3da58c7efaa5e5f375c5a2bace.tar.gz
qtxmlpatterns-282588c172075d3da58c7efaa5e5f375c5a2bace.tar.bz2
qtxmlpatterns-282588c172075d3da58c7efaa5e5f375c5a2bace.zip
Spec file adapted for Tizen
-rw-r--r--packaging/qt5-qtxmlpatterns.spec (renamed from packaging/qtxmlpatterns.spec)53
1 files changed, 39 insertions, 14 deletions
diff --git a/packaging/qtxmlpatterns.spec b/packaging/qt5-qtxmlpatterns.spec
index b78de53..53d6c72 100644
--- a/packaging/qtxmlpatterns.spec
+++ b/packaging/qt5-qtxmlpatterns.spec
@@ -1,10 +1,35 @@
+# The MIT License (MIT)
+#
+# Copyright (c) 2013 Tomasz Olszak <olszak.tomasz@gmail.com>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+# THE SOFTWARE.
+
+# This file is based on qtxmlpatterns.spec from Mer project
+# http://merproject.org
+
Name: qt5-qtxmlpatterns
Summary: Qt XML Patterns library
-Version: 5.0.2
-Release: 1%{?dist}
-Group: Qt/Qt
-License: LGPLv2.1 with exception or GPLv3
-URL: http://qt.nokia.com
+Version: 5.2.0
+Release: 0
+Group: Base/Libraries
+License: LGPL-2.1 or GPL-3.0
+URL: http://qt.digia.com
Source0: %{name}-%{version}.tar.bz2
BuildRequires: qt5-qtcore-devel
BuildRequires: qt5-qtxml-devel
@@ -24,7 +49,7 @@ This package contains the XMLPatterns library
%package devel
Summary: Qt XML Patterns - development files
-Group: Qt/Qt
+Group: Base/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
@@ -63,10 +88,10 @@ find %{buildroot}%{_libdir} -type f -name '*.prl' \
-exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/" {} \;
# We don't need qt5/Qt/
-rm -rf %{buildroot}/%{_includedir}/qt5/Qt
+rm -rf %{buildroot}%{_includedir}/qt5/Qt
#
-%fdupes %{buildroot}/%{_includedir}
+%fdupes %{buildroot}%{_includedir}
@@ -74,7 +99,8 @@ rm -rf %{buildroot}/%{_includedir}/qt5/Qt
#### Pre/Post section
%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%postun
+/sbin/ldconfig
@@ -84,8 +110,7 @@ rm -rf %{buildroot}/%{_includedir}/qt5/Qt
%files
%defattr(-,root,root,-)
-%{_libdir}/libQt5XmlPatterns.so.5
-%{_libdir}/libQt5XmlPatterns.so.5.*
+%{_libdir}/libQt5XmlPatterns.so.*
%{_qt5_bindir}/*
%files devel
@@ -93,9 +118,9 @@ rm -rf %{buildroot}/%{_includedir}/qt5/Qt
%{_libdir}/libQt5XmlPatterns.so
%{_libdir}/libQt5XmlPatterns.prl
%{_libdir}/pkgconfig/*
-%{_includedir}/qt5/
-%{_datadir}/qt5/mkspecs/
-%{_libdir}/cmake/
+%{_includedir}/qt5
+%{_datadir}/qt5/mkspecs
+%{_libdir}/cmake
#### No changelog section, separate $pkg.changes contains the history