remove {%if 0 and %endif}
This commit is contained in:
parent
a7f5b87850
commit
04f09d072a
@ -1,13 +1,12 @@
|
||||
%define debug_package %{nil}
|
||||
Name: kylin-scanner
|
||||
Version: 1.0.3
|
||||
Release: 1
|
||||
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
|
||||
URL: https://github.com/UbuntuKylin/kylin-scanner
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Name: kylin-scanner
|
||||
Version: 1.0.3
|
||||
Release: 2
|
||||
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
|
||||
URL: https://github.com/UbuntuKylin/kylin-scanner
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
%if 0
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libX11-devel
|
||||
@ -27,7 +26,6 @@ BuildRequires: ukui-interface
|
||||
BuildRequires: polkit-devel
|
||||
|
||||
Requires: tesseract
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
@ -42,7 +40,6 @@ and text recognition, etc.
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%if 0
|
||||
%build
|
||||
%{qmake_qt5}
|
||||
%{make_build}
|
||||
@ -50,15 +47,16 @@ and text recognition, etc.
|
||||
%install
|
||||
%{make_install} INSTALL_ROOT=%{buildroot}
|
||||
|
||||
%endif
|
||||
%files
|
||||
%if 0
|
||||
%{_bindir}/kylin-scanner
|
||||
%{_datadir}/applications/kylin-scanner.desktop
|
||||
%{_datadir}/kylin-scanner/translations/*.qm
|
||||
%{_datadir}/kylin-user-guide/data/guide/kylin-scanner
|
||||
%{_datadir}/pixmaps/scanner.png
|
||||
%endif
|
||||
|
||||
%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
|
||||
- Init kylin-scanner package for openEuler
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user