Changes of Revision 15
[-] | Added | autoconf213.spec |
x 1
2 +# 3 +# spec file for package autoconf213 (Version 2.13) 4 +# 5 +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. 6 +# 7 +# All modifications and additions to the file contributed by third parties 8 +# remain the property of their copyright owners, unless otherwise agreed 9 +# upon. The license for this file, and modifications and additions to the 10 +# file, is the same license as for the pristine package itself (unless the 11 +# license for the pristine package is not an Open Source License, in which 12 +# case the license is the MIT License). An "Open Source License" is a 13 +# license that conforms to the Open Source Definition (Version 1.9) 14 +# published by the Open Source Initiative. 15 + 16 +# Please submit bugfixes or comments via http://bugs.opensuse.org/ 17 +# 18 + 19 + 20 + 21 +Name: autoconf213 22 +License: GPL v2 or later 23 +Group: Development/Tools/Building 24 +Url: http://www.gnu.org/software/autoconf 25 +AutoReqProv: on 26 +Requires: gawk, m4 >= 1.1, mktemp, perl 27 +PreReq: %{install_info_prereq} 28 +Version: 2.13 29 +Release: 2 30 +Summary: A GNU Tool for Automatically Configuring Source Code 31 +BuildArch: noarch 32 +Source: autoconf-%{version}.tar.bz2 33 +Patch0: autoconf-2.12-race.patch 34 +Patch1: autoconf-2.13-mawk.patch 35 +Patch2: autoconf-2.13-notmp.patch 36 +Patch3: autoconf-2.13-c++exit.patch 37 +Patch4: autoconf-2.13-headers.patch 38 +Patch5: autoconf-2.13-autoscan.patch 39 +Patch6: autoconf-2.13-exit.patch 40 +Patch7: autoconf-2.13-wait3test.patch 41 +Patch8: autoconf-2.13-make-defs-62361.patch 42 +Patch9: autoconf-2.13-versioning.patch 43 +Patch10: autoconf213-destdir.patch 44 +Patch11: autoconf213-info.patch 45 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 46 + 47 +%description 48 +GNU Autoconf is a tool for configuring source code and makefiles. Using 49 +autoconf, programmers can create portable and configurable packages, 50 +because the person building the package is allowed to specify various 51 +configuration options. 52 + 53 +You should install autoconf if you are developing software and would 54 +like to create shell scripts to configure your source code packages. 55 + 56 +Note that the autoconf package is not required for the end user who may 57 +be configuring software with an autoconf-generated script; autoconf is 58 +only required for the generation of the scripts, not their use. 59 + 60 + 61 + 62 +Authors: 63 +-------- 64 + Ben Elliston <bje@cygnus.com> 65 + David J MacKenzie <djm@catapult.va.pubnix.com> 66 + 67 +%prep 68 +%setup -n autoconf-%{version} -q 69 +%patch0 -p1 70 +%patch1 -p1 71 +%patch2 -p1 72 +%patch3 -p1 73 +%patch4 -p1 74 +%patch5 -p1 75 +%patch6 -p1 76 +%patch7 -p1 77 +%patch8 -p1 78 +%patch9 -p1 79 +%patch10 -p1 80 +%patch11 -p1 81 +mv autoconf.texi autoconf213.texi 82 +rm -f autoconf.info 83 + 84 +%build 85 +%{suse_update_config -f config} 86 +./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir} \ 87 + --program-suffix=-2.13 88 +make 89 + 90 +%install 91 +%makeinstall 92 +# We don't want to include the standards.info stuff in the package, 93 +# because it comes from binutils... 94 +rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards* 95 + 96 +%post 97 +%install_info --info-dir=%{_infodir} %{_infodir}/autoconf2.13.info.gz 98 + 99 +%postun 100 +%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf2.13.info.gz 101 + 102 +%clean 103 +rm -rf $RPM_BUILD_ROOT 104 + 105 +%files 106 +%defattr(-,root,root) 107 +%doc AUTHORS COPYING NEWS README TODO 108 +%{_prefix}/bin/* 109 +%{_prefix}/share/autoconf-2.13 110 +%doc %{_infodir}/*.gz 111 +%changelog 112 +* Fri Aug 22 2008 wr@rosenauer.org 113 +- initial autoconf 2.13 package based on Fedora's package 114 |