File ccgfs.spec of Package ccgfs

#
# spec file for package ccgfs
#
# Copyright (c) 2011 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/
#



Name:           ccgfs
Version:        0.79
Release:        1
Group:          System/Filesystems
Summary:        Transport-agnostic network filesystem
License:        GPLv3
Url:            http://ccgfs.sf.net/

#Git-Clone:	git://ccgfs.sf.net/gitroot/ccgfs/ccgfs
Source:         %name-%version.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fuse-devel >= 2.6.5 libattr-devel libxml2-devel >= 2.6
BuildRequires:  libHX-devel >= 3.4 openssl-devel >= 0.9.7 pkg-config >= 0.19
BuildRequires:  xz

%description
ccgfs is a transport-agnostic filesystem. Common transport modes are
"pull" and "push", the latter of which makes it possible to export a
filesystem located in a LAN to a DMZ host without needing to allow
connections from the DMZ as would be the case with the pull model.
Any transport can be used, e.g. ssh for encryption.

Author:
-------
	Jan Engelhardt

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
make install DESTDIR="%buildroot";

%preun
%stop_on_removal ccgfs-super

%postun
%insserv_cleanup

%files
%defattr(-,root,root)
%_sysconfdir/init.d/*
%_sbindir/*
%doc doc/*.txt
%doc %_mandir/*/*

%changelog
openSUSE Build Service is sponsored by