|
@@ -1,24 +1,21 @@
|
|
|
Summary: The GNU macro processor.
|
|
|
Summary(ja): GNU マクロプロセッサ
|
|
|
Name: m4
|
|
|
-Version: 1.4.18
|
|
|
+Version: 1.4.19
|
|
|
Release: 1%{?_dist_release}
|
|
|
-License: GPLv3+
|
|
|
-Group: Development/Tools
|
|
|
-URL: https://www.gnu.org/software/m4/
|
|
|
+Group: programming
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
|
+License: GPLv3+
|
|
|
+URL: https://www.gnu.org/software/m4/
|
|
|
Source: https://ftp.gnu.org/gnu/m4//m4-%{version}.tar.xz
|
|
|
-# Patch0: update to glibc libio.h removal, rhbz#1573342
|
|
|
-Patch0: m4-1.4.18-glibc-change-work-around.patch
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: libsigsegv-devel
|
|
|
Requires(post): /sbin/install-info
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
-
|
|
|
%description
|
|
|
A GNU implementation of the traditional UNIX macro processor. M4 is
|
|
|
useful for writing text files which can be logically parsed, and is used
|
|
@@ -40,15 +37,20 @@ m4 にはファイルのインクルード,シェルコマンドの実行,
|
|
|
|
|
|
マクロプロセッサが必要なら m4 をインストールして下さい.
|
|
|
|
|
|
+
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%patch0 -p1 -b .glibc-change-work-around
|
|
|
chmod 644 COPYING
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
%configure
|
|
|
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
%makeinstall INSTALL_DATA="install -c -m644"
|
|
@@ -56,6 +58,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
# ensure /usr/share/info.dir is not included into the package
|
|
|
rm -fv %{buildroot}%{_infodir}/dir
|
|
|
|
|
|
+%find_lang m4
|
|
|
|
|
|
%post
|
|
|
/sbin/install-info %{_infodir}/m4.info.gz %{_infodir}/dir
|
|
@@ -65,11 +68,12 @@ if [ "$1" = 0 ]; then
|
|
|
/sbin/install-info --delete %{_infodir}/m4.info.gz %{_infodir}/dir
|
|
|
fi
|
|
|
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
-%files
|
|
|
+%files -f m4.lang
|
|
|
%defattr(-,root,root)
|
|
|
%license COPYING
|
|
|
%doc AUTHORS ChangeLog NEWS THANKS README
|
|
@@ -77,7 +81,12 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_infodir}/*
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
+
|
|
|
%changelog
|
|
|
+* Tue Jun 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.4.19-1
|
|
|
+- new upstream release.
|
|
|
+- dropped Patch0: fixed in upstream.
|
|
|
+
|
|
|
* Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.4.18-1
|
|
|
- new upstream release.
|
|
|
- imported Patch0 for gcc8 from rawhide.
|