| 1 |
%define LIBVER 1.0.4 |
| 2 |
Summary: Library to access GSM mobile phones through GSM modems |
| 3 |
Name: gsmlib |
| 4 |
Version: 1.10 |
| 5 |
Release: 1 |
| 6 |
Source: gsmlib-%{version}.tar.gz |
| 7 |
Group: System Environment/Libraries |
| 8 |
Copyright: GNU LIBRARY GENERAL PUBLIC LICENSE |
| 9 |
URL: http://www.pxh.de/fs/gsmlib/ |
| 10 |
Vendor: Peter Hofmann <[email protected]> |
| 11 |
Buildroot: /var/tmp/gsmlib-root |
| 12 |
|
| 13 |
%package devel |
| 14 |
Summary: Development tools for programs which will use the gsmlib library. |
| 15 |
Group: Development/Libraries |
| 16 |
Requires: gsmlib |
| 17 |
|
| 18 |
%package ext |
| 19 |
Summary: Extensions to gsmlib to support non-standard phone features. |
| 20 |
Group: Development/Libraries |
| 21 |
Requires: gsmlib |
| 22 |
|
| 23 |
%description |
| 24 |
This distribution contains a library to access |
| 25 |
GSM mobile phones through GSM modems. Features include: |
| 26 |
* modification of phonebooks stored in the |
| 27 |
mobile phone or on the SIM card |
| 28 |
* reading and writing of SMS messages stored in |
| 29 |
the mobile phone |
| 30 |
* sending and reception of SMS messages |
| 31 |
Additionally, some simple command line programs are |
| 32 |
provided to use these functionalities. |
| 33 |
|
| 34 |
%description devel |
| 35 |
The gsmlib-devel package includes the header files and static libraries |
| 36 |
necessary for developing programs which use the gsmlib library. |
| 37 |
|
| 38 |
%description ext |
| 39 |
The extension package of gsmlib contains programs, libraries, and |
| 40 |
documentation to support non-standard features of GSM phones. The |
| 41 |
following phones/phone types are currently supported: |
| 42 |
* Siemens GSM phones |
| 43 |
|
| 44 |
%prep |
| 45 |
%setup |
| 46 |
|
| 47 |
%build |
| 48 |
CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr |
| 49 |
make |
| 50 |
|
| 51 |
%install |
| 52 |
make DESTDIR="$RPM_BUILD_ROOT" install |
| 53 |
|
| 54 |
%post -p /sbin/ldconfig |
| 55 |
|
| 56 |
%postun -p /sbin/ldconfig |
| 57 |
|
| 58 |
%clean |
| 59 |
rm -rf $RPM_BUILD_ROOT |
| 60 |
|
| 61 |
%files |
| 62 |
%defattr(-,root,root) |
| 63 |
/usr/lib/libgsmme.so |
| 64 |
/usr/lib/libgsmme.so.%{LIBVER} |
| 65 |
/usr/bin/gsmsmsstore |
| 66 |
/usr/bin/gsmctl |
| 67 |
/usr/bin/gsmsmsd |
| 68 |
/usr/bin/gsmpb |
| 69 |
/usr/bin/gsmsendsms |
| 70 |
/usr/man/man1/gsmctl.1.gz |
| 71 |
/usr/man/man7/gsminfo.7.gz |
| 72 |
/usr/man/man1/gsmpb.1.gz |
| 73 |
/usr/man/man1/gsmsendsms.1.gz |
| 74 |
/usr/man/man8/gsmsmsd.8.gz |
| 75 |
/usr/man/man1/gsmsmsstore.1.gz |
| 76 |
/usr/share/locale/de/LC_MESSAGES/gsmlib.mo |
| 77 |
|
| 78 |
%doc README INSTALL ABOUT-NLS AUTHORS COPYING NEWS TODO |
| 79 |
%doc doc/README.NLS doc/README.developers doc/FAQ ChangeLog |
| 80 |
|
| 81 |
%files devel |
| 82 |
%defattr(-,root,root) |
| 83 |
/usr/lib/libgsmme.a |
| 84 |
/usr/include/gsmlib |
| 85 |
|
| 86 |
%files ext |
| 87 |
/usr/bin/gsmsiectl |
| 88 |
/usr/bin/gsmsiexfer |
| 89 |
/usr/lib/libgsmext.so |
| 90 |
/usr/lib/libgsmext.so.%{LIBVER} |
| 91 |
|
| 92 |
%doc ext/README.sieme |