]> git.pld-linux.org Git - packages/psplot.git/blob - psplot.spec
- strict internal deps
[packages/psplot.git] / psplot.spec
1 Summary:        A Fortran-callable Postscript plotting library
2 Summary(pl):    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 URL:            http://www.nova.edu/ocean/psplot.html
12 BuildRequires:  gcc-g77
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
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.
21
22 %description -l pl
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ê
27 wspó³dzielon±.
28
29 %package devel
30 Summary:        A Fortran-callable Postscript plotting library - header files
31 Summary(pl):    Pliki nag³ówkowe do dzia³aj±cej z Fortranem biblioteki rysuj±cej Postscript
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34
35 %description devel
36 Header files for the psplot library.
37
38 %description devel -l pl
39 Pliki nag³ówkowe do biblioteki psplot.
40
41 %prep
42 %setup -q -n %{name}
43
44 %build
45 cp -f %{SOURCE1} Makefile
46 %{__make} "CFLAGS=%{rpmcflags}"
47
48
49 %install
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}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post   -p /sbin/ldconfig
59 %postun -p /sbin/ldconfig
60
61 %files
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_libdir}/lib%{name}.so
64
65 %files devel
66 %defattr(644,root,root,755)
67 %doc grmana4.ps *.txt *.for
68 %{_libdir}/lib%{name}.a
This page took 0.044904 seconds and 4 git commands to generate.