source: projects/specs/trunk/lib/libx/libx86/libx86-vl.spec @ 521

Revision 521, 1.9 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:           libx86         
2Version:        1.1   
3Release:        1%{?_dist_release}
4Summary:        Library for making real-mode x86 calls
5
6Group:          System Environment/Libraries
7License:        MIT
8URL:            http://www.codon.org.uk/~mjg59/libx86
9Source0:        http://www.codon.org.uk/~mjg59/libx86/downloads/%{name}-%{version}.tar.gz
10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11# does not build on ppc or ppc64 yet, due to the lack of port i/o redirection
12# and video routing
13ExcludeArch:    ppc ppc64
14
15%description
16A library to provide support for making real-mode x86 calls with an emulated
17x86 processor.
18
19%package devel
20Summary:        Development tools for programs which will use libx86
21Summary(ja):        Development tools for programs which will use libx86
22Group:          Development/Libraries
23Requires:       %{name} = %{version}-%{release}
24
25%description devel
26This package contains the static library and header file necessary for
27development of programs that will use libx86 to make real-mode x86 calls.
28
29%prep
30%setup -q
31
32
33%build
34CFLAGS="$RPM_OPT_FLAGS" make BACKEND=x86emu LIBDIR=%{_libdir} %{?_smp_mflags}
35
36
37%install
38rm -rf $RPM_BUILD_ROOT
39make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir}
40rm $RPM_BUILD_ROOT/%{_libdir}/*.a
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%post -p /sbin/ldconfig
46
47%postun -p /sbin/ldconfig
48
49%files
50%defattr(-,root,root,-)
51%doc COPYRIGHT
52%{_libdir}/lib*.so.*
53
54%files devel
55%defattr(-,root,root,-)
56%{_libdir}/lib*.so
57%{_includedir}/*.h
58
59%changelog
60* Sun Oct 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
61- initial build for Vine Linux
62
63* Tue May 20 2008 Matthew Garrett <mjg@redhat.com> 1.1-3
64- Fix bizarre provides/obsoletes thinko
65
66* Tue May 20 2008 Matthew Garrett <mjg@redhat.com> 1.1-2
67- Ensure RPM_OPT_FLAGS are passed. Patch from Till Maas.
68
69* Mon May 19 2008 Matthew Garrett <mjg@redhat.com> 1.1-1
70- Initial packaging of libx86
Note: See TracBrowser for help on using the repository browser.