source: projects/specs/branches/6/lib/libx/libx86/libx86-vl.spec @ 1887

Revision 1887, 2.2 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

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