]>
Commit | Line | Data |
---|---|---|
4a952daf | 1 | Summary: A Fortran-callable Postscript plotting library |
9b6c08f6 | 2 | Summary(pl.UTF-8): Działająca z Fortranem biblioteka rysująca w Postscripcie |
93fec73d RW |
3 | Name: psplot |
4 | Version: 0.1 | |
5 | Release: 1 | |
93fec73d RW |
6 | License: Freeware |
7 | Group: Libraries | |
85a2967b | 8 | Source0: ftp://student.ifpan.edu.pl/pub/psplot/%{name}-%{version}.tar.gz |
9d2e9a26 | 9 | # Source0-md5: 3704836929eae06c9419b339d6e4c5c4 |
4a952daf | 10 | Source1: %{name}-Makefile |
eb86c378 | 11 | Patch0: %{name}-gfortran.patch |
205c3253 | 12 | URL: http://www.nova.edu/cwis/oceanography/psplot.html |
eb86c378 | 13 | BuildRequires: gcc-fortran |
93fec73d RW |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
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. | |
22 | ||
e9a40ad4 | 23 | %description -l pl.UTF-8 |
205c3253 | 24 | Biblioteka psplot zawiera wywoływalne z Fortranu procedury do |
e9a40ad4 JR |
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ę | |
28 | współdzieloną. | |
4a952daf | 29 | |
93fec73d | 30 | %package devel |
eb86c378 JB |
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 | |
93fec73d | 33 | Group: Development/Libraries |
85a2967b | 34 | Requires: %{name} = %{version}-%{release} |
93fec73d RW |
35 | |
36 | %description devel | |
eb86c378 | 37 | Development files for the psplot library. |
93fec73d | 38 | |
e9a40ad4 | 39 | %description devel -l pl.UTF-8 |
eb86c378 JB |
40 | Pliki programistyczne biblioteki psplot. |
41 | ||
42 | %package static | |
43 | Summary: Static psplot library | |
44 | Summary(pl.UTF-8): Statyczna biblioteka psplot | |
45 | Group: Development/Libraries | |
46 | Requires: %{name}-devel = %{version}-%{release} | |
47 | ||
48 | %description static | |
49 | Static psplot library. | |
50 | ||
51 | %description static -l pl.UTF-8 | |
52 | Statyczna biblioteka psplot. | |
4a952daf | 53 | |
93fec73d RW |
54 | %prep |
55 | %setup -q -n %{name} | |
eb86c378 | 56 | %patch0 -p1 |
93fec73d | 57 | |
4a952daf | 58 | cp -f %{SOURCE1} Makefile |
93fec73d | 59 | |
eb86c378 JB |
60 | %build |
61 | %{__make} \ | |
62 | F77=%{_target_alias}-gfortran \ | |
63 | CFLAGS="%{rpmcflags}" \ | |
64 | LDFLAGS="%{rpmldflags}" | |
21815e87 | 65 | |
93fec73d RW |
66 | %install |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | install -d $RPM_BUILD_ROOT%{_libdir} | |
eb86c378 JB |
69 | |
70 | cp -dp libpsplot.so* $RPM_BUILD_ROOT%{_libdir} | |
3f1151b5 | 71 | install libpsplot.a $RPM_BUILD_ROOT%{_libdir} |
93fec73d | 72 | |
93fec73d | 73 | %clean |
895b0139 | 74 | rm -rf $RPM_BUILD_ROOT |
93fec73d | 75 | |
d4801557 | 76 | %post -p /sbin/ldconfig |
77 | %postun -p /sbin/ldconfig | |
4a952daf | 78 | |
93fec73d RW |
79 | %files |
80 | %defattr(644,root,root,755) | |
eb86c378 JB |
81 | %doc readme.txt release_notes.txt |
82 | %attr(755,root,root) %{_libdir}/libpsplot.so.0 | |
4a952daf | 83 | |
93fec73d | 84 | %files devel |
aee58a04 | 85 | %defattr(644,root,root,755) |
eb86c378 JB |
86 | %doc grmana4.ps *.for |
87 | %attr(755,root,root) %{_libdir}/libpsplot.so | |
88 | ||
89 | %files static | |
90 | %defattr(644,root,root,755) | |
91 | %{_libdir}/libpsplot.a |