]> git.pld-linux.org Git - packages/UConio.git/blob - UConio.spec
initial pld release
[packages/UConio.git] / UConio.spec
1 Summary:        Bornalnd CONIO library port for Unix
2 Summary(pl):    Port biblioteki Borland CONIO dla Unixa
3 Name:           UConio
4 Version:        1.0.9
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Source0:        http://crazylovetrain.hypermart.net/files/uconio/%{name}-%{version}-PR.tar.gz
13 Patch0:         %{name}-make.patch
14 URL:            http://crazylovetrain.hypermart.net/projects.htm
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 Unixowym portem biblioteki Borland Console Input/Output
23 (CONIO) dla DOSa oraz dodatkowo dodano nowe funkcje.
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 Group(de):      Entwicklung/Libraries
30 Group(fr):      Development/Librairies
31 Group(pl):      Programowanie/Biblioteki
32 Requires:       %{name} = %{version}
33
34 %description devel
35 Header files and development documentation for %{name}.
36
37 %description -l pl devel
38 Pliki nag³ówkowe i dokumentacja do %{name}.
39
40 %prep
41 %setup -q -n %{name}-%{version}-PR
42 %patch -p1
43
44 %build
45 %{__make} "CFLAGS=%{rpmcflags}"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3,%{_includedir}}
50
51 bzip2 -d man/*.bz2
52
53 install  bin/libuconio.so.*     $RPM_BUILD_ROOT%{_libdir}
54 (cd $RPM_BUILD_ROOT%{_libdir}; ln -s libuconio.so.* libuconio.so)
55 install include/*.h             $RPM_BUILD_ROOT%{_includedir}
56 install man/*.3                 $RPM_BUILD_ROOT%{_mandir}/man3
57
58 gzip -9nf tutorial/txt/*.txt doc/{AUTHOR,BUGS,ChangeLog,HELPERS,README}
59
60 %post   -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc doc/*.gz
69 %attr(755,root,root) %{_libdir}/lib*.so.*
70
71 %files devel
72 %defattr(644,root,root,755)
73 %doc tutorial/*/*.gz
74 %attr(755,root,root) %{_libdir}/lib*.so
75 %{_mandir}/man3/*
76 %{_includedir}/*.h
This page took 0.435152 seconds and 4 git commands to generate.