]> git.pld-linux.org Git - packages/psplot.git/blobdiff - psplot.spec
- tabs in preamble
[packages/psplot.git] / psplot.spec
index c8dd7a1e55c5b7308238245dca10df3c091eb9a4..8c93ba3afd850a7d0a09f47ee302cfd4fda33887 100644 (file)
@@ -1,21 +1,15 @@
+Summary:       A Fortran-callable Postscript plotting library
+Summary(pl.UTF-8):     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
-#Source2:      http://alice.luft.tu-cottbus.de/mitarbeiter/wenzel/p_%{name}.tar.gz
-Summary:       A Fortran-callable Postscript plotting library
 License:       Freeware
 Group:         Libraries
-Group(de):     Libraries
-Group(es):     Bibliotecas
-Group(fr):     Librairies
-Group(pl):     Biblioteki
-Group(pt_BR):  Bibliotecas
-Group(ru):     âÉÂÌÉÏÔÅËÉ
-Group(uk):     â¦Â̦ÏÔÅËÉ
-Buildrequires: gcc-g77
+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
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,66 +19,50 @@ the focus of the library is to produce technical drawing, many of the
 'artistic' features of Postscript have not beed addressed. This
 package is a shared library.
 
+%description -l pl.UTF-8
+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.UTF-8):     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.
 
-%package static
-Summary:       A Fortran-callable Postscript plotting library - static version
-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}-devel = %{version}
-
-%description static
-Static psplot libraries.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe do biblioteki psplot.
 
 %prep
 %setup -q -n %{name}
 
 %build
-cp %{SOURCE1} Makefile
+cp -f %{SOURCE1} Makefile
 %{__make} "CFLAGS=%{rpmcflags}"
-ln -s libpsplot.so libpsplot.so.link
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}
-install libpsplot.so $RPM_BUILD_ROOT%{_libdir}/libpsplot.so.%{version}
-cp -a libpsplot.so.link $RPM_BUILD_ROOT%{_libdir}/libpsplot.so
-install libpsplot.a $RPM_BUILD_ROOT%{_libdir}/libpsplot.a
-
-gzip -9nf grmana4.ps *.txt *.for 
-
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+install libpsplot.so $RPM_BUILD_ROOT%{_libdir}
+install libpsplot.a $RPM_BUILD_ROOT%{_libdir}
 
 %clean
-#rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.so.*.*
+%attr(755,root,root) %{_libdir}/lib%{name}.so
+
 %files devel
-%doc *.gz
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.so
-%files static
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%doc grmana4.ps *.txt *.for
+%{_libdir}/lib%{name}.a
This page took 0.057238 seconds and 4 git commands to generate.