1 Summary: A Fortran-callable Postscript plotting library
2 Summary(pl.UTF-8): Działająca z Fortranem biblioteka rysująca w Postscripcie
8 Source0: ftp://student.ifpan.edu.pl/pub/psplot/%{name}-%{version}.tar.gz
9 # Source0-md5: 3704836929eae06c9419b339d6e4c5c4
10 Source1: %{name}-Makefile
11 Patch0: %{name}-gfortran.patch
12 URL: http://www.nova.edu/cwis/oceanography/psplot.html
13 BuildRequires: gcc-fortran
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The psplot library consists of Fortran-callable subroutines which can
18 be combined in a calling program to produce Postscript files. Since
19 the focus of the library is to produce technical drawing, many of the
20 'artistic' features of Postscript have not beed addressed. This
21 package is a shared library.
23 %description -l pl.UTF-8
24 Biblioteka psplot zawiera wywoływalne z Fortranu procedury do
25 produkcji plików postscriptowych. Ponieważ głównym zadaniem biblioteki
26 są rysunki techniczne, wiele "artystycznych" możliwości Postscriptu
27 nie jest wykorzystywanych. Ten pakiet zawiera bibliotekę
31 Summary: A Fortran-callable Postscript plotting library - development files
32 Summary(pl.UTF-8): Pliki programistyczne działającej z Fortranem biblioteki rysującej Postscript
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
37 Development files for the psplot library.
39 %description devel -l pl.UTF-8
40 Pliki programistyczne biblioteki psplot.
43 Summary: Static psplot library
44 Summary(pl.UTF-8): Statyczna biblioteka psplot
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}-%{release}
49 Static psplot library.
51 %description static -l pl.UTF-8
52 Statyczna biblioteka psplot.
58 cp -f %{SOURCE1} Makefile
62 F77=%{_target_alias}-gfortran \
63 CFLAGS="%{rpmcflags}" \
64 LDFLAGS="%{rpmldflags}"
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_libdir}
70 cp -dp libpsplot.so* $RPM_BUILD_ROOT%{_libdir}
71 install libpsplot.a $RPM_BUILD_ROOT%{_libdir}
74 rm -rf $RPM_BUILD_ROOT
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
80 %defattr(644,root,root,755)
81 %doc readme.txt release_notes.txt
82 %attr(755,root,root) %{_libdir}/libpsplot.so.0
85 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libpsplot.so
90 %defattr(644,root,root,755)
91 %{_libdir}/libpsplot.a