Name: libdlo Version: 0.1.0 Release: 1%{?dist} Summary: DisplayLink driver library Group: System Environment/Libraries License: LGPLv2 URL: http://freedesktop.org/wiki/Software/%{name} Source0: http://people.freedesktop.org/~berniet/libdlo-0.1.0.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: autoconf automake libtool BuildRequires: libusb-devel #Requires: Patch0: libdlo-0.1.0-build-fix.patch %description An open-source implementation of DisplayLink USB graphics support. This library will discover and connect to DisplayLink USB graphics chips, and allow for developers to support DisplayLink devices. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p1 -b .jx %build autoreconf -v --install %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -delete rm $RPM_BUILD_ROOT%{_bindir}/test1 %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %doc *.pdf %{_includedir}/* %{_libdir}/*.so %changelog * Thu Jun 04 2009 Adam Jackson 0.1.0-1 - Initial revision