source: projects/specs/trunk/p/patch/patch-vl.spec @ 8243

Revision 8243, 6.1 KB checked in by Takemikaduchi, 10 years ago (diff)

rebuild or new upstream release

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