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 Patch0: %{name}-make.patch
10 Patch1: %{name}-va_end.patch
11 URL: http://crazylovetrain.hypermart.net/projects.htm
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 UConio is a Unix port of the Borland Console Input/Output Library
20 (CONIO) for DOS, and includes some new features of its own.
23 UConio jest Uniksowym portem biblioteki Borland Console Input/Output
24 (CONIO) dla DOS-a, zawiera te¿ trochê dodanych, nowych funkcji.
27 Summary: Header files and development documentation for %{name}
28 Summary(pl): Pliki nag³ówkowe i dokumentacja do %{name}
29 Group: Development/Libraries
30 Requires: %{name} = %{version}
33 Header files and development documentation for %{name}.
35 %description -l pl devel
36 Pliki nag³ówkowe i dokumentacja do %{name}.
39 %setup -q -n %{name}-%{version}-PR
46 %{__make} "CFLAGS=%{rpmcflags}"
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3,%{_includedir}}
52 install bin/libuconio.so.* $RPM_BUILD_ROOT%{_libdir}
53 install include/*.h $RPM_BUILD_ROOT%{_includedir}
54 install man/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
56 (cd $RPM_BUILD_ROOT%{_libdir}; ln -s libuconio.so.* libuconio.so)
59 rm -rf $RPM_BUILD_ROOT
61 %post -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
65 %defattr(644,root,root,755)
66 %doc doc/{AUTHOR,BUGS,ChangeLog,HELPERS,README}
67 %attr(755,root,root) %{_libdir}/lib*.so.*
70 %defattr(644,root,root,755)
71 %doc tutorial/txt/*.txt
72 %attr(755,root,root) %{_libdir}/lib*.so