]> git.pld-linux.org Git - packages/fakeroot.git/commitdiff
- rewrited in PLD style. fakeroot-0_4_4-1
authorkloczek <kloczek@pld-linux.org>
Wed, 4 Apr 2001 18:23:52 +0000 (18:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fakeroot.spec -> 1.2

fakeroot.spec

index 90b6cfa65366928fa1a86b51232cc7255026be01..51c8ac4d3414475f120c457e2a69e2c7b95d6f40 100644 (file)
@@ -1,65 +1,45 @@
-%define name fakeroot
-%define version 0.4.4
-%define release 1mdk
-%define debver 4.1
-
-Summary: Gives a fake root environment
-Name: %{name}
-Version: %{version}
-Release: %{release}
-Source0: %{name}_%{version}-%{debver}.tar.bz2
-Copyright: GPL
-Group: Development/Tools
-BuildRoot: /tmp/%{name}-buildroot
-Prefix: %{_prefix}
+Summary:       Gives a fake root environment
+Name:          fakeroot
+Version:       0.4.4
+Release:       1
+%define                debver 9
+License:       GPL
+Group:         Development/Tools
+Group(de):     Entwicklung/Werkzeuge
+Group(fr):     Development/Outils
+Group(pl):     Programowanie/Narzêdzia
+Source0:       ftp://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}-%{debver}.tar.gz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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.
+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
+%setup -q -n %{name}
 
 %build
 %configure
-
-make    CFLAGS="-g -O2 -Wall -W -pedantic"\
-         CXXFLAGS="-g -O2 -Wall -W -pedantic"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-mkdir -p $RPM_BUILD_ROOT/usr
-make CFLAGS="-g -O2 -Wall -W -pedantic"\
-     CXXFLAGS="-g -O2 -Wall -W -pedantic"\
-     prefix=$RPM_BUILD_ROOT/usr install
-install -d -m 0755 $RPM_BUILD_ROOT/usr/bin/
-install -m 0755 scripts/fakeroot $RPM_BUILD_ROOT/usr/bin/
-install -d -m 0755 $RPM_BUILD_ROOT/usr/lib/libfakeroot
-bzip2 -9f $RPM_BUILD_ROOT/usr/man/man*/*
-strip $RPM_BUILD_ROOT/usr/bin/faked
-strip $RPM_BUILD_ROOT/usr/lib/libfakeroot/libfakeroot.so.0.0.1
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf DEBUG
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,0755)
-/usr/bin/*
-/usr/lib/libfakeroot/*
-%doc DEBUG
-%doc /usr/man/man*/*
-
-%changelog
-
-* Mon Jan 17 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.4.4-1mdk
-
-- firct mandrake version.
-
-# end of file
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_bindir}/*
+%dir %{_libdir}/libfakeroot
+%attr(755,root,root) %{_libdir}/libfakeroot/lib*so.*
+%{_mandir}/man*/*
This page took 0.13147 seconds and 4 git commands to generate.