summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-09-30 10:09:29 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-09-30 12:10:54 +0900
commiteb64025e7a7a888680a959b089e9e9c1324162dc (patch)
tree9782318b6ef092f2089d4f2f3b793e4ab3c89214
parent871f5f45f9149321303e1846a888bc656a58851b (diff)
downloadautoconf-accepted/tizen_7.0_base_hotfix.tar.gz
autoconf-accepted/tizen_7.0_base_hotfix.tar.bz2
autoconf-accepted/tizen_7.0_base_hotfix.zip
Change-Id: I9931ed5fcd9adbf1ff76c52befd56fa760dbf269 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--packaging/autoconf.manifest5
-rw-r--r--packaging/autoconf.spec63
2 files changed, 68 insertions, 0 deletions
diff --git a/packaging/autoconf.manifest b/packaging/autoconf.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/autoconf.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/autoconf.spec b/packaging/autoconf.spec
new file mode 100644
index 0000000..39090a1
--- /dev/null
+++ b/packaging/autoconf.spec
@@ -0,0 +1,63 @@
+Name: autoconf
+BuildRequires: xz
+BuildRequires: m4 >= 1.4.6
+Url: http://www.gnu.org/software/autoconf
+Requires: m4 >= 1.4.6
+Requires: perl >= 5.6
+Version: 2.71
+Release: 0
+Summary: A GNU Tool for Automatically Configuring Source Code
+License: GPL-3.0+
+Group: Development/Tools/Building
+Source: autoconf-%{version}.tar.xz
+Source1001: autoconf.manifest
+BuildArch: noarch
+
+%description
+GNU Autoconf is a tool for configuring source code and makefiles. Using
+autoconf, programmers can create portable and configurable packages,
+because the person building the package is allowed to specify various
+configuration options.
+
+You should install autoconf if you are developing software and would
+like to create shell scripts to configure your source code packages.
+
+Note that the autoconf package is not required for the end user who may
+be configuring software with an autoconf-generated script; autoconf is
+only required for the generation of the scripts, not their use.
+
+%prep
+%setup -q -n autoconf-%{version}
+cp %{SOURCE1001} .
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%check
+# trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT
+# make check
+
+%install
+%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
+rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
+# info's dir file is not auto ignored on some systems
+#
+rm -rf %{buildroot}%{_infodir}/dir
+
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
+
+%postun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
+
+
+%files
+%manifest %{name}.manifest
+%license COPYING*
+%{_prefix}/bin/*
+%{_prefix}/share/autoconf
+%doc %{_infodir}/*.gz
+%doc %{_mandir}/man1/*.gz
+
+%changelog