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

Revision 8084, 2.3 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Name:           libx86         
2Version:        1.1   
3Release:        4%{?_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
10Patch0:         libx86-add-pkgconfig.patch
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12# does not build on ppc or ppc64 yet, due to the lack of port i/o redirection
13# and video routing
14ExcludeArch:    ppc ppc64
15
16Vendor: Project Vine
17Distribution: Vine Linux
18
19%description
20A library to provide support for making real-mode x86 calls with an emulated
21x86 processor.
22
23%package devel
24Summary:        Development tools for programs which will use libx86
25Summary(ja):        Development tools for programs which will use libx86
26Group:          Development/Libraries
27Requires:       %{name} = %{version}-%{release}
28
29%description devel
30This package contains the static library and header file necessary for
31development of programs that will use libx86 to make real-mode x86 calls.
32
33%prep
34%setup -q
35%patch0 -p1
36
37
38%build
39CFLAGS="$RPM_OPT_FLAGS" make BACKEND=x86emu LIBDIR=%{_libdir} %{?_smp_mflags}
40
41
42%install
43rm -rf $RPM_BUILD_ROOT
44make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir}
45rm $RPM_BUILD_ROOT/%{_libdir}/*.a
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%post -p /sbin/ldconfig
51
52%postun -p /sbin/ldconfig
53
54%files
55%defattr(-,root,root,-)
56%doc COPYRIGHT
57%{_libdir}/lib*.so.*
58
59%files devel
60%defattr(-,root,root,-)
61%{_libdir}/lib*.so
62%{_includedir}/*.h
63%{_libdir}/pkgconfig/x86.pc
64
65%changelog
66* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1-4
67- rebuild with VineSeed environment
68
69* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1-3
70- rebuild with rpm-4.8.1 for pkg-config file
71
72* Mon Mar 15 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
73- add Patch0 to add pkgconfig
74
75* Sun Oct 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
76- initial build for Vine Linux
77
78* Tue May 20 2008 Matthew Garrett <mjg@redhat.com> 1.1-3
79- Fix bizarre provides/obsoletes thinko
80
81* Tue May 20 2008 Matthew Garrett <mjg@redhat.com> 1.1-2
82- Ensure RPM_OPT_FLAGS are passed. Patch from Till Maas.
83
84* Mon May 19 2008 Matthew Garrett <mjg@redhat.com> 1.1-1
85- Initial packaging of libx86
Note: See TracBrowser for help on using the repository browser.