nautilus-sendto.spec revision 18120
16799N/A#
18372N/A# spec file for package nautilus-sendto
18372N/A#
18778N/A# Copyright 2010 Sun Microsystems, Inc.
18778N/A# This file and all modifications and additions to the pristine
18778N/A# package are under the same license as the package itself.
18778N/A#
18778N/A# Owner:halton
16799N/A#
16799N/A
16799N/AName: nautilus-sendto
18793N/ALicense: GPL v2
16799N/AGroup: Development/Libraries
16799N/AVersion: 2.28.2
16799N/ARelease: 1
17185N/ADistribution: Java Desktop System
16799N/AVendor: Sun Microsystems, Inc.
16799N/AURL: http://www.gnome.org/
18252N/ASummary: Nautilus context menu for sending files
16799N/ASource: http://download.gnome.org/sources/%{name}/2.28/%{name}-%{version}.tar.bz2
17183N/ABuildRoot: %{_tmppath}/%{name}-%{version}-root
17183N/A
16799N/A# date:2010-01-17 owner:chrisk type:bug
18778N/APatch1: nautilus-sendto-01-fixxref-modules.diff
18778N/A
16799N/ABuildRequires: gtk2-devel
16799N/ABuildRequires: libglade2-devel
18778N/ABuildRequires: evolution-data-server-devel >= 1.9.1
18778N/ABuildRequires: libgnomeui-devel
18778N/ABuildRequires: nautilus-devel >= 2.5.4
18778N/ABuildRequires: pidgin-devel >= 2.0.0
18372N/ABuildRequires: gettext
16799N/ABuildRequires: perl-XML-Parser intltool
16799N/ABuildRequires: dbus-glib-devel >= 0.70
16799N/A
16799N/A%description
16799N/AThe nautilus-sendto package provides a Nautilus context menu for
16799N/Asending files via other desktop applications. These functions are
18372N/Aimplemented as plugins, so nautilus-sendto can be extended with
18372N/Aadditional features. This package provides a default plugin for
17997N/AEvolution integration.
17382N/A
16799N/A%prep
16799N/A%setup -q
18778N/A%patch1 -p1
18688N/A
16799N/A%build
18793N/A%ifos linux
16799N/Aif [ -x /usr/bin/getconf ]; then
18778N/A CPUS=`getconf _NPROCESSORS_ONLN`
16799N/Afi
16799N/A%else
17023N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
16799N/A%endif
18778N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
16799N/A CPUS=1
18778N/Afi
16799N/A
18778N/Alibtoolize --force
16799N/Aaclocal $ACLOCAL_FLAGS
18778N/Aautoheader
18252N/Aautomake -a -c -f
16799N/Aautoconf
18778N/A
18778N/A./configure --prefix=%{_prefix} \
16799N/A --bindir=%{_bindir} \
18778N/A --mandir=%{_mandir} \
18812N/A --libdir=%{_libdir} \
18778N/A --datadir=%{_datadir} \
16799N/A --includedir=%{_includedir} \
18778N/A --sysconfdir=%{_sysconfdir} \
16799N/A %gtk_doc_option \
18778N/A%if %debug_build
16799N/A --enable-debug=yes \
16799N/A%else
16799N/A --enable-debug=no \
16799N/A%endif
18778N/A
18812N/Amake -j $CPUS
18778N/A
16799N/A%install
18778N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
18778N/Amake -i install DESTDIR=$RPM_BUILD_ROOT
18778N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
16799N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
18778N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
16799N/A
18778N/A%clean
16799N/Arm -rf $RPM_BUILD_ROOT
18778N/A
16799N/A%files
18778N/A%defattr(-,root,root)
16799N/A%doc AUTHORS ChangeLog COPYING NEWS
18778N/A%{_libdir}/nautilus/extensions-2.0/libnautilus-sendto.so
18778N/A%{_libdir}/nautilus-sendto
16799N/A%{_datadir}/nautilus-sendto
16799N/A%{_bindir}/nautilus-sendto
18778N/A%{_sysconfdir}/gconf/schemas/nst.schemas
16799N/A%{_mandir}/man1/nautilus-sendto.1.gz
16799N/A
18778N/A%changelog
16799N/A* Sun Jan 17 2010 - christian.kelly@sun.com
18778N/A- Add nautilus-sendto-01-fixxref-modules.
16799N/A* Wed Nov 18 2009 - halton.huo@sun.com
16799N/A- Bump to 2.28.2
18778N/A- Remove upstramed patch gthread.diff
16799N/A* Thu Nov 12 2009 - halton.huo@sun.com
18778N/A- Initial spec.
16799N/A