rpms/zfs-fuse/F-10 zfs-fuse.spec,NONE,1.1 sources,1.1,1.2

Uwe Kubosch donv at fedoraproject.org
Mon Nov 10 23:27:00 UTC 2008


Author: donv

Update of /cvs/pkgs/rpms/zfs-fuse/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26595

Modified Files:
	sources 
Added Files:
	zfs-fuse.spec 
Log Message:
* Updated with initial version from devel


--- NEW FILE zfs-fuse.spec ---
Summary:          ZFS ported to Linux FUSE
Name:             zfs-fuse
Version:          0.5.0
Release:          2.20081009%{?dist}
Group:            System Environment/Base
License:          CDDL
URL:              http://www.wizy.org/wiki/ZFS_on_FUSE
# The source for this package was pulled from upstream's vcs.  Use the
# following command to generate the tarball:
#   wget http://www.wizy.org/mercurial/zfs-fuse/trunk/archive/4c14f29ce44c.tar.bz2
#   mv 4c14f29ce44c.tar.bz2 zfs-fuse-0.5.0.tar.bz2
# The setup line below has been changed to reflect that the top directory of the
# archive has a different name than the archive itself.
Source0:          %{name}/%{name}-%{version}.tar.bz2
Source01:         zfs-fuse.init
BuildRequires:    fuse-devel libaio-devel scons zlib-devel
Requires:         fuse >= 2.7.4-1
Requires(post):   chkconfig
Requires(preun):  chkconfig initscripts
Requires(postun): initscripts
# (2008-10-30)(uwe at kubosch.no) zfs-fuse doesn't have PPC and PPC64 implementations for atomic instructions
ExcludeArch:      ppc64
ExcludeArch:      ppc
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
ZFS is an advanced modern general-purpose filesystem from Sun
Microsystems, originally designed for Solaris/OpenSolaris.

This project is a port of ZFS to the FUSE framework for the Linux
operating system.

%prep
%setup -q -n trunk-4c14f29ce44c
f=LICENSE
%{__mv} $f $f.iso88591
iconv -o $f -f iso88591 -t utf8 $f.iso88591
%{__rm} -f $f.iso88591

%build
pushd src
%{__sed} -i -e 's/-pipe -Wall -Werror/%{optflags}/' SConstruct
scons

%install
%{__rm} -rf %{buildroot}
pushd src
scons install install_dir=%{buildroot}%{_bindir}
%{__install} -Dp -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}

%clean
%{__rm} -rf %{buildroot}

%post
if [ $1 = 1 ] ; then
    /sbin/chkconfig --add %{name}
fi

%preun
if [ $1 = 0 ] ; then
    /sbin/service %{name} stop >/dev/null 2>&1 || :
    /sbin/chkconfig --del %{name}
fi

%postun
if [ $1 -ge 1 ] ; then
    /sbin/service %{name} condrestart >/dev/null 2>&1 || :
fi

%files
%defattr(-, root, root, -)
%doc BUGS CHANGES contrib HACKING LICENSE README 
%doc README.NFS STATUS TESTING TODO
%{_bindir}/zdb
%{_bindir}/zfs
%{_bindir}/zfs-fuse
%{_bindir}/zpool
%{_bindir}/ztest
%{_initrddir}/%{name}

%changelog
* Thu Oct 09 2008 Uwe Kubosh <uwe at kubosch.no> - 0.5.0-2.20081009
- Updated to upstream trunk of 2008-10-09
- Adds changes to make zfs-fuse build out-of-the-box on Fedora 9, and removes the need for patches.

* Sat Oct  4 2008 Terje Rosten <terje.rosten at ntnu.no> - 0.5.0-1 
- initial build


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/zfs-fuse/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Nov 2008 16:39:22 -0000	1.1
+++ sources	10 Nov 2008 23:26:30 -0000	1.2
@@ -0,0 +1 @@
+cbf1c40c6136e061062bca54ccba30c4  zfs-fuse-0.5.0.tar.bz2




More information about the fedora-extras-commits mailing list