PDU receive mode implemented, untested yet.
[mdsms.git] / mdsms.spec.in
1 Summary: Mobile Device SMS tool.
2 Name: @PACKAGE@
3 %define release 0
4 Version: @VERSION@
5 Release: %{release}
6 Group: Applications/Communications
7 Source: http://atrey.karlin.mff.cuni.cz/~short/sw/@PACKAGE@-@VERSION@.tar.gz
8 Copyright: LGPL2.1
9 BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
10 Prefix: /usr
11 AutoReq: no
12
13 %description
14 Program sends one SmartMessaging SMS through one of the supported mobile
15 device connected through the serial port. Currently supported devices:
16
17  * Nokia Communicator 9000/9000i/9110
18  * Siemens A1 (incl. MobilDock)
19
20 %prep
21 %setup
22
23 %build
24 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
25 make
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 mkdir -p $RPM_BUILD_ROOT/usr/bin
30
31 make DESTDIR="$RPM_BUILD_ROOT" install
32
33 { cd $RPM_BUILD_ROOT
34   strip ./usr/bin/@PACKAGE@
35 }
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(-,root,root)
42 %doc README NEWS ChangeLog
43 /usr/bin/@PACKAGE@
44 /usr/man/man1/@PACKAGE@.1
45 /usr/share/locale/*/LC_MESSAGES/@PACKAGE@.mo