File kmobiletools.spec of Package kmobiletools

#
# spec file for package kmobiletools (Version 0.4.3.3)
#
# 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:           kmobiletools
BuildRequires:  kdelibs3-devel kdepim3-devel
Url:            http://www.kmobiletools.org/
License:        GPL v2 or later
Group:          Productivity/Networking/Other
Summary:        Mobile Phone Management
Version:        0.4.3.3
Release:        107
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %name-%version.tar.bz2

%description
A tool for using your mobile phone: * Trigger calls with numbers in
   kaddressbook

* Create and browse SMS

* Monitor status



Authors:
--------
    Marco Gulino <marco.gulino@gmail.com>

%prep
%setup -q
. /etc/opt/kde3/common_options
update_admin

%build
. /etc/opt/kde3/common_options
./configure $configkde
make %{?jobs:-j%jobs}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%if %suse_version < 1010
%suse_update_desktop_file %name Utility Telephony
%else
%suse_update_desktop_file -G "Mobile Phone Tool" -C "" %name Utility Telephony
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/opt/kde3/bin/kmobiletools
/opt/kde3/share/apps/kmobiletools
/opt/kde3/share/appl*/*/kmobiletools.desktop
%dir /opt/kde3/share/icons/hicolor/*
%dir /opt/kde3/share/icons/hicolor/*/apps
/opt/kde3/share/icons/*/*/apps/kmobiletools.png

%changelog
* Fri Sep 14 2007 - dmueller@suse.de
- go back to 0.4.3.3 (#300325)
* Tue Aug 14 2007 - dmueller@suse.de
- add missing ldconfig calls (#300285)
* Mon Aug 06 2007 - dmueller@suse.de
- update to 0.5.0beta3:
  * Most wanted feature: Gammu Engine added
  * KNotify support
  * a lot of bugfixes
* Fri May 26 2006 - adrian@suse.de
- fix typo to unbreak build
* Thu May 25 2006 - adrian@suse.de
- fix build for < 10.1
* Wed May 17 2006 - stbinner@suse.de
- update to version 0.4.3.3
  * Fixing again compilation on FreeBSD
  * Fixing eventsrc
  * Fixing makefiles
  KMobileTools 0.4.3.2
  * Fixing compilation with gcc 4
  * Fixing compilation on freebsd
  * Change .desktop entry to be compliant with freedesktop.org standard
* Wed Apr 12 2006 - dkukawka@suse.de
- fixed eventsrc (bug #165491)
* Wed Feb 15 2006 - stbinner@suse.de
- fix GenericName in .desktop file
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Nov 05 2005 - dmueller@suse.de
- fix build
* Thu Mar 24 2005 - adrian@suse.de
- update to version 0.4.3.1
* Thu Feb 17 2005 - adrian@suse.de
- menu entry moved to xdg dir
* Tue Feb 01 2005 - adrian@suse.de
- update to version 0.4.2
* Tue Dec 07 2004 - adrian@suse.de
- update to version 0.4.1
* Mon Oct 11 2004 - adrian@suse.de
- update to version 0.4.0
* Wed Sep 08 2004 - adrian@suse.de
- update to version 0.3.1
* Mon Sep 06 2004 - adrian@suse.de
- create package of version 0.3.0