Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 3ee3e22e1be17ad7fedc277a828faf0f > files > 1

fakeroot-1.20.2-3.mga5.src.rpm

Summary:	Gives a fake root environment
Name:		fakeroot
Version:	1.20.2
Release:	%mkrel 3
License:	GPL
Group:		Development/Other
URL:		http://fakeroot.alioth.debian.org/
Source0:	ftp://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_%{version}.orig.tar.bz2
BuildRequires:	libstdc++-devel
BuildRequires:  sharutils
BuildRequires:  util-linux-ng
BuildRequires:	libcap-devel 

%description
This package is intended to enable something like: fakeroot rpm
--rebuild i.e. to remove the need to become root for a package
build. This is done by setting LD_PRELOAD to a "libfakeroot.so.0.0",
that provides wrappers around chown, chmod, mknod, stat, etc.

If you don't understand any of this, you do not need this!

%prep

%setup -q
for file in ./doc/*/*.1; do
  %{_bindir}/iconv -f latin1 -t utf8 < $file > $file.new
  %{__mv} -f $file.new $file
done

# anti version hack
%{__perl} -pi -e "s|-release 0|-avoid-version|g" Makefile*

%build

%configure2_5x \
    --disable-dependency-tracking \
    --disable-static \
    --with-ipc=sysv \
    --libdir=%{_libdir}/libfakeroot
%make

%install
%{makeinstall_std} libdir=%{_libdir}/libfakeroot

%{__rm} %{buildroot}%{_libdir}/libfakeroot/*.la

# the french man page is in man-pages-fr-1.58.0-18mdk, nuke this one to prevent file clash
%{__rm} -r %{buildroot}%{_mandir}/fr/man*

%files
%defattr(-,root,root,0755)
%doc AUTHORS BUGS COPYING ChangeLog DEBUG INSTALL NEWS README 
%{_bindir}/*
%{_libdir}/libfakeroot
%{_mandir}/man*/*
%lang(de) %{_mandir}/de/man*/*
%lang(es) %{_mandir}/es/man*/*
%lang(nl) %{_mandir}/nl/man*/*
%lang(pt) %{_mandir}/pt/man*/*
%lang(sv) %{_mandir}/sv/man*/*


%changelog
* Wed Oct 15 2014 bcornec <bcornec> 1.20.2-3.mga5
+ Revision: 742496
- Update to upstream fakeroot 1.20.2 +pt man pages

  + umeabot <umeabot>
    - Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.20.1-2.mga5
+ Revision: 679086
- Mageia 5 Mass Rebuild

* Sun Sep 07 2014 bcornec <bcornec> 1.20.1-1.mga5
+ Revision: 673036
- Update to upstream 1.20.1 (and remove any fakechroot reference commit from the past)

* Sat Sep 06 2014 bcornec <bcornec> 2.17.2-2.mga5
+ Revision: 672484
- Update to upstream 2.17 and fix the diffs it created with v1 in spec file (new files packaged, renaming to fakechroot, buildreq)

* Mon Oct 21 2013 umeabot <umeabot> 1.20-2.mga5
+ Revision: 540533
- Mageia 4 Mass Rebuild

* Wed Oct 09 2013 bcornec <bcornec> 1.20-1.mga4
+ Revision: 493829
- Typo libpcap => libcap
- fakeroot needs also a specific autoconf option --with-ipc=sysv
- fakaroot now build depends on libpcap
- Update to upstream fakeroot 1.20

* Fri Jan 11 2013 umeabot <umeabot> 1.18.4-2.mga3
+ Revision: 350049
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Oct 23 2012 dams <dams> 1.18.4-1.mga3
+ Revision: 309369
- new version 1.18.4
- clean specfile
- remove 'po4a' as BuildRequires
- update %%file list

* Thu May 10 2012 bcornec <bcornec> 1.14.4-2.mga2
+ Revision: 235149
- Remove compilation flag --with-ipc=tcp to fix bug 340 ( Cf: https://bugs.mageia.org/show_bug.cgi?id=340)

* Fri Feb 18 2011 pterjan <pterjan> 1.14.4-1.mga1
+ Revision: 53559
- imported package fakeroot


* Wed Oct 13 2010 Sandro Cazzaniga <kharec@mandriva.org> 1.14.4-1mdv2011.0
+ Revision: 585379
- update to 1.14.4
- use right archive
- fix file list

* Sat Nov 07 2009 Frederik Himpe <fhimpe@mandriva.org> 1.14.3-1mdv2010.1
+ Revision: 462322
- update to new version 1.14.3

* Thu Sep 10 2009 Thierry Vignaud <tv@mandriva.org> 1.11.4-3mdv2010.0
+ Revision: 437523
- rebuild

* Sat Feb 28 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.11.4-2mdv2009.1
+ Revision: 345997
- rebuild

* Sat Dec 20 2008 Funda Wang <fwang@mandriva.org> 1.11.4-1mdv2009.1
+ Revision: 316519
- New version 1.11.4

* Thu Jul 24 2008 Thierry Vignaud <tv@mandriva.org> 1.9.2-3mdv2009.0
+ Revision: 245045
- rebuild

* Tue Feb 05 2008 Oden Eriksson <oeriksson@mandriva.com> 1.9.2-1mdv2008.1
+ Revision: 162573
- 1.9.2
- use TCP instead of SysV IPC

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request

* Mon Oct 15 2007 David Walluck <walluck@mandriva.org> 1.8.2-1mdv2008.1
+ Revision: 98433
- 1.8.2
- 1.6.4
- move libdir to %%{_libdir}/libfakeroot to match Debian and Fedora

* Mon Jul 23 2007 Oden Eriksson <oeriksson@mandriva.com> 1.5.9-2mdv2008.0
+ Revision: 54683
- Import fakeroot



* Mon Jul 23 2007 Oden Eriksson <oeriksson@mandriva.com> 1.5.9-2mdv2008.0
- nuke libifiction (fixes #26724)

* Fri Jul 14 2006 Oden Eriksson <oeriksson@mandriva.com> 1.5.9-1mdv2007.0
- 1.5.9

* Thu Jun 30 2005 Oden Eriksson <oeriksson@mandriva.com> 1.2.9-3mdk
- fix #16454

* Wed Jun 08 2005 Oden Eriksson <oeriksson@mandriva.com> 1.2.9-2mdk
- fix deps (Olivier Thauvin)

* Fri Apr 08 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 1.2.9-1mdk
- initial package, PLD import