forked from altlinux/specs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlha.spec
121 lines (92 loc) · 3.41 KB
/
lha.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
Name: lha
Version: 1.14i
Release: alt2.qa1
Serial: 2
%define addver -ac20050924p1
%define fullname %name-%version%addver
Summary: An archiving and compression utility for LHarc format archives
License: freeware
Group: Archiving/Compression
Url: http://www2m.biglobe.ne.jp/~dolphin/lha/lha-unix.htm
Source: http://www2m.biglobe.ne.jp/~dolphin/lha/prog/%fullname.tar.gz
Patch1: %name-1.14i-make.patch
Patch2: %name-1.14e-ext.patch
Patch3: %name-1.14i-fix-includes.patch.bz2
Patch4: %name-114i-rh-symlink.patch
Patch5: %name-114i-rh-sec.patch
Packager: Stanislav Ievlev <[email protected]>
%description
LhA is an archiving and compression utility for LHarc format archive.
LhA is mostly used in the Amiga and in the DOS world, but can be used
under Linux to extract files from .lha and .lzh archives.
Install the LhA package if you need to extract files from .lha or .lzh
Amiga or DOS archives, or if you have to build LhA archives to
be read on the Amiga or DOS.
%prep
%setup -q -n %fullname
#patch1 -p1
#patch2 -p0
%patch3 -p1
#patch4 -p1
#patch5 -p1
%build
%define _optlevel 9
%add_optflags %optflags_notraceback
%configure
%make_build OPTIMIZE="%optflags"
%install
install -pD -m0755 src/%name $RPM_BUILD_ROOT%_bindir/%name
%files
%_bindir/*
%changelog
* Mon Apr 15 2013 Dmitry V. Levin (QA) <[email protected]> 2:1.14i-alt2.qa1
- NMU: rebuilt for debuginfo.
* Sun Apr 15 2007 Michael Shigorin <[email protected]> 2:1.14i-alt2
- ac20050924p1: security fixes for CVE-2006-4335, CVE-2006-4337,
CVE-2006-4338 (DoS, system access)
- removed patch1, patch2, patch4, patch5 (didn't apply)
* Sat May 08 2004 Michael Shigorin <[email protected]> 2:1.14i-alt1
- security fixes for CAN-2004-0234, CAN-2004-0235 (patch taken from RH)
- symlink patch from the same source
- spec cleanup
(little modification by inger)
* Wed Oct 23 2002 Stanislav Ievlev <[email protected]> 1:1.14i-ipl3mdk
- rebuild with gcc3
- added real 114i (instead 114f) tarball ;)
* Wed Mar 06 2002 Stanislav Ievlev <[email protected]> 1:1.14i-ipl2mdk
- Rebuilt
* Tue Jan 23 2001 Dmitry V. Levin <[email protected]> 1.14i-ipl1mdk
- 1.14i
* Wed Jan 17 2001 Dmitry V. Levin <[email protected]> 1.14f-ipl4mdk
- RE adaptions (beware: whole code is written insecure).
* Wed Aug 30 2000 Etienne Faure <[email protected]> 1.14f-4mdk
- rebuilt with _mandir macro
* Sat Mar 25 2000 Daouda Lo <[email protected]> 1.14f-3mdk
- fix group
* Wed Jan 12 2000 Pixel <[email protected]>
- fix build as nonroot (owner of the man page)
* Wed Nov 03 1999 Pablo Saratxaga <[email protected]
- added japanese man page
- upgraded to 1.14f
* Mon Jul 28 1999 Giuseppe Ghibò <[email protected]>
- added patch to handle .lha extensions.
- fixed make patch.
- upgraded to version 1.14e.
* Sun Mar 21 1999 Cristian Gafton <[email protected]>
- auto rebuild in the new build environment (release 11)
* Tue Jan 24 1999 Michael Maher <[email protected]>
- this package will never change.
- changed groups
* Thu Dec 17 1998 Michael Maher <[email protected]>
- built package for 6.0
* Wed Sep 23 1998 Jeff Johnson <[email protected]>
- add english doco.
* Sat Aug 15 1998 Jeff Johnson <[email protected]>
- build root
* Mon Apr 27 1998 Prospector System <[email protected]>
- translations modified for de, fr, tr
* Tue Oct 21 1997 Donnie Barnes <[email protected]>
- removed man page, wasn't ASCII and caused more harm than good
- spec file cleanups
* Thu Jul 10 1997 Erik Troan <[email protected]>
- built against glibc