!19 detach the sub package emacs-gettext from gettex-devel
From: @yang_zhuang_zhuang Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
203c8a4840
31
gettext.spec
31
gettext.spec
@ -6,7 +6,7 @@
|
||||
|
||||
Name: gettext
|
||||
Version: 0.21
|
||||
Release: 3
|
||||
Release: 4
|
||||
License: GPLv3+ and LGPLv2+
|
||||
Summary: GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages.
|
||||
URL: https://www.gnu.org/software/gettext/
|
||||
@ -56,12 +56,6 @@ Obsoletes: gettext-autopoint < 0.18.1.1-3
|
||||
Provides: gettext-autopoint = %{version}-%{release}
|
||||
Obsoletes: %{name}-common-devel
|
||||
Provides: %{name}-common-devel
|
||||
Provides: emacs-po-mode
|
||||
Requires: emacs(bin) >= %{_emacs_version}
|
||||
Provides: emacs-%{name}-el = %{version}-%{release}
|
||||
Provides: emacs-%{name}
|
||||
Obsoletes: emacs-%{name} < %{version}-%{release}
|
||||
Obsoletes: emacs-%{name}-el < %{version}-%{release}
|
||||
Obsoletes: msghack
|
||||
Provides: msghack
|
||||
|
||||
@ -71,6 +65,19 @@ po files, if you need to compile gettext related application/library or
|
||||
edit/alter po files, you should install this package.
|
||||
want to add gettext support for your project.
|
||||
|
||||
%package -n emacs-%{name}
|
||||
Summary: Support for editing po files within GNU Emacs
|
||||
Group: Application/Editors
|
||||
BuildArch: noarch
|
||||
# help users find po-mode.el
|
||||
Provides: emacs-po-mode
|
||||
Requires: emacs(bin) >= %{_emacs_version}
|
||||
Provides: emacs-%{name}-el = %{version}-%{release}
|
||||
Obsoletes: emacs-%{name}-el < %{version}-%{release}
|
||||
|
||||
%description -n emacs-%{name}
|
||||
This package provides a major mode for editing po files within GUN Emacs
|
||||
|
||||
%package help
|
||||
Summary: help info for %{name}
|
||||
|
||||
@ -219,11 +226,13 @@ make check LIBUNISTRING=-lunistring
|
||||
%{_libdir}/%{name}/gnu.gettext.*
|
||||
%endif
|
||||
%{_datadir}/%{name}/archive.*.tar.xz
|
||||
%license COPYING
|
||||
|
||||
%files -n emacs-%{name}
|
||||
%dir %{_emacs_sitelispdir}/%{name}
|
||||
%{_emacs_sitelispdir}/%{name}/*.elc
|
||||
%{_emacs_sitelispdir}/%{name}/*.el
|
||||
%{_emacs_sitestartdir}/*.el
|
||||
%license COPYING
|
||||
|
||||
%files help
|
||||
%{_infodir}/gettext*
|
||||
@ -233,6 +242,12 @@ make check LIBUNISTRING=-lunistring
|
||||
%exclude %{_mandir}/man1/autopoint.1*
|
||||
|
||||
%changelog
|
||||
* Fri May 14 2021 yangzhuangzhuang<yangzhuangzhuang1@Huawei.com> - 0.21-4
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:detach the sub package emacs-gettext from gettex-devel
|
||||
|
||||
* Fri Apr 30 2021 yangzhuangzhuang<yangzhuangzhuang1@Huawei.com> - 0.21-3
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user