m4/m4.spec

258 lines
7.6 KiB
RPMSpec
Raw Normal View History

Summary: The GNU macro processor
Name: m4
2011-03-02 10:48:59 +00:00
Version: 1.4.16
Release: 3%{?dist}
License: GPLv3+
Group: Applications/Text
2010-03-01 15:04:36 +00:00
Source0: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
Source1: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz.sig
2004-12-12 19:12:36 +00:00
URL: http://www.gnu.org/software/m4/
# Patch0: Temporary fix to avoid fails, already fixed in gnulib, this patch
# should be removed after updating m4 to newer gnulib
Patch0: m4-1.4.16-readlink-einval.patch
2008-02-11 13:57:24 +00:00
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%description
A GNU implementation of the traditional UNIX macro processor. M4 is
useful for writing text files which can be logically parsed, and is used
by many programs as part of their build process. M4 has built-in
functions for including files, running shell commands, doing arithmetic,
etc. The autoconf program needs m4 for generating configure scripts, but
not for running configure scripts.
Install m4 if you need a macro processor.
%prep
2005-04-01 09:48:10 +00:00
%setup -q
%patch0 -p1 -b .readlink-einval
2008-07-01 14:10:16 +00:00
chmod 644 COPYING
%build
%configure
2008-07-01 14:10:16 +00:00
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
2008-07-01 14:10:16 +00:00
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%check
make %{?_smp_mflags} check
%files
2008-07-01 14:10:16 +00:00
%defattr(-,root,root,-)
2006-07-17 01:34:39 +00:00
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
2005-10-22 17:31:37 +00:00
%{_bindir}/m4
%{_infodir}/*
2006-07-17 01:34:39 +00:00
%{_mandir}/man1/m4.1*
%post
if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
/sbin/install-info %{_infodir}/m4.info %{_infodir}/dir || :
fi
%preun
if [ "$1" = 0 ]; then
if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
/sbin/install-info --delete %{_infodir}/m4.info %{_infodir}/dir || :
fi
fi
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.16-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Sep 20 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-2
- Temporarily fix readlink test to accept EINVAL also
Resolves: #739189
2011-03-02 10:48:59 +00:00
* Wed Mar 02 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-1
- Update to m4-1.4.16
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-09-07 10:29:02 +00:00
* Tue Sep 7 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.15-1
- Update to m4-1.4.15 (removed include patch, already applied in upstream source)
Resolves: #630709
2010-03-01 15:04:36 +00:00
* Mon Mar 1 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.14-1
- Update to m4-1.4.14
Resolves: #568339
* Thu Sep 3 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.13-4
- Fix errors installing m4 with --excludedocs
Resolves: #516013
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.4.13-3
- Use xz compressed upstream tarball.
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed May 27 2009 Stepan Kasal <skasal@redhat.com> - 1.4.13-1
- new upstream release
- drop the ununsed Source1: %%{SOURCE0}.sig
- enable %%check again
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-11-05 08:27:58 +00:00
* Wed Nov 5 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.12-1
- Update to m4-1.4.12
Resolves: #469944
2008-07-01 14:10:16 +00:00
- Merge review
Resolves: #226115
2008-04-23 11:09:55 +00:00
* Wed Apr 23 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.11-1
- Update to m4-1.4.11 (removed vasnprintf patch, it's included in
upstream source)
Resolves: #443589
2008-02-11 13:57:24 +00:00
* Mon Feb 11 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.10-3
- Fix Buildroot
* Mon Dec 17 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.10-2
- Fix vasnprintf puts %%n into a writeable format string in all cases
Resolves: #345651
* Wed Aug 22 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.10-1
- Update to m4-1.4.10
- Fix license to GPL version 3 or later
2007-06-05 14:36:46 +00:00
* Tue Jun 5 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.9-1
- Update to m4-1.4.9
2007-04-19 07:15:46 +00:00
* Thu Apr 19 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.8-2
- Rebuild
2006-11-26 05:42:17 +00:00
* Sun Nov 26 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.8-1
- Update to m4-1.4.8
* Wed Oct 25 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.7-2
- Drop %%check again. SIGPIPE is set to SIG_IGN in mock, which breaks the
sysval test.
* Tue Oct 24 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.7-1
- Update to m4-1.4.7
- Add %%check
- Fix a rpmlint warning about Summary:
* Mon Jul 17 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.5-3
- Use the install-info scriptlets recommended in the Fedora Extras wiki
- Move $RPM_BUILD_ROOT cleaning from %%prep to %%install
* Mon Jul 17 2006 Tomas Mraz <tmraz@redhat.com> - 1.4.5-2
- remove infodir/dir so it isn't included in the package
2006-07-17 01:34:39 +00:00
* Mon Jul 17 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.5-1
- Update to m4-1.4.5
2006-07-12 07:16:57 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.4.4-1.2.2
- rebuild
2006-02-11 04:27:04 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.4.4-1.2.1
- bump again for double-long bug on ppc(64)
2006-02-07 12:54:19 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.4.4-1.2
- rebuilt for new gcc4.1 snapshot and glibc changes
2005-12-09 22:41:52 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
2005-10-22 17:31:37 +00:00
* Sat Oct 22 2005 Miloslav Trmac <mitr@redhat.com> - 1.4.4-1
- Update to m4-1.4.4
2005-09-17 22:47:06 +00:00
* Sun Sep 18 2005 Miloslav Trmac <mitr@redhat.com> - 1.4.3-2
- Ship COPYING and ChangeLog
2005-04-01 09:48:10 +00:00
* Fri Apr 1 2005 Miloslav Trmac <mitr@redhat.com> - 1.4.3-1
- Update to m4-1.4.3
2005-03-02 13:13:39 +00:00
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 1.4.2-3
- build with gcc-4
2005-02-27 22:01:22 +00:00
* Sun Feb 27 2005 Florian La Roche <laroche@redhat.com>
- rebuild
2004-12-12 19:12:36 +00:00
* Sun Dec 12 2004 Miloslav Trmac <mitr@redhat.com> - 1.4.2-1
- Update to m4-1.4.2
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Mon Nov 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- add french translation file
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Jun 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- do not strip apps
* Fri Jun 14 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- rebuild
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu Mar 07 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- use _infodir on popular request #47465
* Sat Jan 05 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- add URL tag
- improved spec file
- add hack to update config.guess config.sub
- fix to build with newer autoconf versions
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
* Tue Feb 13 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- signal patch is not necessary anymore
- fix printf buffer overflow problem
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Sat Jun 17 2000 Matt Wilson <msw@redhat.com>
- added defattr
* Mon Jun 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- FHS compliance
- 1.4.1
- some fixes to spec file
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 12)
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
- build against glibc 2.1
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
* Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
- Manhattan build
* Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
- added info file handling and BuildRoot
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
- built against glibc