Summary: Gives a fake root environment
-Summary(pl.UTF-8): Umożliwia uzyskanie ,,podrobionego'' środowiska roota
+Summary(pl.UTF-8): "Podrobione" środowiska roota
Summary(pt_BR.UTF-8): Cria um falso ambiente de root
Name: fakeroot
-Version: 1.5.10
-Release: 1
-License: GPL (see COPYING)
+Version: 1.20.1
+Release: 2
+License: GPL v3+
Group: Development/Tools
-Source0: ftp://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.tar.gz
-# Source0-md5: 76730bf4c9068773e857e18c346d8c81
-#BuildRequires: autoconf >= 2.59
-#BuildRequires: automake
-#BuildRequires: libtool >= 2.0
+Source0: ftp://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.orig.tar.bz2
+# Source0-md5: ef246a7cadf85282180a1e27f7377a26
+URL: http://fakeroot.alioth.debian.org/
+BuildRequires: acl-devel
+BuildRequires: autoconf >= 2.61
+BuildRequires: automake
+BuildRequires: libtool >= 2:2.2
Requires: util-linux
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q
%build
-#%%{__libtoolize}
-#%%{__aclocal}
-#%%{__autoconf}
-#%%{__autoheader}
-#%%{__automake}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
--disable-static
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/libfakeroot.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfakeroot.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS BUGS COPYING DEBUG README.fake debian/changelog
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS BUGS DEBUG README
+%attr(755,root,root) %{_bindir}/faked
+%attr(755,root,root) %{_bindir}/fakeroot
%dir %{_libdir}
%attr(755,root,root) %{_libdir}/libfakeroot*.so
-%{_mandir}/man1/*
+%{_mandir}/man1/faked.1*
+%{_mandir}/man1/fakeroot.1*
+%lang(de) %{_mandir}/de/man1/*
%lang(es) %{_mandir}/es/man1/*
%lang(fr) %{_mandir}/fr/man1/*
+%lang(nl) %{_mandir}/nl/man1/*
%lang(sv) %{_mandir}/sv/man1/*