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