Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37766995
en ru br
ALT Linux repositórios
5.0: 1.11-alt2.041028
4.1: 1.11-alt1.041028
4.0: 1.11-alt0.041028
3.0: 1.10-alt9

Outros repositórios
Upstream:1.10

Group :: Sistema/Bibliotecas
RPM: gsmlib

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable static

Name: gsmlib
Version: 1.11
Release: alt2.041028

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Library to access GSM mobile phones through GSM modems
License: LGPL
Group: System/Libraries

URL: http://www.pxh.de/fs/gsmlib
Source: http://www.pxh.de/fs/gsmlib/snapshots/gsmlib-pre1.11-041028.tar.gz

Patch1: gsmlib-template.patch
Patch3: gsmlib-1.10-underlink.patch

# Patches from arc at help0.ru  Arcady Ivanov

# 28 Apr 2006
#
#1. In gsmsendsms added key "-u", which means, that sended string encoded in UNICODE
#2. Correct bugs in sending multipart SMS.

Patch10: gsmlib_me_ta.patch
Patch11: gsmlib_motor1.patch
Patch12: gsmsendsms.patch

# FTBFS fixes:

Patch100: gsmlib-1.11-gcc41.patch
Patch101: gsmlib-1.11-gcc43.patch

Obsoletes: gsmlib-ext <= %version
Provides: gsmlib-ext

# Automatically added by buildreq on Tue May 16 2006

BuildRequires: gcc-c++

%package utils
Summary: Utilities to access GSM mobile phones through GSM modems
Group: Communications

%package devel
Summary: Development tools for programs which will use the gsmlib library
Group: Development/C
Requires: gsmlib = %version-%release

%package static
Summary: Static gsmlib library
Group: Development/C
Requires: %name-devel = %version-%release

%description

This distribution contains a library to access GSM mobile phones through GSM
modems. Features include:
* modification of phonebooks stored in the mobile phone or on the SIM card
* reading and writing of SMS messages stored in the mobile phone
* sending and reception of SMS messages
Additionally, some simple command line programs are provided to use these
functionalities.

%description utils
Simple command line programs to access GSM mobile phones through GSM modems.

%description devel
The gsmlib-devel package includes the header files and static libraries
necessary for developing programs which use the gsmlib library.

%description static
Static gsmlib library.

%prep
%setup

%patch1 -p1
%patch3 -p1

%patch11 -p0
%patch10 -p1
%patch12 -p1

%patch100 -p1
%patch101 -p1

# Play ghost-busters! :) gsmsstk is ghost that exist only in Makefile

subst 's/^gsmsstk/#gsmsstk/g; s/gsmsiexfer gsmsstk/gsmsiexfer/' ext/Makefile.am

%build
# supplied libtool is broken (C++ library linking)
%autoreconf
%configure %{subst_enable static}
%make_build CXX="g++ -DHAVE_LOCALE_H"

%install
%make_install DESTDIR=%buildroot install

%find_lang %name

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files -f %name.lang
%_libdir/lib*.so.*
%doc README ext/README.sieme
%doc doc/README.developers doc/FAQ

%files utils
%_bindir/*
%_man1dir/*
%_man7dir/*
%_man8dir/*

%files devel
%_includedir/gsmlib
%_libdir/*.so

%if_enabled static
%files static
%_libdir/*.a
%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009