summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-09-30 15:21:35 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-09-30 15:27:44 +0900
commitee6c3538589c788ff1133815143b0ab44bdf5652 (patch)
tree30f7b0e025b20a779963c67c75f86dc35731dcf1
parent19d04ea285be5c7b1640fbdde69267353f65b8e5 (diff)
downloadautomake-accepted/tizen/7.0/base/hotfix/20230714.003646.tar.gz
automake-accepted/tizen/7.0/base/hotfix/20230714.003646.tar.bz2
automake-accepted/tizen/7.0/base/hotfix/20230714.003646.zip
Change-Id: I393d16dba653bf281c743901e5efe52b66f4dd78 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--packaging/automake-rpmlintrc4
-rw-r--r--packaging/automake.manifest5
-rw-r--r--packaging/automake.spec62
3 files changed, 71 insertions, 0 deletions
diff --git a/packaging/automake-rpmlintrc b/packaging/automake-rpmlintrc
new file mode 100644
index 000000000..53e59b8e6
--- /dev/null
+++ b/packaging/automake-rpmlintrc
@@ -0,0 +1,4 @@
+# This line is mandatory to access the configuration functions
+from Config import *
+
+addFilter("automake.* devel-file-in-non-devel-package")
diff --git a/packaging/automake.manifest b/packaging/automake.manifest
new file mode 100644
index 000000000..017d22d3a
--- /dev/null
+++ b/packaging/automake.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/automake.spec b/packaging/automake.spec
new file mode 100644
index 000000000..8a78a2d82
--- /dev/null
+++ b/packaging/automake.spec
@@ -0,0 +1,62 @@
+Name: automake
+BuildRequires: autoconf >= 2.69
+BuildRequires: bison
+BuildRequires: gcc-c++
+BuildRequires: makeinfo
+BuildRequires: xz
+Requires: autoconf >= 2.69
+Version: 1.16.4
+Release: 0
+Summary: A Program for Automatically Generating GNU-Style Makefile.in Files
+License: GPL-2.0+
+Group: Development/Tools/Building
+Url: http://www.gnu.org/software/automake
+#X-Vc-Url: git://git.savannah.gnu.org/automake.git
+Source: automake-%{version}.tar.xz
+Source1: automake-rpmlintrc
+Source1001: automake.manifest
+BuildArch: noarch
+
+%description
+Automake is a tool for automatically generating "Makefile.in" files
+from "Makefile.am" files. "Makefile.am" is a series of "make" macro
+definitions (with rules occasionally thrown in). The generated
+"Makefile.in" files are compatible with the GNU Makefile standards.
+
+%prep
+%setup -q -n automake-%{version}
+cp %{SOURCE1001} .
+
+%build
+sh bootstrap
+%configure --docdir=%{_docdir}/%{name}
+make %{!?asan:%{?_smp_mflags}}
+
+%install
+make install DESTDIR=%{buildroot}
+mkdir -p %{buildroot}/etc %{buildroot}/usr/share/aclocal
+echo /usr/local/share/aclocal >%{buildroot}/etc/aclocal_dirlist
+ln -s ../../../etc/aclocal_dirlist %{buildroot}/usr/share/aclocal/dirlist
+mkdir -p %{buildroot}%{_mandir}/man1
+install -m644 COPYING %{buildroot}%{_docdir}/%{name}
+# info's dir file is not auto ignored on some systems
+rm -rf %{buildroot}%{_infodir}/dir
+
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/automake.info.gz
+
+%postun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/automake.info.gz
+
+
+%files
+%manifest %{name}.manifest
+%license COPYING
+%defattr(-,root,root)
+%doc %{_docdir}/%{name}
+%{_bindir}/*
+%doc %{_infodir}/*.gz
+%doc %{_mandir}/man1/*
+%{_datadir}/aclocal*
+%{_datadir}/automake-*
+%config /etc/aclocal_dirlist