Package automake_1.16: Specfile

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
%define realname automake
%define dialect _1.16
%define dialect_regex _1\\.16
%define suff -1.16
%define apiname %realname%suff

Name: %realname%dialect
Version: 1.16.5
Release: alt1

%define mydatadir %_datadir/%apiname
%set_compress_method xz
%define _perl_lib_path %perl_vendor_privlib:%mydatadir
%{?filter_from_requires:%filter_from_requires /^perl(\(Automake\|TAP\)/d}
%{?filter_from_provides:%filter_from_provides /^perl(/d}

Summary: A GNU tool for automatically creating Makefiles
License: GPL-2.0-or-later and GFDL-1.3-or-later
Group: Development/Other
Url: https://www.gnu.org/software/automake/
BuildArch: noarch

%define srcname %realname-%version-%release

# git://git.altlinux.org/gears/a/%name.git
Source: %srcname.tar

Requires: automake-common, autoconf >= 2:2.69

# Due to Automake History.
Conflicts: automake_1.14 < 1.14.1-alt5

BuildPreReq: autoconf >= 2:2.69, gnu-config, help2man, makeinfo, perl-threads
BuildPreReq: perl(TAP/Parser.pm)
%{!?__buildreqs:%{!?_without_check:%{!?_disable_check:BuildRequires: dejagnu expect flex gcc-c++ gcc-fortran makedepend}}}

%description
Automake is a tool for automatically generating `Makefile.in'
files compliant with the GNU Coding Standards.

%prep
%setup -n %srcname
xz -k9 NEWS

# Patch texinfo file.
sed -i \
	-e '/@direntry/,/@end direntry/ s/^\(\*[[:space:]]\+[[:alnum:].-]\+\)\(:[[:space:]]\+\)(%realname)/\1\2(%apiname)/' \
	-e '/^@\(setfilename\|settitle\)[[:space:]]\+%realname/ s//&%suff/' \
	doc/automake.texi

%build
%define docdir %_docdir/%realname-%version
./bootstrap
%configure --docdir=%docdir --disable-silent-rules
%make_build MAKEINFOFLAGS=--no-split

%install
%makeinstall_std MAKEINFOFLAGS=--no-split

# Provided by automake-common package.
rm %buildroot%_aclocaldir/README

# Provided by automake package.
rm %buildroot%_bindir/{aclocal,automake}
rm %buildroot%_man1dir/{aclocal,automake}.1*

# Replace config.* copies with symlinks to original files.
for f in %_datadir/gnu-config/config.*; do
	[ -f "$f" ] || continue
	ln -frs %buildroot"$f" %buildroot%mydatadir/"${f##*/}"
done

mkdir -p %buildroot%_sysconfdir/buildreqs/files/ignore.d
cat <<EOF >%buildroot%_sysconfdir/buildreqs/files/ignore.d/%name
^/usr/share/aclocal(%dialect_regex)?/.+\.m4$
EOF

mkdir -p %buildroot%_sysconfdir/buildreqs/packages/substitute.d
echo %realname >%buildroot%_sysconfdir/buildreqs/packages/substitute.d/%name

install -pm644 AUTHORS README THANKS NEWS.* \
	%buildroot%docdir/

# Reenable perl-threads dependencies.
# Do not use automake from the OS during generation of package dependencies.
%define __spec_autodep_custom_pre export AUTOMAKE_JOBS=1 AUTOMAKE_UNINSTALLED=1

%define _unpackaged_files_terminate_build 1
# This has no effect on this noarch package, but let it be.
%set_verify_elf_method strict

%check
%make_build -k check VERBOSE=1
chmod -R u+rwX t

%files
%config %_sysconfdir/buildreqs/packages/substitute.d/%name
%config %_sysconfdir/buildreqs/files/ignore.d/*
%_bindir/*%suff
%_man1dir/*%suff.1*
%_datadir/aclocal%suff
%mydatadir/
%_infodir/*.info*
%docdir/

%changelog
* Fri Jul 28 2023 Gleb F-Malinovskiy <glebfm@altlinux.org> 1.16.5-alt1
- v1.16.3 -> v1.16.5.
- Backported testsuite fixes from the master branch (thx Frederic Berat,
  Karl Berry).

* Thu Nov 19 2020 Dmitry V. Levin <ldv@altlinux.org> 1.16.3-alt1
- v1.16.2-24-gc8f8c3d5f -> v1.16.3.

* Thu Aug 20 2020 Dmitry V. Levin <ldv@altlinux.org> 1.16.2.0.24.c8f8c-alt2
- Reverted automake --version from 1.16b back to 1.16.2.

* Fri Aug 14 2020 Dmitry V. Levin <ldv@altlinux.org> 1.16.2.0.24.c8f8c-alt1
- v1.16.2 -> v1.16.2-24-gc8f8c3d5f.

* Tue Mar 17 2020 Dmitry V. Levin <ldv@altlinux.org> 1.16.2-alt1
- v1.16.1 -> v1.16.2.

* Tue Apr 09 2019 Dmitry V. Levin <ldv@altlinux.org> 1.16.1-alt1
- v1.16 -> v1.16.1.

* Mon Apr 08 2019 Dmitry V. Levin <ldv@altlinux.org> 1.16-alt1
- v1.14.1 -> v1.16.
- Dropped our homebrew AM_PROG_OBJC in favour of AC_PROG_OBJC
  provided by Autoconf.

* Wed Aug 08 2018 Dmitry V. Levin <ldv@altlinux.org> 1.14.1-alt3
- Dropped alternatives in favour of automake-defaults setup.

* Mon Dec 07 2015 Dmitry V. Levin <ldv@altlinux.org> 1.14.1-alt2
- automake: fixed perl regexp syntax (gnu#21001).
- Changed compress method from gzip to xz.
- Fixed test suite with new GNU gzip.
- Packaged Automake History.

* Tue Dec 24 2013 Dmitry V. Levin <ldv@altlinux.org> 1.14.1-alt1
- Updated to v1.14.1.

* Sun Oct 27 2013 Dmitry V. Levin <ldv@altlinux.org> 1.14-alt1
- Updated to v1.14.

* Mon Jun 03 2013 Dmitry V. Levin <ldv@altlinux.org> 1.11.6-alt3
- Replaced config.* copies with symlinks to original files.

* Sun Sep 09 2012 Dmitry V. Levin <ldv@altlinux.org> 1.11.6-alt2
- aclocal: backported upstream fix for perl 5.16.0.

* Mon Jul 09 2012 Dmitry V. Levin <ldv@altlinux.org> 1.11.6-alt1
- Updated to v1.11.6.

* Fri Apr 13 2012 Dmitry V. Levin <ldv@altlinux.org> 1.11.5-alt1
- Updated to v1.11.5.
- Reintroduced dependencies on perl-threads.

* Thu Apr 12 2012 Dmitry V. Levin <ldv@altlinux.org> 1.11.4-alt3
- Made shell quoting in generated commands more consistent.
  This fixes regression introduced by commit v1.11-759-g368f1c4.

* Tue Apr 10 2012 Dmitry V. Levin <ldv@altlinux.org> 1.11.4-alt2
- aclocal: fixed misapplied patch for /usr/share/libtool/aclocal support.

* Mon Apr 09 2012 Dmitry V. Levin <ldv@altlinux.org> 1.11.4-alt1
- Updated to v1.11.4.

* Sun Jan 23 2011 Alexey Tourbin <at@altlinux.ru> 1.11.1-alt3
- Automake/Config.pm: Disabled dependency on perl-threads.
- Filtered out perl(Automake*) provides using new rpm macros.

* Mon Jan 25 2010 Dmitry V. Levin <ldv@altlinux.org> 1.11.1-alt2
- Updated to branch-1.11 v1.11.1-16-g80c84dd.
- Merged upstream fix of silent-rules output for disabled
  dependency tracking.

* Wed Jan 06 2010 Dmitry V. Levin <ldv@altlinux.org> 1.11.1-alt1
- Updated to 1.11.1 stable release.

* Wed Sep 09 2009 Dmitry V. Levin <ldv@altlinux.org> 1.11-alt2
- Moved "make check" to %%check section.

* Sun May 17 2009 Dmitry V. Levin <ldv@altlinux.org> 1.11-alt1
- Updated to 1.11 stable release.
- Removed obsolete %%install_info/%%uninstall_info calls.

* Thu Apr 23 2009 Dmitry V. Levin <ldv@altlinux.org> 1.10b-alt1
- Updated to 1.10b unstable release.
- Disabled automake provides for unstable release.
- Packaged manual pages for automake and aclocal.
- Added buildrequires for testsuite.
- Made testsuite success result mandatory again.
- Fixed documentation packaging.

* Mon Feb 23 2009 Kirill A. Shutemov <kas@altlinux.ru> 1:1.10a-alt1
- Update to 1.10a snapshot
  + It's unstable version, so don't use it by default
- Ingore testsuite result for now.

* Sun Nov 23 2008 Dmitry V. Levin <ldv@altlinux.org> 1:1.10.2-alt1
- Updated to 1.10.2.

* Fri Nov 21 2008 Dmitry V. Levin <ldv@altlinux.org> 1:1.10.1-alt3
- Switched to alternatives-0.4.

* Sun Aug 03 2008 Dmitry V. Levin <ldv@altlinux.org> 1:1.10.1-alt2
- Updated to v1.10.1-26-g9f6dd90.
- Fixed alternatives version (reported by led@).

* Tue Jan 22 2008 Alex V. Myltsev <avm@altlinux.ru> 1:1.10.1-alt1
- Updated to 1.10.1.
- Beware: --add-missing now creates COPYING with GPLv3 inside.

* Tue Dec 25 2007 Dmitry V. Levin <ldv@altlinux.org> 1:1.10-alt2
- Disabled automatic requirements lookup in config.guess file.

* Tue Nov 27 2007 Alex V. Myltsev <avm@altlinux.ru> 1:1.10-alt1
- Updated to 1.10.

* Sun Dec 18 2005 Dmitry V. Levin <ldv@altlinux.org> 1:1.9.6-alt1
- Updated to 1.9.6.

* Wed Jun 22 2005 Dmitry V. Levin <ldv@altlinux.org> 1:1.9.5-alt3
- Fixed wording in documentation fix made in previous release.
- Rediffed patches.

* Mon May 23 2005 Dmitry V. Levin <ldv@altlinux.org> 1:1.9.5-alt2
- Adjusted test suite for upcoming GNU Make 3.81.
- Fixed temporary directory handling suggestions
  in texinfo documentation.

* Sun Feb 13 2005 Dmitry V. Levin <ldv@altlinux.org> 1:1.9.5-alt1
- Updated to 1.9.5.

* Sat Jan 08 2005 Mikhail Zabaluev <mhz@altlinux.ru> 1:1.9.4-alt1
- Really install objc.m4 [Patch0]

* Mon Jan 03 2005 Mikhail Zabaluev <mhz@altlinux.ru> 1:1.9.4-alt0.1
- Adapted for automake 1.9.x
- Switched to the new alternatives format
- Got rid of the separate buildreq ignore file

* Mon Aug 09 2004 Dmitry V. Levin <ldv@altlinux.org> 1:1.8.5-alt1
- Updated to 1.8.5.

* Wed Aug 04 2004 Dmitry V. Levin <ldv@altlinux.org> 1:1.8.3-alt3
- Provide objc.m4 to fix Objective-C support.

* Tue Mar 09 2004 Dmitry V. Levin <ldv@altlinux.org> 1:1.8.3-alt2
- Updated build dependencies for test suit.

* Mon Mar 08 2004 Dmitry V. Levin <ldv@altlinux.org> 1:1.8.3-alt1
- Updated to 1.8.3.

* Tue Feb 24 2004 Dmitry V. Levin <ldv@altlinux.org> 1:1.8.2-alt1
- Updated to 1.8.2, updated patches.

* Sun Nov 16 2003 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.9-alt1
- Updated to 1.7.9.

* Tue Sep 23 2003 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.7-alt1
- Updated to 1.7.7.

* Wed Aug 20 2003 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.6-alt3
- aclocal: enhanced $LIBTOOL_VERSION support.

* Tue Aug 19 2003 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.6-alt2
- aclocal: added $LIBTOOL_VERSION support.

* Mon Jul 21 2003 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.6-alt1
- Updated to 1.7.6, regenerated texinfo patch.

* Sat May 03 2003 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.4-alt2
- Deal with info dir entries such that the menu looks pretty.

* Thu May 01 2003 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.4-alt1
- Updated to 1.7.4

* Wed Apr 09 2003 Stanislav Ievlev <inger@altlinux.ru> 1:1.7.3-alt1.2
- Migrated to new alternatives config format.

* Thu Mar 20 2003 Stanislav Ievlev <inger@altlinux.ru> 1:1.7.3-alt1.1
- Migrated to new altenatives scheme.
- fixed strings spacing during install-info.

* Fri Mar 14 2003 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.3-alt1
- Updated to 1.7.3

* Sat Dec 14 2002 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.2-alt1
- Updated to 1.7.2

* Mon Dec 09 2002 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.1-alt2
- Corrected provides.

* Sun Nov 17 2002 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.1-alt1
- Updated to 1.7.1.

* Sun Oct 27 2002 Dmitry V. Levin <ldv@altlinux.org> 1:1.6.3-alt2
- Added automake-common support.
- Raised alternatives priority.

* Tue Oct 22 2002 Dmitry V. Levin <ldv@altlinux.org> 1:1.6.3-alt1
- Updated to 1.6.3.

* Wed May 29 2002 Dmitry V. Levin <ldv@altlinux.org> 1:1.6.1-alt2
- Added buildreq substitution rules.

* Sat May 18 2002 Alexey Voinov <voins@voins.program.ru> 1:1.6.1-alt1
- Renamed to automake_1.6, based on automake-1.4-alt4.p5
- New version (1.6.1).
- Added update-alternatives support.

* Tue Jan 22 2002 Dmitry V. Levin <ldv@alt-linux.org> 1:1.4-alt4.p5
- Added aclocal filter for buildreq.

* Wed Sep 19 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.4-alt3.p5
- Dont raise error when there is source in a subdirectory (hjl, rh #35156).
  This was preventing automake from working in binutuls/gas
  [patch from HJ Lu <hjl@gnu.org>]
- Format long lines of output properly with backslash + newlines as in 1.4
  (hjl, rh #35259)

* Mon Aug 20 2001 Sergey Vlasov <vsu@altlinux.ru> 1.4-alt2.p5
- Bugfix for Elisp file installation.
- Bugfix for lex file handling.

* Tue Jul 17 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.4-alt1.p5
- 1.4-p5

* Mon Jun 11 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.4-alt1.p4
- 1.4-p4

* Sat Jun 09 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.4-ipl16mdk
- 1.4-p3

* Tue May 29 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.4-ipl15mdk
- 1.4-p2

* Fri May 11 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.4-ipl14mdk
- 1.4-p1

* Sun May 06 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.4-ipl13mdk
- Updated vendor information.

* Thu Oct 05 2000 Dmitry V. Levin <ldv@fandra.org> 1.4-ipl12mdk
- Merge RH patch.

* Wed Jul 19 2000 Dmitry V. Levin <ldv@fandra.org> 1.4-ipl11mdk
- RE and Fandra adaptions.

* Fri Mar 31 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.4-8mdk
- new groups

* Wed Oct 27 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Merge with Jeff package.

* Tue Jun 22 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- 1.4 version.
- Merging with RedHat patch.

* Thu May 13 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- Mandrake adaptions
- 1.4a

* Mon Mar 22 1999 Preston Brown <pbrown@redhat.com>
- arm netwinder patch

* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
- Injected new description and group.

* Mon Feb  8 1999 Jeff Johnson <jbj@redhat.com>
- add patches from CVS for 6.0beta1

* Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- update to 1.4.

* Mon Nov 23 1998 Jeff Johnson <jbj@redhat.com>
- update to 1.3b.
- add URL.

* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Tue Apr 07 1998 Erik Troan <ewt@redhat.com>
- updated to 1.3

* Tue Oct 28 1997 Cristian Gafton <gafton@redhat.com>
- added BuildRoot; added aclocal files

* Fri Oct 24 1997 Erik Troan <ewt@redhat.com>
- made it a noarch package

* Thu Oct 16 1997 Michael Fulbright <msf@redhat.com>
- Fixed some tag lines to conform to 5.0 guidelines.

* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
- updated to 1.2

* Wed Mar 5 1997 msf@redhat.com <Michael Fulbright>
- first version (1.0)