remove {%if 0 and %endif}
This commit is contained in:
parent
a7f5b87850
commit
04f09d072a
@ -1,13 +1,12 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
Name: kylin-scanner
|
Name: kylin-scanner
|
||||||
Version: 1.0.3
|
Version: 1.0.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Kylin Scanner is an interface-friendly scanning software developed with Qt5.
|
Summary: Kylin Scanner is an interface-friendly scanning software developed with Qt5.
|
||||||
License: BSL-1.0 and Libpng and zlib and GPL-2.0-or-later
|
License: BSL-1.0 and Libpng and zlib and GPL-2.0-or-later
|
||||||
URL: https://github.com/UbuntuKylin/kylin-scanner
|
URL: https://github.com/UbuntuKylin/kylin-scanner
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
%if 0
|
|
||||||
BuildRequires: qt5-qtsvg-devel
|
BuildRequires: qt5-qtsvg-devel
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
@ -27,7 +26,6 @@ BuildRequires: ukui-interface
|
|||||||
BuildRequires: polkit-devel
|
BuildRequires: polkit-devel
|
||||||
|
|
||||||
Requires: tesseract
|
Requires: tesseract
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -42,7 +40,6 @@ and text recognition, etc.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%if 0
|
|
||||||
%build
|
%build
|
||||||
%{qmake_qt5}
|
%{qmake_qt5}
|
||||||
%{make_build}
|
%{make_build}
|
||||||
@ -50,15 +47,16 @@ and text recognition, etc.
|
|||||||
%install
|
%install
|
||||||
%{make_install} INSTALL_ROOT=%{buildroot}
|
%{make_install} INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
%endif
|
|
||||||
%files
|
%files
|
||||||
%if 0
|
|
||||||
%{_bindir}/kylin-scanner
|
%{_bindir}/kylin-scanner
|
||||||
%{_datadir}/applications/kylin-scanner.desktop
|
%{_datadir}/applications/kylin-scanner.desktop
|
||||||
%{_datadir}/kylin-scanner/translations/*.qm
|
%{_datadir}/kylin-scanner/translations/*.qm
|
||||||
%{_datadir}/kylin-user-guide/data/guide/kylin-scanner
|
%{_datadir}/kylin-user-guide/data/guide/kylin-scanner
|
||||||
%{_datadir}/pixmaps/scanner.png
|
%{_datadir}/pixmaps/scanner.png
|
||||||
%endif
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 26 2022 peijiankang <peijiankang@kylinos.cn> - 1.0.3-2
|
||||||
|
- remove {%if 0 and %endif}
|
||||||
|
|
||||||
* Fri May 20 2022 peijiankang <peijiankang@kylinos.cn> - 1.0.3-1
|
* Fri May 20 2022 peijiankang <peijiankang@kylinos.cn> - 1.0.3-1
|
||||||
- Init kylin-scanner package for openEuler
|
- Init kylin-scanner package for openEuler
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user