Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff
libftdi1
libftdi1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libftdi1.spec of Package libftdi1
# # spec file for package libftdi1 # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libftdi1 Version: 0.20 Release: 0 Summary: Library to program and control the FTDI USB controller License: LGPL-2.1+ and GPL-2.0-with-classpath-exception Group: Hardware/Other Url: http://www.intra2net.com/en/developer/libftdi Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi-%{version}.tar.gz Patch0: buildfixes.diff BuildRequires: doxygen BuildRequires: libusb-devel BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %package -n libftdi1-devel Summary: Header files and static libraries for libftdi Group: Development/Libraries/C and C++ Requires: libftdi1 = %{version} Requires: libusb-devel %description Library to program and control the FTDI USB controller. This library is used by many programs accessing FTDI USB-to-RS232 converters. %description -n libftdi1-devel Header files and static libraries for libftdi. This library is used by many programs accessing FTDI USB-to-RS232 converters. %prep %setup -q -n libftdi-%{version} %patch0 -p1 %build %configure --disable-dependency-tracking CFLAGS="%{optflags}" make %{?_smp_mflags} %install # %make_install make DESTDIR=$RPM_BUILD_ROOT install mkdir -p %{buildroot}%{_mandir}/man3 gzip -9 doc/man/man3/*.3 cp doc/man/man3/*.3.gz %{buildroot}%{_mandir}/man3 # Remove example programs rm -f %{buildroot}%{_bindir}/simple rm -f %{buildroot}%{_bindir}/bitbang rm -f %{buildroot}%{_bindir}/bitbang2 rm -f %{buildroot}%{_bindir}/bitbang_ft2232 rm -f %{buildroot}%{_bindir}/bitbang_cbus rm -f %{buildroot}%{_bindir}/find_all rm -f %{buildroot}%{_bindir}/find_all_pp rm -f %{buildroot}%{_bindir}/serial_test rm -f %{buildroot}%{_bindir}/baud_test %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING* LICENSE README %{_libdir}/libftdi*.so.* %files -n libftdi1-devel %defattr(-,root,root) %{_bindir}/libftdi-config %{_includedir}/*.h %{_libdir}/libftdi.so %{_libdir}/libftdi*.*a %{_libdir}/pkgconfig/*.pc %{_mandir}/man3/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor