Blame SPECS/compat-libgfortran-41.spec

362be0
%define DATE 20071221
362be0
%define _unpackaged_files_terminate_build 0
362be0
Summary: Compatibility Fortran 95 runtime library version 4.1.2
362be0
Name: compat-libgfortran-41
362be0
Version: 4.1.2
2791b9
Release: 45%{?dist}
362be0
# libgfortran has an exception which allows
362be0
# linking it into any kind of programs or shared libraries without
362be0
# restrictions.
362be0
License: GPLv2+ with exceptions
362be0
Group: System Environment/Libraries
362be0
Source0: libgfortran-%{version}-%{DATE}.tar.bz2
362be0
URL: http://gcc.gnu.org
362be0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2791b9
ExcludeArch: aarch64 ppc64le
362be0
BuildRequires: gcc-gfortran >= 4.1.2, gettext, bison, flex, texinfo
362be0
Patch1: libgfortran41-gthr.patch
362be0
362be0
%description
362be0
This package includes a Fortran 95 runtime library for compatibility
362be0
with GCC 4.1.x-RH compiled Fortran applications.
362be0
362be0
%prep
362be0
%setup -q -n libgfortran-%{version}-%{DATE}
362be0
%patch1 -p0 -b .gthr~
362be0
362be0
%build
2791b9
%ifarch %{ix86} x86_64
2791b9
sed -i -e 's/4 8 10 16/4 8 10/g' libgfortran/mk-kinds-h.sh libgfortran/mk-srk-inc.sh
2791b9
%endif
362be0
mkdir obj
362be0
cd obj
362be0
CFLAGS="$RPM_OPT_FLAGS" FCFLAGS="$RPM_OPT_FLAGS" ../libgfortran/configure --prefix=%{_prefix} --disable-multilib
362be0
make %{?_smp_mflags}
362be0
362be0
%install
362be0
rm -rf $RPM_BUILD_ROOT
362be0
cd obj
362be0
mkdir -p $RPM_BUILD_ROOT%{_libdir}
362be0
install -m 755 .libs/libgfortran.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/
362be0
ln -sf libgfortran.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libgfortran.so.1
362be0
362be0
%clean
362be0
rm -rf $RPM_BUILD_ROOT
362be0
362be0
%post -p /sbin/ldconfig
362be0
362be0
%postun -p /sbin/ldconfig
362be0
362be0
%files
362be0
%defattr(-,root,root)
362be0
%{_libdir}/libgfortran.so.1*
362be0
362be0
%changelog
2791b9
* Thu Feb 14 2019 Jakub Jelinek 
2791b9
- remove real kind 16 support on i?86/x86_64 (#1628391)
2791b9
678ea6
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.1.2-44
678ea6
- Mass rebuild 2014-01-24
678ea6
678ea6
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.1.2-43
678ea6
- Mass rebuild 2013-12-27
678ea6
362be0
* Wed Aug 28 2013 Jakub Jelinek 
362be0
- add %%{?dist} to Release (#874994)
362be0
362be0
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-42
362be0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
362be0
362be0
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-41
362be0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
362be0
362be0
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-40
362be0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
362be0
362be0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-39
362be0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
362be0
362be0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-38
362be0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
362be0
362be0
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-37
362be0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
362be0
362be0
* Fri Dec 21 2007 Jakub Jelinek  <jakub@redhat.com> 4.1.2-36
362be0
- new compat library