File nautilus-sendto.spec of Package nautilus-sendto

#
# spec file for package nautilus-sendto (Version 1.1.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           nautilus-sendto
BuildRequires:  evolution-data-server-devel fdupes gnome-common intltool libgnomebt-devel nautilus-devel pidgin-devel
License:        GPL v2 or later
Group:          Productivity/File utilities
AutoReqProv:    on
Requires:       nautilus
Version:        1.1.0
Release:        1
Summary:        Integrate Nautilus, Evolution, and Gaim
Url:            http://www.es.gnome.org/~telemaco/
Source:         ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.13/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE nautilus-sendto-default-backends.patch -- We ship Thunderbird and balsa
Patch3:         nautilus-sendto-default-backends.patch
# PATCH-FIX-UPSTREAM nautilus-sendto-invalid-arguments.patch bnc391820 bgo535118
Patch4:         nautilus-sendto-invalid-arguments.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       %{name}-lang = %{version}
%gconf_schemas_prereq

%description
This package provides the functionality to the Nautilus file browser to
send files over e-mail or instant messaging protocols via Evolution and
Gaim.



Authors:
--------
    Roberto Majadas <roberto.majadas@hispalinux.es>

%lang_package
%prep
%setup
%patch3 -p1
%patch4 -p1

%build
autoreconf -f -i
%configure
%__make %{?jobs:-j%jobs}

%install
%makeinstall
rm -f $RPM_BUILD_ROOT%{_libdir}/*/*/*.*a $RPM_BUILD_ROOT%{_libdir}/*/*.*a
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans

%files -f %{name}.lst
%defattr(-, root, root)
%doc AUTHORS NEWS README COPYING
%config %{_sysconfdir}/gconf/schemas/nst.schemas
%{_bindir}/*
%{_datadir}/nautilus-sendto
# NOTE: Own %{_libdir}/pidgin to not depend on pidgin.
%dir %{_libdir}/pidgin
%{_libdir}/pidgin/*.so
%{_libdir}/nautilus/extensions-2.0/*.so
%{_libdir}/nautilus-sendto
%{_mandir}/man1/nautilus-sendto.1.gz

%files lang -f %{name}.lang

%changelog
* Fri Oct 03 2008 mboman@suse.de
- Update to version 1.1.0:
  + Port to Bluetooth plugin to BlueZ 4.x API
* Mon Sep 01 2008 mboman@novell.com
- Updated to version 1.0.1:
  + Fix e-mail selection in the Evolution plugin when a
  single contact has multiple addresses
  + Fix sending from nautilus when the path contains an
  ampersand
  + Fix sending e-mails using evolution after having auto-
  completed the user address
  + Get buddy list changes instantly in the Pidgin plugin
  + Force loading the Pidgin plugin on startup
  + Fix the mnemonic for "Send to" not working
  + Make it impossible to send files packed in an archive
  if the archive has no names
  + Fix "Send to..." label
  + Nicer icons all around
  + Fix sending e-mails with Evolution when entering
  "Surname, Name <address>" manually
  + Enable the Thunderbird plugin by default, and
  fix sending attachments
  + Translation updates
  + Removed nautilus-sendto-uppdercase.patch. Fixed upstream
  + Removed nautilus-sendto-cs.patch. Translations changed upstream.
  + Remove thunderbird specifics from nautilus-sendto-default-backends.patch
  since it figures it out automatically now.
* Wed May 28 2008 rodrigo@suse.de
- Added nautilus-sendto-invalid-arguments.patch to fix wrong
  arguments being passed to bluetooth-send (bnc#391820)
* Tue Apr 22 2008 sreeves@suse.de
- Rebase nautilus-sendto-icon.patch
  Add nautilus-sendto-uppdercase.patch to fix BGO #529281
  Remove rest of nautilus-sendto-icon.patch as already upstream.
* Thu Feb 21 2008 maw@suse.de
- Update to version 0.13.2:
  + Fix a crasher when launching bluetooth-sendto
  + Add a nice icon to the UI.
* Sat Feb 02 2008 jpr@suse.de
- Update to 0.13.1
  * Remove unused gnome-vfs includes, fixes build with newer
  nautilus
  * Fix a crash in the main code when the status label was
  being cleared
  * Fix loading the Pidgin plugin
  * Show ICQ/AIM and Bonjour buddies in the Pidgin plugin
  * Fix conflicting mnemonics in the main UI
  * Fix installation with the new gio-based Nautilus
  * Pass the full name of the contact to Evolution when it's
  available
  * Allow running nautilus-sendto uninstalled
  * Fix a crash in the Thunderbird plugin when
  gtk_entry_get_text returns NULL
  * Fix application name in the man page
  * Fix possible crashes when no Bluetooth adapters are
  available
  * Fix GAIM/Pidgin not starting up when the home directory
  is read-only
  * Some UI love to bring it closer to the HIG
  * Add Pidgin/libpurple support
  * Fix a typo that might make DiscoverDevices not work
  (Bluetooth)
  * Don't resolve Bluetooth device names, DiscoverDevices
  already does that for us
- Remove nautilus-sendto-0.10-pidgin.patch, pidgin support is
  upstream
- Remove nautilus-sendto-0.10-wrong-error.patch, this is upstream
- Rename nautilus-sendto-0.7-thunderbird.patch to
  nautilus-sendto-default-backends.patch as balsa is enabled now too
* Fri Oct 26 2007 jpr@suse.de
- Use libgnomebt-devel instead of gnome-bluetooth-devel
* Mon Sep 10 2007 sbrabec@suse.cz
- Use theme icon "document-send" (GNOME#321179#c18).
* Fri Aug 10 2007 coolo@suse.de
- put Version before the use of %%version
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Tue Jun 12 2007 ro@suse.de
- update to 0.10
  * Fix compilation of the gajim and thunderbird plugins
  * Fix loading the nautilus extension
- update to 0.9
  * Search the Sylpheed-claws binary harder
  * Use D-Bus and bluez-utils for the bluetooth plugin,
  remove compile-time dependency on gnome-bluetooth
  * Show an error when no plugins can be found on startup
  * Cleanup run-time dependencies
- update to 0.8
  * Fix build error in gaim2
  * Solved evolution Bug #348941 Evolution Autocompletion not offered
  for all Address Books. Thanks Øystein Gisnås, Karsten Bräckelmann
  * Added man page
  * Nautilus-sendto remember the last selected medium used to send
  files . Thanks Colin Leroy and Bastien Nocera
  * Some bug fixes more.
- addded fc patchkit (including pidgin patch)
* Tue Dec 19 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Sun Oct 15 2006 danw@suse.de
- Remove dead patches
* Wed Sep 27 2006 jhargadon@suse.de
- update to version 0.7
- Added support for gajim
- Added support for sylpheed-claws
- Added initial support for thunderbird. Thunderbird don't support
  attachment by command line atm.
- Added initial support for Balsa. Balsa don't support attachment
  by command line atm.
- Many bugfixes
- Now nautilus sendto compile evolution plugin if evolution is
  available
- Force the dependencies to gnome2.13-14
- Many translations
* Thu Apr 13 2006 sbrabec@suse.cz
- Simplified BuildRequires.
- Applied patches from GNOME Bugzilla (no plugin crash, no family
  name crash, plugin init fail crash - #165527).
- Removed obsolete .la files and scriptlets.
- Improved directory ownership.
* Fri Feb 03 2006 sbrabec@suse.cz
- Fixed conflict in Swedish translation.
* Wed Feb 01 2006 sbrabec@suse.cz
- Fixed po files to follow string change.
* Thu Jan 26 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Dec 10 2005 jpr@suse.de
- Fix build for libbtcl api change
* Fri Nov 11 2005 sbrabec@suse.cz
- Build with gnome-bluetooth support.
* Wed Aug 03 2005 gekker@suse.de
- Update to version 0.4
- Remove upstreamed patch
* Mon Aug 01 2005 ro@suse.de
- added gaim-devel to nfb
* Wed May 18 2005 sbrabec@suse.cz
- Added icon (#60055).
* Sun Jan 30 2005 meissner@suse.de
- RPM_OPT_FLAGS2 -> RPM_OPT_FLAGS -fno-strict-aliasing.
* Wed Jan 26 2005 gekker@suse.de
- Initial package submission
openSUSE Build Service is sponsored by