libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v1.4-42-g12ed18b

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 9 Jun 2020 23:16:10 +0200 (CEST)
The branch, master has been updated
       via  12ed18b61e7dc8e81a8946959434931c6a0a7fcf (commit)
      from  c4d4d65ccb1f093da63d7d20b5e5054048d7f139 (commit)


- Log -----------------------------------------------------------------
commit 12ed18b61e7dc8e81a8946959434931c6a0a7fcf
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date:   Tue Jun 9 23:11:04 2020 +0200

    Remove outdated rpm .spec file template
    
    The distro source packages are much more useful than this.
    
    Grepped source tree for ".spec" and "rpm",
    hopefully I caught all occurrences.

-----------------------------------------------------------------------

Summary of changes:
 .gitignore                |    1 -
 CMakeLists.txt            |    1 -
 doc/release-checklist.txt |    4 +-
 libftdi1.spec.in          |  104 ---------------------------------------------
 4 files changed, 2 insertions(+), 108 deletions(-)
 delete mode 100644 libftdi1.spec.in

diff --git a/.gitignore b/.gitignore
index 2f28a2f..b652e9f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,7 +42,6 @@ examples/simple
 
 # libftdi specific
 libftdi1-config
-libftdi1.spec
 
 # CMake
 CMakeCache.txt
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6655caf..7771e80 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -165,7 +165,6 @@ if(${WIN32})
    set(libdir      ${CMAKE_INSTALL_PREFIX}/bin)
 endif(${WIN32})
 
-configure_file(${CMAKE_SOURCE_DIR}/libftdi1.spec.in 
${CMAKE_BINARY_DIR}/libftdi1.spec @ONLY)
 configure_file(${CMAKE_SOURCE_DIR}/libftdi1.pc.in 
${CMAKE_BINARY_DIR}/libftdi1.pc @ONLY)
 configure_file(${CMAKE_SOURCE_DIR}/libftdipp1.pc.in 
${CMAKE_BINARY_DIR}/libftdipp1.pc @ONLY)
 install(FILES ${CMAKE_BINARY_DIR}/libftdi1.pc ${CMAKE_BINARY_DIR}/libftdipp1.pc
diff --git a/doc/release-checklist.txt b/doc/release-checklist.txt
index 6744963..347a5a6 100644
--- a/doc/release-checklist.txt
+++ b/doc/release-checklist.txt
@@ -13,7 +13,7 @@
 
 - Ensure all modifications are checked in
 
-- Sign tarball, build .src.rpm and sign it, too
+- Sign tarball
 
 - Create git tag:
   - git tag -s -u 24F006F5 v1.XX
@@ -21,7 +21,7 @@
   - git push --tags
 
 - Website
-  - Upload tarball and .src.rpm
+  - Upload tarball
   - Add ChangeLog to main page
   - Update URLs in download section
   - Generate API documentation and upload it
diff --git a/libftdi1.spec.in b/libftdi1.spec.in
deleted file mode 100644
index 9017696..0000000
--- a/libftdi1.spec.in
+++ /dev/null
@@ -1,104 +0,0 @@
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
-Summary:   Library to program and control the FTDI USB controller
-Name:      libftdi1
-Version:   @VERSION@
-Release:   1
-License:   LGPL for libftdi and GPLv2+linking exception for the C++ wrapper
-Group:     System Environment/Libraries
-Vendor:    Intra2net AG
-Source:    
https://www.intra2net.com/en/developer/libftdi/download/%{name}-%{version}.tar.bz2
-Buildroot: /tmp/%{name}-%{version}-root
-Requires:  libusb1
-BuildRequires: libusb1, libusb1-devel, pkgconfig, doxygen
-BuildRequires: swig python-devel
-Prefix:    /usr
-URL:       https://www.intra2net.com/en/developer/libftdi
-
-%package   devel
-Summary:   Header files and static libraries for libftdi1
-Group:     Development/Libraries
-Requires:  libftdi1 = %{version}, libusb1-devel
-
-%package python
-Summary: Python bindings for libftdi
-License: LGPL
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-
-%description 
-Library to program and control the FTDI USB controller
-
-%description devel
-Header files and static libraries for libftdi1
-
-%description python
-Python bindings for libftdi1 generated by SWIG
-
-%prep
-%setup -q
-
-%build
-
-mkdir build
-cd build
-
-export CFLAGS="$RPM_OPT_FLAGS"
-export CXXFLAGS="$RPM_OPT_FLAGS"
-cmake -DCMAKE_INSTALL_PREFIX="%{prefix}" ../
-
-make %{?_smp_mflags}
-
-%install
-cd build
-make DESTDIR=$RPM_BUILD_ROOT install
-
-# Remove example programs
-rm -f $RPM_BUILD_ROOT/usr/bin/simple
-rm -f $RPM_BUILD_ROOT/usr/bin/bitbang
-rm -f $RPM_BUILD_ROOT/usr/bin/bitbang2
-rm -f $RPM_BUILD_ROOT/usr/bin/bitbang_ft2232
-rm -f $RPM_BUILD_ROOT/usr/bin/bitbang_cbus
-rm -f $RPM_BUILD_ROOT/usr/bin/find_all
-rm -f $RPM_BUILD_ROOT/usr/bin/find_all_pp
-rm -f $RPM_BUILD_ROOT/usr/bin/serial_test
-rm -f $RPM_BUILD_ROOT/usr/bin/baud_test
-rm -f $RPM_BUILD_ROOT/usr/bin/stream_test
-rm -f $RPM_BUILD_ROOT/usr/bin/eeprom
-rm -f $RPM_BUILD_ROOT/usr/bin/async
-rm -f $RPM_BUILD_ROOT/usr/bin/purge_test
-
-# Clean python compiled files in examples dir
-find $RPM_BUILD_ROOT%{prefix}/share/libftdi/examples -name "*.pyc" -or -name 
"*.pyo" -exec rm -f \{\} \;
-
-# move documentation to version specific directory
-# Is there an easy way in cmake to set the DOCDIR?
-mkdir -p $RPM_BUILD_ROOT%{prefix}/share/doc/%{name}-%{version}
-mv $RPM_BUILD_ROOT%{prefix}/share/doc/%{name}/* 
$RPM_BUILD_ROOT%{prefix}/share/doc/%{name}-%{version}
-
-%clean
-rm -fr $RPM_BUILD_ROOT
-
-%files
-%defattr(-,root,root)
-%doc COPYING.LIB COPYING.GPL LICENSE
-%{_libdir}/libftdi1*.so*
-%{_libdir}/libftdipp1*.so*
-
-%files devel
-%defattr(-,root,root)
-%doc build/doc/html build/doc/man
-%{_bindir}/ftdi_eeprom
-%{_bindir}/libftdi1-config
-%{prefix}/include/libftdi1/*.h
-%{prefix}/include/libftdi1/*.hpp
-%{prefix}/share/libftdi/examples/*
-%{_libdir}/libftdi1*.*a
-%{_libdir}/libftdipp1*.*a
-%{_libdir}/pkgconfig/*.pc
-%{_libdir}/cmake/libftdi1/*
-
-%files python
-%defattr(-,root,root,-)
-%attr(755,root,root) %{python_sitearch}/_ftdi1.so
-%{python_sitearch}/ftdi1.py*


hooks/post-receive
-- 
A library to talk to FTDI chips

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • A library to talk to FTDI chips branch, master, updated. v1.4-42-g12ed18b, libftdi-git <=