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

Revision 521, 5.6 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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