7 %define rel
%{relnum}suse
9 %if %_vendor == "redhat"
10 %define rel
%{relnum}rh
17 %define configureparams ""
19 %define configureparams "
--disable
-bluefbus
--disable
-blueobex
--disable
-bluephonet
--disable
-blueat"
22 Summary: Mobile phones tools
for Unix
(Linux
) and Win32
27 %if %_vendor == "suse"
28 Group: Hardware
/Mobile
30 Group: Applications
/Communications
33 %if %_vendor == "suse"
34 BuildRequires
: bluez
-libs
>= 2.0
36 BuildRequires
: bluez
-libs
>= 2.0 bluez
-libs
-devel
>= 2.0
39 Vendor: Marcin Wiacek
<marcin@mwiacek.com
>
40 Source: http
://www.mwiacek.com
/zips
/gsm
/%name/older
/%{name}-%{ver}.tar.gz
41 URL: http
://www.mwiacek.com
/gsm
/gammu
/gammu.html
42 Buildroot: %{_tmppath}/%name-%version-root
45 Gammu can
do such things with cellular phones as making data calls
,
46 updating the address book
, changing calendar and ToDo entries
, sending and
47 receiving SMS messages
, loading and getting ring tones and pictures
(different
48 types of logos
), synchronizing
time, enabling NetMonitor
, managing WAP
49 settings and bookmarks and much more. Functions depend on the phone model.
52 Summary: Development files
for Gammu
53 %if %_vendor == "suse"
54 Group: Development
/Libraries
/C and C
++
56 Group: Development
/Libraries
59 Requires: %name = %ver-%rel
62 Gammu can
do such things with cellular phones as making data calls
,
63 updating the address book
, changing calendar and ToDo entries
, sending and
64 receiving SMS messages
, loading and getting ring tones and pictures
(different
65 types of logos
), synchronizing
time, enabling NetMonitor
, managing WAP
66 settings and bookmarks and much more. Functions depend on the phone model.
72 %if %_vendor == "redhat"
73 %configure --with
-docdir
=%_docdir/%name-%ver/ %configureparams
75 %configure --with
-docdir
=%_docdir/%name/ %configureparams
81 make installshared DESTDIR
=%buildroot
82 install -m
755 -d
%buildroot%_docdir/gammu
/other
/config
83 install -m
755 -d
%buildroot%_docdir/gammu
/other
/basic
84 install -m
755 -d
%buildroot%_docdir/gammu
/other
/smsdutil
85 install -m
755 other
/config
/gammu
-config
%buildroot%_docdir/gammu
/other
/config
86 install -m
644 other
/basic
/* %buildroot%_docdir/gammu
/other
/basic
87 install -m
644 other
/smsdutil
/* %buildroot%_docdir/gammu
/other
/smsdutil
90 if test -f
/etc
/ld.so.conf
; then
95 if test -f
/etc
/ld.so.conf
; then
100 %defattr(-,root
,root
)
106 %if %_vendor == "redhat"
107 %doc %_docdir/%name-%ver
113 %defattr(-,root
,root
)
115 %_libdir/pkgconfig
/%name.pc
122 * Wed Nov
12 2003 Michal Cihar
<michal@cihar.com
>
123 - distiguish between packaging on SUSE and Redhat
124 - build depends on bluez
if wanted
126 * Mon Nov
10 2003 Peter Soos
<sp@osb.hu
>
127 - using rpm macros where is possible
128 - added ldconfig to post
/postun
130 * Mon Nov
03 2003 Michal Cihar
<michal@cihar.com
>
131 - split devel package
133 * Thu Jan
02 2003 Michal Cihar
<michal@cihar.com
>
134 - made it
install in directories that are defined
in rpm
136 * Sun Nov
10 2002 Marcin Wiacek
<marcin@mwiacek.com
>
137 - topnet.pl email no more available
139 * Sun Sep
30 2002 Marcin Wiacek
<marcin
-wiacek@topnet.pl
>
140 - build system is now really working OK
142 * Sat Sep
15 2002 R P Herrold
<herrold@owlriver.com
>