Accepting request 162748 from home:namtrac:bugfix
- Cleanup spec file - Add Source URL, see https://en.opensuse.org/SourceUrls OBS-URL: https://build.opensuse.org/request/show/162748 OBS-URL: https://build.opensuse.org/package/show/Archiving/unzip?expand=0&rev=23
This commit is contained in:
parent
6ec36b0ab7
commit
6f88b5eafa
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 5 10:07:44 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Cleanup spec file
|
||||||
|
- Add Source URL, see https://en.opensuse.org/SourceUrls
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 5 13:57:24 CEST 2011 - pth@suse.de
|
Fri Aug 5 13:57:24 CEST 2011 - pth@suse.de
|
||||||
|
|
||||||
|
35
unzip.spec
35
unzip.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package unzip
|
# spec file for package unzip
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,17 +16,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: unzip
|
Name: unzip
|
||||||
License: BSD3c
|
|
||||||
Group: Productivity/Archiving/Compression
|
|
||||||
AutoReqProv: on
|
|
||||||
Version: 6.00
|
Version: 6.00
|
||||||
Release: 12
|
Release: 0
|
||||||
%define fileversion 60
|
%define fileversion 60
|
||||||
Summary: A program to unpack compressed files
|
Summary: A program to unpack compressed files
|
||||||
Source: %{name}%{fileversion}.tar.bz2
|
License: BSD-3-Clause
|
||||||
|
Group: Productivity/Archiving/Compression
|
||||||
Url: http://www.info-zip.org/
|
Url: http://www.info-zip.org/
|
||||||
|
Source: http://sourceforge.net/projects/infozip/files/UnZip%206.x%20%28latest%29/UnZip%206.0/%{name}%{fileversion}.tar.gz
|
||||||
Patch0: unzip.dif
|
Patch0: unzip.dif
|
||||||
Patch1: unzip-iso8859_2.patch
|
Patch1: unzip-iso8859_2.patch
|
||||||
Patch3: unzip-optflags.patch
|
Patch3: unzip-optflags.patch
|
||||||
@ -36,9 +34,9 @@ Patch8: unzip-open_missing_mode.patch
|
|||||||
Patch10: unzip-5.52-use_librcc.patch
|
Patch10: unzip-5.52-use_librcc.patch
|
||||||
Patch11: unzip-no-build-date.patch
|
Patch11: unzip-no-build-date.patch
|
||||||
Patch12: unzip-dont_call_isprint.patch
|
Patch12: unzip-dont_call_isprint.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: librcc-devel
|
BuildRequires: librcc-devel
|
||||||
Suggests: librcc0
|
Suggests: librcc0
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
UnZip is an extraction utility for archives compressed in .zip format
|
UnZip is an extraction utility for archives compressed in .zip format
|
||||||
@ -47,12 +45,6 @@ PKZIP(tm) and PKUNZIP utilities for MS-DOS and with Info-ZIP's own Zip
|
|||||||
program, our primary objectives have been portability and non-MS-DOS
|
program, our primary objectives have been portability and non-MS-DOS
|
||||||
functionality. This version can also extract encrypted archives.
|
functionality. This version can also extract encrypted archives.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Info-ZIP <zip-bugs@lists.wku.edu>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}%{fileversion}
|
%setup -q -n %{name}%{fileversion}
|
||||||
%patch0
|
%patch0
|
||||||
@ -66,7 +58,7 @@ Authors:
|
|||||||
%patch12
|
%patch12
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export RPM_OPT_FLAGS="%optflags \
|
export RPM_OPT_FLAGS="%{optflags} \
|
||||||
-D_GNU_SOURCE -DRCC_LAZY -DWILD_STOP_AT_DIR \
|
-D_GNU_SOURCE -DRCC_LAZY -DWILD_STOP_AT_DIR \
|
||||||
-DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT \
|
-DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT \
|
||||||
-DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
|
-DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
|
||||||
@ -78,19 +70,16 @@ make %{?_smp_mflags} -f unix/Makefile LF2="-ldl" linux_noasm
|
|||||||
make -f unix/Makefile check
|
make -f unix/Makefile check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
|
mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1}
|
||||||
for i in unzip funzip unzipsfx; \
|
for i in unzip funzip unzipsfx; \
|
||||||
do install $i $RPM_BUILD_ROOT%{_bindir};done;
|
do install $i %{buildroot}%{_bindir};done;
|
||||||
ln -s unzip $RPM_BUILD_ROOT%{_bindir}/zipinfo
|
ln -s unzip %{buildroot}%{_bindir}/zipinfo
|
||||||
install unix/zipgrep $RPM_BUILD_ROOT%{_bindir}
|
install unix/zipgrep %{buildroot}%{_bindir}
|
||||||
for i in man/*.1; \
|
for i in man/*.1; \
|
||||||
do \
|
do \
|
||||||
install -m 644 $i $RPM_BUILD_ROOT%{_mandir}/man1/
|
install -m 644 $i %{buildroot}%{_mandir}/man1/
|
||||||
done
|
done
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc %{_mandir}/man1/*
|
%doc %{_mandir}/man1/*
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d8ce25f541563a112b077b4d61cfabee81d3d98b99c9ce60cf51266703dce9b2
|
|
||||||
size 1063255
|
|
BIN
unzip60.tar.gz
(Stored with Git LFS)
Normal file
BIN
unzip60.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user