714fc91
Summary: Gnome user file sharing
714fc91
Name: gnome-user-share
e417348
Version: 2.26.0
430acd9
Release: 1%{?dist}
053977e
License: GPLv2+
714fc91
Group: System Environment/Libraries
714fc91
URL: http://www.gnome.org
0cac4b4
Source0: http://download.gnome.org/sources/gnome-user-share/2.25/%{name}-%{version}.tar.bz2
3c8fc0a
fc208fd
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
09f4960
Requires: httpd >= 2.2.0
cf8edea
Requires: obex-data-server >= 0.3
0cac4b4
Requires: mod_dnssd
0cac4b4
BuildRequires: GConf2-devel pkgconfig
fa03e88
BuildRequires: gtk2-devel >= 2.4.0
fd9d51f
BuildRequires: httpd >= 2.2.0 mod_dnssd >= 0.6
40236c3
BuildRequires: desktop-file-utils
0cac4b4
BuildRequires: gnome-doc-utils
fa03e88
BuildRequires: libselinux-devel
d234714
BuildRequires: dbus-glib-devel
d60af05
BuildRequires: libnotify-devel
7d6d4b2
BuildRequires: gettext
f11e834
BuildRequires: perl(XML::Parser) intltool
fc208fd
Requires(post): GConf2
0cac4b4
Requires(post): scrollkeeper
0cac4b4
Requires(postun): scrollkeeper
fc208fd
Requires(pre): GConf2
fc208fd
Requires(preun): GConf2
714fc91
714fc91
%description
148524a
148524a
gnome-user-share is a small package that binds together various free
148524a
software projects to bring easy to use user-level file sharing to the
148524a
masses.
148524a
148524a
The program is meant to run in the background when the user is logged
148524a
in, and when file sharing is enabled a webdav server is started that
148524a
shares the $HOME/Public folder. The share is then published to all
148524a
computers on the local network using mDNS/rendezvous, so that it shows
148524a
up in the Network location in GNOME.
714fc91
e68790e
The program also allows to share files using ObexFTP over Bluetooth.
e68790e
714fc91
%prep
714fc91
%setup -q
714fc91
714fc91
%build
714fc91
%configure
714fc91
make %{?_smp_mflags}
714fc91
714fc91
%install
714fc91
rm -rf $RPM_BUILD_ROOT
714fc91
714fc91
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
714fc91
make install DESTDIR=$RPM_BUILD_ROOT
714fc91
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
714fc91
40236c3
desktop-file-install --vendor gnome --delete-original                   \
40236c3
  --dir $RPM_BUILD_ROOT%{_datadir}/applications			        \
40236c3
  --add-only-show-in GNOME                                              \
40236c3
  --add-category X-Red-Hat-Base                                         \
40236c3
  $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
40236c3
0cac4b4
%find_lang gnome-user-share --with-gnome
0cac4b4
0cac4b4
# save space by linking identical images in translated docs
0cac4b4
helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
0cac4b4
for f in $helpdir/C/figures/*.png; do
0cac4b4
  b="$(basename $f)"
0cac4b4
  for d in $helpdir/*; do
0cac4b4
    if [ -d "$d" -a "$d" != "$helpdir/C" ]; then
0cac4b4
      g="$d/figures/$b"
0cac4b4
      if [ -f "$g" ]; then
0cac4b4
        if cmp -s $f $g; then
0cac4b4
          rm "$g"; ln -s "../../C/figures/$b" "$g"
0cac4b4
        fi
0cac4b4
      fi
0cac4b4
    fi
0cac4b4
  done
0cac4b4
done
714fc91
714fc91
%clean
714fc91
rm -rf $RPM_BUILD_ROOT
714fc91
714fc91
%post
0cac4b4
scrollkeeper-update -q
714fc91
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
fc208fd
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
cf8edea
if [ -x /usr/bin/gtk-update-icon-cache ]; then
cf8edea
  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
cf8edea
fi
fc208fd
fc208fd
%pre
fc208fd
if [ "$1" -gt 1 ]; then
fc208fd
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
fc208fd
  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
fc208fd
fi
fc208fd
fc208fd
%preun
fc208fd
if [ "$1" -eq 0 ]; then
fc208fd
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
fc208fd
  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
fc208fd
fi
714fc91
cf8edea
%postun
0cac4b4
scrollkeeper-update -q
cf8edea
if [ -x /usr/bin/gtk-update-icon-cache ]; then
cf8edea
  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
cf8edea
fi
cf8edea
714fc91
%files -f gnome-user-share.lang
714fc91
%defattr(-,root,root,-)
053977e
%doc README COPYING NEWS AUTHORS
714fc91
%{_bindir}/*
714fc91
%{_libexecdir}/*
714fc91
%{_datadir}/gnome-user-share
40236c3
%{_datadir}/applications/*
3b7523f
%{_sysconfdir}/xdg/autostart/gnome-user-share.desktop
714fc91
%{_sysconfdir}/gconf/schemas/*
cf8edea
%{_datadir}/icons/hicolor/*/apps/gnome-obex-server.png
714fc91
714fc91
%changelog
e417348
* Mon Mar 16 2009 - Bastien Nocera <bnocera@redhat.com> - 2.26.0-1
e417348
- Update to 2.26.0
e417348
430acd9
* Tue Mar 03 2009 - Bastien Nocera <bnocera@redhat.com> - 2.25.92-1
430acd9
- Update to 2.25.92
430acd9
af0e138
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.91-2
af0e138
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
af0e138
44313e4
* Tue Feb 03 2009 - Bastien Nocera <bnocera@redhat.com> - 2.25.91-1
44313e4
- Update to 2.25.91
44313e4
ae1f585
* Tue Feb 03 2009 - Bastien Nocera <bnocera@redhat.com> - 2.25.90-1
ae1f585
- Update to 2.25.90
ae1f585
fd9d51f
* Thu Jan 29 2009 - Bastien Nocera <bnocera@redhat.com> - 2.25.5-2
fd9d51f
- Export the user through the TXT record with the new mod_dnssd
fd9d51f
0cac4b4
* Tue Jan 27 2009 - Bastien Nocera <bnocera@redhat.com> - 2.25.5-1
0cac4b4
- Update to 2.25.5
0cac4b4
686d7e3
* Wed Dec 17 2008 - Bastien Nocera <bnocera@redhat.com> - 0.41-1
686d7e3
- Update to 0.41
686d7e3
d60af05
* Mon Sep 22 2008 - Bastien Nocera <bnocera@redhat.com> - 0.40-3
d60af05
- Add missing libnotify BR
d60af05
f11e834
* Mon Sep 22 2008 - Bastien Nocera <bnocera@redhat.com> - 0.40-2
f11e834
- Add missing intltool BR
f11e834
137d5ef
* Mon Sep 22 2008 - Bastien Nocera <bnocera@redhat.com> - 0.40-1
137d5ef
- Update to 0.40
137d5ef
53a1ea4
* Mon Sep 22 2008 - Bastien Nocera <bnocera@redhat.com> - 0.31-3
53a1ea4
- Add patch to port to BlueZ 4.x API
53a1ea4
4d25739
* Sun May  4 2008 Matthias Clasen <mclasen@redhat.com> - 0.31-2
4d25739
- Fix source url
4d25739
066273a
* Thu Apr 03 2008 - Bastien Nocera <bnocera@redhat.com> - 0.31-1
066273a
- Update to 0.31
6b7e9eb
34cb4a2
* Mon Mar 31 2008 - Bastien Nocera <bnocera@redhat.com> - 0.30-1
34cb4a2
- Update to 0.30
34cb4a2
- Fixes left-over httpd processes after logout
34cb4a2
cf8edea
* Sun Feb 24 2008 - Bastien Nocera <bnocera@redhat.com> - 0.22-1
cf8edea
- Update to 0.22
cf8edea
0b4f497
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.21-2
0b4f497
- Autorebuild for GCC 4.3
0b4f497
1afd5d5
* Fri Jan 25 2008 - Bastien Nocera <bnocera@redhat.com> - 0.21-1
1afd5d5
- Update to 0.21
1afd5d5
e68790e
* Tue Jan 22 2008 - Bastien Nocera <bnocera@redhat.com> - 0.20-1
e68790e
- Update to 0.20
e68790e
- Remove obsolete patches
e68790e
b8c56a1
* Tue Sep 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.11-9
b8c56a1
- Fix a memory leak
b8c56a1
07a0b3a
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.11-8
07a0b3a
- Rebuild for selinux ppc32 issue.
07a0b3a
053977e
* Tue Aug  7 2007 Matthias Clasen <mclasen@redhat.com> - 0.11-7
053977e
- Update license field
053977e
f627a63
* Thu Jul 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.11-6
f627a63
- Disable the password entry for "never"
f627a63
100eac5
* Thu Jul 12 2007 Owen Taylor <otaylor@redhat.com> - 0.11-5
100eac5
- Regenerate configure since patch1 changes configure.in
100eac5
9b22bab
* Thu Jul 12 2007 Owen Taylor <otaylor@redhat.com> - 0.11-4
9b22bab
- Add a patch from SVN to export DBUS session ID via Avahi (b.g.o #455307)
9b22bab
148524a
* Mon Apr 23 2007 Matthias Clasen  <mclasen@redhat.com> - 0.11-3
148524a
- Improve %%description (#235677)
148524a
3c8fc0a
* Fri Mar 23 2007 Matthias Clasen  <mclasen@redhat.com> - 0.11-2
3c8fc0a
- Don't hardwire invisible char (#233676)
3c8fc0a
85f188e
* Tue Mar  6 2007 Alexander Larsson <alexl@redhat.com> - 0.11-1
85f188e
- Update to 0.11 with xdg-user-dirs support
85f188e
c24035d
* Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> 0.10-6
c24035d
- Add better categories to the desktop file
c24035d
541ee8f
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 0.10-5
541ee8f
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
541ee8f
33777ed
* Thu Sep 21 2006 Nalin Dahyabhai <nalin@redhat.com> - 0.10-4
33777ed
- add missing BuildRequires: on httpd, so that the configure script can find
33777ed
  the binary
33777ed
10a3648
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.10-3.1
10a3648
- rebuild
10a3648
7d6d4b2
* Mon May 29 2006 Alexander Larsson <alexl@redhat.com> - 0.10-3
7d6d4b2
- buildrequire gettext and perl-XML-Parser (#193391)
7d6d4b2
14833d9
* Thu Apr 20 2006 Matthias Clasen <mclasen@redhat.com> 0.10-2
14833d9
- Update to 0.10
14833d9
fa03e88
* Wed Mar 01 2006 Karsten Hopp <karsten@redhat.de> 0.9-3
fa03e88
- BuildRequires: gtk2-devel, libglade2-devel, libselinux-devel
fa03e88
6199d91
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.9-2.2
6199d91
- bump again for double-long bug on ppc(64)
6199d91
6499c34
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.9-2.1
6499c34
- rebuilt for new gcc4.1 snapshot and glibc changes
6499c34
4d77619
* Fri Feb  3 2006 Alexander Larsson <alexl@redhat.com> 0.9-2
4d77619
- Patch config for apache 2.2
4d77619
c083b85
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
c083b85
- rebuilt
c083b85
5a78b9d
* Tue Nov 22 2005 Alexander Larsson <alexl@redhat.com> - 0.9-1
5a78b9d
- New release with avahi 0.6 support
5a78b9d
58b801e
* Mon Nov 14 2005 Alexander Larsson <alexl@redhat.com> - 0.8-1
58b801e
- update to 0.8
58b801e
40236c3
* Wed Nov  9 2005 Alexander Larsson <alexl@redhat.com> - 0.7-1
40236c3
- New version, with desktop file
40236c3
714fc91
* Wed Nov  9 2005 Alexander Larsson <alexl@redhat.com> - 0.6-1
714fc91
- New version, switch to avahi
714fc91
- Handle translations
714fc91
714fc91
* Fri Dec  3 2004 Alexander Larsson <alexl@redhat.com> - 0.4-1
714fc91
- New version
714fc91
714fc91
* Fri Nov 26 2004 Alexander Larsson <alexl@redhat.com> - 0.3-1
714fc91
- New version
714fc91
714fc91
* Thu Sep  9 2004 Alexander Larsson <alexl@redhat.com> - 0.2-1
714fc91
- New version
714fc91
714fc91
* Wed Sep  8 2004 Alexander Larsson <alexl@redhat.com> - 0.1-1
714fc91
- Initial Build
714fc91