summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-11-01 01:32:49 +0000
committerCoprDistGit <infra@openeuler.org>2024-11-01 01:32:49 +0000
commitb63bc204fbfebf4f3514093777b4411bfb4cd15d (patch)
treeeb9cb88942f6aa972489bd5dc878599f1e5f7bd4
parent587bdee8ba121d791619d14d529e8e2660992902 (diff)
automatic import of autoconfopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--autoconf-el.el11
-rw-r--r--autoconf.spec99
-rw-r--r--config.site18
-rw-r--r--sources1
5 files changed, 130 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5903d0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/autoconf-2.72.tar.xz
diff --git a/autoconf-el.el b/autoconf-el.el
new file mode 100644
index 0000000..62e2a73
--- /dev/null
+++ b/autoconf-el.el
@@ -0,0 +1,11 @@
+;; Activate autoconf-mode
+(autoload 'autoconf-mode "autoconf-mode"
+ "Major mode for editing autoconf files." t)
+(add-to-list 'auto-mode-alist
+ '("\.ac\'\|configure\.in\'" . autoconf-mode))
+
+;; Activate autotest-mode
+(autoload 'autotest-mode "autotest-mode"
+ "Major mode for editing autotest files." t)
+(add-to-list 'auto-mode-alist
+ '("\.at\'" . autotest-mode))
diff --git a/autoconf.spec b/autoconf.spec
new file mode 100644
index 0000000..6ecfdbc
--- /dev/null
+++ b/autoconf.spec
@@ -0,0 +1,99 @@
+%global __requires_exclude ^perl\\(Autom4te::
+%global __provides_exclude ^perl\\(Autom4te::
+
+Name: autoconf
+Version: 2.72
+Release: 2
+Summary: An extensible package to automatically configure software source code packages
+License: GPL-2.0-or-later AND GPL-3.0-or-later and GFDL-1.3-or-later
+URL: https://www.gnu.org/software/%{name}/
+Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
+Source1: config.site
+Source2: autoconf-el.el
+
+BuildArch: noarch
+
+BuildRequires: m4 emacs perl perl-generators help2man gcc-c++
+Requires: m4 emacs-filesystem perl
+
+%package_help
+
+%description
+Autoconf is an extensible package of M4 macros that produce shell scripts to automatically
+configure software source code packages. These scripts can adapt the packages to many kinds
+of UNIX-like systems without manual user intervention. Autoconf creates a configuration script
+for a package from a template file that lists the operating system features that the package
+can use, in the form of M4 macro calls.
+
+%prep
+%autosetup -n %{name}-%{version} -p1
+
+%build
+export EMACS=%{_bindir}/emacs
+%configure --with-lispdir=%{_emacs_sitelispdir}/autoconf
+%make_build
+
+%check
+%make_build check
+
+%install
+%make_install
+# don't include standards.info, because it comes from binutils...
+rm -f %{buildroot}%{_infodir}/standards.info*
+install -p -D %{S:1} %{buildroot}%{_datadir}
+install -p -D %{S:2} %{buildroot}%{_emacs_sitestartdir}/autoconf-el.el
+
+%files
+%doc ChangeLog README THANKS
+%license COPYING* AUTHORS doc/autoconf.info
+%{_bindir}/*
+%{_datadir}/autoconf/
+%{_datadir}/config.site
+%{_datadir}/emacs/site-lisp/*
+
+%files help
+%doc NEWS TODO
+%{_infodir}/autoconf.info*
+%{_mandir}/man1/*
+
+%changelog
+* Sun Oct 27 2024 Funda Wang <fundawang@yeah.net> - 2.72-2
+- cleanup spec
+
+* Mon Jul 8 2024 dillon chen <dillon.chen@gmail.com> - 2.72-1
+- Type:enhancement
+- ID:NA
+- SUG:NA
+- DESC:Update autoconf to 2.72
+
+* Tue Jul 18 2023 fuanan <fuanan3@h-partners.com> - 2.71-4
+- Type:bugfix
+- ID:NA
+- SUG:NA
+- DESC:Fix testsuite failures with bash 5.2.15
+
+* Sat Oct 22 2022 yixiangzhike <yixiangzhike007@163.com> - 2.71-3
+- Type:bugfix
+- ID:NA
+- SUG:NA
+- DESC:Fix typo in variable name
+
+* Thu Jul 28 2022 fuanan <fuanan3@h-partners.com> - 2.71-2
+- Type:bugfix
+- ID:NA
+- SUG:NA
+- DESC:License compliance rectification
+
+* Sat Jan 29 2022 panxiaohe <panxh.life@foxmail.com> - 2.71-1
+- Type:enhancement
+- ID:NA
+- SUG:NA
+- DESC:Update autoconf to 2.71
+ Add perl to resolve compilation failure
+ Add gcc-c++ to solve test failure
+
+* Sat Jan 4 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.69-30
+- Strengthen sources and patches
+
+* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.69-29
+- Package Init
diff --git a/config.site b/config.site
new file mode 100644
index 0000000..976734c
--- /dev/null
+++ b/config.site
@@ -0,0 +1,18 @@
+# This is the config.site file to satisfy FHS defaults when installing below
+# /usr.
+#
+# You may override this file by your config.site using the CONFIG_SITE env
+# variable.
+
+# return when cross compiling
+[ -n $host ] && return 0;
+
+if [ "$prefix" = /usr ] || [[ "$prefix" = NONE && "$ac_default_prefix" = /usr ]]
+then
+ [ "$sysconfdir" = '${prefix}/etc' ] && sysconfdir=/etc
+ [ "$localstatedir" = '${prefix}/var' ] && localstatedir=/var
+ [ "$sharedstatedir" = '${prefix}/com' ] && sharedstatedir=/var
+
+# for x86_64 aarch64
+ [ "$libdir" = '${exec_prefix}/lib' ] && libdir='${exec_prefix}/lib64'
+fi
diff --git a/sources b/sources
new file mode 100644
index 0000000..b2d1828
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1be79f7106ab6767f18391c5e22be701 autoconf-2.72.tar.xz