Accepting request 508612 from home:mnhauke:branches:hardware
- Minor package cleanup OBS-URL: https://build.opensuse.org/request/show/508612 OBS-URL: https://build.opensuse.org/package/show/hardware/libftdi1?expand=0&rev=18
This commit is contained in:
parent
fdd7016f66
commit
d4b9b14750
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 6 18:17:15 UTC 2017 - mardnh@gmx.de
|
||||
|
||||
- Minor package cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 1 12:52:25 UTC 2017 - adam.majer@suse.de
|
||||
|
||||
|
@ -16,6 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%define sover -2
|
||||
%define libname %{name}%{sover}
|
||||
|
||||
Name: libftdi1
|
||||
Version: 1.3
|
||||
Release: 0
|
||||
@ -44,10 +47,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Library to program and control the FTDI USB controller.
|
||||
This library is used by many programs accessing FTDI USB-to-RS232 converters.
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: Library to program and control the FTDI USB controller
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libname}
|
||||
Library to program and control the FTDI USB controller.
|
||||
This library is used by many programs accessing FTDI USB-to-RS232 converters.
|
||||
|
||||
|
||||
%package binding-python
|
||||
Summary: Python binding for libftdi
|
||||
Group: Development/Languages/Python
|
||||
Requires: libftdi1 = %{version}
|
||||
Requires: %{libname} = %{version}
|
||||
Requires: swig
|
||||
|
||||
%description binding-python
|
||||
@ -56,13 +68,13 @@ This library is used by many programs accessing FTDI USB-to-RS232 converters.
|
||||
|
||||
This package provides the python binding for libftdi.
|
||||
|
||||
%package -n libftdi1-devel
|
||||
%package devel
|
||||
Summary: Header files and static libraries for libftdi
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libftdi1 = %{version}
|
||||
Requires: %{libname} = %{version}
|
||||
Requires: libusb-1_0-devel
|
||||
|
||||
%description -n libftdi1-devel
|
||||
%description devel
|
||||
Header files and static libraries for libftdi.
|
||||
This library is used by many programs accessing FTDI USB-to-RS232 converters.
|
||||
|
||||
@ -82,10 +94,10 @@ cp -p doc/man/man3/[^_]*.3 %{buildroot}%{_mandir}/man3
|
||||
find %{buildroot} -type f -name "*.a" -delete -print
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -n %{libname}
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING* LICENSE README
|
||||
%{_libdir}/libftdi*.so.*
|
||||
@ -93,17 +105,18 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%files binding-python
|
||||
%defattr(-,root,root)
|
||||
%doc python/examples/*.py
|
||||
%{python_sitearch}/*
|
||||
%{python_sitearch}/_ftdi1.so
|
||||
%{python_sitearch}/ftdi1.py
|
||||
|
||||
%files -n libftdi1-devel
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc ftdi_eeprom/example.conf
|
||||
%{_bindir}/libftdi*-config
|
||||
%{_bindir}/ftdi_eeprom
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/libftdi*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/pkgconfig/libftdi*.pc
|
||||
%{_libdir}/cmake/%{name}
|
||||
%{_mandir}/man3/*
|
||||
%{_mandir}/man3/*%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user