]> git.pld-linux.org Git - packages/psplot.git/blob - psplot.spec
198b93d90cb75433fb47c6be4970926b4003f2e1
[packages/psplot.git] / psplot.spec
1
2 Name:           psplot
3 Version:        0.1
4 Release:        1
5 URL:            http://www.nova.edu/ocean/psplot.html
6 Source0:        ftp://student.ifpan.edu.pl/%{name}/%{name}-%{version}.tar.gz
7 Source1:        %{name}-Makefile
8 Summary:        A Fortran-callable Postscript plotting library
9 License:        Freeware
10 Group:          Libraries
11 Group(de):      Libraries
12 Group(es):      Bibliotecas
13 Group(fr):      Librairies
14 Group(pl):      Biblioteki
15 Group(pt_BR):   Bibliotecas
16 Group(ru):      âÉÂÌÉÏÔÅËÉ
17 Group(uk):      â¦Â̦ÏÔÅËÉ
18 Buildrequires:  gcc-g77
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The psplot library consists of Fortran-callable subroutines which can
23 be combined in a calling program to produce Postscript files. Since
24 the focus of the library is to produce technical drawing, many of the
25 'artistic' features of Postscript have not beed addressed. This
26 package is a shared library.
27
28 %package devel
29 Summary:        A Fortran-callable Postscript plotting library - header files
30 Group:          Development/Libraries
31 Group(de):      Entwicklung/Libraries
32 Group(es):      Desarrollo/Bibliotecas
33 Group(fr):      Development/Librairies
34 Group(pl):      Programowanie/Biblioteki
35 Group(pt_BR):   Desenvolvimento/Bibliotecas
36 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
37 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
38 Requires:       %{name} = %{version}
39
40 %description devel
41 Header files for the psplot library.
42
43 %prep
44 %setup -q -n %{name}
45
46 %build
47 cp %{SOURCE1} Makefile
48 %{__make} "CFLAGS=%{rpmcflags}"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_libdir}
53 install libpsplot.so $RPM_BUILD_ROOT%{_libdir}
54 install libpsplot.a $RPM_BUILD_ROOT%{_libdir}
55
56 gzip -9nf grmana4.ps *.txt *.for 
57
58 %post   -p /sbin/ldconfig
59 %postun -p /sbin/ldconfig
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_libdir}/lib%{name}.so
67 %files devel
68 %defattr(644,root,root,755)
69 %doc *.gz
70 %{_libdir}/lib%{name}.a
This page took 0.083795 seconds and 2 git commands to generate.