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

Revision 6304, 6.0 KB checked in by Takemikaduchi, 12 years ago (diff)

ImageMagick?, libarchive, libogg, libvorbis, udisks2: new upstream release
cmake, gvfs, kdeutils, totem-pl-parser: rebuild with libarchive-3.0.4
cvs, pam, patch, t1lib: rebuild package

Line 
1Summary: Utility for modifying/upgrading files
2Summary(ja): ファイルを修正/更新するためのユーティリティ
3Name: patch
4Version: 2.6.1
5Release: 3%{?_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* Mon May  7 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.1-3
75- add patch2 for fix CVE-2010-4651 (dir traversal) from fc13
76- fix using %%{?_smp_mflags} in make section
77
78* Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 2.6.1-2
79- build on current VineSeed
80- add Vendor adn Distribution tags
81
82* Sat Jan 16 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.1-1
83- new upstream release
84- added %%check section
85
86* Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.4-30
87- added Patch8 from Fedora development
88  * Fri Feb  8 2008 Tim Waugh <twaugh@redhat.com> 2.5.4-32
89  - Applied patch from 2.5.9 to allow spaces in filenames (bug #431887).
90- applied new versioning policy
91- spec in UTF-8
92
93* Thu Jun  8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.4-29vl1
94- added Patch6, 8 from Fedora development
95  * Wed Sep  7 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-27
96  - Applied patch from Ulrich Drepper to fix string overread (bug #167675).
97  * Thu Aug 11 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-25
98  - Fixed CRLF detection (bug #154283).
99  * Wed May  4 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-24
100  - Reverted last change (bug #154283, bug #156762).
101  * Fri Apr 29 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-23
102  - Applied patch from Toshio Kuratomi to avoid problems with DOS-format
103    newlines (bug #154283).
104
105* Sat Apr 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.5.4-19vl1
106- rebuild
107
108* Tue Apr  8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 2.5.4-15vl2
109- rebuild
110
111* Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.5.4-15vl1
112- based on 2.5.4-15 from Rawhide and built for Vine Linux
113- added Japanese summary and description
114
115* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
116- rebuilt in current collinst
117
118* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
119- automated rebuild
120
121* Thu May 23 2002 Tim Powers <timp@redhat.com>
122- automated rebuild
123
124* Tue Apr  9 2002 Tim Waugh <twaugh@redhat.com> 2.5.4-12
125- Fix error reporting when given bad options (bug #62981).
126
127* Tue Mar  5 2002 Tim Waugh <twaugh@redhat.com> 2.5.4-11
128- s/Copyright:/License:/.
129- Fix -D behaviour (bug #60688).
130
131* Tue May 29 2001 Tim Waugh <twaugh@redhat.com> 2.5.4-10
132- Merge Mandrake patch:
133  - fix possible segfault
134
135* Fri Dec  1 2000 Tim Waugh <twaugh@redhat.com>
136- Rebuild because of fileutils bug.
137
138* Thu Nov  2 2000 Tim Waugh <twaugh@redhat.com>
139- use .orig as default suffix, as per man page and previous behaviour
140  (bug #20202).
141- use better patch for this, from maintainer.
142
143* Wed Oct  4 2000 Tim Waugh <twaugh@redhat.com>
144- actually use the RPM_OPT_FLAGS
145
146* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
147- automatic rebuild
148
149* Tue Jun 13 2000 Trond Eivind Glomsr <teg@redhat.com>
150- Use %%makeinstall, %%{_tmppath} and %%{_mandir}
151
152* Fri May 12 2000 Trond Eivind Glomsr <teg@redhat.com>
153- added URL
154
155* Wed Feb 16 2000 Bernhard Rosenkraenzer <bero@redhat.com>
156- 2.5.4
157- Fix up LFS support on Alpha (Bug #5732)
158
159* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
160- handle compressed manpages
161
162* Sun Jun 06 1999 Alan Cox <alan@redhat.com>
163- Fix the case where stderr isnt flushed for ask(). Now the 'no such file'
164  appears before the skip patch question, not at the very end, Doh!
165
166* Mon Mar 22 1999 Jeff Johnson <jbj@redhat.com>
167- (ultra?) sparc was getting large file system support.
168
169* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
170- auto rebuild in the new build environment (release 7)
171
172* Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
173- build against glibc 2.1
174
175* Tue Sep  1 1998 Jeff Johnson <jbj@redhat.com>
176- bump release to preserve newer than back-ported 4.2.
177
178* Tue Jun 09 1998 Prospector System <bugs@redhat.com>
179- translations modified for de, fr
180
181* Tue Jun  9 1998 Jeff Johnson <jbj@redhat.com>
182- Fix for problem #682 segfault.
183
184* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
185- translations modified for de, fr, tr
186
187* Tue Apr 07 1998 Cristian Gafton <gafton@redhat.com>
188- added buildroot
189
190* Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
191- updated to 2.5
192
193* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
194- built against glibc
Note: See TracBrowser for help on using the repository browser.