# # spec file for package perl-Net-UCP # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define cpan_name Net-UCP Name: perl-Net-UCP Version: 0.410.0 Release: 0 # 0.41 -> normalize -> 0.410.0 %define cpan_version 0.41 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Perl extension for EMI - UCP Protocol URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/N/NE/NEMUX/%{cpan_name}-%{cpan_version}.tgz Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Net::UCP::Common) >= 0.50.0 BuildRequires: perl(Net::UCP::IntTimeout) >= 0.50.0 BuildRequires: perl(Net::UCP::TransactionManager) >= 0.20.0 Requires: perl(Net::UCP::Common) >= 0.50.0 Requires: perl(Net::UCP::IntTimeout) >= 0.50.0 Requires: perl(Net::UCP::TransactionManager) >= 0.20.0 Provides: perl(Net::UCP) = %{version} %undefine __perllib_provides %{perl_requires} %description This module implements a *Client* Interface to the *EMI - UCP Interface* specification, This Protocol can be used to comunicate with an SMSC (Short Message Service Centre) Usually the Network connection is based on TCP/IP or X.25. You will of course be required to have a valid login at the SMSC to use their services. (Unless there is an SMSC which provides their services for free. Please, let me know about any such service provider.) If you want to help my project send me info about some SMSC account. A Net::UCP object must be created with the new() constructor. Once this has been done, all commands are accessed via method calls on the object. If you have a good know-how about EMI/UCP or if you have patience to read specification you can use this module in raw mode. See RAW MODE for more informations. %prep %autosetup -n %{cpan_name}-%{cpan_version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README samples %changelog