!2 remove {%if 0 and %endif}
From: @peijiankang Reviewed-by: @dou33 Signed-off-by: @dou33
This commit is contained in:
commit
409f7b17ea
@ -1,13 +1,12 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
Name: kylin-photo-viewer
|
Name: kylin-photo-viewer
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: kylin-photo-viewer
|
Summary: kylin-photo-viewer
|
||||||
License: GPL-3.0-or-later
|
License: BSL-1.0 and Libpng and zlib and GPL-2.0-or-later
|
||||||
URL: https://github.com/UbuntuKylin/kylin-photo-viewer
|
URL: https://github.com/UbuntuKylin/kylin-photo-viewer
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
%if 0
|
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
BuildRequires: qtchooser
|
BuildRequires: qtchooser
|
||||||
BuildRequires: qt5-qtscript-devel
|
BuildRequires: qt5-qtscript-devel
|
||||||
@ -23,8 +22,7 @@ BuildRequires: kf5-kwindowsystem-devel
|
|||||||
BuildRequires: gsettings-qt-devel
|
BuildRequires: gsettings-qt-devel
|
||||||
BuildRequires: ukui-interface
|
BuildRequires: ukui-interface
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: libpeony-dev
|
BuildRequires: peony libpeony-dev
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Photo viewer, support to view, zoom and rotate images of various formats
|
Photo viewer, support to view, zoom and rotate images of various formats
|
||||||
@ -33,7 +31,6 @@ Photo viewer, support to view, zoom and rotate images of various formats
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0
|
|
||||||
export PATH=%{_qt5_bindir}:$PATH
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
mkdir qmake-build
|
mkdir qmake-build
|
||||||
pushd qmake-build
|
pushd qmake-build
|
||||||
@ -45,9 +42,8 @@ popd
|
|||||||
pushd qmake-build
|
pushd qmake-build
|
||||||
%{make_install} INSTALL_ROOT=%{buildroot}
|
%{make_install} INSTALL_ROOT=%{buildroot}
|
||||||
popd
|
popd
|
||||||
%endif
|
|
||||||
%files
|
%files
|
||||||
%if 0
|
|
||||||
%{_bindir}/kylin-photo-viewer
|
%{_bindir}/kylin-photo-viewer
|
||||||
%{_includedir}/kylin_image_codec/kylinimagecodec.h
|
%{_includedir}/kylin_image_codec/kylinimagecodec.h
|
||||||
%{_includedir}/kylin_image_codec/kylinimagecodec_global.h
|
%{_includedir}/kylin_image_codec/kylinimagecodec_global.h
|
||||||
@ -66,8 +62,10 @@ popd
|
|||||||
%{_datadir}/glib-2.0/schemas/org.ukui.log4qt.kylin-photo-viewer.gschema.xml
|
%{_datadir}/glib-2.0/schemas/org.ukui.log4qt.kylin-photo-viewer.gschema.xml
|
||||||
%{_datadir}/kylin-photo-viewer/translations/kylin-photo-viewer_zh_CN.qm
|
%{_datadir}/kylin-photo-viewer/translations/kylin-photo-viewer_zh_CN.qm
|
||||||
%{_datadir}/pixmaps/kyview_logo.png
|
%{_datadir}/pixmaps/kyview_logo.png
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 26 2022 peijiankang <peijiankang@kylinos.cn> - 1.0.2-2
|
||||||
|
- remove {%if 0 and %endif}
|
||||||
|
|
||||||
* Fri May 20 2022 peijiankang <peijiankang@kylinos.cn> - 1.0.2-1
|
* Fri May 20 2022 peijiankang <peijiankang@kylinos.cn> - 1.0.2-1
|
||||||
- Init kylin-photo-viewer package for openEuler
|
- Init kylin-photo-viewer package for openEuler
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user