File obsfs.spec of Package obsfs
#
# spec file for package
#
# Copyright (c) 2010 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/
#
# norootforbuild
Name: obsfs
Version: 0.1.git
Release: 1.1
License: GPL
Summary: openSUSE Build Service FUSE File System
Url: http://github.com/uli/obsfs
Group: Development/Tools/Other
Source: obsfs.tar.bz2
BuildRequires: libexpat-devel fuse-devel libcurl-devel
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(glib-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
obsfs -- openSUSE Build Service FUSE File System
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://github.com/uli/obsfs
Usage: obsfs mountpoint [options]
general options:
-o opt,[opt...] mount options
-h --help print help
-V --version print version
obsfs options:
-o host=STRING OBS server name (api.opensuse.org)
-o user=STRING OBS user name (from .oscrc)
-o pass=STRING OBS password (from .oscrc)
Run "obsfs --help" for more options.
%prep
%setup -q -n %{name}
%build
make %{?_smp_mflags}
%install
%__install -d %{buildroot}%{_bindir}
%__install %{name} %{buildroot}%{_bindir}/%{name}
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/%{name}
%changelog