-
+Summary: A Fortran-callable Postscript plotting library
+Summary(pl): Dzia³aj±ca z Fortranem biblioteka rysuj±ca w Postscripcie
Name: psplot
Version: 0.1
Release: 1
-URL: http://www.nova.edu/ocean/psplot.html
-Source0: ftp://student.ifpan.edu.pl/%{name}/%{name}-%{version}.tar.gz
-Source1: %{name}-Makefile
-Summary: A Fortran-callable Postscript plotting library
License: Freeware
Group: Libraries
Group(de): Libraries
Group(pt_BR): Bibliotecas
Group(ru): âÉÂÌÉÏÔÅËÉ
Group(uk): â¦Â̦ÏÔÅËÉ
+Source0: ftp://student.ifpan.edu.pl/%{name}/%{name}-%{version}.tar.gz
+Source1: %{name}-Makefile
+URL: http://www.nova.edu/ocean/psplot.html
Buildrequires: gcc-g77
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
'artistic' features of Postscript have not beed addressed. This
package is a shared library.
+%description -l pl
+Biblioteka psplot zawiera wywo³ywalne z Fortrana procedury do
+produkcji plików postscriptowych. Poniewa¿ g³ównym zadaniem biblioteki
+s± rysunki techniczne, wiele "artystycznych" mo¿liwo¶ci Postscriptu
+nie jest wykorzystywanych. Ten pakiet zawiera bibliotekê
+wspó³dzielon±.
+
%package devel
Summary: A Fortran-callable Postscript plotting library - header files
+Summary(pl): Pliki nag³ówkowe do dzia³aj±cej z Fortranem biblioteki rysuj±cej Postscript
Group: Development/Libraries
Group(de): Entwicklung/Libraries
Group(es): Desarrollo/Bibliotecas
%description devel
Header files for the psplot library.
+%description devel -l pl
+Pliki nag³ówkowe do biblioteki psplot.
+
%prep
%setup -q -n %{name}
%build
-cp %{SOURCE1} Makefile
+cp -f %{SOURCE1} Makefile
%{__make} "CFLAGS=%{rpmcflags}"
%install
install libpsplot.so $RPM_BUILD_ROOT%{_libdir}
install libpsplot.a $RPM_BUILD_ROOT%{_libdir}
-gzip -9nf grmana4.ps *.txt *.for
-
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+gzip -9nf grmana4.ps *.txt *.for
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib%{name}.so
+
%files devel
%defattr(644,root,root,755)
%doc *.gz