Эх сурвалжийг харах

libx86-1.1-2
add pkgconfig file


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@581 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 15 жил өмнө
parent
commit
643e83a74f

+ 8 - 2
lib/libx/libx86/libx86-vl.spec

@@ -1,13 +1,14 @@
 Name:           libx86          
 Version:        1.1    
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Summary:        Library for making real-mode x86 calls
 
 Group:          System Environment/Libraries
 License:        MIT
 URL:            http://www.codon.org.uk/~mjg59/libx86
 Source0:        http://www.codon.org.uk/~mjg59/libx86/downloads/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Patch0:         libx86-add-pkgconfig.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 # does not build on ppc or ppc64 yet, due to the lack of port i/o redirection
 # and video routing
 ExcludeArch:    ppc ppc64
@@ -28,6 +29,7 @@ development of programs that will use libx86 to make real-mode x86 calls.
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -55,8 +57,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %{_libdir}/lib*.so
 %{_includedir}/*.h
+%{_libdir}/pkgconfig/x86.pc
 
 %changelog
+* Mon Mar 15 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
+- add Patch0 to add pkgconfig
+
 * Sun Oct 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
 - initial build for Vine Linux