info: diffutils

mkorz@jaguar.domek.pl mkorz w jaguar.domek.pl
Czw, 24 Wrz 1998, 23:21:15 CEST


Ciąg dalszy literki d:
diffutils.spec
-- 
   Marcin Korzonek
   mkorz w shadow.eu.org
-------------- następna część ---------
Summary: GNU diff Utilities
Summary(de): GNU-Diff-Utilities 
Summary(fr): Utilitaires diff de GNU
Summary(pl): narzędzia diff GNU
Summary(tr): GNU dosya karţýlaţtýrma araçlarý
Name: diffutils
Version: 2.7
Release: 12
Group: Utilities/Text
Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
Copyright: GPL
Prereq: /sbin/install-info
Buildroot: /var/tmp/%{name}-%{version}-root

%description
The diff utilities can be used to compare files, and generate a record
of the "differences" between files.  This record can be used by the
patch program to bring one file up to date with the other.  All these
utilities (except cmp) only work on text files.

%description -l pl
Narzędzia diff są używane do porównywania zawartości plików i tworzenia 
zbioru z różnicami. Można go potem użyć (za pomocą programu patch) do
uaktualnienia starszego pliku. Wszystkie narzędzia (za wyjątkiem cmp)
pracują tylko na plikach tekstowych.


%prep
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s ./configure --prefix=/usr 
make PR_PROGRAM=/usr/bin/pr

%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT/usr install
gzip -9nf $RPM_BUILD_ROOT/usr/info/diff*

strip $RPM_BUILD_ROOT/usr/bin/*

%post
/sbin/install-info /usr/info/diff.info.gz /usr/info/dir --entry="* diff: (diff).                 The GNU diff."

%preun
if [ $1 = 0 ]; then
    /sbin/install-info --delete /usr/info/diff.info.gz /usr/info/dir --entry="* diff: (diff).                 The GNU diff."
fi

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644, root, root, 755)
%doc NEWS README
%attr(711, root, root) /usr/bin/*
%attr(644, root, root) /usr/info/diff.info*gz

%changelog
* Thu Sep 24 1998 Marcin Korzonek <mkorz w shadow.eu.org>
- translations modified for pl
- defined files permission
- moved CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" from make 
  to configure (as a much safer solution)

* Thu Jul 23 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[2.7-12]
- build against glibc-2.1

* Tue May 05 1998 Prospector System <bugs w redhat.com>

- translations modified for de, fr, tr

* Sun May 03 1998 Cristian Gafton <gafton w redhat.com>
- fixed spec file to reference/use the $RPM_BUILD_ROOT always

* Wed Dec 31 1997 Otto Hammersmith <otto w redhat.com>
- fixed where it looks for 'pr' (/usr/bin, rather than /bin)

* Fri Oct 17 1997 Donnie Barnes <djb w redhat.com>
- added BuildRoot

* Sun Sep 14 1997 Erik Troan <ewt w redhat.com>
- uses install-info

* Mon Jun 02 1997 Erik Troan <ewt w redhat.com>
- built against glibc



Więcej informacji o liście dyskusyjnej pld-devel-pl