File encfs.spec of Package encfs

#
# spec file for package encfs (Version 1.3.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           encfs
BuildRequires:  fuse-devel gcc-c++ openssl-devel pkgconfig rlog-devel zlib-devel
Summary:        Userspace Encrypted File System
Version:        1.3.2
Release:        6
License:        GNU General Public License (GPL)
Group:          System/Filesystems
Source:         %{name}-%{version}-1.tar.bz2
URL:            http://arg0.net/encfs
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
EncFS provides an encrypted file system in user space. It runs without
any special permissions and uses the FUSE library and Linux kernel
module to provide the file system interface.



Authors:
--------
    Valient Gough <vgough@pobox.com>

%prep
%setup
%{?suse_update_config:%{suse_update_config -f}}

%build
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
make

%install
make DESTDIR="$RPM_BUILD_ROOT" install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
#
# remove unsupported locales - should revive once after we add
# these in the core system...
#
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/de_CH
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_PE
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/hu_HU

%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING* ChangeLog README*
%doc %{_mandir}/man?/*
%{_bindir}/*
%{_libdir}/libencfs.so*
%{_datadir}/locale/*/*/*

%changelog
* Thu Mar 29 2007 - meissner@suse.de
- buildrequires zlib-devel
* Thu Feb 15 2007 - mszeredi@suse.cz
- updated to version 1.3.2
  * fix failure to process HMAC correctly in case of read error
  * builds with GCC 4.2
  * add workaround for group permission problem in 'public' mode
* Mon May 15 2006 - tiwai@suse.de
- updated to version 1.3.1.
  * ports for fuse-2.5
  * bugfixes for null filename encryption
  * fix directory rename error
  * new translations
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 17 2006 - tiwai@suse.de
- fix the build with fuse 2.5.0.
* Tue Nov 15 2005 - tiwai@suse.de
- updated to version 1.2.5.
* Fri Sep 30 2005 - tiwai@suse.de
- updated to version 1.2.4.
* Wed May 25 2005 - tiwai@suse.de
- initial version: 1.2.2
openSUSE Build Service is sponsored by