m4/m4.spec

83 lines
1.9 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:03:13 -04:00
Name: m4
Version: 1.4.18
Release: 14
2019-09-30 11:03:13 -04:00
Summary: A GNU implementation of macro processor
License: GPLv3+
URL: https://www.gnu.org/software/m4/
Source0: https://ftp.gnu.org/gnu/m4/%{name}-%{version}.tar.xz
Patch0: m4-1.4.18-glibc-change-work-around.patch
BuildRequires: gcc autoconf automake
Provides: bundled(gnulib)
%description
GNU M4 is an implementation of the traditional Unix macro processor.
It is mostly SVR4 compatible although it has some extensions (for
example, handling more than 9 positional parameters to macros). GNU M4
also has built-in functions for including files, running shell commands,
doing arithmetic, etc.
%package help
Summary: Help Document
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description help
This package provides help document for m4.
%prep
%autosetup -p1
%build
autoreconf -ivf
%ifarch aarch64
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
%endif
2019-09-30 11:03:13 -04:00
%configure
%make_build
%install
%make_install
rm -rf %{buildroot}%{_infodir}/dir
%check
make check
%files
2019-11-06 19:42:41 +08:00
%doc README ChangeLog
%license COPYING AUTHORS
2019-09-30 11:03:13 -04:00
%{_bindir}/m4
%files help
%defattr(-,root,root)
%doc NEWS INSTALL THANKS TODO
%{_mandir}/man1/m4*
%{_infodir}/m4*
%changelog
* Fri Mar 19 2021 shixuantong <shixuantong@huawei.com> - 1.4.18-14
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix test_localeconv fail in aarch64 machine
2019-12-31 15:02:16 +08:00
* Mon Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.4.18-13
- Type:NA
- ID:NA
- SUG:NA
- DESC:delete unneeded source
2019-11-06 19:42:41 +08:00
* Mon Oct 21 2019 shenyangyang <shenyangyang4@huawei.com> - 1.4.18-12
- Type:NA
- ID:NA
- SUG:NA
- DESC:move AUTHORS to license directory
2019-09-30 11:03:13 -04:00
* Sun Sep 29 2019 shenyangyang <shenyangyang4@huawei.com> - 1.4.18-11
- Type:NA
- ID:NA
- SUG:NA
- DESC:move the directory of README
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.4.18-10
- Package Init