2007-10-31 17:42:03 +00:00
|
|
|
%define gitdate 20071031
|
|
|
|
%define gitrev e392082abb5696c8837224da86cc0af4f21d7010
|
2007-06-05 16:32:52 +00:00
|
|
|
|
|
|
|
Name: libpciaccess
|
2007-09-24 19:52:37 +00:00
|
|
|
Version: 0.9.1
|
2007-10-31 17:42:03 +00:00
|
|
|
Release: 2.%{gitdate}%{?dist}
|
2007-06-05 16:32:52 +00:00
|
|
|
Summary: PCI access library
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: MIT
|
|
|
|
URL: http://gitweb.freedesktop.org/?p=xorg/lib/libpciaccess.git
|
2007-10-31 17:31:16 +00:00
|
|
|
|
2007-06-05 16:32:52 +00:00
|
|
|
# git snapshot. To recreate, run
|
|
|
|
# % ./make-libpciaccess-snapshot.sh %{gitrev}
|
2007-10-31 17:42:03 +00:00
|
|
|
Source0: libpciaccess-20071031.tar.bz2
|
2007-10-31 17:31:16 +00:00
|
|
|
#Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
2007-06-05 16:32:52 +00:00
|
|
|
Source1: make-libpciaccess-snapshot.sh
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: autoconf automake libtool pkgconfig
|
|
|
|
Requires: hwdata
|
|
|
|
|
|
|
|
%description
|
|
|
|
libpciaccess is a library for portable PCI access routines across multiple
|
|
|
|
operating systems.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: PCI access library development package
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development package for libpciaccess.
|
|
|
|
|
|
|
|
%prep
|
2007-10-31 17:45:44 +00:00
|
|
|
%setup -q -n %{name}-%{gitdate}
|
2007-06-05 16:32:52 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -v --install
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING AUTHORS ChangeLog
|
|
|
|
%{_libdir}/libpciaccess.so.0
|
2007-10-31 17:45:44 +00:00
|
|
|
%{_libdir}/libpciaccess.so.0.10.0
|
2007-06-05 16:32:52 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/pciaccess.h
|
|
|
|
%{_libdir}/libpciaccess.so
|
|
|
|
%{_libdir}/pkgconfig/pciaccess.pc
|
|
|
|
|
|
|
|
%changelog
|
2007-10-31 17:42:03 +00:00
|
|
|
* Wed Oct 31 2007 Kristian Høgsberg <krh@redhat.com> 0.9.1-2.20071031
|
|
|
|
- New snapshot, git revision e392082abb5696c8837224da86cc0af4f21d7010.
|
2007-10-31 17:45:44 +00:00
|
|
|
- Pick up new .so file.
|
2007-10-31 17:42:03 +00:00
|
|
|
|
2007-09-24 19:52:37 +00:00
|
|
|
* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 0.9.1-1
|
|
|
|
- libpciaccess 0.9.1
|
|
|
|
|
2007-08-27 17:13:38 +00:00
|
|
|
* Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.8-0.4.20070827git
|
|
|
|
- New snapshot.
|
|
|
|
|
2007-08-24 11:56:17 +00:00
|
|
|
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.3.20070712git
|
|
|
|
- Rebuild for PPC toolchain bug
|
|
|
|
|
2007-07-12 21:28:39 +00:00
|
|
|
* Thu Jul 12 2007 Adam Jackson <ajax@redhat.com> 0.8-0.2.20070712git
|
|
|
|
- New snapshot. Adds VGA ROM support.
|
|
|
|
|
2007-06-05 16:32:52 +00:00
|
|
|
* Thu May 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.1.20070524git
|
|
|
|
- Initial revision.
|