]> git.pld-linux.org Git - SPECS.git/blob - psplot.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / psplot.spec
1 Summary:        A Fortran-callable Postscript plotting library
2 Summary(pl.UTF-8):      Działająca z Fortranem biblioteka rysująca w Postscripcie
3 Name:           psplot
4 Version:        0.1
5 Release:        1
6 License:        Freeware
7 Group:          Libraries
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)
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
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ę
28 współdzieloną.
29
30 %package devel
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}
35
36 %description devel
37 Development files for the psplot library.
38
39 %description devel -l pl.UTF-8
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.
53
54 %prep
55 %setup -q -n %{name}
56 %patch0 -p1
57
58 cp -f %{SOURCE1} Makefile
59
60 %build
61 %{__make} \
62         F77=%{_target_alias}-gfortran \
63         CFLAGS="%{rpmcflags}" \
64         LDFLAGS="%{rpmldflags}"
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_libdir}
69
70 cp -dp libpsplot.so* $RPM_BUILD_ROOT%{_libdir}
71 install libpsplot.a $RPM_BUILD_ROOT%{_libdir}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc readme.txt release_notes.txt
82 %attr(755,root,root) %{_libdir}/libpsplot.so.0
83
84 %files devel
85 %defattr(644,root,root,755)
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
This page took 0.091868 seconds and 3 git commands to generate.