Release: 1
License: Freeware
Group: Libraries
-Group(de): Libraries
-Group(es): Bibliotecas
-Group(fr): Librairies
-Group(pl): Biblioteki
-Group(pt_BR): Bibliotecas
-Group(ru): âÉÂÌÉÏÔÅËÉ
-Group(uk): â¦Â̦ÏÔÅËÉ
-Source0: ftp://student.ifpan.edu.pl/%{name}/%{name}-%{version}.tar.gz
+Source0: ftp://student.ifpan.edu.pl/pub/psplot/%{name}-%{version}.tar.gz
+# Source0-md5: 3704836929eae06c9419b339d6e4c5c4
Source1: %{name}-Makefile
URL: http://www.nova.edu/ocean/psplot.html
-Buildrequires: gcc-g77
+BuildRequires: gcc-g77
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
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
-Group(fr): Development/Librairies
-Group(pl): Programowanie/Biblioteki
-Group(pt_BR): Desenvolvimento/Bibliotecas
-Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
%description devel
Header files for the psplot library.
cp -f %{SOURCE1} Makefile
%{__make} "CFLAGS=%{rpmcflags}"
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_libdir}
install libpsplot.so $RPM_BUILD_ROOT%{_libdir}
install libpsplot.a $RPM_BUILD_ROOT%{_libdir}
-gzip -9nf grmana4.ps *.txt *.for
-
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%files devel
%defattr(644,root,root,755)
-%doc *.gz
+%doc grmana4.ps *.txt *.for
%{_libdir}/lib%{name}.a