]> git.pld-linux.org Git - packages/UConio.git/blob - UConio.spec
- tabs in preamble
[packages/UConio.git] / UConio.spec
1 Summary:        Borland CONIO library port for Unix
2 Summary(pl.UTF-8):      Port biblioteki Borland CONIO dla Uniksa
3 Name:           UConio
4 Version:        1.0.9
5 Release:        3
6 License:        GPL
7 Group:          Libraries
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)
14
15 %ifarch ppc
16 %define         optflags        -O0
17 %endif
18
19 %description
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.
22
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.
26
27 %package devel
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}
32
33 %description devel
34 Header files and development documentation for UConio.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe i dokumentacja do UConio.
38
39 %prep
40 %setup -q -n %{name}-%{version}-PR
41 %patch0 -p1
42 %patch1 -p0
43
44 bzip2 -d man/*.bz2
45
46 %build
47 %{__make} "CFLAGS=%{rpmcflags}"
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3,%{_includedir}}
52
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
56
57 (cd $RPM_BUILD_ROOT%{_libdir}; ln -s libuconio.so.* libuconio.so)
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post   -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
64
65 %files
66 %defattr(644,root,root,755)
67 %doc doc/{AUTHOR,BUGS,ChangeLog,HELPERS,README}
68 %attr(755,root,root) %{_libdir}/lib*.so.*
69
70 %files devel
71 %defattr(644,root,root,755)
72 %doc tutorial/txt/*.txt
73 %attr(755,root,root) %{_libdir}/lib*.so
74 %{_mandir}/man3/*
75 %{_includedir}/*.h
This page took 0.077269 seconds and 3 git commands to generate.