- fix buildroot
- remove trailing dot from summary - fix post/preun requirements - use make install DESTDIR=... - convert changelog to utf-8 - use smp flags
This commit is contained in:
parent
cde3b9c3b0
commit
de8956e034
39
bc.spec
39
bc.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: GNU's bc (a numeric processing language) and dc (a calculator).
|
Summary: GNU's bc (a numeric processing language) and dc (a calculator)
|
||||||
Name: bc
|
Name: bc
|
||||||
Version: 1.06
|
Version: 1.06
|
||||||
Release: 23
|
Release: 24
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://www.gnu.org/software/bc/
|
URL: http://www.gnu.org/software/bc/
|
||||||
Group: Applications/Engineering
|
Group: Applications/Engineering
|
||||||
@ -9,8 +9,9 @@ Source: ftp://ftp.gnu.org/gnu/bc/bc-%{version}.tar.bz2
|
|||||||
Patch1: bc-1.06-readline42.patch
|
Patch1: bc-1.06-readline42.patch
|
||||||
Patch2: bc-1.06-s390.patch
|
Patch2: bc-1.06-s390.patch
|
||||||
Patch3: bc-1.06-info_exp_bessel.patch
|
Patch3: bc-1.06-info_exp_bessel.patch
|
||||||
Prereq: /sbin/install-info grep
|
Requires(post): /sbin/install-info grep mktemp
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
Requires(preun): /sbin/install-info
|
||||||
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: readline-devel, flex, automake
|
BuildRequires: readline-devel, flex, automake
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -31,15 +32,13 @@ if you would like to use its text mode calculator.
|
|||||||
%build
|
%build
|
||||||
autoconf
|
autoconf
|
||||||
%configure --with-readline
|
%configure --with-readline
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%makeinstall
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
||||||
gzip -n -9f $RPM_BUILD_ROOT/%{_infodir}/*
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -62,7 +61,7 @@ fi
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING COPYING.LIB FAQ AUTHORS NEWS README
|
%doc COPYING COPYING.LIB FAQ AUTHORS NEWS README
|
||||||
/usr/bin/dc
|
/usr/bin/dc
|
||||||
/usr/bin/bc
|
/usr/bin/bc
|
||||||
@ -70,6 +69,14 @@ exit 0
|
|||||||
%{_infodir}/*
|
%{_infodir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 1.06-24
|
||||||
|
- fix buildroot
|
||||||
|
- remove trailing dot from summary
|
||||||
|
- fix post/preun requirements
|
||||||
|
- use make install DESTDIR=...
|
||||||
|
- convert changelog to utf-8
|
||||||
|
- use smp flags
|
||||||
|
|
||||||
* Tue Jan 23 2007 Florian La Roche <laroche@redhat.com>
|
* Tue Jan 23 2007 Florian La Roche <laroche@redhat.com>
|
||||||
- scripts should never fail: rhbz#223677
|
- scripts should never fail: rhbz#223677
|
||||||
|
|
||||||
@ -128,10 +135,10 @@ exit 0
|
|||||||
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
||||||
- automated rebuild
|
- automated rebuild
|
||||||
|
|
||||||
* Tue Feb 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.06-8
|
* Tue Feb 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.06-8
|
||||||
- Rebuild
|
- Rebuild
|
||||||
|
|
||||||
* Mon Feb 4 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.06-7
|
* Mon Feb 4 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.06-7
|
||||||
- s/Copyright/License/
|
- s/Copyright/License/
|
||||||
- The %%doc file AUTHOR should be AUTHORS
|
- The %%doc file AUTHOR should be AUTHORS
|
||||||
|
|
||||||
@ -148,27 +155,27 @@ exit 0
|
|||||||
- rebuild with new readline
|
- rebuild with new readline
|
||||||
- Add patch to fix compilation with recent readline versions
|
- Add patch to fix compilation with recent readline versions
|
||||||
|
|
||||||
* Fri Dec 01 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
* Fri Dec 01 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- Add COPYING, COPYING.LIB, FAQ, AUTHORS, NEWS, README
|
- Add COPYING, COPYING.LIB, FAQ, AUTHORS, NEWS, README
|
||||||
|
|
||||||
* Sun Nov 19 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
* Sun Nov 19 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
- update to bc 1.06
|
- update to bc 1.06
|
||||||
|
|
||||||
* Fri Jul 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
* Fri Jul 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||||||
- automatic rebuild
|
- automatic rebuild
|
||||||
|
|
||||||
* Tue Jun 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
* Tue Jun 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- use %%makeinstall, %%configure, %%{_mandir}, %%{_infodir}
|
- use %%makeinstall, %%configure, %%{_mandir}, %%{_infodir}
|
||||||
and %%{_tmppath}
|
and %%{_tmppath}
|
||||||
|
|
||||||
* Wed May 10 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
* Wed May 10 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- added URL
|
- added URL
|
||||||
- let build system handle man page gzipping
|
- let build system handle man page gzipping
|
||||||
|
|
||||||
* Thu Apr 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
* Thu Apr 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- fixed bug 7145 (long commands -> coredump)
|
- fixed bug 7145 (long commands -> coredump)
|
||||||
- removed explicit stripping, it does this by itself anyway
|
- removed explicit stripping, it does this by itself anyway
|
||||||
- gzipped man-pages
|
- gzipped man-pages
|
||||||
|
Loading…
Reference in New Issue
Block a user