3c77722
Name:		gnome-phone-manager
3c77722
Summary:	Gnome Phone Manager
86cbc5e
Version: 	0.65
0d79daa
Release: 	7%{?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
be01d46
BuildRequires:	libcanberra-devel
be01d46
BuildRequires:	gnome-bluetooth-libs-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
BuildRequires:	evolution-data-server-devel
ab7ebf4
BuildRequires:	gtkspell-devel
726a671
BuildRequires:	telepathy-glib-devel
40bff5c
BuildRequires:	intltool perl(XML::Parser)
3c77722
BuildRequires:	gettext
3c77722
BuildRequires:	desktop-file-utils
921486c
BuildRequires:	libglade2-devel
3c77722
d49c81f
# https://bugzilla.redhat.com/show_bug.cgi?id=436773
d49c81f
Patch0:		gpm-telepathy-workaround.patch
d49c81f
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
726a671
%package telepathy
726a671
Summary: Telepathy connection manager to send and receive SMSes
726a671
Group: Applications/System
726a671
726a671
%description telepathy
726a671
This program will connect to your mobile phone over a serial port,
726a671
either via a cable, infrared (IrDA) or Bluetooth connection.
726a671
726a671
This plugin to Telepathy allows you to send and receive messages using any
726a671
Instant Messaging application that uses Telepathy, such as Empathy.
726a671
3c77722
%prep
3c77722
%setup -q
be01d46
#%patch0 -p0
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
726a671
# This should be in empathy instead
9105c2f
install -m0644 -D telepathy/sms.profile $RPM_BUILD_ROOT%{_datadir}/mission-control/profiles/sms.profile
726a671
3c77722
%find_lang %{name}
3c77722
desktop-file-install \
3c77722
  --delete-original \
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/
e268b4e
%{_mandir}/man1/gnome-phone-manager.1.gz
3c77722
726a671
%files telepathy
726a671
%{_libexecdir}/telepathy-phoney
726a671
%{_datadir}/telepathy/managers/*
726a671
%{_datadir}/dbus-1/services/*
726a671
%{_datadir}/mission-control/profiles/*
726a671
3c77722
%changelog
0d79daa
* Mon Jun 28 2010 Matthew Barnes <mbarnes@redhat.com> 0.65-7
0d79daa
- Rebuild against new libedataserver (for real this time).
0d79daa
4e4a6b1
* Fri Jun 25 2010 Matthew Barnes <mbarnes@redhat.com> 0.65-6
4e4a6b1
- Rebuild against new libedataserver.
921486c
- Require libglade2 explicitly since most other packages have already
921486c
  dropped it for GtkBuilder.
4e4a6b1
d88b5b8
* Tue Sep 08 2009 Bastien Nocera <bnocera@redhat.com> 0.65-5
d88b5b8
- Rebuilt for new gnokii
d88b5b8
780b596
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.65-4
780b596
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
780b596
ed93bef
* Thu Jul 23 2009 Bastien Nocera <bnocera@redhat.com> 0.65-3
ed93bef
- Rebuild for new gnome-bluetooth
ed93bef
0b30d3a
* Fri Jun 19 2009 Bastien Nocera <bnocera@redhat.com> 0.65-2
0b30d3a
- Rebuild for new gnome-bluetooth
0b30d3a
86cbc5e
* Tue Mar 10 2009 - Bastien Nocera <bnocera@redhat.com> - 0.65-1
86cbc5e
- Update to 0.65
86cbc5e
bcb15a5
* Thu Mar 5 2009 Linus Walleij <triad@df.lth.se> 0.60-6
bcb15a5
- Rebuild hoping to pick up libgnomebt i/f bump.
bcb15a5
f6f81d7
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60-5
f6f81d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f6f81d7
Caolan McNamara 18dad87
* Fri Feb 20 2009 - Caolán McNamara <caolanm@redhat.com> - 0.60-4
Caolan McNamara 18dad87
- rebuild for dependencies
Caolan McNamara 18dad87
e87ee65
* Tue Oct 07 2008 - Bastien Nocera <bnocera@redhat.com> - 0.60-3
e87ee65
- Rebuild for new libgnokii
e87ee65
963a4e4
* Thu Sep 11 2008  Matthias Clasen  <mclasen@redhat.com>
963a4e4
- Rebuild
963a4e4
af85d2f
* Wed Jun 11 2008 - Bastien Nocera <bnocera@redhat.com> - 0.60-1
af85d2f
- Update to 0.60
af85d2f
- Remove vendor from desktop file
af85d2f
c528a54
* Wed May 14 2008 - Bastien Nocera <bnocera@redhat.com> - 0.51-2
c528a54
- Rebuild
c528a54
73b5879
* Fri Mar 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.51-1
73b5879
- Update to 0.51
73b5879
7d59f8d
* Fri Mar 14 2008 - Bastien Nocera <bnocera@redhat.com> - 0.50-3
7d59f8d
- Add a patch from upstream to fix connection to serial devices (#356861)
7d59f8d
f256409
* Mon Mar 10 2008 - Bastien Nocera <bnocera@redhat.com> - 0.50-2
f256409
- Work-around for telepathy brokeness
f256409
9105c2f
* Mon Mar 10 2008 - Bastien Nocera <bnocera@redhat.com> - 0.50-1
9105c2f
- Update to 0.50
9105c2f
cd2c8f9
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.40-3
cd2c8f9
- Autorebuild for GCC 4.3
cd2c8f9
144d81d
* Wed Dec 12 2007 - Bastien Nocera <bnocera@redhat.com> - 0.40-2
144d81d
- Rebuild against new release of gnokii
144d81d
726a671
* Wed Nov 14 2007 - Bastien Nocera <bnocera@redhat.com> - 0.40-1
726a671
- Update to 0.40
726a671
- Add experimental telepathy backend in a subpackage
726a671
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