]> git.pld-linux.org Git - packages/UConio.git/blobdiff - UConio.spec
- tabs in preamble
[packages/UConio.git] / UConio.spec
index 97b5c196b7ff134c16bc25fc93bfc66f3b8d13bc..d30340540d8b3cc9695a07f23c34b9b028b02493 100644 (file)
@@ -1,52 +1,47 @@
 Summary:       Borland CONIO library port for Unix
-Summary(pl):   Port biblioteki Borland CONIO dla Unixa
+Summary(pl.UTF-8):     Port biblioteki Borland CONIO dla Uniksa
 Name:          UConio
 Version:       1.0.9
-Release:       1
+Release:       3
 License:       GPL
 Group:         Libraries
-Group(de):     Libraries
-Group(es):     Bibliotecas
-Group(fr):     Librairies
-Group(pl):     Biblioteki
-Group(pt_BR):  Bibliotecas
-Group(ru):     âÉÂÌÉÏÔÅËÉ
-Group(uk):     â¦Â̦ÏÔÅËÉ
 Source0:       http://crazylovetrain.hypermart.net/files/uconio/%{name}-%{version}-PR.tar.gz
+# Source0-md5: 08a6caac1daa6ab4cd27804ce99a79c5
 Patch0:                %{name}-make.patch
+Patch1:                %{name}-va_end.patch
 URL:           http://crazylovetrain.hypermart.net/projects.htm
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%ifarch ppc
+%define                optflags        -O0
+%endif
+
 %description
 UConio is a Unix port of the Borland Console Input/Output Library
 (CONIO) for DOS, and includes some new features of its own.
 
-%description -l pl
-UConio jest Uniksowym portem biblioteki Borland Console Input/Output
-(CONIO) dla DOS-a, zawiera te¿ trochê dodanych, nowych funkcji.
+%description -l pl.UTF-8
+UConio jest uniksowym portem biblioteki Borland Console Input/Output
+(CONIO) dla DOS-a, zawiera też trochę dodanych, nowych funkcji.
 
 %package devel
-Summary:       Header files and development documentation for %{name}
-Summary(pl):   Pliki nag³ówkowe i dokumentacja do %{name}
+Summary:       Header files and development documentation for UConio
+Summary(pl.UTF-8):     Pliki nagłówkowe i dokumentacja do UConio
 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 and development documentation for %{name}.
+Header files and development documentation for UConio.
 
-%description -l pl devel
-Pliki nag³ówkowe i dokumentacja do %{name}.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe i dokumentacja do UConio.
 
 %prep
 %setup -q -n %{name}-%{version}-PR
-%patch -p1
+%patch0 -p1
+%patch1 -p0
+
+bzip2 -d man/*.bz2
 
 %build
 %{__make} "CFLAGS=%{rpmcflags}"
@@ -55,29 +50,26 @@ Pliki nag
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3,%{_includedir}}
 
-bzip2 -d man/*.bz2
+install        bin/libuconio.so.* $RPM_BUILD_ROOT%{_libdir}
+install include/*.h $RPM_BUILD_ROOT%{_includedir}
+install        man/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
 
-install         bin/libuconio.so.*     $RPM_BUILD_ROOT%{_libdir}
 (cd $RPM_BUILD_ROOT%{_libdir}; ln -s libuconio.so.* libuconio.so)
-install include/*.h            $RPM_BUILD_ROOT%{_includedir}
-install        man/*.3                 $RPM_BUILD_ROOT%{_mandir}/man3
-
-gzip -9nf tutorial/txt/*.txt doc/{AUTHOR,BUGS,ChangeLog,HELPERS,README}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%doc doc/*.gz
+%doc doc/{AUTHOR,BUGS,ChangeLog,HELPERS,README}
 %attr(755,root,root) %{_libdir}/lib*.so.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc tutorial/*/*.gz
+%doc tutorial/txt/*.txt
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_mandir}/man3/*
 %{_includedir}/*.h
This page took 0.049126 seconds and 4 git commands to generate.