]> git.pld-linux.org Git - packages/psplot.git/blobdiff - psplot.spec
- strict internal deps
[packages/psplot.git] / psplot.spec
index 52894605dd4a18539d2f07e11f28506edacd9d26..fae5bc730b796514e1252d29aa87983dfe296172 100644 (file)
@@ -1,21 +1,15 @@
-
+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(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,67 +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
+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
-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
+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}/lib%{name}.so.*.*
-%files devel
-%defattr(644,root,root,755)
-%doc *.gz
-%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib%{name}.so
-%files static
+
+%files devel
 %defattr(644,root,root,755)
+%doc grmana4.ps *.txt *.for
 %{_libdir}/lib%{name}.a
This page took 0.032405 seconds and 4 git commands to generate.