packages: libf2c/libf2c.spec - better description - ghost soname symlink - ...
qboosh
qboosh at pld-linux.org
Thu Feb 2 20:36:53 CET 2012
Author: qboosh Date: Thu Feb 2 19:36:53 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- better description
- ghost soname symlink
- Conflicts: f2c before libf2c removal
- release 2
---- Files affected:
packages/libf2c:
libf2c.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: packages/libf2c/libf2c.spec
diff -u packages/libf2c/libf2c.spec:1.6 packages/libf2c/libf2c.spec:1.7
--- packages/libf2c/libf2c.spec:1.6 Wed Feb 1 11:06:28 2012
+++ packages/libf2c/libf2c.spec Thu Feb 2 20:36:48 2012
@@ -1,9 +1,9 @@
# $Revision$, $Date$
-Summary: The f2c Fortran to C conversion library
-Summary(pl.UTF-8): Biblioteka f2c do tłumaczenia z Fortranu na C
+Summary: Fortran to C conversion support library
+Summary(pl.UTF-8): Biblioteka wspierająca tłumaczenie z Fortranu na C
Name: libf2c
Version: 20051005
-Release: 1
+Release: 2
License: distributable
Group: Libraries
Source0: ftp://ftp.netlib.org/f2c/libf2c.zip
@@ -12,13 +12,15 @@
Patch1: %{name}-opt.patch
URL: ftp://ftp.netlib.org/f2c/
BuildRequires: unzip
+Conflicts: f2c < 20031027-2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-The f2c Fortran to C conversion library.
+Library of support routines used by f2c Fortran to C converter.
%description -l pl.UTF-8
-Biblioteka f2c do tłumaczenia z Fortranu na C.
+Biblioteka funkcji wspierających wykorzystywana przez konwerter
+z Fortranu do C f2c.
%package devel
Summary: Header file for f2c library
@@ -55,9 +57,9 @@
CFLAGS="%{rpmcflags} -fPIC"
ar crs libf2cmain.a main.o getarg_.o iargc_.o
-rm -f main.o getarg_.o iargc_.o
+%{__rm} main.o getarg_.o iargc_.o
%{__cc} -shared -o libf2c.so.0.23 *.o -Wl,-soname=libf2c.so.0 -lm
-rm -f libf2c.a *.o
+%{__rm} libf2c.a *.o
%{__make} -f makefile.u \
CC="%{__cc}" \
@@ -68,6 +70,7 @@
install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
install libf2c.so.0.23 $RPM_BUILD_ROOT%{_libdir}
+ln -sf libf2c.so.0.23 $RPM_BUILD_ROOT%{_libdir}/libf2c.so.0
ln -sf libf2c.so.0.23 $RPM_BUILD_ROOT%{_libdir}/libf2c.so
install libf2c.a libf2cmain.a $RPM_BUILD_ROOT%{_libdir}
install f2c.h $RPM_BUILD_ROOT%{_includedir}
@@ -82,6 +85,7 @@
%defattr(644,root,root,755)
%doc Notice README
%attr(755,root,root) %{_libdir}/libf2c.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libf2c.so.0
%files devel
%defattr(644,root,root,755)
@@ -99,6 +103,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2012/02/02 19:36:48 qboosh
+- better description
+- ghost soname symlink
+- Conflicts: f2c before libf2c removal
+- release 2
+
Revision 1.6 2012/02/01 10:06:28 lisu
- reversed
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libf2c/libf2c.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list