File ifuse.spec of Package ifuse

#
# spec file for package ifuse (Version 1.0.0)
#
# 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:           ifuse
Version:        1.0.0
Release:        2
License:        LGPL v2 or later
BuildRequires:  automake fuse-devel glib2-devel
BuildRequires:  libimobiledevice-devel >= 1.0.0
%if 0%{?opensuse_bs}
%if %{defined fedora_version} || %{defined mandriva_version}
BuildRequires:  pkgconfig
%else
BuildRequires:  pkg-config
%endif
%if %{defined fedora_version}
%if 0%{?fedora_version} == 10
BuildRequires:  libusb-1_0-devel >= 1.0.3
%endif
%endif
%endif
Source:         %{name}-%{version}.tar.bz2
Patch0:         %{name}-fixasneeded.patch
Group:          System/Filesystems
Summary:        Filesystem access for the iPhone, iPod Touch and iPad
Url:            http://www.libimobiledevice.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on

%description
iFuse is a FUSE filesystem driver which uses `libimobiledevice` to connect to
devices without the need for a jailbreak.
It is using the native Apple "AFC" protocol, over the normal USB cable in order
to access the iPhone's, iPod Touch's or iPad's media files under Linux.



Authors:  
--------  
    Christophe Fergeau
    Jonathan Beck
    Matthew Colyer
    Martin Aumueller
    Nikias Bassen
    Paul Sladen
    Zach C.
    Zoltan Balaton

%prep
%setup -q -n %{name}-%{version}
%patch0 -p0

%build
autoreconf
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
make %{?jobs:-j%jobs}

%install
%{__make} install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS COPYING README
%{_bindir}/ifuse

%changelog
openSUSE Build Service is sponsored by