]> git.pld-linux.org Git - packages/patch.git/blob - patch.spec
- unset CPPFLAGS on (ultra)sparc to avoid large file system support (seems
[packages/patch.git] / patch.spec
1 Summary:        GNU patch Utilities
2 Summary(pl):    GNU patch
3 Name:           patch
4 Version:        2.5.3
5 Release:        6
6 Copyright:      GPL
7 Group:          Utilities/Text
8 Group(pl):      Narzêdzia/Tekst
9 Source:         ftp://prep.ai.mit.edu/pub/gnu/patch/%{name}-%{version}.tar.gz
10 Buildroot:      /tmp/%{name}-%{version}-root
11
12 %description
13 Patch is a program to aid in patching programs.  :-) You can use it to apply
14 'diff's.  Basically, you can use diff to note the changes in a file, send
15 the changes to someone who has the original file, and they can use 'patch'
16 to combine your changes to their original.
17
18 %description -l pl
19 Patch jest programem umo¿liwiaj±cym nak³adanie ³atek (patchy) na pliki. Przy
20 pomocy programu diff mo¿esz sprawdziæ jakie zmiany zosta³y zrobione w pliku,
21 zmiany te wys³aæ do kogo¶, kto posiada oryginalny plik i przy pomocy programu
22 patch na³o¿yæ je. Daje to mo¿liwo¶æ rozprowadzania ma³ych plików, w których
23 s± jedynie zmiany, jakie zosta³y wprowadzone w stosunku do orginalnych
24 plików.
25
26 %prep
27 %setup -q
28
29 %build
30 chmod +w configure
31 autoconf
32
33 # XXX unset CPPFLAGS on (ultra)sparc to avoid large file system support
34 %ifarch sparc sparc64
35 CPPFLAGS=""
36 export CPPFLAGS
37 %endif
38
39 LDFLAGS="-s"; export LDFLAGS
40 %configure
41
42 make
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 make install install-strip \
48         bindir=$RPM_BUILD_ROOT%{_bindir} \
49         man1dir=$RPM_BUILD_ROOT%{_mandir}/man1
50
51 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*\
52         NEWS README AUTHORS ChangeLog
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc {NEWS,README,AUTHORS,ChangeLog}.gz
60
61 %attr(755,root,root) %{_bindir}/*
62 %{_mandir}/man1/*
This page took 0.070256 seconds and 3 git commands to generate.