]> git.pld-linux.org Git - packages/UConio.git/blob - UConio.spec
- cosmetics.
[packages/UConio.git] / UConio.spec
1 Summary:        Borland CONIO library port for Unix
2 Summary(pl):    Port biblioteki Borland CONIO dla Unixa
3 Name:           UConio
4 Version:        1.0.9
5 Release:        2
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://crazylovetrain.hypermart.net/files/uconio/%{name}-%{version}-PR.tar.gz
9 Patch0:         %{name}-make.patch
10 URL:            http://crazylovetrain.hypermart.net/projects.htm
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %ifarch ppc
14 %define         optflags        -O0
15 %endif
16
17 %description
18 UConio is a Unix port of the Borland Console Input/Output Library
19 (CONIO) for DOS, and includes some new features of its own.
20
21 %description -l pl
22 UConio jest Uniksowym portem biblioteki Borland Console Input/Output
23 (CONIO) dla DOS-a, zawiera te¿ trochê dodanych, nowych funkcji.
24
25 %package devel
26 Summary:        Header files and development documentation for %{name}
27 Summary(pl):    Pliki nag³ówkowe i dokumentacja do %{name}
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}
30
31 %description devel
32 Header files and development documentation for %{name}.
33
34 %description -l pl devel
35 Pliki nag³ówkowe i dokumentacja do %{name}.
36
37 %prep
38 %setup -q -n %{name}-%{version}-PR
39 %patch -p1
40
41 bzip2 -d man/*.bz2
42
43 %build
44 %{__make} "CFLAGS=%{rpmcflags}"
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3,%{_includedir}}
49
50 install bin/libuconio.so.* $RPM_BUILD_ROOT%{_libdir}
51 install include/*.h $RPM_BUILD_ROOT%{_includedir}
52 install man/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
53
54 (cd $RPM_BUILD_ROOT%{_libdir}; ln -s libuconio.so.* libuconio.so)
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post   -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
61
62 %files
63 %defattr(644,root,root,755)
64 %doc doc/{AUTHOR,BUGS,ChangeLog,HELPERS,README}
65 %attr(755,root,root) %{_libdir}/lib*.so.*
66
67 %files devel
68 %defattr(644,root,root,755)
69 %doc tutorial/txt/*.txt
70 %attr(755,root,root) %{_libdir}/lib*.so
71 %{_mandir}/man3/*
72 %{_includedir}/*.h
This page took 0.08133 seconds and 3 git commands to generate.