diff options
author | Oliver Smith <osmith@sysmocom.de> | 2024-05-08 14:40:56 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2024-05-08 15:06:59 +0200 |
commit | 16b42f3d8c14cd4821c50b5f566a0917e66e5c03 (patch) | |
tree | adc5b6b4db3b0f68fb86ad75ef8858163e76dbb9 | |
parent | 4b6d3f084f41b1ed8420557b0ec1de131a679903 (diff) |
contrib: remove rpm spec file
Related: https://osmocom.org/news/255
Related: OS#6446
Change-Id: Ia10ffce57cf0c067d370f0f381435cdd439e3dd9
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | contrib/libsmpp34.spec.in | 86 |
3 files changed, 1 insertions, 89 deletions
diff --git a/Makefile.am b/Makefile.am index 9f85801..a0de168 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,6 @@ EXTRA_DIST = src/Makefile.am\ README.md \ .version \ debian \ - contrib/libsmpp34.spec.in \ git-version-gen \ $(NULL) diff --git a/configure.ac b/configure.ac index 9454953..0ec1701 100644 --- a/configure.ac +++ b/configure.ac @@ -89,6 +89,5 @@ AC_CONFIG_FILES([Makefile def_list/Makefile binaries/Makefile test_apps/Makefile - libsmpp34.pc - contrib/libsmpp34.spec]) + libsmpp34.pc]) AC_OUTPUT diff --git a/contrib/libsmpp34.spec.in b/contrib/libsmpp34.spec.in deleted file mode 100644 index eba7dbd..0000000 --- a/contrib/libsmpp34.spec.in +++ /dev/null @@ -1,86 +0,0 @@ -# -# spec file for package libsmpp34 -# -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. -# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de> -# -# 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. - -%define sover 1 -Name: libsmpp34 -Version: @VERSION@ -Release: 0 -Summary: PDU SMPP packaging and unpackaging tool -License: GPL-2.0-or-later AND LGPL-2.1-or-later -Group: Development/Libraries/C and C++ -URL: https://osmocom.org/projects/libsmpp34 -Source: %{name}-%{version}.tar.xz -BuildRequires: autoconf >= 2.57 -BuildRequires: libtool -BuildRequires: pkgconfig >= 0.20 -BuildRequires: pkgconfig(libxml-2.0) - -%description -The library provides the PDU handling of the SMPP-3.4 protocol. - -%package -n libsmpp34-%{sover} -Summary: SMPP-3.4 protocol library -License: LGPL-2.1-or-later -Group: System/Libraries - -%description -n libsmpp34-%{sover} -This library provides the Protocol Data Unit (PDU) handling of the -SMPP-3.4 protocol. SMPP (Short Message Peer-to-Peer) is a protocol -providing a data communication interface for the transfer of short -message data between External Short Messaging Entities, Routing -Entitites and Message Centres. - -%package -n libsmpp34-%{sover}-devel -Summary: Development files for the SMPP-3.4 protocol library -License: GPL-2.0-or-later -Group: Development/Libraries/C and C++ -Requires: libsmpp34-%{sover} = %{version} - -%description -n libsmpp34-%{sover}-devel -The library provides the PDU handling of the SMPP-3.4 protocol. - -This subpackage contains libraries and header files for developing -applications that want to make use of libsmpp34. - -%prep -%setup -q - -%build -echo "%{version}" >.tarball-version -autoreconf -fi -%configure --disable-static --includedir="%{_includedir}/%{name}" -make %{?_smp_mflags} - -%install -%make_install -find %{buildroot} -type f -name "*.la" -delete -print - -%check -make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +) - -%post -n libsmpp34-%{sover} -p /sbin/ldconfig -%postun -n libsmpp34-%{sover} -p /sbin/ldconfig - -%files -n libsmpp34-%{sover} -%{_libdir}/libsmpp34.so.%{sover}* - -%files -n libsmpp34-%{sover}-devel -%license COPYING -%doc ChangeLog -%{_includedir}/%{name}/ -%{_libdir}/libsmpp34.so -%{_libdir}/pkgconfig/*.pc - -%changelog |