source: projects/specs/branches/6/p/patch/patch-vl.spec @ 3455

Revision 3455, 5.8 KB checked in by iwaim, 13 years ago (diff)

patch 2.6.1-2

Line 
1Summary: Utility for modifying/upgrading files
2Summary(ja): ファイルを修正/更新するためのユーティリティ
3Name: patch
4Version: 2.6.1
5Release: 2%{?_dist_release}
6License: GPLv2+
7URL: http://www.gnu.org/software/patch/patch.html
8Group: Development/Tools
9Source: ftp://ftp.gnu.org/gnu/patch/patch-%{version}.tar.bz2
10Patch1: patch-2.5.4-sigsegv.patch
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: ed
14
15Vendor: Project Vine
16Distribution: Vine Linux
17
18%description
19The patch program applies diff files to originals.  The diff command
20is used to compare an original to a changed file.  Diff lists the
21changes made to the file.  A person who has the original file can then
22use the patch command with the diff file to add the changes to their
23original file (patching the file).
24
25Patch should be installed because it is a common way of upgrading
26applications.
27
28%description -l ja
29patch プログラムは,diff ファイルをオリジナルファイルに適用します.
30diff コマンドはオリジナルファイルと変更されたファイルとを比較する
31のに使われます.diff はファイルになされた変更を出力します.
32オリジナルファイルを持っていれば,この patch コマンドを使って,
33diff が出力したファイルを適用することによりオリジナルファイルを
34更新することが出来ます (ファイルに patch を適用する,と言います).
35
36patch は,アプリケーションをアップグレードする際に良く使われますので
37是非インストールしておきましょう.
38
39
40%prep
41%setup -q
42%patch1 -p1 -b .sigsegv
43
44%build
45CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
46%configure
47
48# XXX unset CPPFLAGS on (ultra?)sparc to avoid large file system support
49%ifarch sparc sparc64
50make CPPFLAGS=""
51%else
52make %{?smp_mflags}
53%endif
54
55%check
56make check
57
58%install
59rm -rf $RPM_BUILD_ROOT
60%makeinstall
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(-,root,root,-)
67%doc NEWS README
68%{_bindir}/*
69%{_mandir}/*/*
70
71%changelog
72* Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 2.6.1-2
73- build on current VineSeed
74- add Vendor adn Distribution tags
75
76* Sat Jan 16 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.1-1
77- new upstream release
78- added %%check section
79
80* Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.4-30
81- added Patch8 from Fedora development
82  * Fri Feb  8 2008 Tim Waugh <twaugh@redhat.com> 2.5.4-32
83  - Applied patch from 2.5.9 to allow spaces in filenames (bug #431887).
84- applied new versioning policy
85- spec in UTF-8
86
87* Thu Jun  8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.4-29vl1
88- added Patch6, 8 from Fedora development
89  * Wed Sep  7 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-27
90  - Applied patch from Ulrich Drepper to fix string overread (bug #167675).
91  * Thu Aug 11 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-25
92  - Fixed CRLF detection (bug #154283).
93  * Wed May  4 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-24
94  - Reverted last change (bug #154283, bug #156762).
95  * Fri Apr 29 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-23
96  - Applied patch from Toshio Kuratomi to avoid problems with DOS-format
97    newlines (bug #154283).
98
99* Sat Apr 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.5.4-19vl1
100- rebuild
101
102* Tue Apr  8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 2.5.4-15vl2
103- rebuild
104
105* Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.5.4-15vl1
106- based on 2.5.4-15 from Rawhide and built for Vine Linux
107- added Japanese summary and description
108
109* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
110- rebuilt in current collinst
111
112* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
113- automated rebuild
114
115* Thu May 23 2002 Tim Powers <timp@redhat.com>
116- automated rebuild
117
118* Tue Apr  9 2002 Tim Waugh <twaugh@redhat.com> 2.5.4-12
119- Fix error reporting when given bad options (bug #62981).
120
121* Tue Mar  5 2002 Tim Waugh <twaugh@redhat.com> 2.5.4-11
122- s/Copyright:/License:/.
123- Fix -D behaviour (bug #60688).
124
125* Tue May 29 2001 Tim Waugh <twaugh@redhat.com> 2.5.4-10
126- Merge Mandrake patch:
127  - fix possible segfault
128
129* Fri Dec  1 2000 Tim Waugh <twaugh@redhat.com>
130- Rebuild because of fileutils bug.
131
132* Thu Nov  2 2000 Tim Waugh <twaugh@redhat.com>
133- use .orig as default suffix, as per man page and previous behaviour
134  (bug #20202).
135- use better patch for this, from maintainer.
136
137* Wed Oct  4 2000 Tim Waugh <twaugh@redhat.com>
138- actually use the RPM_OPT_FLAGS
139
140* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
141- automatic rebuild
142
143* Tue Jun 13 2000 Trond Eivind Glomsr <teg@redhat.com>
144- Use %%makeinstall, %%{_tmppath} and %%{_mandir}
145
146* Fri May 12 2000 Trond Eivind Glomsr <teg@redhat.com>
147- added URL
148
149* Wed Feb 16 2000 Bernhard Rosenkraenzer <bero@redhat.com>
150- 2.5.4
151- Fix up LFS support on Alpha (Bug #5732)
152
153* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
154- handle compressed manpages
155
156* Sun Jun 06 1999 Alan Cox <alan@redhat.com>
157- Fix the case where stderr isnt flushed for ask(). Now the 'no such file'
158  appears before the skip patch question, not at the very end, Doh!
159
160* Mon Mar 22 1999 Jeff Johnson <jbj@redhat.com>
161- (ultra?) sparc was getting large file system support.
162
163* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
164- auto rebuild in the new build environment (release 7)
165
166* Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
167- build against glibc 2.1
168
169* Tue Sep  1 1998 Jeff Johnson <jbj@redhat.com>
170- bump release to preserve newer than back-ported 4.2.
171
172* Tue Jun 09 1998 Prospector System <bugs@redhat.com>
173- translations modified for de, fr
174
175* Tue Jun  9 1998 Jeff Johnson <jbj@redhat.com>
176- Fix for problem #682 segfault.
177
178* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
179- translations modified for de, fr, tr
180
181* Tue Apr 07 1998 Cristian Gafton <gafton@redhat.com>
182- added buildroot
183
184* Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
185- updated to 2.5
186
187* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
188- built against glibc
Note: See TracBrowser for help on using the repository browser.