fix locale files installation
(cherry picked from commit f4141e7fa69a5b5f1beb6c3b27d61c9fb0d4d6c0)
This commit is contained in:
parent
b668594b36
commit
181503669c
19
newt.spec
19
newt.spec
@ -1,6 +1,6 @@
|
||||
Name: newt
|
||||
Version: 0.52.23
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: A library for text mode user interfaces
|
||||
License: LGPL-2.0-only
|
||||
URL: https://pagure.io/newt
|
||||
@ -54,40 +54,37 @@ docbook2txt tutorial.sgml
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libnewt.a
|
||||
%delete_la_and_a
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
make test
|
||||
%make_build test
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%files -f %{name}.lang
|
||||
%doc AUTHORS README
|
||||
%license COPYING
|
||||
%{_bindir}/*
|
||||
%{_datadir}/locale
|
||||
%{_libdir}/libnewt.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/newt*
|
||||
%{_libdir}/libnewt.so
|
||||
%{_libdir}/pkgconfig/*
|
||||
|
||||
%files -n python3-newt
|
||||
%defattr(-,root,root)
|
||||
%doc peanuts.py popcorn.py
|
||||
%{python3_sitearch}/*.*
|
||||
%{python3_sitearch}/__pycache__/*.py*
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc tutorial.* CHANGES
|
||||
%{_mandir}/man1/whiptail.1*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 05 2024 Funda Wang <fundawang@yeah.net> - 0.52.23-3
|
||||
- fix locale files installation
|
||||
|
||||
* Thu Aug 01 2024 yanglu <yanglu72@h-partners.com> - 0.52.23-2
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user