[5148] | 1 | %define prereq_ge() %(LC_ALL="C" rpm -q --queryformat 'Requires(post):%%{NAME} >= %%{VERSION}' %1| grep -v "is not") |
---|
[521] | 2 | |
---|
| 3 | Summary: A GNU tool for automatically configuring source code. |
---|
| 4 | Summary(ja): ソースコードを自動的に設定するための GNU ツール |
---|
| 5 | Name: autoconf |
---|
[5148] | 6 | Version: 2.68 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
[521] | 8 | License: GPL |
---|
| 9 | Group: Development/Tools |
---|
| 10 | URL: http://www.gnu.org/software/autoconf/ |
---|
| 11 | |
---|
[737] | 12 | Source: ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-%{version}.tar.xz |
---|
[521] | 13 | |
---|
| 14 | # Vine Source(s) |
---|
| 15 | Source10: autoconf-mode-install.sh |
---|
| 16 | Source11: autoconf-mode-remove.sh |
---|
| 17 | |
---|
[5148] | 18 | Requires(post,preun): /sbin/install-info |
---|
[521] | 19 | Requires: gawk, m4, mktemp, perl, textutils |
---|
| 20 | Obsoletes: autoconf253 |
---|
| 21 | BuildArch: noarch |
---|
| 22 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | GNU's Autoconf is a tool for configuring source code and Makefiles. |
---|
| 26 | Using Autoconf, programmers can create portable and configurable |
---|
| 27 | packages, since the person building the package is allowed to |
---|
| 28 | specify various configuration options. |
---|
| 29 | |
---|
| 30 | You should install Autoconf if you are developing software and |
---|
| 31 | would like to create shell scripts that configure your source code |
---|
| 32 | packages. If you are installing Autoconf, you will also need to |
---|
| 33 | install the GNU m4 package. |
---|
| 34 | |
---|
| 35 | Note that the Autoconf package is not required for the end-user who |
---|
| 36 | may be configuring software with an Autoconf-generated script; |
---|
| 37 | Autoconf is only required for the generation of the scripts, not |
---|
| 38 | their use. |
---|
| 39 | |
---|
| 40 | %description -l ja |
---|
| 41 | GNU autoconf はソースコードと Makefile を自動的に設定する GNU ツール |
---|
| 42 | です.Autoconf を使えば,プログラマは移植や設定が容易なパッケージを |
---|
| 43 | 作ることができます.そのため,パッケージ作成者はさまざまな設定 |
---|
| 44 | オプションを指定できます。 |
---|
| 45 | |
---|
| 46 | ソフトウェアを開発していてソースコードパッケージを設定するシェル |
---|
| 47 | スクリプトを生成したいとお考えなら,Autoconf をインストールしてください. |
---|
| 48 | Autoconf をインストールするためには GNU m4 パッケージもインストールする |
---|
| 49 | 必要があります. |
---|
| 50 | |
---|
| 51 | Autoconf が生成したスクリプトを使ってソフトウェアを設定するかもしれない |
---|
| 52 | エンドユーザには Autoconf パッケージが必要ないことに注目してください. |
---|
| 53 | Autoconf が必要になるのはスクリプトを生成するときのみで,使うときには |
---|
| 54 | 必要ありません. |
---|
| 55 | |
---|
| 56 | %package mode |
---|
| 57 | Summary: Emacs-lisp autoconf-mode for autoconf/autotest |
---|
| 58 | Group: Applications/Editors/Emacs |
---|
[5148] | 59 | BuildRequires: emacsen |
---|
[521] | 60 | %prereq_ge emacsen-common |
---|
[5148] | 61 | Requires: emacsen |
---|
[521] | 62 | |
---|
| 63 | %description mode |
---|
| 64 | Emacs-lisp autoconf-mode for autoconf/autotest |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %prep |
---|
| 68 | %setup -q -n autoconf-%{version} |
---|
| 69 | #patch0 -p1 |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %build |
---|
| 73 | %configure |
---|
| 74 | make |
---|
| 75 | |
---|
| 76 | #make check |
---|
| 77 | |
---|
| 78 | %install |
---|
| 79 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 80 | %makeinstall |
---|
| 81 | |
---|
| 82 | gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/autoconf.info* |
---|
| 83 | |
---|
| 84 | # We don't want to include the standards.info stuff in the package, |
---|
| 85 | # because it comes from binutils... |
---|
| 86 | rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards* |
---|
| 87 | # cp install-sh ${RPM_BUILD_ROOT}%{_datadir}/autoconf |
---|
| 88 | |
---|
| 89 | # remove info dir file since it isn't packaged |
---|
| 90 | rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir |
---|
| 91 | |
---|
| 92 | # move elisp files |
---|
| 93 | pushd ${RPM_BUILD_ROOT}/%{_datadir}/emacs/site-lisp |
---|
| 94 | mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/emacs/site-lisp/autoconf-mode |
---|
| 95 | mv *.el autoconf-mode/ |
---|
| 96 | popd |
---|
| 97 | |
---|
| 98 | # emacsen-common-ize |
---|
| 99 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/autoconf-mode |
---|
| 100 | #mkdir -p $RPM_BUILD_ROOT/%{_libdir}/emacsen-common/packages/install |
---|
| 101 | #mkdir -p $RPM_BUILD_ROOT/%{_libdir}/emacsen-common/packages/remove |
---|
| 102 | mkdir -p $RPM_BUILD_ROOT/%{emacsen_pkgdir}/install |
---|
| 103 | mkdir -p $RPM_BUILD_ROOT/%{emacsen_pkgdir}/remove |
---|
| 104 | |
---|
| 105 | %_installemacsenscript autoconf-mode %{SOURCE10} |
---|
| 106 | |
---|
| 107 | %_removeemacsenscript autoconf-mode %{SOURCE11} |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | %clean |
---|
| 111 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 112 | |
---|
| 113 | |
---|
| 114 | %post |
---|
| 115 | /sbin/install-info %{_infodir}/autoconf.info.gz %{_infodir}/dir |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | %post mode |
---|
| 119 | |
---|
| 120 | if [ "$1" = 2 ]; then |
---|
| 121 | |
---|
| 122 | %_emacsenPackageRemove autoconf-mode |
---|
| 123 | |
---|
| 124 | fi |
---|
| 125 | |
---|
| 126 | %_addemacsenlist autoconf-mode |
---|
| 127 | |
---|
| 128 | %_emacsenPackageInstall autoconf-mode |
---|
| 129 | |
---|
| 130 | |
---|
| 131 | %preun |
---|
| 132 | if [ "$1" = 0 ]; then |
---|
| 133 | /sbin/install-info --del %{_infodir}/autoconf.info.gz %{_infodir}/dir |
---|
| 134 | fi |
---|
| 135 | |
---|
| 136 | |
---|
| 137 | %preun mode |
---|
| 138 | |
---|
| 139 | if [ "$1" = 0 ]; then |
---|
| 140 | |
---|
| 141 | %_emacsenPackageRemove autoconf-mode |
---|
| 142 | |
---|
| 143 | %_removeemacsenlist autoconf-mode |
---|
| 144 | |
---|
| 145 | fi |
---|
| 146 | |
---|
| 147 | |
---|
| 148 | %files |
---|
| 149 | %defattr(-,root,root) |
---|
| 150 | %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO |
---|
| 151 | %{_bindir}/* |
---|
| 152 | %{_infodir}/*.info* |
---|
| 153 | %{_datadir}/autoconf |
---|
| 154 | %{_mandir}/man1/* |
---|
| 155 | |
---|
| 156 | |
---|
| 157 | %files mode |
---|
| 158 | %defattr(-,root,root) |
---|
| 159 | %{_datadir}/emacs/site-lisp/autoconf-mode/ |
---|
| 160 | #/usr/lib/emacsen-common/packages/install/autoconf-mode |
---|
| 161 | #/usr/lib/emacsen-common/packages/remove/autoconf-mode |
---|
| 162 | %{emacsen_pkgdir}/install/autoconf-mode |
---|
| 163 | %{emacsen_pkgdir}/remove/autoconf-mode |
---|
| 164 | |
---|
| 165 | |
---|
| 166 | %changelog |
---|
[5148] | 167 | * Sun Nov 13 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.68-1 |
---|
| 168 | - new upstream release |
---|
| 169 | |
---|
[3534] | 170 | * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.65-2 |
---|
| 171 | - rebuilt with rpm-4.8.1-3 |
---|
| 172 | |
---|
[737] | 173 | * Sun Apr 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.65-1 |
---|
| 174 | - new upstream release |
---|
| 175 | |
---|
[521] | 176 | * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.63-1 |
---|
| 177 | - new upstream release |
---|
| 178 | - dropped Patch0 (merged into upstream) |
---|
| 179 | |
---|
| 180 | * Wed Sep 10 2008 Shu KONNO <owa@bg.wakwak.com> 2.62-3 |
---|
| 181 | - added %%emacsen_pkgdir macro |
---|
| 182 | - spec in utf-8 |
---|
| 183 | |
---|
| 184 | * Wed Jun 18 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.62-2 |
---|
| 185 | - import Patch0 from Fedora 2.62-2 |
---|
| 186 | * Fri Jun 06 2008 Karsten Hopp <karsten@redhat.com> 2.62-2 |
---|
| 187 | - add upstream fix from Eric Blake for #449973, |
---|
| 188 | m4_if releated error message from autotest |
---|
| 189 | |
---|
| 190 | * Sun May 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.62-1 |
---|
| 191 | - new upstream release |
---|
| 192 | |
---|
| 193 | * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.61-0vl1 |
---|
| 194 | - new upstream release |
---|
| 195 | |
---|
| 196 | * Tue Sep 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.59-2vl4 |
---|
| 197 | - changed autoconf-mode Group to Appliations/Editors/Emacs <BTS:VineLinux:163> |
---|
| 198 | - added Japanese summary and description from vinedocs.sourceforge.jp |
---|
| 199 | - s/Copyright/License/ |
---|
| 200 | |
---|
| 201 | * Wed Feb 25 2004 Tomoya TAKA <taka@vinelinux.org> 2.59-2vl3 |
---|
| 202 | - rebuild |
---|
| 203 | |
---|
| 204 | * Fri Feb 20 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.59-2vl2 |
---|
| 205 | - rebuild |
---|
| 206 | |
---|
| 207 | * Mon Jan 12 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.59-2vl1 |
---|
| 208 | - update to 2.59 bugfix release |
---|
| 209 | |
---|
| 210 | * Mon Nov 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.58-0vl1 |
---|
| 211 | - new upstream release |
---|
| 212 | |
---|
| 213 | * Tue Apr 08 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.57-3vl1 |
---|
| 214 | - source update |
---|
| 215 | |
---|
| 216 | * Mon Dec 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.56-1vl2 |
---|
| 217 | - don't show annoying messages during elisp compilation |
---|
| 218 | |
---|
| 219 | * Sun Dec 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.56-1vl1 |
---|
| 220 | - based on 2.56-1 from Rawhide and built for Vine Linux |
---|
| 221 | - emacsen-common-ize |
---|
| 222 | |
---|
| 223 | * Mon Nov 18 2002 Jens Petersen <petersen@redhat.com> 2.56-1 |
---|
| 224 | - update to 2.56 |
---|
| 225 | - obsolete autoheader-warn patch |
---|
| 226 | - no longer provide autoconf253 |
---|
| 227 | - include site-lisp and man files |
---|
| 228 | - remove info dir which is not in the manifest |
---|
| 229 | - do not version suffix bin files for now |
---|
| 230 | |
---|
| 231 | * Mon Aug 19 2002 Jens Petersen <petersen@redhat.com> 2.53-8 |
---|
| 232 | - make check |
---|
| 233 | |
---|
| 234 | * Fri Jun 28 2002 Jens Petersen <petersen@redhat.com> 2.53-7 |
---|
| 235 | - update url (#66840) |
---|
| 236 | - added doc files |
---|
| 237 | |
---|
| 238 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.53-6 |
---|
| 239 | - automated rebuild |
---|
| 240 | |
---|
| 241 | * Sun May 26 2002 Tim Powers <timp@redhat.com> 2.53-5 |
---|
| 242 | - automated rebuild |
---|
| 243 | |
---|
| 244 | * Mon May 20 2002 Bill Nottingham <notting@redhat.com> 2.53-4 |
---|
| 245 | - provide autoconf253 |
---|
| 246 | |
---|
| 247 | * Thu May 16 2002 Bill Nottingham <notting@redhat.com> 2.53-3 |
---|
| 248 | - obsolete autoconf253 |
---|
| 249 | |
---|
| 250 | * Wed May 8 2002 Jens Petersen <petersen@redhat.com> 2.53-2 |
---|
| 251 | - patch autoheader so that --warnings=CATEGORY works (#64566) |
---|
| 252 | [reported with fix by hjl@gnu.org] |
---|
| 253 | |
---|
| 254 | * Tue Apr 23 2002 Jens Petersen <petersen@redhat.com> 2.53-1 |
---|
| 255 | - update to autoconf-2.53 |
---|
| 256 | - drop mawk patch again |
---|
| 257 | - version suffix bindir files and add symlinks to unversioned names |
---|
| 258 | |
---|
| 259 | * Fri Feb 1 2002 Jens Petersen <petersen@redhat.com> 2.52-7 |
---|
| 260 | - revert to 2.52 (also fixes #58210!) |
---|
| 261 | - remove relversion variable |
---|
| 262 | - bring back mawk -> gawk patch |
---|
| 263 | |
---|
| 264 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> 2.52-6 |
---|
| 265 | - automated rebuild |
---|
| 266 | |
---|
| 267 | * Thu Dec 20 2001 Jens Petersen <petersen@redhat.com> 2.52-5 |
---|
| 268 | - update to 2.52f |
---|
| 269 | - add URL |
---|
| 270 | - minor description improvements |
---|
| 271 | - define relversion to carry version number |
---|
| 272 | - mawk.patch no longer needed |
---|
| 273 | |
---|
| 274 | * Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.52-4 |
---|
| 275 | - rebuild |
---|
| 276 | |
---|
| 277 | * Wed Sep 19 2001 Jens Petersen <petersen@redhat.com> 2.52-3 |
---|
| 278 | - restore patch to prefer gawk to mawk |
---|
| 279 | |
---|
| 280 | * Tue Sep 18 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.52-2 |
---|
| 281 | - update to 2.52d |
---|
| 282 | |
---|
| 283 | * Mon Sep 17 2001 Jens Petersen <petersen@redhat.com> 2.52-1 |
---|
| 284 | - update to 2.52 |
---|
| 285 | - remove obsolete patches, since already new version |
---|
| 286 | - dont install install-sh |
---|
| 287 | |
---|
| 288 | * Tue Jul 10 2001 Jens Petersen <petersen@redhat.com> |
---|
| 289 | - add patch to include various standard C headers as needed |
---|
| 290 | by various autoconf tests (#19114) |
---|
| 291 | - add patch to autoscan.pl to get a better choice of init |
---|
| 292 | file (#42071), to test for CPP after CC (#42072) and to |
---|
| 293 | detect C++ source and g++ (#42073). |
---|
| 294 | |
---|
| 295 | * Tue Jun 26 2001 Jens Petersen <petersen@redhat.com> |
---|
| 296 | - Add a back-port of _AC_PROG_CXX_EXIT_DECLARATION |
---|
| 297 | from version 2.50 to make detection of C++ exit() |
---|
| 298 | declaration prototype platform independent. The check is |
---|
| 299 | done in AC_PROG_CXX with the result stored in "confdefs.h". |
---|
| 300 | The exit() prototype in AC_TRY_RUN_NATIVE is no longer needed. |
---|
| 301 | (fixes #18829) |
---|
| 302 | |
---|
| 303 | * Wed Nov 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 304 | - Fix up interoperability with glibc 2.2 and gcc 2.96: |
---|
| 305 | AC_TRY_RUN_NATIVE in C++ mode added a prototype for exit() to |
---|
| 306 | the test code without throwing an exception, causing a conflict |
---|
| 307 | with stdlib.h --> AC_TRY_RUN_NATIVE for C++ code including stdlib.h |
---|
| 308 | always failed, returning wrong results |
---|
| 309 | |
---|
| 310 | * Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 311 | - add textutils as a dependency (#14439) |
---|
| 312 | |
---|
| 313 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
| 314 | - automatic rebuild |
---|
| 315 | |
---|
| 316 | * Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 317 | - FHS packaging. |
---|
| 318 | |
---|
| 319 | * Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 320 | - fix preun |
---|
| 321 | |
---|
| 322 | * Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 323 | - add patch to help autoconf clean after itself and not leave /tmp clobbered |
---|
| 324 | with acin.* and acout.* files (can you say annoying?) |
---|
| 325 | |
---|
| 326 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 327 | - auto rebuild in the new build environment (release 4) |
---|
| 328 | - use gawk, not mawk |
---|
| 329 | |
---|
| 330 | * Thu Mar 18 1999 Preston Brown <pbrown@redhat.com> |
---|
| 331 | - moved /usr/lib/autoconf to /usr/share/autoconf (with automake) |
---|
| 332 | |
---|
| 333 | * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com> |
---|
| 334 | - Injected new description and group. |
---|
| 335 | |
---|
| 336 | * Tue Jan 12 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 337 | - update to 2.13. |
---|
| 338 | |
---|
| 339 | * Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 340 | - build against glibc 2.1 |
---|
| 341 | |
---|
| 342 | * Mon Oct 05 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 343 | - requires perl |
---|
| 344 | |
---|
| 345 | * Thu Aug 27 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 346 | - patch for fixing /tmp race conditions |
---|
| 347 | |
---|
| 348 | * Sun Oct 19 1997 Erik Troan <ewt@redhat.com> |
---|
| 349 | - spec file cleanups |
---|
| 350 | - made a noarch package |
---|
| 351 | - uses autoconf |
---|
| 352 | - uses install-info |
---|
| 353 | |
---|
| 354 | * Thu Jul 17 1997 Erik Troan <ewt@redhat.com> |
---|
| 355 | - built with glibc |
---|
| 356 | |
---|