]> git.pld-linux.org Git - packages/UConio.git/blob - UConio.spec
0871395d39ea6c65e2e89ea7065d204945ce2b4c
[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 %description
14 UConio is a Unix port of the Borland Console Input/Output Library
15 (CONIO) for DOS, and includes some new features of its own.
16
17 %description -l pl
18 UConio jest Uniksowym portem biblioteki Borland Console Input/Output
19 (CONIO) dla DOS-a, zawiera te¿ trochê dodanych, nowych funkcji.
20
21 %package devel
22 Summary:        Header files and development documentation for %{name}
23 Summary(pl):    Pliki nag³ówkowe i dokumentacja do %{name}
24 Group:          Development/Libraries
25 Requires:       %{name} = %{version}
26
27 %description devel
28 Header files and development documentation for %{name}.
29
30 %description -l pl devel
31 Pliki nag³ówkowe i dokumentacja do %{name}.
32
33 %prep
34 %setup -q -n %{name}-%{version}-PR
35 %patch -p1
36
37 %build
38 %ifarch %{ix86}
39 %{__make} "CFLAGS=%{rpmcflags}"
40 %else
41 %{__make}
42 %endif
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3,%{_includedir}}
47
48 bzip2 -d man/*.bz2
49
50 install  bin/libuconio.so.*     $RPM_BUILD_ROOT%{_libdir}
51 (cd $RPM_BUILD_ROOT%{_libdir}; ln -s libuconio.so.* libuconio.so)
52 install include/*.h             $RPM_BUILD_ROOT%{_includedir}
53 install man/*.3                 $RPM_BUILD_ROOT%{_mandir}/man3
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post   -p /sbin/ldconfig
59 %postun -p /sbin/ldconfig
60
61 %files
62 %defattr(644,root,root,755)
63 %doc doc/{AUTHOR,BUGS,ChangeLog,HELPERS,README}
64 %attr(755,root,root) %{_libdir}/lib*.so.*
65
66 %files devel
67 %defattr(644,root,root,755)
68 %doc tutorial/txt/*.txt
69 %attr(755,root,root) %{_libdir}/lib*.so
70 %{_mandir}/man3/*
71 %{_includedir}/*.h
This page took 0.029671 seconds and 2 git commands to generate.