]> git.pld-linux.org Git - packages/f2c.git/commitdiff
- removed libf2c (use the one from libf2c.spec) auto/th/f2c-20031027-2
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 2 Feb 2012 19:35:42 +0000 (19:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 2

Changed files:
    f2c.spec -> 1.11

f2c.spec

index 049df9ebf67e7d2012ac09778be2c94d19c2c38f..fa1314b02eb4bccfc71cb63cea889711220e6948 100644 (file)
--- a/f2c.spec
+++ b/f2c.spec
@@ -1,8 +1,8 @@
-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
@@ -12,8 +12,6 @@ URL:          ftp://ftp.netlib.org/f2c/
 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
@@ -41,45 +39,26 @@ nagłówkowych ANSI C w celu wywoływania procedur fortranowskich z C.
 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*
This page took 0.073203 seconds and 4 git commands to generate.