gvfs.spec revision 12537
15394N/A#
15394N/A# spec file for package gvfs
15394N/A#
18379N/A# Copyright (c) 2007 Sun Microsystems, Inc.
15394N/A# This file and all modifications and additions to the pristine
15394N/A# package are under the same license as the package itself.
15394N/A#
17185N/A# Owner: gheet
15394N/A#
15394N/AName: gvfs
17176N/ALicense: LGPL
17176N/AGroup: System/Libraries/GNOME
18379N/AVersion: 0.1.11
15394N/ARelease: 4
18505N/ADistribution: Java Desktop System
15394N/AVendor: Sun Microsystems, Inc.
18810N/ASummary: Virtual File System Library for GNOME
15394N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.1/%{name}-%{version}.tar.bz2
15394N/AURL: http://www.gnome.org/
18615N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18505N/ADocdir: %{_defaultdocdir}/doc
15394N/AAutoreqprov: on
18379N/APatch1: gvfs-01-hal-version.diff
15394N/A
15394N/A%prep
15394N/A%setup -q
18379N/A%patch1 -p1
18379N/A
18379N/A%build
18379N/A%ifos linux
18379N/Aif [ -x /usr/bin/getconf ]; then
18379N/A CPUS=`getconf _NPROCESSORS_ONLN`
18379N/Afi
15394N/A%else
15394N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
15394N/A%endif
15394N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
15394N/A CPUS=1
15394N/Afi
18379N/A
18379N/Aaclocal $ACLOCAL_FLAGS
18379N/Aautoconf
18379N/ACFLAGS="$RPM_OPT_FLAGS -DDBUS_API_SUBJECT_TO_CHANGE=1" \
18379N/A./configure --prefix=%{_prefix} \
18379N/A --sysconfdir=%{_sysconfdir} \
18379N/A --libexecdir=%{_libexecdir} \
18379N/A %{gtk_doc_option}
18379N/Amake -j $CPUS
18379N/A
18505N/A%install
18379N/Amake DESTDIR=$RPM_BUILD_ROOT install
18379N/A
18379N/A%clean
18379N/Arm -rf $RPM_BUILD_ROOT
18379N/A
18379N/A%changelog
18379N/A* Wed Mar 05 2008 - damien.carbery@sun.com
18379N/A- Bump to 0.1.11.
15394N/A* Mon Mar 03 2008 - alvaro.lopez@sun.com
15394N/A- Added gvfs-01-hal-version.diff
15394N/A* Thu Feb 28 2008 - damien.carbery@sun.com
15394N/A- Bump to 0.1.8.
18379N/A* Sat Nov 17 2007 - daymobrew@users.sourceforge.net
18379N/A- Bump to 0.0.2. Remove upstream patches, 01-solaris and 02-solaris2.
18379N/A* Fri Nov 09 2007 - daymobrew@users.sourceforge.net
15394N/A- Add patch 02-solaris2 to include header files to fix 'implicit function
15394N/A declaration' warnings.
15394N/A
15394N/A* Wed Nov 07 2007 - daymobrew@users.sourceforge.net
15394N/A- Initial version.
15394N/A