1 Summary: Borland CONIO library port for Unix
2 Summary(pl): Port biblioteki Borland CONIO dla Unixa
8 Source0: http://crazylovetrain.hypermart.net/files/uconio/%{name}-%{version}-PR.tar.gz
9 # Source0-md5: 08a6caac1daa6ab4cd27804ce99a79c5
10 Patch0: %{name}-make.patch
11 Patch1: %{name}-va_end.patch
12 URL: http://crazylovetrain.hypermart.net/projects.htm
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 UConio is a Unix port of the Borland Console Input/Output Library
21 (CONIO) for DOS, and includes some new features of its own.
24 UConio jest Uniksowym portem biblioteki Borland Console Input/Output
25 (CONIO) dla DOS-a, zawiera te¿ trochê dodanych, nowych funkcji.
28 Summary: Header files and development documentation for %{name}
29 Summary(pl): Pliki nag³ówkowe i dokumentacja do %{name}
30 Group: Development/Libraries
31 Requires: %{name} = %{version}
34 Header files and development documentation for %{name}.
36 %description -l pl devel
37 Pliki nag³ówkowe i dokumentacja do %{name}.
40 %setup -q -n %{name}-%{version}-PR
47 %{__make} "CFLAGS=%{rpmcflags}"
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3,%{_includedir}}
53 install bin/libuconio.so.* $RPM_BUILD_ROOT%{_libdir}
54 install include/*.h $RPM_BUILD_ROOT%{_includedir}
55 install man/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
57 (cd $RPM_BUILD_ROOT%{_libdir}; ln -s libuconio.so.* libuconio.so)
60 rm -rf $RPM_BUILD_ROOT
62 %post -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
66 %defattr(644,root,root,755)
67 %doc doc/{AUTHOR,BUGS,ChangeLog,HELPERS,README}
68 %attr(755,root,root) %{_libdir}/lib*.so.*
71 %defattr(644,root,root,755)
72 %doc tutorial/txt/*.txt
73 %attr(755,root,root) %{_libdir}/lib*.so