Accepting request 162695 from Archiving

- Add Source URL, see http://en.opensuse.org/SourceUrls
- Cleanup spec file (forwarded request 162694 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/162695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zip?expand=0&rev=18
This commit is contained in:
Stephan Kulow 2013-04-05 11:17:10 +00:00 committed by Git OBS Bridge
commit 211a057ffa
4 changed files with 21 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8889b1d6e39764070137121fe346c5a05c09dc21b7f3291b493cc5b483e3bca8
size 916683

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 5 07:31:51 UTC 2013 - idonmez@suse.com
- Add Source URL, see http://en.opensuse.org/SourceUrls
- Cleanup spec file
-------------------------------------------------------------------
Fri May 21 18:52:08 CEST 2010 - pth@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package zip (Version 3.0)
# spec file for package zip
#
# Copyright (c) 2010 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
@ -15,39 +15,30 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: zip
License: BSD-3-Clause
Group: Productivity/Archiving/Compression
Provides: crzip
Obsoletes: crzip
AutoReqProv: on
Version: 3.0
Release: 1
Release: 0
%define file_version 30
Summary: File compression program
License: BSD-3-Clause
Group: Productivity/Archiving/Compression
Url: http://www.info-zip.org/
Source: %name-%version.tar.bz2
Source: http://downloads.sourceforge.net/project/infozip/Zip%203.x%20%28latest%29/3.0/zip30.tar.gz
Patch2: zip-3.0-iso8859_2.patch
Patch3: zip-3.0-add_options_to_help.patch
Patch4: zip-3.0-nonexec-stack.patch
Patch5: zip-3.0-optflags.patch
Patch6: zip-3.0-tempfile.patch
Patch7: zip-notimestamp.patch
Provides: crzip = %{version}
Obsoletes: crzip < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Zip is a compression and file packaging utility. It is compatible with
PKZIP(tm) 2.04g (Phil Katz ZIP) for MS-DOS systems.
Authors:
--------
Info-ZIP <zip-bugs@lists.wku.edu>
%prep
%setup -q -n zip%{file_version}
%patch2
@ -58,15 +49,12 @@ Authors:
%patch7
%build
make %{?jobs:-j%jobs} -f unix/Makefile prefix=/usr CC="gcc $RPM_OPT_FLAGS -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" generic_gcc
make %{?_smp_mflags} -f unix/Makefile prefix=/usr CC="gcc %{optflags} -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" generic_gcc
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
make install -f unix/Makefile BINDIR=$RPM_BUILD_ROOT/usr/bin MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
mkdir -p %{buildroot}%{_prefix}/bin
mkdir -p %{buildroot}%{_mandir}/man1
make install -f unix/Makefile BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir}/man1
%files
%defattr(-,root,root)

BIN
zip30.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.