Пакет libslatec: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | Name: libslatec Version: 4.1 Release: alt7 Summary: SLATEC Common Mathematical Library License: GPL Group: Sciences/Mathematics Url: http://www.netlib.org/slatec/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source: http://www.netlib.org/slatec/slatec_src.tar.gz Source1: http://www.netlib.org/slatec/slatec4linux.tar.gz Source2: http://www.netlib.org/slatec/guide Source3: http://www.netlib.org/slatec/gams BuildPreReq: gcc-fortran liblapack-devel %description SLATEC Common Mathematical Library, Version 4.1, July 1993 a comprehensive software library containing over 1400 general purpose mathematical and statistical routines written in Fortran 77. In addition install a libslatec-devel-docs package for documentation. %package devel Summary: SLATEC Common Mathematical Library (static) Group: Development/Other Requires: %name = %version-%release %description devel SLATEC Common Mathematical Library, Version 4.1, July 1993 a comprehensive software library containing over 1400 general purpose mathematical and statistical routines written in Fortran 77. This package contains shared library of SLATEC and gams. %package devel-docs Summary: Documentation for ARPACK Group: Development/Documentation BuildArch: noarch %description devel-docs SLATEC Common Mathematical Library, Version 4.1, July 1993 a comprehensive software library containing over 1400 general purpose mathematical and statistical routines written in Fortran 77. This package contains guide and man pages for developers. %prep %setup tar -xzf %SOURCE1 install %SOURCE2 . %build %make_build mv dynamic/libslatec.so dynamic/libslatec.so.4.1.0 rm -f *.f for i in $(ls *.1|sed -e 's/\(.*\)\.1/\1/'); do mv $i.1 $i.f done bzip2 *.f %install install -d %buildroot%_libdir install -d %buildroot%_datadir/%name install -d %buildroot%_mandir/manf #install -m644 static/*.a %buildroot%_libdir install -m644 dynamic/*.so* %buildroot%_libdir install -m644 %SOURCE3 %buildroot%_datadir/%name install -m644 *.bz2 %buildroot%_mandir/manf pushd %buildroot%_libdir ln -s libslatec.so.4.1.0 libslatec.so.4 ln -s libslatec.so.4 libslatec.so popd %files %_libdir/*.so.* %files devel %_libdir/*.so %_datadir/%name %files devel-docs %doc guide %_mandir/manf/* %changelog * Sun Aug 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1-alt7 - Built with OpenBLAS instead of GotoBLAS2 * Wed Apr 13 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1-alt6 - Built with GotoBLAS2 instead of ATLAS - Disabled devel-static package * Sun Mar 20 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1-alt5 - Added -g into compiler flags * Thu Feb 10 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1-alt4 - Rebuilt for debuginfo * Wed Oct 20 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1-alt3 - Rebuilt for soname set-versions * Wed Apr 22 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1-alt2 - Move man files into %_mandir/manf for fix conflicts with another packages. For see man pages You need call `man -S f MANPAGE' * Sun Apr 19 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1-alt1 - Initial build for Sisyphus |