3c77722
Name:		gnome-phone-manager
3c77722
Summary:	Gnome Phone Manager
3d757bf
Version: 	0.30
3cd2214
Release: 	1%{?dist}
1ed7e83
License: 	GPLv2+
3c77722
Group: 		Applications/System
3c77722
Source:		http://ftp.gnome.org/pub/GNOME/sources/gnome-phone-manager/%{version}/%{name}-%{version}.tar.bz2
3c77722
URL: 		http://usefulinc.com/software/phonemgr/
3c77722
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3c77722
BuildRequires:	gtk2-devel
3c77722
BuildRequires:	libgnomeui-devel
3c77722
BuildRequires:	libgnome-devel
3c77722
BuildRequires: 	gnome-bluetooth-devel
3c77722
BuildRequires:	libbtctl-devel
3c77722
BuildRequires:	openobex-devel
3c77722
BuildRequires:	bluez-libs-devel
3c77722
BuildRequires:	gnokii-devel
49cec4c
BuildRequires:	gstreamer-devel >= 0.10
49cec4c
BuildRequires:	gnome-icon-theme >= 2.19.1
3c77722
# For libebook (evolution address book)
3c77722
BuildRequires:	evolution-data-server-devel
3c77722
BuildRequires:	perl(XML::Parser)
3c77722
BuildRequires:	gettext
3c77722
BuildRequires:	desktop-file-utils
3c77722
3c77722
%description
3c77722
This program will connect to your mobile phone over a serial port,
3c77722
either via a cable, infrared (IrDA) or Bluetooth connection.
3c77722
3c77722
For example it listens for text messages, and when they arrive, 
3c77722
displays them on the desktop. A visual indicator is displayed in 
3c77722
the notification area, if one is presently added to the panel.
3c77722
3c77722
%prep
3c77722
%setup -q
3c77722
3c77722
%build
3c77722
%configure
d68c6f7
make %{?_smp_mflags}
3c77722
3c77722
%install
3c77722
%{__rm} -rf $RPM_BUILD_ROOT
3c77722
make DESTDIR=$RPM_BUILD_ROOT install
3cd2214
3c77722
%find_lang %{name}
3c77722
desktop-file-install \
3c77722
  --delete-original \
3c77722
  --vendor fedora \
3c77722
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
3c77722
  --add-category X-Fedora \
3c77722
  $RPM_BUILD_ROOT%{_datadir}/applications/gnome-phone-manager.desktop
3c77722
3cd2214
%post
3cd2214
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
3cd2214
gconftool-2 --makefile-install-rule \
3cd2214
        %{_sysconfdir}/gconf/schemas/gnome-phone-manager.schemas 	\
3cd2214
	>& /dev/null || :
3cd2214
3cd2214
%pre
3cd2214
if [ "$1" -gt 1 ]; then
3cd2214
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
3cd2214
    gconftool-2 --makefile-uninstall-rule 				\
3cd2214
        %{_sysconfdir}/gconf/schemas/gnome-phone-manager.schemas 	\
3cd2214
	>& /dev/null || :
3cd2214
fi
3cd2214
3cd2214
%preun
3cd2214
if [ "$1" -eq 0 ]; then
3cd2214
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
3cd2214
    gconftool-2 --makefile-uninstall-rule 				\
3cd2214
        %{_sysconfdir}/gconf/schemas/gnome-phone-manager.schemas 	\
3cd2214
	>& /dev/null || :
3cd2214
fi
3c77722
3c77722
%clean
3c77722
%{__rm} -rf $RPM_BUILD_ROOT
3c77722
3c77722
%files -f %{name}.lang
3c77722
%defattr(-, root, root, -)
3c77722
%doc AUTHORS COPYING ChangeLog NEWS README TODO
3cd2214
%{_sysconfdir}/gconf/schemas/gnome-phone-manager.schemas
3c77722
%{_bindir}/gnome-phone-manager
3c77722
%{_datadir}/applications/*.desktop
3c77722
%{_datadir}/gnome-phone-manager/
3c77722
3c77722
%changelog
3d757bf
* Mon Oct 29 2007 - Bastien Nocera <bnocera@redhat.com> - 0.30-1
3d757bf
- Update to 0.30
3d757bf
- Fix sending non-ASCII texts (for real)
3d757bf
- Add debugging improvements
3d757bf
37b1cd8
* Wed Oct 17 2007 - Bastien Nocera <bnocera@redhat.com> - 0.20-1
37b1cd8
- Update to 0.20
37b1cd8
3cd2214
* Sun Aug 19 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10-1
3cd2214
- Update to 0.10 (#253400)
3cd2214
- Remove obsolete work-arounds and dependencies
49cec4c
- Update BRs
3cd2214
- Add GConf scriptlets
3cd2214
1ed7e83
* Fri Aug 17 2007 Linus Walleij <triad@df.lth.se> 0.8-6
1ed7e83
- Update license field from GPL to GPLv2+
1ed7e83
7cbf57a
* Sun Nov 15 2006 Linus Walleij <triad@df.lth.se> 0.8-5
7cbf57a
- Rebuild to pick up libbtctl i/f bump.
7cbf57a
afe2d0a
* Sun Oct 29 2006 Linus Walleij <triad@df.lth.se> 0.8-4
afe2d0a
- Rebuild to pick up libedataserver i/f bump.
afe2d0a
afe2d0a
* Sun Oct 8 2006 Linus Walleij <triad@df.lth.se> 0.8-3
15ae4d4
- Pick up intltool.
15ae4d4
15ae4d4
* Sun Oct 8 2006 Linus Walleij <triad@df.lth.se> 0.8-2
3045b82
- Pick up libtool.
3045b82
d68c6f7
* Sun Oct 8 2006 Linus Walleij <triad@df.lth.se> 0.8-1
d68c6f7
- New upstream version including patch.
d68c6f7
- The icon is an an even weirder place now!
d68c6f7
- Have to run som autotools on this one to get it working.
d68c6f7
6a471b6
* Tue Sep 5 2006 Linus Walleij <triad@df.lth.se> 0.7-5
6a471b6
- Patch to compile with new version of E-D-S.
6a471b6
3c77722
* Thu Aug 10 2006 Linus Walleij <triad@df.lth.se> 0.7-4
3c77722
- Missing BR
3c77722
3c77722
* Thu Aug 3 2006 Linus Walleij <triad@df.lth.se> 0.7-3
3c77722
- Updated after feedback from Chris Weyl
3c77722
- Bogus problem with cellphone.png icon image
3c77722
3c77722
* Sat Jul 29 2006 Linus Walleij <triad@df.lth.se> 0.7-2
3c77722
- Updated after feedback from Parag and Paul
3c77722
3c77722
* Tue Jun 27 2006 Linus Walleij <triad@df.lth.se> 0.7-1
3c77722
- 0.7 Release
3c77722
- Took Matthews nrpm package and Fedora Extrasificated it
3c77722
3c77722
* Fri Sep 09 2005 Matthew Hall <matt@nrpms.net> 0.6-1
3c77722
- 0.6 Release
3c77722
3c77722
* Mon Jun 20 2005 Matthew Hall <matt@nrpms.net> 0.4-1
3c77722
- 0.4 Release