This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
gsmlib.spec
92 lines (76 loc) · 2.25 KB
/
gsmlib.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
%define LIBVER 1.0.4
Summary: Library to access GSM mobile phones through GSM modems
Name: gsmlib
Version: 1.10
Release: 1
Source: gsmlib-%{version}.tar.gz
Group: System Environment/Libraries
Copyright: GNU LIBRARY GENERAL PUBLIC LICENSE
URL: http://www.pxh.de/fs/gsmlib/
Vendor: Peter Hofmann <software@pxh.de>
Buildroot: /var/tmp/gsmlib-root
%package devel
Summary: Development tools for programs which will use the gsmlib library.
Group: Development/Libraries
Requires: gsmlib
%package ext
Summary: Extensions to gsmlib to support non-standard phone features.
Group: Development/Libraries
Requires: gsmlib
%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 ext
The extension package of gsmlib contains programs, libraries, and
documentation to support non-standard features of GSM phones. The
following phones/phone types are currently supported:
* Siemens GSM phones
%prep
%setup
%build
CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
make
%install
make DESTDIR="$RPM_BUILD_ROOT" install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/lib/libgsmme.so
/usr/lib/libgsmme.so.%{LIBVER}
/usr/bin/gsmsmsstore
/usr/bin/gsmctl
/usr/bin/gsmsmsd
/usr/bin/gsmpb
/usr/bin/gsmsendsms
/usr/man/man1/gsmctl.1.gz
/usr/man/man7/gsminfo.7.gz
/usr/man/man1/gsmpb.1.gz
/usr/man/man1/gsmsendsms.1.gz
/usr/man/man8/gsmsmsd.8.gz
/usr/man/man1/gsmsmsstore.1.gz
/usr/share/locale/de/LC_MESSAGES/gsmlib.mo
%doc README INSTALL ABOUT-NLS AUTHORS COPYING NEWS TODO
%doc doc/README.NLS doc/README.developers doc/FAQ ChangeLog
%files devel
%defattr(-,root,root)
/usr/lib/libgsmme.a
/usr/include/gsmlib
%files ext
/usr/bin/gsmsiectl
/usr/bin/gsmsiexfer
/usr/lib/libgsmext.so
/usr/lib/libgsmext.so.%{LIBVER}
%doc ext/README.sieme