Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
29c7346b90
!24 Upgrade to 3.28.0
From: @starlet-dx 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2024-01-12 06:54:55 +00:00
starlet-dx
369cac3a12 Upgrade to 3.28.0 2024-01-12 10:59:18 +08:00
openeuler-ci-bot
fb9b61fe20
!14 Upgrade package to 3.25.0
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-04-19 01:45:40 +00:00
cherry530
5aab9ab6df UPgrade package to 3.25.0 version
Signed-off-by: cherry530 <707078654@qq.com>
2023-04-19 09:15:51 +08:00
openeuler-ci-bot
c06527a73f
!7 Fix CVE-2023-26769
From: @starlet-dx 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-03-23 01:12:06 +00:00
starlet-dx
721e36edaa Fix CVE-2023-26769 2023-03-22 18:11:31 +08:00
openeuler-ci-bot
ca70112503 !3 remove python2 of package liblouis
From: @wang--ge
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 10:29:59 +08:00
root
2baa2557a6 remove python2 2020-10-29 11:28:06 +08:00
openeuler-ci-bot
bb58f2460c !2 Add yaml file and Fixs memory issue introduced with gcc9
Merge pull request !2 from lyn/master
2020-05-21 18:45:15 +08:00
lyn1001
d889ba0248 Add yaml file and Fixs memory issue introduced with gcc9 2020-05-21 17:44:34 +08:00
3 changed files with 25 additions and 24 deletions

View File

@ -1,14 +1,14 @@
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
Name: liblouis
Version: 3.7.0
Release: 2
Version: 3.28.0
Release: 1
Summary: Braille translation and back-translation library
License: LGPLv3+ and GPLv3+
URL: http://liblouis.org
Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: chrpath gcc help2man texinfo texinfo-tex texlive-eurosym
BuildRequires: texlive-xetex python2-devel python3-devel
BuildRequires: chrpath gcc help2man texinfo texinfo-tex texlive-eurosym texlive-ec
BuildRequires: texlive-xetex python3-devel
Provides: bundled(gnulib) = 20130621
%description
@ -28,7 +28,7 @@ The liblouis-devel package contains libraries and header files for developing ap
%package utils
Summary: Command-line utilities to test liblouis
Requires: %{name} = %{version}-%{release}
Requires: python2-louis = %{version}-%{release}
Requires: python3-louis = %{version}-%{release}
License: GPLv3+
%description utils
@ -46,17 +46,6 @@ Obsoletes: liblouis-doc < %{version}-%{release}
%description help
The liblouis-help package conatins manual pages and documents for liblouis.
%package -n python2-louis
Summary: Python 2 language bindings for liblouis
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Obsoletes: %{name}-python < 2.6.2-3
Provides: %{name}-python = %{version}-%{release}
%{?python_provide:%python_provide python2-louis}
%description -n python2-louis
This package provides Python 2 language bindings for liblouis.
%package -n python3-louis
Summary: Python 3 language bindings for %{name}
BuildArch: noarch
@ -70,6 +59,7 @@ This package provides Python 3 language bindings for %{name}.
%prep
%autosetup -p1
chmod 664 tables/*
%build
%configure --disable-static --enable-ucs4
@ -86,10 +76,6 @@ rm -rf %{buildroot}/%{_bindir}/lou_maketable*
rm -rf %{buildroot}/%{_defaultdocdir}/%{name}/
cd python/louis
install -d %{buildroot}%{python2_sitelib}/louis
install -pm 0644 __init__.py %{buildroot}%{python2_sitelib}/louis/
%py_byte_compile %{__python2} %{buildroot}%{python2_sitelib}/louis
install -d %{buildroot}%{python3_sitelib}/louis
install -pm 0644 __init__.py %{buildroot}%{python3_sitelib}/louis/
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/louis/
@ -125,13 +111,24 @@ done
%doc README NEWS ChangeLog TODO doc/%{name}.{html,txt,pdf}
%{_mandir}/man1/lou_*.1*
%files -n python2-louis
%doc python/README
%{python2_sitelib}/louis/
%files -n python3-louis
%{python3_sitelib}/louis/
%changelog
* Fri Jan 12 2024 yaoxin <yao_xin001@hoperun.com> - 3.28.0-1
- Upgrade to 3.28.0
* Wed Apr 19 2023 xu_ping <707078654@qq.com> - 3.25.0-1
- Upgrade package to 3.25.0 version
* Wed Mar 22 2023 yaoxin <yaoxin30@h-partners.com> - 3.7.0-5
- Fix CVE-2023-26769
* Wed Oct 21 2020 Ge Wang <wangge20@huawei.com> - 3.7.0-4
- remove python2
* Thu May 21 2020 yanan li <liyanan032@huawei.com> - 3.7.0-3
- Fixed memory leaks created by block scope compound literals.
* Thu Nov 28 2019 liujing<liujing144@huawei.com> - 3.7.0-2
- Package init

4
liblouis.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: liblouis/liblouis
tag_prefix: ^v
seperator: .