Accepting request 202043 from KDE:Qt51

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

OBS-URL: https://build.opensuse.org/request/show/202043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtsensors?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal 2013-10-04 11:53:20 +00:00 committed by Git OBS Bridge
parent 4ec5c8c9d2
commit 7085bad55c
4 changed files with 34 additions and 26 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Aug 29 20:39:14 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/qtsensors/blobs/release/dist/changes-5.1.1
and http://qt-project.org/wiki/Qt511KnownIssues for known issues
- Small spec cleanup
-------------------------------------------------------------------
Sun Jul 7 07:23:51 UTC 2013 - stephan.binner@basyskom.com

View File

@ -19,27 +19,25 @@
%define libname libQt5Sensors5
Name: libqt5-qtsensors
BuildRequires: fdupes
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 qtsensors-opensource-src-%{real_version}
BuildRequires: libqt5-qtbase-private-headers-devel
BuildRequires: xz
Url: http://qt.digia.com
Summary: Qt 5 Serial Port Addon
License: SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0
Summary: Qt 5 Serial Port Addon
Url: http://qt.digia.com
Group: Development/Libraries/X11
Source: %{tar_version}.tar.xz
BuildRequires: fdupes
%define base_name libqt5
%define real_version 5.1.1
%define so_version 5.1.1
%define tar_version qtsensors-opensource-src-%{real_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.
%prep
%setup -q -n qtsensors-opensource-src-%{real_version}
@ -53,8 +51,8 @@ Qt is a set of libraries for developing applications.
%package -n libQt5Sensors-devel
Summary: Qt Development Kit
Group: Development/Libraries/X11
Requires: %libname = %version
Requires: libqt5-qtbase-devel
Requires: %libname = %{version}
Requires: libqt5-qtbase-devel >= %{version}
%description -n libQt5Sensors-devel
You need this package, if you want to compile programs with qtsensors.
@ -62,8 +60,8 @@ You need this package, if you want to compile programs with qtsensors.
%package -n libQt5Sensors-private-headers-devel
Summary: Non-ABI stable experimental API
Group: Development/Libraries/C and C++
Requires: libQt5Sensors-devel = %version
Requires: libqt5-qtbase-private-headers-devel
Requires: libQt5Sensors-devel = %{version}
Requires: libqt5-qtbase-private-headers-devel >= %{version}
%description -n libQt5Sensors-private-headers-devel
This package provides private headers of libqt5-qtsensors that are normally
@ -76,21 +74,21 @@ the exact Qt version.
%postun -n %libname -p /sbin/ldconfig
%build
export PATH=%_libqt5_bindir:$PATH
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)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cfd74323e8145a282fe840c47c639c064e832263744a24270f326a1464830ee
size 2086084

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07f2d94964b47786a33ba1e24049c81b29e95b791647f9116ea350dc4cbc814f
size 2082240