summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-18 07:41:23 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-18 07:41:23 -0800
commit95db065b4ad5b4891bf0c5b9ff30680d56579b2b (patch)
treee7b1962767b538fc8ba385bb0934d016198af317
parentfcfa1a809c6436413ea45ae21b45196625489612 (diff)
downloadautoconf213-95db065b4ad5b4891bf0c5b9ff30680d56579b2b.tar.gz
autoconf213-95db065b4ad5b4891bf0c5b9ff30680d56579b2b.tar.bz2
autoconf213-95db065b4ad5b4891bf0c5b9ff30680d56579b2b.zip
-rw-r--r--packaging/autoconf213.spec67
1 files changed, 67 insertions, 0 deletions
diff --git a/packaging/autoconf213.spec b/packaging/autoconf213.spec
new file mode 100644
index 0000000..e13ec76
--- /dev/null
+++ b/packaging/autoconf213.spec
@@ -0,0 +1,67 @@
+Name: autoconf213
+License: GPL v2 or later
+Group: Development/Tools/Building
+Url: http://www.gnu.org/software/autoconf
+AutoReqProv: on
+Requires: gawk, m4 >= 1.1, mktemp, perl
+Version: 2.13
+Release: 1
+Summary: A GNU Tool for Automatically Configuring Source Code
+BuildArch: noarch
+Source: autoconf-%{version}.tar.bz2
+BuildRequires: texinfo
+BuildRequires: makeinfo
+
+%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.
+
+
+
+Authors:
+--------
+ Ben Elliston <bje@cygnus.com>
+ David J MacKenzie <djm@catapult.va.pubnix.com>
+
+%prep
+%setup -n autoconf-%{version} -q
+
+
+mv autoconf.texi autoconf213.texi
+rm -f autoconf.info
+
+%build
+./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir} \
+ --program-suffix=-2.13
+make
+
+%install
+%make_install
+# We don't want to include the standards.info stuff in the package,
+# because it comes from binutils...
+rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards*
+
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/autoconf2.13.info.gz
+
+%postun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf2.13.info.gz
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS COPYING NEWS README TODO
+%{_prefix}/bin/*
+%{_prefix}/share/autoconf-2.13
+%doc %{_infodir}/*.gz