Crossplatformity: MIN and MAX functiona are _always_ redefined, no #ifdefs
[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://vellum.cz/~short/sw/@PACKAGE@-@VERSION@.tar.gz
8 Copyright: LGPL2.1
9 BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
10 Prefix: /usr
11
12 %description
13 Program sends one SmartMessaging SMS through one of the supported mobile
14 device connected through the serial port. Currently supported devices:
15
16  * Nokia Communicator 9000/9000i/9110
17  * Siemens A1/M1/M20 (incl. MobilDock)
18
19 %prep
20 %setup
21
22 %build
23 %configure
24 make
25
26 %install
27 %makeinstall
28 strip "$RPM_BUILD_ROOT/%{_bindir}/@PACKAGE@"
29
30 %clean
31 rm -rf $RPM_BUILD_ROOT
32
33 %files
34 %defattr(-,root,root)
35 %doc README NEWS ChangeLog
36 %{_bindir}/@PACKAGE@
37 %doc %{_mandir}/man1/@PACKAGE@.1*
38 %{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo