| 1 |
########################################################################### |
| 2 |
# Lios - Linux-Intelligent-Ocr-Solution |
| 3 |
# Copyright (C) 2011-2018 Nalin.x.Linux GPL-3 |
| 4 |
# |
| 5 |
# This program is free software: you can redistribute it and/or modify |
| 6 |
# it under the terms of the GNU General Public License as published by |
| 7 |
# the Free Software Foundation, either version 3 of the License, or |
| 8 |
# (at your option) any later version. |
| 9 |
# |
| 10 |
# This program is distributed in the hope that it will be useful, |
| 11 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
# GNU General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU General Public License |
| 16 |
# along with this program. If not, see <http://www.gnu.org/licenses/ |
| 17 |
|
| 18 |
Name: lios |
| 19 |
Version: 2.8 |
| 20 |
Release: 0 |
| 21 |
License: GPL-3.0+ |
| 22 |
Summary: Linux-Intelligent-Ocr-Solution |
| 23 |
Url: http://sourceforge.net/projects/lios/ |
| 24 |
Group: Graphics |
| 25 |
Source0: lios-2.8.tar.gz |
| 26 |
BuildArch: noarch |
| 27 |
Requires: espeak |
| 28 |
Requires: python3-gobject |
| 29 |
Requires: python3-enchant |
| 30 |
Requires: python3-speechd |
| 31 |
Requires: python3-sane |
| 32 |
# Requires: python3-pillow-sane for fedora 20 |
| 33 |
Requires: PackageKit-gtk3-module |
| 34 |
Requires: aspell-en |
| 35 |
Requires: cuneiform |
| 36 |
Requires: tesseract |
| 37 |
Requires: poppler-utils |
| 38 |
Requires: ImageMagick |
| 39 |
|
| 40 |
%description |
| 41 |
Lios is a free and open source software for converting print in to text using either scanner, camera, or screenshot, It can also produce text out of scanned images from other sources such as Pdf, Image or Folder containing Images. Program is given total accessibility for visually impaired. Lios is written in python3, and we release it under GPL-3 license. |
| 42 |
|
| 43 |
%prep |
| 44 |
%setup -q |
| 45 |
|
| 46 |
%build |
| 47 |
python3 setup.py build |
| 48 |
|
| 49 |
%install |
| 50 |
python3 setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot} |
| 51 |
|
| 52 |
%files |
| 53 |
%defattr(-,root,root) |
| 54 |
%doc COPYING NEWS |
| 55 |
#%{python3_sitelib}/* |
| 56 |
/usr/lib/python3.6/site-packages/* |
| 57 |
|
| 58 |
%{_datadir}/lios/* |
| 59 |
%{_datadir}/lios/icons/* |
| 60 |
%{_datadir}/applications/* |
| 61 |
%{_datadir}/doc/* |
| 62 |
%{_datadir}/man/man1/* |
| 63 |
%{_datadir}/pixmaps/* |
| 64 |
%{_bindir}/* |
| 65 |
|
| 66 |
|
| 67 |
#%changelog |
| 68 |
#* Mon Jan 27 1014 |
| 69 |
#- license update: GPL-3.0+ |
| 70 |
# No indication of GPL-3.0 (only) files. |