5 URL: http://www.nova.edu/ocean/psplot.html
6 Source0: ftp://student.ifpan.edu.pl/%{name}/%{name}-%{version}.tar.gz
7 Source1: %{name}-Makefile
8 Summary: A Fortran-callable Postscript plotting library
12 Group(es): Bibliotecas
15 Group(pt_BR): Bibliotecas
18 Buildrequires: gcc-g77
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 The psplot library consists of Fortran-callable subroutines which can
23 be combined in a calling program to produce Postscript files. Since
24 the focus of the library is to produce technical drawing, many of the
25 'artistic' features of Postscript have not beed addressed. This
26 package is a shared library.
29 Summary: A Fortran-callable Postscript plotting library - header files
30 Group: Development/Libraries
31 Group(de): Entwicklung/Libraries
32 Group(es): Desarrollo/Bibliotecas
33 Group(fr): Development/Librairies
34 Group(pl): Programowanie/Biblioteki
35 Group(pt_BR): Desenvolvimento/Bibliotecas
36 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
37 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
38 Requires: %{name} = %{version}
41 Header files for the psplot library.
44 Summary: A Fortran-callable Postscript plotting library - static version
45 Group: Development/Libraries
46 Group(de): Entwicklung/Libraries
47 Group(es): Desarrollo/Bibliotecas
48 Group(fr): Development/Librairies
49 Group(pl): Programowanie/Biblioteki
50 Group(pt_BR): Desenvolvimento/Bibliotecas
51 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
52 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
53 Requires: %{name}-devel = %{version}
56 Static psplot libraries.
62 cp %{SOURCE1} Makefile
63 %{__make} "CFLAGS=%{rpmcflags}"
64 mv libpsplot.so libpsplot.so.%{version}
65 ln -s libpsplot.so.%{version} libpsplot.so
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_libdir}
70 install libpsplot.so.%{version} $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so.%{version}
71 cp -a libpsplot.so $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so
72 install libpsplot.a $RPM_BUILD_ROOT%{_libdir}
74 gzip -9nf grmana4.ps *.txt *.for
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
80 #rm -rf $RPM_BUILD_ROOT
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*
86 %defattr(644,root,root,755)
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib%{name}.so
91 %defattr(644,root,root,755)
92 %{_libdir}/lib%{name}.a