]> git.pld-linux.org Git - packages/patch.git/blobdiff - patch.spec
- corected tr %description.
[packages/patch.git] / patch.spec
index dc2e8653bb44bd6072245fbc2e3cef6efd648246..c20cf28bb6f271159b2c96c66cdcb29b5ab96dee 100644 (file)
@@ -1,8 +1,11 @@
 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:       5
+Release:       7
 Copyright:     GPL
 Group:         Utilities/Text
 Group(pl):     Narzêdzia/Tekst
@@ -10,11 +13,24 @@ 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,26 +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 %{_target} \
-       --prefix=%{_prefix}
+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{%{_bindir},%{_mandir}/man1}
-
-install -s patch $RPM_BUILD_ROOT%{_bindir}
-install patch.man $RPM_BUILD_ROOT%{_mandir}/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%{_mandir}/man1/patch.1
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*\
+       NEWS README AUTHORS ChangeLog
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -50,12 +78,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc {NEWS,README,AUTHORS,ChangeLog}.gz
-%attr(755,root,root) %{_bindir}/patch
-%{_mandir}/man1/patch.1*
-
-%changelog
-* Tue May 25 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.5.3-5]
-- spec based on RH version,
-- rewrited by PLD team,
-- pl translation Andrzej Nakonieczny <dzemik@shadow.eu.org>.
+
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.095393 seconds and 4 git commands to generate.