diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-29 20:30:22 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-29 20:30:22 -0700 |
commit | 1ff5132cc6d9bacac8f804c509ed0533e68c2019 (patch) | |
tree | 7267c9d35251f99a46d3f9a04723726f60e68cd3 | |
parent | 51e01f8ad4df8729edba0c3aa643979e7d379ceb (diff) | |
download | automake-1ff5132cc6d9bacac8f804c509ed0533e68c2019.tar.gz automake-1ff5132cc6d9bacac8f804c509ed0533e68c2019.tar.bz2 automake-1ff5132cc6d9bacac8f804c509ed0533e68c2019.zip |
added packagingsubmit/tizen/20130509.172550submit/tizen/20130503.185347submit/tizen/20130503.183600accepted/tizen/20130503.212924
-rw-r--r-- | packaging/automake-rpmlintrc | 4 | ||||
-rw-r--r-- | packaging/automake.spec | 59 |
2 files changed, 63 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.spec b/packaging/automake.spec new file mode 100644 index 000000000..7f91ed376 --- /dev/null +++ b/packaging/automake.spec @@ -0,0 +1,59 @@ +Name: automake +BuildRequires: autoconf >= 2.69 +BuildRequires: bison +BuildRequires: gcc-c++ +BuildRequires: xz +Requires: autoconf >= 2.69 +Version: 1.12.1 +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 +Source: automake-%{version}.tar.xz +Source1: automake-rpmlintrc +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} + +%build +sh bootstrap.sh +%configure --docdir=%{_docdir}/%{name} +make %{?_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 +%defattr(-,root,root) +%doc %{_docdir}/%{name} +%{_bindir}/* +%doc %{_infodir}/*.gz +%doc %{_mandir}/man1/* +%{_datadir}/aclocal* +%{_datadir}/automake-* +%config /etc/aclocal_dirlist + +%changelog |