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:
Ismail Dönmez 2013-04-05 14:09:02 +00:00 committed by Git OBS Bridge
parent 6ec36b0ab7
commit 6f88b5eafa
4 changed files with 21 additions and 26 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -16,17 +16,15 @@
#
Name: unzip
License: BSD3c
Group: Productivity/Archiving/Compression
AutoReqProv: on
Version: 6.00
Release: 12
Release: 0
%define fileversion 60
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/
Source: http://sourceforge.net/projects/infozip/files/UnZip%206.x%20%28latest%29/UnZip%206.0/%{name}%{fileversion}.tar.gz
Patch0: unzip.dif
Patch1: unzip-iso8859_2.patch
Patch3: unzip-optflags.patch
@ -36,9 +34,9 @@ Patch8: unzip-open_missing_mode.patch
Patch10: unzip-5.52-use_librcc.patch
Patch11: unzip-no-build-date.patch
Patch12: unzip-dont_call_isprint.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: librcc-devel
Suggests: librcc0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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
functionality. This version can also extract encrypted archives.
Authors:
--------
Info-ZIP <zip-bugs@lists.wku.edu>
%prep
%setup -q -n %{name}%{fileversion}
%patch0
@ -66,7 +58,7 @@ Authors:
%patch12
%build
export RPM_OPT_FLAGS="%optflags \
export RPM_OPT_FLAGS="%{optflags} \
-D_GNU_SOURCE -DRCC_LAZY -DWILD_STOP_AT_DIR \
-DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT \
-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
%install
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1}
for i in unzip funzip unzipsfx; \
do install $i $RPM_BUILD_ROOT%{_bindir};done;
ln -s unzip $RPM_BUILD_ROOT%{_bindir}/zipinfo
install unix/zipgrep $RPM_BUILD_ROOT%{_bindir}
do install $i %{buildroot}%{_bindir};done;
ln -s unzip %{buildroot}%{_bindir}/zipinfo
install unix/zipgrep %{buildroot}%{_bindir}
for i in man/*.1; \
do \
install -m 644 $i $RPM_BUILD_ROOT%{_mandir}/man1/
install -m 644 $i %{buildroot}%{_mandir}/man1/
done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_mandir}/man1/*

View File

@ -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

Binary file not shown.