source: projects/specs/branches/6/z/zip/zip-vl.spec @ 3312

Revision 3312, 4.8 KB checked in by daisuke, 13 years ago (diff)

zip: rebuild for Vine6

Line 
1Summary: A file compression and packaging utility compatible with PKZIP.
2Summary(ja): PKZIP 互換のファイル圧縮/パッケージングユーティリティ
3Name: zip
4Version: 2.32
5Release: 3%{?_dist_release}
6License: BSD
7Group: Applications/Archiving
8Source: http://ftp.info-zip.org/pub/infozip/src/zip232.tgz
9Source1: ftp://ftp.freesoftware.com/pub/infozip/src/zcrypt29.tar.gz
10URL: http://www.info-zip.org/pub/infozip/Zip.html
11Patch0: zip23.patch
12Patch1: exec-shield.patch
13Patch2: zip23-umask.patch
14Patch5: zip-2.32-currdir.patch
15Patch6: zip-2.31-install.patch
16Patch8: zip-2.31-configure.patch
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19
20
21%description
22The zip program is a compression and file packaging utility.  Zip is
23analogous to a combination of the UNIX tar and compress commands and
24is compatible with PKZIP (a compression and file packaging utility for
25MS-DOS systems).
26
27Install the zip package if you need to compress files using the zip
28program.
29
30
31%description -l ja
32zip プログラムはファイル圧縮/パッケージングユーティリティです.
33zip は UNIX の tar と compress の組合せに似たもので,かつ
34MS-DOS システムで広く使われる PKZIP と互換性があります.
35
36zip プログラムを使ってファイルを圧縮したい場合は
37zip パッケージをインストールして下さい.
38
39
40%prep
41%setup -q -a 1
42%patch0 -p1 -b .zip
43%patch1 -p1 -b .zip
44%patch2 -p1 -b .umask
45%patch5 -p1 -b .currdir
46%patch6 -p1 -b .install
47%patch8 -p1 -b .lhh
48
49%build
50make -f unix/Makefile prefix=%{_prefix} "CFLAGS=$RPM_OPT_FLAGS -I. -DUNIX" generic_gcc %{?_smp_mflags}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54mkdir -p $RPM_BUILD_ROOT%{_bindir}
55mkdir -p $RPM_BULD_ROOT%{_mandir}/man1
56
57make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \
58        MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install
59
60pushd $RPM_BUILD_ROOT
61for n in zipnote zipsplit zip zipcloak ; do
62    chmod 755 ./usr/bin/$n
63done
64popd
65
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70
71%files
72%defattr(-,root,root)
73%doc README CHANGES TODO WHATSNEW WHERE LICENSE README.CR proginfo/algorith.txt
74%{_bindir}/zipnote
75%{_bindir}/zipsplit
76%{_bindir}/zip
77%{_bindir}/zipcloak
78%{_mandir}/man1/zip.1*
79
80%changelog
81* Tue Apr 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.32-3
82- rebuild for Vine 6
83
84* Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.32-2
85- spec in utf-8
86
87* Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.32-1
88- updated to 2.32
89- added Patch2,5,6 and 8 from Fedora
90  * Mon Jan 17 2005 Ivana Varekova <varekova@redhat.com> 2.3-29
91  - Fix bug #142237 - problem with -d and ./files containing archives
92  * Mon Dec 22 2003 Lon Hohberger <lhh@redhat.com> 2.3-19
93  - Make temp file have umask 0066 mode (#112516)
94
95* Fri Jul 06 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.3-14vl4
96- rebuild with new toolchains.
97
98* Tue Jan 11 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.3-14vl3
99- rebuild for VineSeed
100
101* Fri Jan 07 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 2.3-14vl2.1
102- convert charcter code into euc-jp-unix.
103- added a security patch for CAN-2004-1010 from Gentoo (Patch1).
104
105* Mon Apr  7 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 2.3-14vl2
106- rebuild
107
108* Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org>
109- based on 2.3-14 from Rawhide and built for Vine Linux
110- added Japanese summary and description
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  2 2002 Trond Eivind Glomsr d <teg@redhat.com>
119- Don't strip explicitly
120
121* Wed Mar 13 2002 Trond Eivind Glomsr d <teg@redhat.com> 2.3-11
122- Add URL
123
124* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
125- Bump release + rebuild.
126
127* Thu Aug 25 2000 Bill Nottingham <notting@redhat.com>
128- add encryption code (#16878)
129
130* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
131- automatic rebuild
132
133* Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
134- rebuild in new environment
135
136* Mon Mar 13 2000 Bill Nottingham <notting@redhat.com>
137- spec file cleanups (#10143)
138
139* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
140- fix some perms
141
142* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
143- fix description
144- man pages are compressed
145
146* Tue Jan 11 2000 Bill Nottingham <notting@redhat.com>
147- update to 2.3
148
149* Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
150- update to 2.2
151
152* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
153- auto rebuild in the new build environment (release 8)
154
155* Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
156- updated text in the spec file
157
158* Fri Jan 15 1999 Cristian Gafton <gafton@redhat.com>
159- patch top build on the arm
160
161* Mon Dec 21 1998 Michael Maher <mike@redhat.com>
162- built package for 6.0
163
164* Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
165- build root
166
167* Fri May 08 1998 Prospector System <bugs@redhat.com>
168- translations modified for de, fr, tr
169
170* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
171- built against glibc
Note: See TracBrowser for help on using the repository browser.