]> git.pld-linux.org Git - packages/UConio.git/blob - UConio.spec
- added -va_end.patch (how did it ever compiled without it? can sb. take a look?)
[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 Patch1:         %{name}-va_end.patch
11 URL:            http://crazylovetrain.hypermart.net/projects.htm
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %ifarch ppc
15 %define         optflags        -O0
16 %endif
17
18 %description
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.
21
22 %description -l pl
23 UConio jest Uniksowym portem biblioteki Borland Console Input/Output
24 (CONIO) dla DOS-a, zawiera te¿ trochê dodanych, nowych funkcji.
25
26 %package devel
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}
31
32 %description devel
33 Header files and development documentation for %{name}.
34
35 %description -l pl devel
36 Pliki nag³ówkowe i dokumentacja do %{name}.
37
38 %prep
39 %setup -q -n %{name}-%{version}-PR
40 %patch0 -p1
41 %patch1 -p0
42
43 bzip2 -d man/*.bz2
44
45 %build
46 %{__make} "CFLAGS=%{rpmcflags}"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3,%{_includedir}}
51
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
55
56 (cd $RPM_BUILD_ROOT%{_libdir}; ln -s libuconio.so.* libuconio.so)
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post   -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
63
64 %files
65 %defattr(644,root,root,755)
66 %doc doc/{AUTHOR,BUGS,ChangeLog,HELPERS,README}
67 %attr(755,root,root) %{_libdir}/lib*.so.*
68
69 %files devel
70 %defattr(644,root,root,755)
71 %doc tutorial/txt/*.txt
72 %attr(755,root,root) %{_libdir}/lib*.so
73 %{_mandir}/man3/*
74 %{_includedir}/*.h
This page took 0.033027 seconds and 4 git commands to generate.