detach the sub package emacs-gettext from gettex-devel
Signed-off-by: yang_zhuang_zhuang <1162011203@qq.com>
This commit is contained in:
parent
c529bb5960
commit
7000d88dbb
31
gettext.spec
31
gettext.spec
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: gettext
|
Name: gettext
|
||||||
Version: 0.21
|
Version: 0.21
|
||||||
Release: 3
|
Release: 4
|
||||||
License: GPLv3+ and LGPLv2+
|
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.
|
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/
|
URL: https://www.gnu.org/software/gettext/
|
||||||
@ -56,12 +56,6 @@ Obsoletes: gettext-autopoint < 0.18.1.1-3
|
|||||||
Provides: gettext-autopoint = %{version}-%{release}
|
Provides: gettext-autopoint = %{version}-%{release}
|
||||||
Obsoletes: %{name}-common-devel
|
Obsoletes: %{name}-common-devel
|
||||||
Provides: %{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
|
Obsoletes: msghack
|
||||||
Provides: 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.
|
edit/alter po files, you should install this package.
|
||||||
want to add gettext support for your project.
|
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
|
%package help
|
||||||
Summary: help info for %{name}
|
Summary: help info for %{name}
|
||||||
|
|
||||||
@ -219,11 +226,13 @@ make check LIBUNISTRING=-lunistring
|
|||||||
%{_libdir}/%{name}/gnu.gettext.*
|
%{_libdir}/%{name}/gnu.gettext.*
|
||||||
%endif
|
%endif
|
||||||
%{_datadir}/%{name}/archive.*.tar.xz
|
%{_datadir}/%{name}/archive.*.tar.xz
|
||||||
|
%license COPYING
|
||||||
|
|
||||||
|
%files -n emacs-%{name}
|
||||||
%dir %{_emacs_sitelispdir}/%{name}
|
%dir %{_emacs_sitelispdir}/%{name}
|
||||||
%{_emacs_sitelispdir}/%{name}/*.elc
|
%{_emacs_sitelispdir}/%{name}/*.elc
|
||||||
%{_emacs_sitelispdir}/%{name}/*.el
|
%{_emacs_sitelispdir}/%{name}/*.el
|
||||||
%{_emacs_sitestartdir}/*.el
|
%{_emacs_sitestartdir}/*.el
|
||||||
%license COPYING
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_infodir}/gettext*
|
%{_infodir}/gettext*
|
||||||
@ -233,6 +242,12 @@ make check LIBUNISTRING=-lunistring
|
|||||||
%exclude %{_mandir}/man1/autopoint.1*
|
%exclude %{_mandir}/man1/autopoint.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Apr 30 2021 yangzhuangzhuang<yangzhuangzhuang1@Huawei.com> - 0.21-3
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user