]> git.pld-linux.org Git - packages/UConio.git/blobdiff - UConio.spec
- tabs in preamble
[packages/UConio.git] / UConio.spec
index f27698126d923ffa18b2127c6475405f7e65c836..d30340540d8b3cc9695a07f23c34b9b028b02493 100644 (file)
@@ -1,57 +1,65 @@
 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:       2
+Release:       3
 License:       GPL
 Group:         Libraries
 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
-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}
+%{__make} "CFLAGS=%{rpmcflags}"
 
 %install
 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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
This page took 0.068256 seconds and 4 git commands to generate.