gammu/gammu.spec

338 lines
12 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gammu (Version 1.12.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gammu
BuildRequires: bluez-libs cmake
Version: 1.12.0
Release: 1
AutoReqProv: on
Group: Hardware/Mobile
License: GNU General Public License (GPL)
URL: http://www.gammu.org
Summary: Mobile Phone Tools
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Gammu can do things with cellular phones such as making data calls,
updating the address book, changing calendar and ToDo entries, sending
and receiving SMS messages, loading and getting ring tones and pictures
(different types of logos), synchronizing time, enabling NetMonitor,
managing WAP settings and bookmarks, and much more. Functions depend on
the phone model.
Currently supported phones are:
* Many Nokia phones
* Alcatel BE5 (501/701), BF5 (715)
* Any AT capable phone (Siemens, Nokia, Alcatel, IPAQ, etc)
Another similar tool you might want to check is gnokii.
Authors:
--------
Marcin Wiacek <marcin@mwiacek.com>
%package devel
Summary: Development files for Gammu
Group: Development/Libraries/C and C++
Autoreqprov: on
Requires: gammu = %{version}, pkgconfig
%description devel
Gammu can do such things with cellular phones as making data calls,
updating the address book, changing calendar and ToDo entries, sending
and receiving SMS messages, loading and getting ring tones and pictures
(different types of logos), synchronizing time, enabling NetMonitor,
managing WAP settings and bookmarks and much more. Functions depend on
the phone model.
Currently supported phones are:
* Many Nokia phones.
* Alcatel BE5 (501/701), BF5 (715).
* Any AT capable phone (Siemens, Nokia, Alcatel, IPAQ,...).
Another simmilar tool you might want to check is gnokii.
Authors:
--------
Marcin Wiacek <marcin@mwiacek.com>
%prep
%setup -q
%build
cmake -DENABLE_SHARED=ON -DCMAKE_INSTALL_PREFIX=%{_prefix} -DINSTALL_DOC_DIR=%{_defaultdocdir}/%{name}
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
if [ "lib" != "%{_lib}" ]; then
mv $RPM_BUILD_ROOT%{_prefix}/lib $RPM_BUILD_ROOT%{_prefix}/%{_lib}
fi
%find_lang %name
%post
%{run_ldconfig}
%postun
%{run_ldconfig}
%files -f %name.lang
%defattr(-,root,root)
%doc docs/user/gammu.htm docs/user/readme.htm
%doc %{_mandir}/man1/*
%{_bindir}/*
%{_libdir}/libGammu*so.*
%files devel
%defattr(-,root,root)
%doc docs/develop/protocol docs/develop/Gammu.htm docs/develop/gammu_hints.txt docs/develop/examples docs/examples
%{_includedir}/gammu
%{_libdir}/libGammu*so
%{_libdir}/pkgconfig/gammu.pc
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Jun 19 2007 - prusnak@suse.cz
- update to 1.12.0
* Support for some new Nokia fields
* Made SMSD mode case insensitive
* Fix iCalendar export typo
* Better compatibility with Sharp phones
* Added --features to show compiled in features
* Added support for work address
* Properly report uploaded file size when using OBEX
* Fix HEX charset encoding
* Improve vCard address handling
* Support for iso charsets in AT phone when iconv is available
* Fix restoring of phonebook over OBEX
* addnew accepts -yes parameter
* There is no error on most fields when storing to vCard
* Fix detecting length of input
* Added dku5fbus-nodtr and fbus-nodtr variants, which do not care
about DTR/RTS signals
* Do not delete phonebook entries when there are none
* Tue May 15 2007 - prusnak@suse.cz
- update to 1.11.0
* Correctly encode text in iCalendar
* Correctly encode recurrance in iCalendar
* Read last modified field from vCalendar
* Support for last modified field from vCard
* Properly handle vCard style continuation
* Improved gnapplet and support for it
* Add flag to SMS folders whether it is outbox
* Support for last modified field in vCalendar
* Use gettext for translation
* --clearall also attempts to delete calls
* Support for call notifications on AT phones
* Support for batch mode - you can script gammu
* Gammu commands are now accepted also without leading --
* Detect more Nokia phones (5300, 6300, 8800)
* New connection ark3116fbus for use with ark3116 module
* Native OBEX connections (blueobex and irdaobex) should work also with unknown models
* RF searching now better detects OBEX channels
* Simplified searching of channels using Bluez stack
* Make USSD work with AT phones
* Fix setting date on Siemens MC75
* Avoid corrupting vCard when some fields are empty
* Properly handle OBEX error codes
* Updated shell script gammu-config to generate configuration
* Install gammu-config script to ease generating configuration
* Use unsigned char to avoid trimming at 60 chars
* Detect Motorola specific error while reading SMSes
* Fix OBEX listing to behave according to specs
* Fix crash on invalid SMS reply from phone
* Fix USB serial devices with Linux kernel 2.6.21
* Tell user that he should enter text for SMS
* Cleaned up transatable strings
* Improve networks listing
* Allow networks to be listed by country code
* Fix decoding of new style address records in Nokia phones
* Reorganised documentation a bit
* Use correct format strings for IrDA debug messages
* Identify Alcatel One Touch 55x
* Improve detection of OBEX support
* Work with AT phones which can not write SMS to ME
* Increse limits for SMS backups (this requires dynamic allocation)
* Detect Motorola Bluetooth port
* Fixup AT driver to work with Samsung SGH X160
* Adjust vCalendar entries from SE phones on DST
* Fix updating of delivery report date in SMSD
* Fix crash when no config exists
* MakeTerminatedCall can be now called more times in batch mode
* Fixed crash on LMB export/import
* Correct version in iCalendar export/import
* Fixed devel files installation using CMake
* Fixed decoding of call date
* Fixed decoding of date from backup
* Backup saves and restores numbers as same type
* Use standard libc functions for string comparsion if available
* Allow compilation with MySQL and without PGSQL
* Fixed format strings for size_t
* Fixed encoding of name for Nokia phones
* Fixed connecting to PostgreSQL with empty password
* Fixed infinite loop in --monitor
* Fixed behaviour on Bluetooth disconnect
* Fixed handling of files with special chars on OBEX
* OBEX driver correctly detects models
* Fix format strnings for 64-bit architectures
* Cleanup documentation structure
* Moved locales out of documentation
* Fixes locales and documentaion install in CMake
* Fixed retrieving messages with some phones who index them from zero like CG79
* Ignore error when there is too much members in group in phone
* Handle another error while reading 6510 phonebook
* Fix international number handling in vCard
* Tue Feb 27 2007 - prusnak@suse.cz
- update to 1.10.0
* added vCard and vCalendar support
* added basic Motorola support
* added support for location of alarm
* added support for sending file to phone
* improved battery reporting
* various bugfixes
- dropped obsoleted patches:
* gammu-uninitialized.diff (included in update)
* Tue Nov 28 2006 - prusnak@suse.cz
- update to 1.09.00
* Tue Oct 17 2006 - ro@suse.de
- update to 1.08.00
* many bugfixes
* Thu Jul 27 2006 - mjancar@suse.cz
- update to 1.07.00
* lots of fixes and enhancements
* reports work OK now (they were wrong after updating all 00000000000000
to 0000-00-00 00:00:00 in DB)
* you can use " in outgoing sms too
* fix for multipart sms
* added new CreatorID entry in DB for outbox/sentsms
Series 40 3.0 (N6111 now)
* added: filesystem support, getting call lengths from call logs,
getting sent SMS log ("Message recipients" from "Log" in phone menu,
new memory SL in Gammu)
* checked: calendar, notes, todo (generally OK)
* SMS memory (decoding SMS files from filesystem) not supported yet
* see also /usr/share/doc/packages/gammu/changelog for details
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 - mjancar@suse.cz
- really fix use of uninitialized variable (#144165)
* Fri Jan 20 2006 - mjancar@suse.cz
- fix use of uninitialized variable (#144165)
* Thu Jan 12 2006 - mjancar@suse.cz
- update to 1.04.0
* Thu Jul 28 2005 - anicka@suse.cz
- update to 1.02.0
* Wed May 25 2005 - mcihar@suse.cz
- update to 1.01.11
* Wed Apr 13 2005 - mcihar@suse.cz
- update to 1.01.0, patch merged upstream
* Mon Apr 04 2005 - mcihar@suse.cz
- fix compilation with GCC 4
- fix documenation installation
* Fri Apr 01 2005 - mcihar@suse.cz
- update to 1.00.23
* Mon Feb 14 2005 - mcihar@suse.cz
- update 1.00.04
- 64-bit fixes merged upstream
* Wed Feb 09 2005 - mcihar@suse.cz
- update to 1.00.0
- fix crashes on 64-bit platforms
* Mon Jan 24 2005 - mcihar@suse.cz
- update to 0.99.22
* Fri Sep 03 2004 - mcihar@suse.cz
- update to 0.97.7
* Wed May 19 2004 - mcihar@suse.cz
- update to 0.95.0
* Fri Mar 05 2004 - mcihar@suse.cz
- update to 0.94.0
* Fri Feb 20 2004 - mcihar@suse.cz
- update to 0.93.0
* Fri Jan 23 2004 - mcihar@suse.cz
- update to 0.92.9
- fixed file conflict
* Mon Jan 05 2004 - mcihar@suse.cz
- update to 0.92.0
- run ldconfig
* Tue Dec 16 2003 - mcihar@suse.cz
- update to 0.90.0
* Mon Nov 03 2003 - mcihar@suse.cz
- updated to 0.88
- installing script for queuing smses
* Fri Oct 24 2003 - mcihar@suse.cz
- pkgconfig files are in %%_libdir
* Tue Oct 21 2003 - mcihar@suse.cz
- updated to 0.87
- no root for build
- branched devel package
* Wed Aug 06 2003 - mcihar@suse.cz
- updated to 0.81
* Mon Jun 23 2003 - mcihar@suse.cz
- updated to 0.78
* Wed May 28 2003 - mcihar@suse.cz
- updated to 0.76:
Adding files to DCT4 phones has been implemented. This feature
includes uploading files to Gallery, uploading Java application
and Java games and other. Setting the color operator and color
startup logos in DCT4 has been added. More options in Alcatel
source have been added. Some other compatibility fixes have been
made. Full support for MMS settings in DCT4 has been added, full
support for MMS indicator SMS has been added, and many small
corrections have been made.
* Tue May 13 2003 - mcihar@suse.cz
- fixed file list
* Mon May 12 2003 - mcihar@suse.cz
- updated to 0.74:
* getting files from filesystem in DCT4 phones (--getfiles)
* added 3650, 7250 ID
* FULL support for Bluetooth
* can make backup and restore using new Unicode format of backup files.
No more duplicated (once in ASCII and once in coded Unicode) strings in
backup files with this format and no problems with national chars.
* Tue Apr 29 2003 - mcihar@suse.cz
- updated to 0.73 (all my patches accepted):
* more support for EMS
- included configuration script
- included wxBasic GUI (however we don't distribute wxBasic)
* Thu Apr 24 2003 - mcihar@suse.cz
- fix Makefile to not include whole source in docs
- better fix for bluetooth
- fix configure to accept CFLAGS
* Wed Apr 23 2003 - mcihar@suse.cz
- updated to 0.72
* better information for AT phones
* improved localisation support
* better statistics about phonebook for AT
* improved FM stations support
* polyphonic ringtones support
* added Alcatel BF5 (One Touch 715) support
* support for internal filesystem in Nokia phones
* supported work with bitmaps on Siemens
... and many more :)
- built with bluetooth support
* Mon Feb 10 2003 - mcihar@suse.cz
- added -fPIC to CFLAGS
* Fri Feb 07 2003 - mcihar@suse.cz
- initial version