rpms/f2c/devel f2c.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Carl Byington
carllibpst at fedoraproject.org
Fri Dec 11 00:16:41 UTC 2009
Author: carllibpst
Update of /cvs/pkgs/rpms/f2c/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6561
Modified Files:
.cvsignore sources
Added Files:
f2c.spec
Log Message:
initial version
--- NEW FILE f2c.spec ---
Name: f2c
Summary: A Fortran 77 to C/C++ conversion program
Version: 20090411
Release: 5%{?dist}
License: MIT
Group: Development/Languages
URL: http://netlib.org/f2c/
Source: ftp://netlib.org/f2c.tar
# Patch makefile to build a shared library
Patch: f2c-20090411.patch
BuildRequires: unzip
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires: %{name}-libs = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
%description
F2c converts Fortran 77 source code to C or C++ source files. If no
Fortran files are named on the command line, f2c can read Fortran from
standard input and write C to standard output.
%package libs
Summary: Dynamic libraries from %{name}
Group: Development/Libraries
%description libs
Dynamic libraries from %{name}.
%prep
%setup -q -n %{name}
mkdir libf2c
pushd libf2c
unzip ../libf2c.zip
popd
%patch
%build
cp src/makefile.u src/Makefile
cp libf2c/makefile.u libf2c/Makefile
make -C src %{?_smp_mflags} CFLAGS="%{optflags}" f2c
make -C libf2c %{?_smp_mflags} CFLAGS="%{optflags} -fPIC"
%install
rm -rf %{buildroot}
install -D -p -m 644 f2c.h %{buildroot}%{_includedir}/f2c.h
install -D -p -m 755 src/f2c %{buildroot}%{_bindir}/f2c
install -D -p -m 644 src/f2c.1t %{buildroot}%{_mandir}/man1/f2c.1
install -D -p -m 755 libf2c/libf2c.so.0.22 %{buildroot}%{_libdir}/libf2c.so.0.22
ln -s libf2c.so.0.22 %{buildroot}%{_libdir}/libf2c.so.0
ln -s libf2c.so.0.22 %{buildroot}%{_libdir}/libf2c.so
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc f2c.ps f2c.pdf readme changes src/Notice src/README
%{_bindir}/f2c
%{_mandir}/man1/f2c.1*
%{_includedir}/f2c.h
%{_libdir}/libf2c.so
%files libs
%defattr(-,root,root,-)
%doc permission disclaimer
%{_libdir}/libf2c.so.*
%changelog
* Sun Dec 05 2009 Carl Byington <carl at five-ten-sg.com> 20090411-5
- fully versioned provides
* Sat Dec 05 2009 Carl Byington <carl at five-ten-sg.com> 20090411-4
- remove -devel subpackage, merge it into the main package which
provides -devel and requires -libs.
* Sat Dec 05 2009 Carl Byington <carl at five-ten-sg.com> 20090411-3
- remove patch backups
- add comment for patch purpose
* Thu Dec 03 2009 Carl Byington <carl at five-ten-sg.com> 20090411-2
- add symlink to fix rpmlint error
- remove unnecessary parts of the patch, which enables building a
shared library.
- main package now requires -devel since that is needed to be useful.
- summary changed to specify this only works on F77 code.
- %%files use explicit libf2c rather than * wildcard
* Wed Dec 02 2009 Carl Byington <carl at five-ten-sg.com> 20090411-1
- update to newer upstream version
- add .pdf documentation also
- trim changelog
- move all the license related files into -libs, and both the
main package and -devel require -libs, to avoid either duplicating
files or installing any package without the license files.
* Sun Nov 25 2009 Carl Byington <carl at five-ten-sg.com> 20031026-3.0.3
- don't install the static library.
- preserve the alpha architecture patch and ifdef in the spec file
even if it is not used by fedora.
- split off -libs and -devel packages.
- full version/release in requires
* Wed Nov 25 2009 Carl Byington <carl at five-ten-sg.com> 20031026-3.0.2
- convert to fedora compatible spec file.
* Sat Jun 14 2008 Axel Thimm <Axel.Thimm at ATrpms.net> - 20031026-3.0.1
- Fix not utf-8 specfile entries.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/f2c/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 6 Dec 2009 23:23:44 -0000 1.1
+++ .cvsignore 11 Dec 2009 00:16:41 -0000 1.2
@@ -0,0 +1 @@
+f2c-20090411.patch
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/f2c/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 6 Dec 2009 23:23:44 -0000 1.1
+++ sources 11 Dec 2009 00:16:41 -0000 1.2
@@ -0,0 +1 @@
+9a9d46f263d40cccb09670b6fc6428e3 f2c-20090411.patch
More information about the fedora-extras-commits
mailing list