1 Summary: Borland CONIO library port for Unix
2 Summary(pl.UTF-8): Port biblioteki Borland CONIO dla Uniksa
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.
23 %description -l pl.UTF-8
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 UConio
29 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do UConio
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
34 Header files and development documentation for UConio.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe i dokumentacja do UConio.
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