Accepting request 202045 from KDE:Qt51

Update to 5.1.1, resubmitted due to factory-repo-checker bug

OBS-URL: https://build.opensuse.org/request/show/202045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtsvg?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal 2013-10-04 11:54:15 +00:00 committed by Git OBS Bridge
parent 139b370e11
commit c1a80eb92e
4 changed files with 38 additions and 31 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Aug 29 17:39:30 UTC 2013 - hrvoje.senjan@gmail.com
- Update to version 5.1.1:
* Bugfix release, please see
http://blog.qt.digia.com/blog/2013/08/28/qt-5-1-1-released/
http://qt.gitorious.org/qt/qtsvg/blobs/release/dist/changes-5.1.1
and http://qt-project.org/wiki/Qt511KnownIssues for known issues
- Small spec cleanup
-------------------------------------------------------------------
Sat Aug 3 07:25:06 UTC 2013 - tittiatcoke@gmail.com

View File

@ -19,31 +19,28 @@
%define libname libQt5Svg5
Name: libqt5-qtsvg
Version: 5.1.0
Version: 5.1.1
Release: 0
%define base_name libqt5
%define real_version 5.1.0
%define so_version 5.1.0
%define tar_version qtsvg-opensource-src-%{real_version}
BuildRequires: libqt5-qtbase-devel >= %version
BuildRequires: libqt5-qtbase-private-headers-devel
BuildRequires: xz
Url: http://qt.digia.com
Summary: Qt 5 SVG Library
License: SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0
Summary: Qt 5 SVG Library
Url: http://qt.digia.com
Group: Development/Libraries/X11
Source: %{tar_version}.tar.xz
%define base_name libqt5
%define real_version 5.1.1
%define so_version 5.1.1
%define tar_version qtsvg-opensource-src-%{real_version}
BuildRequires: libqt5-qtbase-devel >= %{version}
BuildRequires: libqt5-qtbase-private-headers-devel >= %{version}
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Qt is a set of libraries for developing applications.
This package contains base tools, like string, xml, and network
handling.
%prep
%setup -q -n qtsvg-opensource-src-%{real_version}
@ -51,7 +48,7 @@ handling.
Summary: Qt 5 SVG Library
Group: Development/Libraries/X11
%description -n %libname
%description -n %libname
Qt is a set of libraries for developing applications.
This package contains base tools, like string, xml, and network
@ -60,8 +57,8 @@ handling.
%package -n libQt5Svg-devel
Summary: Qt Development Kit
Group: Development/Libraries/X11
Requires: %libname = %version
Requires: libqt5-qtbase-devel >= %version
Requires: %libname = %{version}
Requires: libqt5-qtbase-devel >= %{version}
%description -n libQt5Svg-devel
You need this package, if you want to compile programs with QtSvg.
@ -69,8 +66,8 @@ You need this package, if you want to compile programs with QtSvg.
%package -n libQt5Svg-private-headers-devel
Summary: Non-ABI stable experimental API
Group: Development/Libraries/C and C++
Requires: libQt5Svg-devel = %version
Requires: libqt5-qtbase-private-headers-devel
Requires: libQt5Svg-devel = %{version}
Requires: libqt5-qtbase-private-headers-devel >= %{version}
%description -n libQt5Svg-private-headers-devel
This package provides private headers of libqt5-qtsvg that are normally
@ -85,19 +82,19 @@ the exact Qt version.
%build
export PATH=%_libqt5_bindir:$PATH
%ifarch ppc64
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%endif
export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DOPENSSL_LOAD_CONF"
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -DOPENSSL_LOAD_CONF"
export MAKEFLAGS="%{?jobs:-j %jobs}"
export CXXFLAGS="$CXXFLAGS %{optflags} -DOPENSSL_LOAD_CONF"
export CFLAGS="$CFLAGS %{optflags} -DOPENSSL_LOAD_CONF"
export MAKEFLAGS="%{?_smp_mflags}"
qmake
make
%install
make INSTALL_ROOT=$RPM_BUILD_ROOT install
make INSTALL_ROOT=%{buildroot} install
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files -n %libname
%defattr(-,root,root,755)
@ -107,13 +104,13 @@ rm -rf $RPM_BUILD_ROOT
%files -n libQt5Svg-private-headers-devel
%defattr(-,root,root,755)
%_libqt5_includedir/Qt*/%{so_version}
%{_libqt5_includedir}/Qt*/%{so_version}
%files -n libQt5Svg-devel
%defattr(-,root,root,755)
%_includedir/qt5/QtSvg
%exclude %_libqt5_includedir/Qt*/%{so_version}
%_libqt5_includedir/QtSvg
%{_libqt5_includedir}/QtSvg
%exclude %{_libqt5_includedir}/Qt*/%{so_version}
%{_libqt5_includedir}/QtSvg
%{_libqt5_libdir}/cmake/Qt5Svg
%{_libqt5_libdir}/libQt5Svg.la
%{_libqt5_libdir}/libQt5Svg.prl

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50fc66ada43472e42245c18095e9eac84b496a634736cf55aac81326e4aad54a
size 1751832

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6bfe7705ff58391205ca797d84ca6dda57ebcce106fdff52d4908b0e443567bf
size 1762028