]> git.pld-linux.org Git - packages/patch.git/blobdiff - patch.spec
- corected tr %description.
[packages/patch.git] / patch.spec
index bdff3295b74d778b1c73a0813339c83f62de4099..c20cf28bb6f271159b2c96c66cdcb29b5ab96dee 100644 (file)
@@ -1,20 +1,36 @@
 Summary:       GNU patch Utilities
+Summary(de):   GNU-Patch-Utilities
+Summary(fr):   Utilitaires patch de GNU
 Summary(pl):   GNU patch
+Summary(tr):   GNU yama yardýmcý programlarý
 Name:          patch
 Version:       2.5.3
-Release:       2
+Release:       7
 Copyright:     GPL
 Group:         Utilities/Text
 Group(pl):     Narzêdzia/Tekst
-Source:                ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
+Source:                ftp://prep.ai.mit.edu/pub/gnu/patch/%{name}-%{version}.tar.gz
 Buildroot:     /tmp/%{name}-%{version}-root
 
 %description
-Patch is a program to aid in patching programs.  :-) You can use it to apply
-'diff's.  Basically, you can use diff to note the changes in a file, send
+Patch is a program to aid in patching programs. You can use it to apply
+'diff's. Basically, you can use diff to note the changes in a file, send
 the changes to someone who has the original file, and they can use 'patch'
 to combine your changes to their original.
 
+%description -l de
+Patch ist ein Programm zum Ausbessern von Programmen. Benutzen Sie zunächst
+ein Diffs-Programm, um die Änderungen an der Datei zu ermitteln und senden
+Sie diese an die Personen mit der Originaldatei. Diese können dann mit Hilfe
+von PATCH ihre Dateien auf den neuesten Stand bringen.
+
+%description -l fr
+patch est un programme aidant à patcher des programmes. Vous pouvez
+l'utiliser pour appliquer des « diffs ». On utilise diff pour noter les
+changements dans un fichier, on envoie ces changements à celui qui a le
+fichier original et qui peut utiliser « patch » pour combiner nos
+modifications avec son original.
+
 %description -l pl
 Patch jest programem umo¿liwiaj±cym nak³adanie ³atek (patchy) na pliki. Przy
 pomocy programu diff mo¿esz sprawdziæ jakie zmiany zosta³y zrobione w pliku,
@@ -23,25 +39,38 @@ patch na
 s± jedynie zmiany, jakie zosta³y wprowadzone w stosunku do orginalnych
 plików.
 
+%description -l tr
+Bu programý 'diff' komutunu uygulamak için kullanabilirsiniz. diff, bir
+dosya içindeki deðiþikliklerý belirtir; 'patch' komutu deðiþiklikleri
+asýllarý ile birleþtirir.
+
 %prep
 %setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr
+chmod +w configure
+autoconf
+
+# XXX unset CPPFLAGS on (ultra)sparc to avoid large file system support
+%ifarch sparc sparc64
+CPPFLAGS=""
+export CPPFLAGS
+%endif
+
+LDFLAGS="-s"; export LDFLAGS
+%configure
 
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/{bin,man/man1}
 
-install -s patch $RPM_BUILD_ROOT/usr/bin
-install patch.man $RPM_BUILD_ROOT/usr/man/man1/patch.1
+make install install-strip \
+       bindir=$RPM_BUILD_ROOT%{_bindir} \
+       man1dir=$RPM_BUILD_ROOT%{_mandir}/man1
 
-gzip -9nf NEWS README AUTHORS ChangeLog \
-       $RPM_BUILD_ROOT/usr/man/man1/patch.1
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*\
+       NEWS README AUTHORS ChangeLog
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,28 +78,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc {NEWS,README,AUTHORS,ChangeLog}.gz
-%attr(755,root,root) /usr/bin/patch
-/usr/man/man1/patch.1.gz
-
-%changelog
-* Sun Apr  4 1999 Piotr Czerwiñski <pius@pld.org.pl>
-  [2.5.3-2]
-- added gzipping documentation and man pages,
-- added Group(pl),
-- removed man group from man pages,
-- cosmetic changes for common l&f.
-* Wed Sep 23 1998 Andrzej Nakonieczny <dzemik@shadow.eu.org>
-  [2.5.3-1d]
-- added pl translation.
-
-* Sun May 17 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-- AUTHORS, ChangeLog added to %doc,
-- added -q %setup parameter,
-- spec file rewrited for using Buildroot,
-- added %clean section,
-- added %defattr and %attr macros in %files (allows building package from
-  non-root account).
-
-* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
-- built against glibc
+
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.083199 seconds and 4 git commands to generate.