-
Notifications
You must be signed in to change notification settings - Fork 0
/
zip.spec
212 lines (158 loc) · 6.36 KB
/
zip.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
Summary: A file compression and packaging utility compatible with PKZIP
Name: zip
Version: 3.0
Release: 2%{?dist}
License: BSD
Group: Applications/Archiving
Source: http://downloads.sourceforge.net/infozip/zip30.tar.gz
URL: http://www.info-zip.org/Zip.html
# This patch will probably be merged to zip 3.1
# http://www.info-zip.org/board/board.pl?m-1249408491/
Patch1: zip-3.0-exec-shield.patch
# Not upstreamed.
Patch2: zip-3.0-currdir.patch
# Not upstreamed.
Patch3: zip-3.0-time.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
The zip program is a compression and file packaging utility. Zip is
analogous to a combination of the UNIX tar and compress commands and
is compatible with PKZIP (a compression and file packaging utility for
MS-DOS systems).
Install the zip package if you need to compress files using the zip
program.
%prep
%setup -q -n zip30
%patch1 -p1 -b .exec-shield
%patch2 -p1 -b .currdir
%patch3 -p1 -b .time
%build
make -f unix/Makefile prefix=%{_prefix} "CFLAGS_NOOPT=-I. -DUNIX $RPM_OPT_FLAGS" generic_gcc %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BULD_ROOT%{_mandir}/man1
make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \
MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README CHANGES TODO WHATSNEW WHERE LICENSE README.CR
%doc proginfo/algorith.txt
%{_bindir}/zipnote
%{_bindir}/zipsplit
%{_bindir}/zip
%{_bindir}/zipcloak
%{_mandir}/man1/zip.1*
%{_mandir}/man1/zipcloak.1*
%{_mandir}/man1/zipnote.1*
%{_mandir}/man1/zipsplit.1*
%changelog
* Fri Jul 8 2011 Mike Adams <[email protected] - 3.0-2
- Rebuild for GoOSe Linux 6
* Fri Nov 13 2009 Karel Klic <[email protected]> - 3.0-1
- New upstream version
- Removed zip23.patch, because ZMEM is not used anyway
- Removed zip-2.31-install.patch, problem solved in upstream
- Removed zip23-umask.patch, upstream uses mkstemp which solves the problem
- Removed zip-2.31-near-4GB.patch, because upstream version
handles large files well
- Removed zip-2.31-configure.patch, configure is better in the current version
- Removed zip-2.3-sf.patch, the error message doesn't exist in upstream anymore
- Removed zip-2.31-umask_mode.patch, which fixes also removed near-4GB patch
- Updated zip-2.31-time.patch for zip 3.0
- Updated exec-shield.patch for zip 3.0
- Updated zip-2.3-currdir.patch for zip 3.0
* Mon Jul 27 2009 Fedora Release Engineering <[email protected]> - 2.31-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <[email protected]> - 2.31-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Feb 20 2008 Fedora Release Engineering <[email protected]> - 2.31-6
- Autorebuild for GCC 4.3
* Wed Nov 14 2007 Ivana Varekova <[email protected]> - 2.31-5
- add S_IWOTH option
* Mon Nov 5 2007 Ivana Varekova <[email protected]> - 2.31-4
- fix "zip does not honor umask setting when creating archives"
- fix "zip segfaults by attempt to archive big file"
- spec file cleanup
* Wed Feb 7 2007 Ivana Varekova <[email protected]> - 2.31-3
- incorporate the next peckage review comment
* Tue Feb 6 2007 Ivana Varekova <[email protected]> - 2.31-2
- incorporate the package review
* Wed Jul 12 2006 Jesse Keating <[email protected]> - 2.31-1.2.2
- rebuild
* Fri Feb 10 2006 Jesse Keating <[email protected]> - 2.31-1.2.1
- bump again for double-long bug on ppc(64)
* Tue Feb 07 2006 Jesse Keating <[email protected]> - 2.31-1.2
- rebuilt for new gcc4.1 snapshot and glibc changes
* Fri Dec 09 2005 Jesse Keating <[email protected]>
- rebuilt
* Thu Nov 10 2005 Ivana Varekova <[email protected]> 2.31-1
- update to 2.31
* Mon Mar 7 2005 Ivana Varekova <[email protected]> 2.3-30
- rebuilt
* Mon Jan 17 2005 Ivana Varekova <[email protected]> 2.3-29
- Fix bug #142237 - problem with -d and ./files containing archives
* Mon Jun 21 2004 Lon Hohberger <[email protected]> 2.3-24
- Extend max file/archive size to 2^32-8193 (4294959103) bytes
- Include better debugging output for configure script
* Tue Jun 15 2004 Elliot Lee <[email protected]>
- rebuilt
* Fri Mar 19 2004 Lon Hohberger <[email protected]> 2.3-22
- Fix typos
* Tue Feb 17 2004 Lon Hohberger <[email protected]> 2.3-21
- Include LICENSE file per bugzilla #116004
* Fri Feb 13 2004 Elliot Lee <[email protected]>
- rebuilt
* Mon Dec 22 2003 Lon Hohberger <[email protected]> 2.3-19
- Make temp file have umask 0066 mode (#112516)
* Fri Oct 24 2003 Lon Hohberger <[email protected]> 2.3-18
- Incorporate Arjan's exec-shield patch for i386
* Wed Jun 04 2003 Elliot Lee <[email protected]>
- rebuilt
* Wed Jan 22 2003 Tim Powers <[email protected]>
- rebuilt
* Thu Dec 19 2002 Tim Powers <[email protected]>
- bump and rebuild
* Fri Jun 21 2002 Tim Powers <[email protected]>
- automated rebuild
* Thu May 23 2002 Tim Powers <[email protected]>
- automated rebuild
* Tue Apr 2 2002 Trond Eivind Glomsrød <[email protected]>
- Don't strip explicitly
* Wed Mar 13 2002 Trond Eivind Glomsrød <[email protected]> 2.3-11
- Add URL
* Sun Jun 24 2001 Elliot Lee <[email protected]>
- Bump release + rebuild.
* Thu Aug 25 2000 Bill Nottingham <[email protected]>
- add encryption code (#16878)
* Thu Jul 13 2000 Prospector <[email protected]>
- automatic rebuild
* Sun Jun 11 2000 Bill Nottingham <[email protected]>
- rebuild in new environment
* Mon Mar 13 2000 Bill Nottingham <[email protected]>
- spec file cleanups (#10143)
* Mon Feb 7 2000 Bill Nottingham <[email protected]>
- fix some perms
* Wed Feb 02 2000 Cristian Gafton <[email protected]>
- fix description
- man pages are compressed
* Tue Jan 11 2000 Bill Nottingham <[email protected]>
- update to 2.3
* Fri Jul 30 1999 Bill Nottingham <[email protected]>
- update to 2.2
* Sun Mar 21 1999 Cristian Gafton <[email protected]>
- auto rebuild in the new build environment (release 8)
* Thu Mar 18 1999 Cristian Gafton <[email protected]>
- updated text in the spec file
* Fri Jan 15 1999 Cristian Gafton <[email protected]>
- patch top build on the arm
* Mon Dec 21 1998 Michael Maher <[email protected]>
- built package for 6.0
* Mon Aug 10 1998 Jeff Johnson <[email protected]>
- build root
* Fri May 08 1998 Prospector System <[email protected]>
- translations modified for de, fr, tr
* Thu Jul 10 1997 Erik Troan <[email protected]>
- built against glibc