Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37607013
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.10
Release: alt9

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

URL: http://www.pxh.de/fs/gsmlib/
Source: %url/download/%name-%version.tar.gz
Patch0: gsmlib-1.10-assert.patch
Patch1: gsmlib-1.10-gcc3_4.patch

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

%{?_enable_static:BuildPreReq: glibc-devel-static}
# Automatically added by buildreq on Tue Mar 15 2005
BuildRequires: gcc-c++ libstdc++-devel

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

%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 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 -q
%patch -p1
%patch1 -p1

%build
%configure
%make_build

%install
%makeinstall

%find_lang %name

# remove unpackaged files

%if_disabled static
%__rm -f %buildroot%_libdir/*.a
%endif

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

%files -f %{name}.lang
%_libdir/lib*.so.*
%_bindir/*
%_man1dir/*
%_man7dir/*
%_man8dir/*
%doc README TODO ext/README.sieme
%doc doc/README.developers doc/FAQ ChangeLog

%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