|
Jakub Jelinek |
751a3f |
%define DATE 20071221
|
|
Jakub Jelinek |
751a3f |
%define _unpackaged_files_terminate_build 0
|
|
Jakub Jelinek |
751a3f |
Summary: Compatibility Fortran 95 runtime library version 4.1.2
|
|
Jakub Jelinek |
751a3f |
Name: compat-libgfortran-41
|
|
Jakub Jelinek |
751a3f |
Version: 4.1.2
|
|
Dennis Gilmore |
6d5900 |
Release: 42
|
|
Jakub Jelinek |
751a3f |
# libgfortran has an exception which allows
|
|
Jakub Jelinek |
751a3f |
# linking it into any kind of programs or shared libraries without
|
|
Jakub Jelinek |
751a3f |
# restrictions.
|
|
Jakub Jelinek |
751a3f |
License: GPLv2+ with exceptions
|
|
Jakub Jelinek |
751a3f |
Group: System Environment/Libraries
|
|
Jakub Jelinek |
751a3f |
Source0: libgfortran-%{version}-%{DATE}.tar.bz2
|
|
Jakub Jelinek |
751a3f |
URL: http://gcc.gnu.org
|
|
Jakub Jelinek |
751a3f |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Jakub Jelinek |
751a3f |
BuildRequires: gcc-gfortran >= 4.1.2, gettext, bison, flex, texinfo
|
|
Jakub Jelinek |
751a3f |
Patch1: libgfortran41-gthr.patch
|
|
Jakub Jelinek |
751a3f |
|
|
Jakub Jelinek |
751a3f |
%description
|
|
Jakub Jelinek |
751a3f |
This package includes a Fortran 95 runtime library for compatibility
|
|
Jakub Jelinek |
751a3f |
with GCC 4.1.x-RH compiled Fortran applications.
|
|
Jakub Jelinek |
751a3f |
|
|
Jakub Jelinek |
751a3f |
%prep
|
|
Jakub Jelinek |
751a3f |
%setup -q -n libgfortran-%{version}-%{DATE}
|
|
Jakub Jelinek |
751a3f |
%patch1 -p0 -b .gthr~
|
|
Jakub Jelinek |
751a3f |
|
|
Jakub Jelinek |
751a3f |
%build
|
|
Jakub Jelinek |
751a3f |
mkdir obj
|
|
Jakub Jelinek |
751a3f |
cd obj
|
|
Jakub Jelinek |
751a3f |
CFLAGS="$RPM_OPT_FLAGS" FCFLAGS="$RPM_OPT_FLAGS" ../libgfortran/configure --prefix=%{_prefix} --disable-multilib
|
|
Jakub Jelinek |
751a3f |
make %{?_smp_mflags}
|
|
Jakub Jelinek |
751a3f |
|
|
Jakub Jelinek |
751a3f |
%install
|
|
Jakub Jelinek |
751a3f |
rm -rf $RPM_BUILD_ROOT
|
|
Jakub Jelinek |
751a3f |
cd obj
|
|
Jakub Jelinek |
751a3f |
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
|
Jakub Jelinek |
751a3f |
install -m 755 .libs/libgfortran.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/
|
|
Jakub Jelinek |
751a3f |
ln -sf libgfortran.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libgfortran.so.1
|
|
Jakub Jelinek |
751a3f |
|
|
Jakub Jelinek |
751a3f |
%clean
|
|
Jakub Jelinek |
751a3f |
rm -rf $RPM_BUILD_ROOT
|
|
Jakub Jelinek |
751a3f |
|
|
Jakub Jelinek |
751a3f |
%post -p /sbin/ldconfig
|
|
Jakub Jelinek |
751a3f |
|
|
Jakub Jelinek |
751a3f |
%postun -p /sbin/ldconfig
|
|
Jakub Jelinek |
751a3f |
|
|
Jakub Jelinek |
751a3f |
%files
|
|
Jakub Jelinek |
751a3f |
%defattr(-,root,root)
|
|
Jakub Jelinek |
751a3f |
%{_libdir}/libgfortran.so.1*
|
|
Jakub Jelinek |
751a3f |
|
|
Jakub Jelinek |
751a3f |
%changelog
|
|
Dennis Gilmore |
6d5900 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-42
|
|
Dennis Gilmore |
6d5900 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
Dennis Gilmore |
6d5900 |
|
|
Dennis Gilmore |
2c5545 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-41
|
|
Dennis Gilmore |
2c5545 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
Dennis Gilmore |
2c5545 |
|
|
Dennis Gilmore |
b153e7 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-40
|
|
Dennis Gilmore |
b153e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
Dennis Gilmore |
b153e7 |
|
|
Dennis Gilmore |
92d529 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-39
|
|
Dennis Gilmore |
92d529 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
Dennis Gilmore |
92d529 |
|
|
Jesse Keating |
07078f |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-38
|
|
Jesse Keating |
07078f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
Jesse Keating |
07078f |
|
|
Jesse Keating |
993c03 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-37
|
|
Jesse Keating |
993c03 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
Jesse Keating |
993c03 |
|
|
Jakub Jelinek |
751a3f |
* Fri Dec 21 2007 Jakub Jelinek <jakub@redhat.com> 4.1.2-36
|
|
Jakub Jelinek |
751a3f |
- new compat library
|