packages: f2c/f2c.spec - removed libf2c (use the one from libf2c.spec) - re...
qboosh
qboosh at pld-linux.org
Thu Feb 2 20:35:47 CET 2012
Author: qboosh Date: Thu Feb 2 19:35:47 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- removed libf2c (use the one from libf2c.spec)
- release 2
---- Files affected:
packages/f2c:
f2c.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: packages/f2c/f2c.spec
diff -u packages/f2c/f2c.spec:1.10 packages/f2c/f2c.spec:1.11
--- packages/f2c/f2c.spec:1.10 Wed Feb 1 11:05:44 2012
+++ packages/f2c/f2c.spec Thu Feb 2 20:35:42 2012
@@ -1,9 +1,9 @@
# $Revision$, $Date$
-Summary: The f2c Fortran to C/C++ conversion program and libraries
-Summary(pl.UTF-8): Program f2c do tłumaczenia z Fortranu na C/C++ i biblioteki
+Summary: The f2c Fortran to C/C++ conversion program
+Summary(pl.UTF-8): Program f2c do tłumaczenia z Fortranu na C/C++
Name: f2c
Version: 20031027
-Release: 1
+Release: 2
License: Distributable
Group: Development/Languages/Fortran
Source0: %{name}-%{version}.tar.bz2
@@ -13,8 +13,6 @@
BuildRequires: rpmbuild(macros) >= 1.583
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define skip_post_check_so libf2c.so.*
-
%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
@@ -42,48 +40,29 @@
MFLAG=-mieee
%endif
-mkdir -p libf2c/PIC
-
-cp -f libf2c/makefile.u libf2c/Makefile
cp -f src/makefile.u src/Makefile
%{__make} -C src f2c \
CC="%{__cc}" \
RPM_OPT_FLAGS="%{rpmcflags}" \
MFLAG="$MFLAG"
-%{__make} -C libf2c \
- CC="%{__cc}" \
- RPM_OPT_FLAGS="%{rpmcflags} -fPIC" \
- MFLAG="$MFLAG"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_libdir},%{_includedir}}
-install libf2c/libf2c.a $RPM_BUILD_ROOT%{_libdir}
-install f2c.h $RPM_BUILD_ROOT%{_includedir}
install src/f2c $RPM_BUILD_ROOT%{_bindir}
install fc $RPM_BUILD_ROOT%{_bindir}
install src/f2c.1t $RPM_BUILD_ROOT%{_mandir}/man1/f2c.1
-install libf2c/libf2c.so.0.22 $RPM_BUILD_ROOT%{_libdir}
-ln -sf libf2c.so.0.22 $RPM_BUILD_ROOT%{_libdir}/libf2c.so
-
-rm -rf $RPM_BUILD_ROOT%{_prefix}/liblibf2c.so
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
%files
%defattr(644,root,root,755)
%doc f2c.ps README permission disclaimer changes src/Notice
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/libf2c.so.*.*
-%attr(755,root,root) %{_libdir}/libf2c.so
-%{_libdir}/libf2c.a
-%{_includedir}/f2c.h
-%{_mandir}/*/*
+%attr(755,root,root) %{_bindir}/f2c
+%attr(755,root,root) %{_bindir}/fc
+%{_mandir}/man1/f2c.1*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -91,6 +70,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2012/02/02 19:35:42 qboosh
+- removed libf2c (use the one from libf2c.spec)
+- release 2
+
Revision 1.10 2012/02/01 10:05:44 lisu
- restored
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/f2c/f2c.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list