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 URL: http://www.nova.edu/ocean/psplot.html
12 BuildRequires: gcc-g77
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 The psplot library consists of Fortran-callable subroutines which can
17 be combined in a calling program to produce Postscript files. Since
18 the focus of the library is to produce technical drawing, many of the
19 'artistic' features of Postscript have not beed addressed. This
20 package is a shared library.
22 %description -l pl.UTF-8
23 Biblioteka psplot zawiera wywoływalne z Fortrana procedury do
24 produkcji plików postscriptowych. Ponieważ głównym zadaniem biblioteki
25 są rysunki techniczne, wiele "artystycznych" możliwości Postscriptu
26 nie jest wykorzystywanych. Ten pakiet zawiera bibliotekę
30 Summary: A Fortran-callable Postscript plotting library - header files
31 Summary(pl.UTF-8): Pliki nagłówkowe do działającej z Fortranem biblioteki rysującej Postscript
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 Header files for the psplot library.
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe do biblioteki psplot.
45 cp -f %{SOURCE1} Makefile
46 %{__make} "CFLAGS=%{rpmcflags}"
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{_libdir}
52 install libpsplot.so $RPM_BUILD_ROOT%{_libdir}
53 install libpsplot.a $RPM_BUILD_ROOT%{_libdir}
56 rm -rf $RPM_BUILD_ROOT
58 %post -p /sbin/ldconfig
59 %postun -p /sbin/ldconfig
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_libdir}/lib%{name}.so
66 %defattr(644,root,root,755)
67 %doc grmana4.ps *.txt *.for
68 %{_libdir}/lib%{name}.a