source: projects/specs/trunk/z/zip/zip-vl.spec @ 521

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

import VineSeed package specs

Line 
1Summary: A file compression and packaging utility compatible with PKZIP.
2Summary(ja): PKZIP 互換のファイル圧縮/パッケージングユーティリティ
3Name: zip
4Version: 2.32
5Release: 2%{?_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* Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.32-2
82- spec in utf-8
83
84* Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.32-1
85- updated to 2.32
86- added Patch2,5,6 and 8 from Fedora
87  * Mon Jan 17 2005 Ivana Varekova <varekova@redhat.com> 2.3-29
88  - Fix bug #142237 - problem with -d and ./files containing archives
89  * Mon Dec 22 2003 Lon Hohberger <lhh@redhat.com> 2.3-19
90  - Make temp file have umask 0066 mode (#112516)
91
92* Fri Jul 06 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.3-14vl4
93- rebuild with new toolchains.
94
95* Tue Jan 11 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.3-14vl3
96- rebuild for VineSeed
97
98* Fri Jan 07 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 2.3-14vl2.1
99- convert charcter code into euc-jp-unix.
100- added a security patch for CAN-2004-1010 from Gentoo (Patch1).
101
102* Mon Apr  7 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 2.3-14vl2
103- rebuild
104
105* Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org>
106- based on 2.3-14 from Rawhide and built for Vine Linux
107- added Japanese summary and description
108
109* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
110- automated rebuild
111
112* Thu May 23 2002 Tim Powers <timp@redhat.com>
113- automated rebuild
114
115* Tue Apr  2 2002 Trond Eivind Glomsr d <teg@redhat.com>
116- Don't strip explicitly
117
118* Wed Mar 13 2002 Trond Eivind Glomsr d <teg@redhat.com> 2.3-11
119- Add URL
120
121* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
122- Bump release + rebuild.
123
124* Thu Aug 25 2000 Bill Nottingham <notting@redhat.com>
125- add encryption code (#16878)
126
127* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
128- automatic rebuild
129
130* Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
131- rebuild in new environment
132
133* Mon Mar 13 2000 Bill Nottingham <notting@redhat.com>
134- spec file cleanups (#10143)
135
136* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
137- fix some perms
138
139* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
140- fix description
141- man pages are compressed
142
143* Tue Jan 11 2000 Bill Nottingham <notting@redhat.com>
144- update to 2.3
145
146* Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
147- update to 2.2
148
149* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
150- auto rebuild in the new build environment (release 8)
151
152* Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
153- updated text in the spec file
154
155* Fri Jan 15 1999 Cristian Gafton <gafton@redhat.com>
156- patch top build on the arm
157
158* Mon Dec 21 1998 Michael Maher <mike@redhat.com>
159- built package for 6.0
160
161* Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
162- build root
163
164* Fri May 08 1998 Prospector System <bugs@redhat.com>
165- translations modified for de, fr, tr
166
167* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
168- built against glibc
Note: See TracBrowser for help on using the repository browser.