]> git.pld-linux.org Git - packages/psplot.git/blame - psplot.spec
- added gfortran patch and adjusted Makefile for gfortran compiler
[packages/psplot.git] / psplot.spec
CommitLineData
4a952daf 1Summary: A Fortran-callable Postscript plotting library
9b6c08f6 2Summary(pl.UTF-8): Działająca z Fortranem biblioteka rysująca w Postscripcie
93fec73d
RW
3Name: psplot
4Version: 0.1
5Release: 1
93fec73d
RW
6License: Freeware
7Group: Libraries
85a2967b 8Source0: ftp://student.ifpan.edu.pl/pub/psplot/%{name}-%{version}.tar.gz
9d2e9a26 9# Source0-md5: 3704836929eae06c9419b339d6e4c5c4
4a952daf 10Source1: %{name}-Makefile
eb86c378 11Patch0: %{name}-gfortran.patch
205c3253 12URL: http://www.nova.edu/cwis/oceanography/psplot.html
eb86c378 13BuildRequires: gcc-fortran
93fec73d
RW
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17The psplot library consists of Fortran-callable subroutines which can
18be combined in a calling program to produce Postscript files. Since
19the focus of the library is to produce technical drawing, many of the
20'artistic' features of Postscript have not beed addressed. This
21package is a shared library.
22
e9a40ad4 23%description -l pl.UTF-8
205c3253 24Biblioteka psplot zawiera wywoływalne z Fortranu procedury do
e9a40ad4
JR
25produkcji plików postscriptowych. Ponieważ głównym zadaniem biblioteki
26są rysunki techniczne, wiele "artystycznych" możliwości Postscriptu
27nie jest wykorzystywanych. Ten pakiet zawiera bibliotekę
28współdzieloną.
4a952daf 29
93fec73d 30%package devel
eb86c378
JB
31Summary: A Fortran-callable Postscript plotting library - development files
32Summary(pl.UTF-8): Pliki programistyczne działającej z Fortranem biblioteki rysującej Postscript
93fec73d 33Group: Development/Libraries
85a2967b 34Requires: %{name} = %{version}-%{release}
93fec73d
RW
35
36%description devel
eb86c378 37Development files for the psplot library.
93fec73d 38
e9a40ad4 39%description devel -l pl.UTF-8
eb86c378
JB
40Pliki programistyczne biblioteki psplot.
41
42%package static
43Summary: Static psplot library
44Summary(pl.UTF-8): Statyczna biblioteka psplot
45Group: Development/Libraries
46Requires: %{name}-devel = %{version}-%{release}
47
48%description static
49Static psplot library.
50
51%description static -l pl.UTF-8
52Statyczna biblioteka psplot.
4a952daf 53
93fec73d
RW
54%prep
55%setup -q -n %{name}
eb86c378 56%patch0 -p1
93fec73d 57
4a952daf 58cp -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
67rm -rf $RPM_BUILD_ROOT
68install -d $RPM_BUILD_ROOT%{_libdir}
eb86c378
JB
69
70cp -dp libpsplot.so* $RPM_BUILD_ROOT%{_libdir}
3f1151b5 71install libpsplot.a $RPM_BUILD_ROOT%{_libdir}
93fec73d 72
93fec73d 73%clean
895b0139 74rm -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
This page took 0.073091 seconds and 5 git commands to generate.