Provide cmake config fo mingw/win32 too.
[libftdi] / libftdi1.spec.in
index 881b0c4..f4063e5 100644 (file)
@@ -24,7 +24,7 @@ Requires:  libftdi1 = %{version}, libusb1-devel
 Summary: Python bindings for libftdi
 License: LGPL
 Group: Development/Libraries
-Requires: %{name}-libs = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
 
 %description 
 Library to program and control the FTDI USB controller
@@ -75,7 +75,7 @@ rm -fr $RPM_BUILD_ROOT
 
 %files devel
 %defattr(-,root,root)
-%doc doc/html doc/man
+%doc build/doc/html build/doc/man
 %{_bindir}/ftdi_eeprom
 %{_bindir}/libftdi1-config
 %{prefix}/include/libftdi1/*.h
@@ -83,6 +83,7 @@ rm -fr $RPM_BUILD_ROOT
 %{_libdir}/libftdi1*.*a
 %{_libdir}/libftdipp1*.*a
 %{_libdir}/pkgconfig/*.pc
+%{_libdir}/cmake/libftdi1/*
 
 %files python
 %defattr(-,root,root,-)