]> git.pld-linux.org Git - packages/patch.git/blob - patch.spec
- added gzipping documentation and man pages,
[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:        2
6 Copyright:      GPL
7 Group:          Utilities/Text
8 Group(pl):      Narzêdzia/Tekst
9 Source:         ftp://prep.ai.mit.edu/pub/gnu/%{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 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
31 ./configure \
32         --prefix=/usr
33
34 make
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/usr/{bin,man/man1}
39
40 install -s patch $RPM_BUILD_ROOT/usr/bin
41 install patch.man $RPM_BUILD_ROOT/usr/man/man1/patch.1
42
43 gzip -9nf NEWS README AUTHORS ChangeLog \
44         $RPM_BUILD_ROOT/usr/man/man1/patch.1
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc {NEWS,README,AUTHORS,ChangeLog}.gz
52 %attr(755,root,root) /usr/bin/patch
53 /usr/man/man1/patch.1.gz
54
55 %changelog
56 * Sun Apr  4 1999 Piotr Czerwiñski <pius@pld.org.pl>
57   [2.5.3-2]
58 - added gzipping documentation and man pages,
59 - added Group(pl),
60 - removed man group from man pages,
61 - cosmetic changes for common l&f.
62  
63 * Wed Sep 23 1998 Andrzej Nakonieczny <dzemik@shadow.eu.org>
64   [2.5.3-1d]
65 - added pl translation.
66
67 * Sun May 17 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
68 - AUTHORS, ChangeLog added to %doc,
69 - added -q %setup parameter,
70 - spec file rewrited for using Buildroot,
71 - added %clean section,
72 - added %defattr and %attr macros in %files (allows building package from
73   non-root account).
74
75 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
76 - built against glibc
This page took 0.125403 seconds and 4 git commands to generate.