|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
Name: libftdi
|
|
|
|
|
Version: 0.16
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: Library to program and control the FTDI USB controller
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -14,6 +14,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: libusb-devel, doxygen, boost-devel, python-devel, swig
|
|
|
|
|
Requires: pkgconfig, udev
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Header files and static libraries for libftdi
|
|
|
|
@ -123,6 +125,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_includedir}/*.hpp
|
|
|
|
|
%{_libdir}/pkgconfig/libftdipp.pc
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
getent group GROUPNAME >/dev/null || groupadd -r plugdev
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
@ -131,6 +135,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%postun c++ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Aug 22 2009 Lucian Langa <cooly@gnome.eu.org> - 0.16-7
|
|
|
|
|
- add group for udev rule (#517773)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 31 2009 Lucian Langa <cooly@gnome.eu.org> - 0.16-6
|
|
|
|
|
- rebuilt with modified patch
|
|
|
|
|
|
|
|
|
|