Accepting request 449439 from home:alois:branches:X11:Utilities
Update to 0.8.3 OBS-URL: https://build.opensuse.org/request/show/449439 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/qhexedit2?expand=0&rev=17
This commit is contained in:
parent
eb3667c3d3
commit
c5b82cb91d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c7e8a34e4440fcf58912bf77d80bcd003ca4f36076457290966df9b248c51bb7
|
|
||||||
size 297269
|
|
3
qhexedit2-0.8.3.tar.gz
Normal file
3
qhexedit2-0.8.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:583fa3989e0aa28f54e91cd6a8d773138cfd7054792b462fa9c9d5a9485dc338
|
||||||
|
size 336710
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 9 21:18:59 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Update to version 0.8.3
|
||||||
|
* Ascii area ist now editable
|
||||||
|
* New property hexCaps
|
||||||
|
* Bugfixes
|
||||||
|
* Translation updates
|
||||||
|
* Bump lib version to 4.0.0
|
||||||
|
- Dropped SLE11 support
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 20 08:28:26 UTC 2016 - aloisio@gmx.com
|
Tue Dec 20 08:28:26 UTC 2016 - aloisio@gmx.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package qhexedit2
|
# spec file for package qhexedit2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,9 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _libver 3
|
%define _libver 4
|
||||||
Name: qhexedit2
|
Name: qhexedit2
|
||||||
Version: 0.8.2
|
Version: 0.8.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Qt-based hex editor
|
Summary: Qt-based hex editor
|
||||||
License: LGPL-2.0
|
License: LGPL-2.0
|
||||||
@ -27,17 +27,13 @@ Url: https://github.com/Simsys/qhexedit2
|
|||||||
Source0: https://github.com/Simsys/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/Simsys/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: qhexedit.desktop
|
Source1: qhexedit.desktop
|
||||||
BuildRequires: ImageMagick
|
BuildRequires: ImageMagick
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: pkg-config
|
BuildRequires: gcc-c++ >= 4.8
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
%if 0%{?suse_version} > 1110
|
|
||||||
BuildRequires: pkgconfig(Qt5Core)
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
BuildRequires: pkgconfig(Qt5Widgets)
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
%else
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: libqt4-devel
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
QHexEdit is a hex editor widget written in C++ for the Qt framework.
|
QHexEdit is a hex editor widget written in C++ for the Qt framework.
|
||||||
@ -56,28 +52,17 @@ developing applications that use %{name}.
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation and examples for %{name}
|
Summary: Documentation and examples for %{name}
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
%if 0%{?suse_version} > 1110
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
The %{name}-doc package contains the documentation and examples for %{name}.
|
The %{name}-doc package contains the documentation and examples for %{name}.
|
||||||
|
|
||||||
%package -n libqhexedit%{_libver}
|
%package -n libqhexedit%{_libver}
|
||||||
%if 0%{?suse_version} > 1110
|
|
||||||
Summary: Qt5 %{name} library
|
Summary: Qt5 %{name} library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
%else
|
|
||||||
Summary: Qt %{name} library
|
|
||||||
Group: System/Libraries
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description -n libqhexedit%{_libver}
|
%description -n libqhexedit%{_libver}
|
||||||
%if 0%{?suse_version} > 1110
|
|
||||||
Qt5 library for %{name}.
|
Qt5 library for %{name}.
|
||||||
%else
|
|
||||||
Qt library for %{name}.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -85,22 +70,14 @@ Qt library for %{name}.
|
|||||||
%build
|
%build
|
||||||
mkdir build-lib
|
mkdir build-lib
|
||||||
pushd build-lib
|
pushd build-lib
|
||||||
%if 0%{?suse_version} >1110
|
|
||||||
qmake-qt5 QMAKE_CXXFLAGS="%{optflags}" ../src/qhexedit.pro
|
qmake-qt5 QMAKE_CXXFLAGS="%{optflags}" ../src/qhexedit.pro
|
||||||
%else
|
|
||||||
qmake QMAKE_CXXFLAGS="%{optflags}" ../src/qhexedit.pro
|
|
||||||
%endif
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Build application
|
# Build application
|
||||||
mkdir build-example
|
mkdir build-example
|
||||||
pushd build-example
|
pushd build-example
|
||||||
%if 0%{?suse_version} > 1110
|
|
||||||
qmake-qt5 QMAKE_CXXFLAGS="%{optflags}" ../example/qhexedit.pro
|
qmake-qt5 QMAKE_CXXFLAGS="%{optflags}" ../example/qhexedit.pro
|
||||||
%else
|
|
||||||
qmake QMAKE_CXXFLAGS="%{optflags}" ../example/qhexedit.pro
|
|
||||||
%endif
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -138,13 +115,11 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ %{SOURCE1}
|
|||||||
install -d %{buildroot}%{_datadir}/pixmaps
|
install -d %{buildroot}%{_datadir}/pixmaps
|
||||||
convert doc/html/qhexedit.png -resize 128x128! %{buildroot}%{_datadir}/pixmaps/qhexedit.png
|
convert doc/html/qhexedit.png -resize 128x128! %{buildroot}%{_datadir}/pixmaps/qhexedit.png
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1110
|
|
||||||
%post
|
%post
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
%endif
|
|
||||||
|
|
||||||
%post -n libqhexedit%{_libver} -p /sbin/ldconfig
|
%post -n libqhexedit%{_libver} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user