From f3329dda10d6c5ea1679a6afbb722999cf43f57e Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Fri, 13 Feb 2015 14:59:33 +0100 Subject: [PATCH] Remove Debian and Fedora packaging --- .gitignore | 10 ---------- Makefile.am | 2 +- configure.ac | 1 - debian/changelog | 135 --------------------------------------------------------------------------------------------------------------------------------------- debian/compat | 1 - debian/control | 31 ------------------------------- debian/copyright | 74 -------------------------------------------------------------------------- debian/libmodbus-dev.docs | 1 - debian/libmodbus-dev.examples | 2 -- debian/libmodbus-dev.install | 3 --- debian/libmodbus-dev.manpages | 2 -- debian/libmodbus5.install | 1 - debian/rules | 9 --------- debian/source/format | 1 - libmodbus.spec.in | 106 ---------------------------------------------------------------------------------------------------------- 15 files changed, 1 insertion(+), 378 deletions(-) delete mode 100644 debian/changelog delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/copyright delete mode 100644 debian/libmodbus-dev.docs delete mode 100644 debian/libmodbus-dev.examples delete mode 100644 debian/libmodbus-dev.install delete mode 100644 debian/libmodbus-dev.manpages delete mode 100644 debian/libmodbus5.install delete mode 100755 debian/rules delete mode 100644 debian/source/format delete mode 100644 libmodbus.spec.in diff --git a/.gitignore b/.gitignore index eae6d11..24c2ff2 100644 --- a/.gitignore +++ b/.gitignore @@ -23,7 +23,6 @@ Makefile.in /ltmain.sh /missing /libmodbus.pc -/libmodbus.spec /stamp-h1 /*.sublime-* src/modbus-version.h @@ -41,12 +40,3 @@ tests/stamp-h2 doc/*.html doc/*.3 doc/*.7 -debian/*.log -debian/*.debhelper -debian/*.substvars -debian/files -debian/libmodbus-dev/ -debian/libmodbus5/ -debian/stamp-* -debian/tmp/ -debian/libmodbus-dbg/ diff --git a/Makefile.am b/Makefile.am index cddb4b4..b14e9f0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -EXTRA_DIST = MIGRATION README.md libmodbus.spec +EXTRA_DIST = MIGRATION README.md CLEANFILES = ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} AM_MAKEFLAGS = --no-print-directory diff --git a/configure.ac b/configure.ac index bfbcb40..abdc1d7 100644 --- a/configure.ac +++ b/configure.ac @@ -133,7 +133,6 @@ AC_CONFIG_FILES([ tests/Makefile doc/Makefile libmodbus.pc - libmodbus.spec ]) AC_OUTPUT diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 26943de..0000000 --- a/debian/changelog +++ /dev/null @@ -1,135 +0,0 @@ -libmodbus (3.0.5-1) unstable; urgency=low - - * New upstream release - * Refresh 01-add-length-checks.patch, as most changes have been superseded - upstream - - -- Ivo De Decker Mon, 07 Oct 2013 20:50:25 +0200 - -libmodbus (3.0.4-1) unstable; urgency=low - - * New upstream release - * Update standards-version to 3.9.4 (no changes) - * Enable parallel build - * Enable verbose build to show compiler flags to build log checks - * Update watch file to filter out unstable versions - - -- Ivo De Decker Sun, 30 Jun 2013 12:25:01 +0200 - -libmodbus (3.0.3-4) unstable; urgency=low - - * Upload to unstable - * Update watch file, thanks to Bart Martens - - -- Ivo De Decker Mon, 13 May 2013 21:07:59 +0200 - -libmodbus (3.0.3-3) experimental; urgency=low - - * Fix watch file - * Switch to debhelper - * Remove Build-Depends on cdbs - * Multiarch support - - -- Ivo De Decker Sun, 11 Nov 2012 19:16:34 +0100 - -libmodbus (3.0.3-2) experimental; urgency=low - - * Install upstream changelog correctly. - - -- Ivo De Decker Sat, 09 Jun 2012 16:26:41 +0200 - -libmodbus (3.0.3-1) unstable; urgency=low - - * Acknowledge NMU, thanks to Roland Stigge and Josef Holzmayr - * New upstream release - * Update standards-version to 3.9.3 (no changes) - * Move to debhelper compatibility level 9 - * Add symbols file - * Add watch file - - -- Ivo De Decker Sat, 26 May 2012 14:19:39 +0200 - -libmodbus (3.0.2-1.1) unstable; urgency=low - - * Non-maintainer upload. - * Added patch: Fix crash by adding length checks (Closes: #664740) - thanks to Josef Holzmayr - - -- Roland Stigge Fri, 30 Mar 2012 09:45:51 +0200 - -libmodbus (3.0.2-1) unstable; urgency=low - - * New upstream release - * Update standards-version to 3.9.2 (no changes) - * Use dh-autoreconf - * Update copyright years - - -- Ivo De Decker Mon, 20 Feb 2012 17:18:27 +0100 - -libmodbus (3.0.1-2) unstable; urgency=low - - * Initial Debian release - - -- Ivo De Decker Thu, 11 Aug 2011 19:53:33 +0200 - -libmodbus (3.0.1-1) unstable; urgency=low - - * New upstream release - - -- Stéphane Raimbault Mon, 18 Jul 2011 22:27:40 +0200 - -libmodbus (3.0.0-1) unstable; urgency=low - - * New upstream release - - -- Stéphane Raimbault Mon, 11 Jul 2011 23:23:32 +0200 - -libmodbus (2.9.4-1) maverick; urgency=low - - * New upstream release - - -- Stéphane Raimbault Sun, 05 Jun 2011 12:38:34 +0200 - -libmodbus (2.9.3-1) maverick; urgency=low - - * New upstream release - - -- Stéphane Raimbault Fri, 14 Jan 2011 00:37:20 +0100 - -libmodbus (2.9.2-1) maverick; urgency=low - - * New upstream release - - -- Stéphane Raimbault Mon, 4 Oct 2010 13:21:52 +0200 - -libmodbus (2.0.3-1) intrepid; urgency=low - - * New upstream release - - -- Stéphane Raimbault Sun, 22 Mar 2009 12:16:52 +0200 - -libmodbus (2.0.2-1) hardy; urgency=low - - * New upstream release - - -- Stéphane Raimbault Sun, 10 Aug 2008 16:44:49 +0200 - -libmodbus (2.0.1-1) hardy; urgency=low - - * New upstream release - - -- Stéphane Raimbault Thu, 03 Jul 2008 21:47:52 +0200 - -libmodbus (2.0.0-2) hardy; urgency=low - - * Add test files to examples directory in libmodbus-dev. - * Add MIGRATION file to libmodbus-dev. - * Define the compatibility level to 6. - - -- Stéphane Raimbault Sun, 18 May 2008 14:30:23 +0200 - -libmodbus (2.0.0-1) hardy; urgency=low - - * Initial release. - - -- Stéphane Raimbault Wed, 14 May 2008 22:30:53 +0200 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index ec63514..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/debian/control b/debian/control deleted file mode 100644 index 3dda995..0000000 --- a/debian/control +++ /dev/null @@ -1,31 +0,0 @@ -Source: libmodbus -Priority: extra -Maintainer: Ivo De Decker -Standards-Version: 3.9.4 -Section: libs -Build-Depends: debhelper (>= 9), asciidoc, xmlto, dh-autoreconf -Homepage: http://libmodbus.org/ - -Package: libmodbus5 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Pre-Depends: ${misc:Pre-Depends} -Multi-Arch: same -Description: library for the Modbus protocol - A Modbus library written in C, to send/receive data with a device which - respects the Modbus protocol. This library can use a serial port or an - Ethernet connection. - . - This package contains the shared library. - -Package: libmodbus-dev -Section: libdevel -Architecture: any -Depends: libmodbus5 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} -Description: development files for the Modbus protocol library - A Modbus library written in C, to send/receive data with a device which - respects the Modbus protocol. This library can use a serial port or an - Ethernet connection. - . - This package contains the development files. - diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 13d2665..0000000 --- a/debian/copyright +++ /dev/null @@ -1,74 +0,0 @@ -This package was debianized by Stéphane Raimbault - on Wed, 14 May 2008 22:30:53 +0200 - -It was downloaded from - -Upstream Author: - - Stéphane Raimbault - -Copyright: - - - -License for libmodbus: - - This library is free software; you can redistribute it and/or modify it - under the terms of the GNU Lesser General Public License as published by the - Free Software Foundation; either version 2.1 of the License, or (at your - option) any later version. - - This library is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - for more details. - - You should have received a copy of the GNU Lesser General Public License - along with this library; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - - On Debian systems, the complete text of the GNU General Public License - can be found in /usr/share/common-licenses/LGPL-2.1 - -License for the tests: - - Copyright (c) 2008-2014 by Stéphane Raimbault - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - - * The names of the contributors may not be used to endorse or - promote products derived from this software without specific - prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The Debian packaging is: - - Copyright (C) 2008-2011 Stéphane Raimbault - Copyright (C) 2011-2012 Ivo De Decker - -and is licensed under the LGPL version 2.1 or later, see -"/usr/share/common-licenses/LGPL-2.1". - - diff --git a/debian/libmodbus-dev.docs b/debian/libmodbus-dev.docs deleted file mode 100644 index d8964d2..0000000 --- a/debian/libmodbus-dev.docs +++ /dev/null @@ -1 +0,0 @@ -MIGRATION README.md AUTHORS diff --git a/debian/libmodbus-dev.examples b/debian/libmodbus-dev.examples deleted file mode 100644 index 7884c31..0000000 --- a/debian/libmodbus-dev.examples +++ /dev/null @@ -1,2 +0,0 @@ -tests/*.[ch] -tests/README diff --git a/debian/libmodbus-dev.install b/debian/libmodbus-dev.install deleted file mode 100644 index 96acdee..0000000 --- a/debian/libmodbus-dev.install +++ /dev/null @@ -1,3 +0,0 @@ -debian/tmp/usr/include/modbus/* -debian/tmp/usr/lib/*/libmodbus.so -debian/tmp/usr/lib/*/pkgconfig/libmodbus.pc diff --git a/debian/libmodbus-dev.manpages b/debian/libmodbus-dev.manpages deleted file mode 100644 index 8763217..0000000 --- a/debian/libmodbus-dev.manpages +++ /dev/null @@ -1,2 +0,0 @@ -debian/tmp/usr/share/man/man3/* -debian/tmp/usr/share/man/man7/libmodbus.7 diff --git a/debian/libmodbus5.install b/debian/libmodbus5.install deleted file mode 100644 index b3ea764..0000000 --- a/debian/libmodbus5.install +++ /dev/null @@ -1 +0,0 @@ -debian/tmp/usr/lib/*/libmodbus.so.* diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 4455405..0000000 --- a/debian/rules +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/make -f -%: - dh $@ --with autoreconf --parallel - -override_dh_installchangelogs: - dh_installchangelogs NEWS - -override_dh_auto_configure: - dh_auto_configure -- --disable-silent-rules diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/libmodbus.spec.in b/libmodbus.spec.in deleted file mode 100644 index d6e2774..0000000 --- a/libmodbus.spec.in +++ /dev/null @@ -1,106 +0,0 @@ -Name: libmodbus -Version: @PACKAGE_VERSION@ -Release: 1%{?dist} -Summary: A Modbus library -Group: Applications/System -License: LGPLv2+ -URL: http://www.libmodbus.org/ -Source0: https://github.com/downloads/stephane/libmodbus/libmodbus-%{version}.tar.gz -BuildRequires: autoconf, automake, libtool, xmlto, asciidoc - -%description -libmodbus is a C library designed to provide a fast and robust implementation of -the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows. - -This package contains the libmodbus shared library. - -%package devel -Summary: Development files for libmodbus -Group: Development/Libraries -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -libmodbus is a C library designed to provide a fast and robust implementation of -the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows. - -This package contains libraries, header files and developer documentation needed -for developing software which uses the libmodbus library. - -%prep -%setup -q - -autoreconf - -%build -%configure -make %{?_smp_mflags} - -%install -make install DESTDIR=%{buildroot} -rm -f %{buildroot}/%{_libdir}/*.la - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%defattr(-,root,root) - -%doc AUTHORS MIGRATION NEWS COPYING.LESSER README.md - -%{_libdir}/libmodbus.so.* - -%files devel -%defattr(-,root,root) -%{_includedir}/modbus/ - -%{_libdir}/pkgconfig/libmodbus.pc -%{_libdir}/libmodbus.so - -%{_mandir}/man7/*.7.* -%{_mandir}/man3/*.3.* - -%changelog -* Mon Jul 23 2011 Stéphane Raimbault - 3.0.1-2 -- package reviewed by Peter Lemenkov and Veeti Paananen - of Fedora Quality Assurance team - -* Mon Jul 18 2011 Stéphane Raimbault - 3.0.1-1 -- new upstream release - -* Thu Jul 11 2011 Stéphane Raimbault - 3.0.0-1 -- revert the license to LGPLv2.1+ -- new spec file generated by autoconf -- add documentation, devel package and various changes - -* Sun Jun 5 2011 Stéphane Raimbault - 2.9.4-1 -- new upstream release - -* Mon Jan 10 2011 Stéphane Raimbault - 2.9.3-1 -- new upstream release - -* Mon Oct 5 2010 Stéphane Raimbault - 2.9.2-1 -- new upstream release - -* Fri Jul 2 2008 Stéphane Raimbault - 2.0.1-1 -- new upstream release - -* Fri May 2 2008 Stéphane Raimbault - 2.0.0-1 -- integrate extern_for_cpp in upstream. -- update the license to version LGPL v3. - -* Tue Apr 30 2008 Todd Denniston - 1.9.0-2 -- get the license corrected in the spec file. -- add a URL for where to find libmodbus. -- tweak the summary and description. - -* Tue Apr 29 2008 Todd Denniston - 1.9.0-1 -- upgrade to latest upstream (pre-release) -- port extern_for_cpp patch to 1.9.0 - -* Tue Apr 29 2008 Todd Denniston - 1.2.4-2_tad -- add a patch to allow compiling with c++ code. - -* Mon Apr 28 2008 Todd Denniston - 1.2.4-1_tad -- build spec file. -- include patch for controling error-treat. -- libgit2 0.21.4