Browse Source

Remove Debian and Fedora packaging

They are already included in these Linux distributions.
Stéphane Raimbault 10 years ago
parent
commit
f3329dda10

+ 0 - 10
.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/

+ 1 - 1
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

+ 0 - 1
configure.ac

@@ -133,7 +133,6 @@ AC_CONFIG_FILES([
         tests/Makefile
         doc/Makefile
         libmodbus.pc
-        libmodbus.spec
 ])
 
 AC_OUTPUT

+ 0 - 135
debian/changelog

@@ -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 <ivo.dedecker@ugent.be>  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 <ivo.dedecker@ugent.be>  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 <ivo.dedecker@ugent.be>  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 <ivo.dedecker@ugent.be>  Sun, 11 Nov 2012 19:16:34 +0100
-
-libmodbus (3.0.3-2) experimental; urgency=low
-
-  * Install upstream changelog correctly.
-
- -- Ivo De Decker <ivo.dedecker@ugent.be>  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 <ivo.dedecker@ugent.be>  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 <stigge@antcom.de>  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 <Ivo.DeDecker@UGent.be>  Mon, 20 Feb 2012 17:18:27 +0100
-
-libmodbus (3.0.1-2) unstable; urgency=low
-
-  * Initial Debian release
-
- -- Ivo De Decker <Ivo.DeDecker@UGent.be>  Thu, 11 Aug 2011 19:53:33 +0200
-
-libmodbus (3.0.1-1) unstable; urgency=low
-
-  * New upstream release
-
- -- Stéphane Raimbault <stephane.raimbault@gmail.com>  Mon, 18 Jul 2011 22:27:40 +0200
-
-libmodbus (3.0.0-1) unstable; urgency=low
-
-  * New upstream release
-
- -- Stéphane Raimbault <stephane.raimbault@gmail.com>  Mon, 11 Jul 2011 23:23:32 +0200
-
-libmodbus (2.9.4-1) maverick; urgency=low
-
-  * New upstream release
-
- -- Stéphane Raimbault <stephane.raimbault@gmail.com>  Sun, 05 Jun 2011 12:38:34 +0200
-
-libmodbus (2.9.3-1) maverick; urgency=low
-
-  * New upstream release
-
- -- Stéphane Raimbault <stephane.raimbault@gmail.com>  Fri, 14 Jan 2011 00:37:20 +0100
-
-libmodbus (2.9.2-1) maverick; urgency=low
-
-  * New upstream release
-
- -- Stéphane Raimbault <stephane.raimbault@gmail.com>  Mon, 4 Oct 2010 13:21:52 +0200
-
-libmodbus (2.0.3-1) intrepid; urgency=low
-
-  * New upstream release
-
- -- Stéphane Raimbault <stephane.raimbault@gmail.com>  Sun, 22 Mar 2009 12:16:52 +0200
-
-libmodbus (2.0.2-1) hardy; urgency=low
-
-  * New upstream release
-
- -- Stéphane Raimbault <stephane.raimbault@gmail.com>  Sun, 10 Aug 2008 16:44:49 +0200
-
-libmodbus (2.0.1-1) hardy; urgency=low
-
-  * New upstream release
-
- -- Stéphane Raimbault <stephane.raimbault@gmail.com>  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 <stephane.raimbault@gmail.com>  Sun, 18 May 2008 14:30:23 +0200
-
-libmodbus (2.0.0-1) hardy; urgency=low
-
-  * Initial release.
-
- -- Stéphane Raimbault <stephane.raimbault@gmail.com>  Wed, 14 May 2008 22:30:53 +0200

+ 0 - 1
debian/compat

@@ -1 +0,0 @@
-9

+ 0 - 31
debian/control

@@ -1,31 +0,0 @@
-Source: libmodbus
-Priority: extra
-Maintainer: Ivo De Decker <ivo.dedecker@ugent.be>
-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.
-

+ 0 - 74
debian/copyright

@@ -1,74 +0,0 @@
-This package was debianized by Stéphane Raimbault
-<stephane.raimbault@gmail.com> on Wed, 14 May 2008 22:30:53 +0200
-
-It was downloaded from <http://libmodbus.org>
-
-Upstream Author:
-
-    Stéphane Raimbault <stephane.raimbault@gmail.com>
-
-Copyright:
-
-    <Copyright (C) 2001-2012 Stéphane Raimbault>
-
-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 <stephane.raimbault@gmail.com>
-    Copyright (C) 2011-2012 Ivo De Decker <Ivo.DeDecker@UGent.be>
-
-and is licensed under the LGPL version 2.1 or later, see
-"/usr/share/common-licenses/LGPL-2.1".
-
-

+ 0 - 1
debian/libmodbus-dev.docs

@@ -1 +0,0 @@
-MIGRATION README.md AUTHORS

+ 0 - 2
debian/libmodbus-dev.examples

@@ -1,2 +0,0 @@
-tests/*.[ch]
-tests/README

+ 0 - 3
debian/libmodbus-dev.install

@@ -1,3 +0,0 @@
-debian/tmp/usr/include/modbus/*
-debian/tmp/usr/lib/*/libmodbus.so
-debian/tmp/usr/lib/*/pkgconfig/libmodbus.pc

+ 0 - 2
debian/libmodbus-dev.manpages

@@ -1,2 +0,0 @@
-debian/tmp/usr/share/man/man3/*
-debian/tmp/usr/share/man/man7/libmodbus.7

+ 0 - 1
debian/libmodbus5.install

@@ -1 +0,0 @@
-debian/tmp/usr/lib/*/libmodbus.so.*

+ 0 - 9
debian/rules

@@ -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

+ 0 - 1
debian/source/format

@@ -1 +0,0 @@
-3.0 (quilt)

+ 0 - 106
libmodbus.spec.in

@@ -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 <stephane.raimbault@gmail.com> - 3.0.1-2
-- package reviewed by Peter Lemenkov <lemenkov@gmail.com> and Veeti Paananen
-  <veeti.paananen@rojekti.fi> of Fedora Quality Assurance team
-
-* Mon Jul 18 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.1-1
-- new upstream release
-
-* Thu Jul 11 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 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 <stephane.raimbault@gmail.com> - 2.9.4-1
-- new upstream release
-
-* Mon Jan 10 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.9.3-1
-- new upstream release
-
-* Mon Oct 5 2010 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.9.2-1
-- new upstream release
-
-* Fri Jul 2 2008 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.0.1-1
-- new upstream release
-
-* Fri May 2 2008 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.0.0-1
-- integrate extern_for_cpp in upstream.
-- update the license to version LGPL v3.
-
-* Tue Apr 30 2008 Todd Denniston <Todd.Denniston@ssa.crane.navy.mil> - 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 <Todd.Denniston@ssa.crane.navy.mil> - 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 <Todd.Denniston@ssa.crane.navy.mil> - 1.2.4-2_tad
-- add a patch to allow compiling with c++ code.
-
-* Mon Apr 28 2008 Todd Denniston <Todd.Denniston@ssa.crane.navy.mil> - 1.2.4-1_tad
-- build spec file.
-- include patch for controling error-treat.