!30 fix locale files installation
From: @fundawang Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
bccc2df971
11
newt.spec
11
newt.spec
@ -1,6 +1,6 @@
|
|||||||
Name: newt
|
Name: newt
|
||||||
Version: 0.52.21
|
Version: 0.52.21
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: A library for text mode user interfaces
|
Summary: A library for text mode user interfaces
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
URL: https://pagure.io/newt
|
URL: https://pagure.io/newt
|
||||||
@ -64,6 +64,9 @@ providing a python API for creating text mode interfaces.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
chmod 0755 peanuts.py popcorn.py
|
chmod 0755 peanuts.py popcorn.py
|
||||||
docbook2txt tutorial.sgml
|
docbook2txt tutorial.sgml
|
||||||
|
|
||||||
@ -73,12 +76,11 @@ make test
|
|||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS README
|
%doc AUTHORS README
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_datadir}/locale
|
|
||||||
%{_libdir}/libnewt.so.*
|
%{_libdir}/libnewt.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -105,6 +107,9 @@ make test
|
|||||||
%{_mandir}/man1/whiptail.1*
|
%{_mandir}/man1/whiptail.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 05 2024 Funda Wang <fundawang@yeah.net> - 0.52.21-7
|
||||||
|
- fix locale files installation
|
||||||
|
|
||||||
* Mon Feb 13 2023 yanglu <yanglu72@h-partners.com> - 0.52.21-6
|
* Mon Feb 13 2023 yanglu <yanglu72@h-partners.com> - 0.52.21-6
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user