diff --git a/zip-3.0.tar.bz2 b/zip-3.0.tar.bz2 deleted file mode 100644 index bd75506..0000000 --- a/zip-3.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8889b1d6e39764070137121fe346c5a05c09dc21b7f3291b493cc5b483e3bca8 -size 916683 diff --git a/zip.changes b/zip.changes index e595000..406903d 100644 --- a/zip.changes +++ b/zip.changes @@ -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 diff --git a/zip.spec b/zip.spec index c3987e9..1eacda7 100644 --- a/zip.spec +++ b/zip.spec @@ -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 - %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) diff --git a/zip30.tar.gz b/zip30.tar.gz new file mode 100644 index 0000000..89d689c --- /dev/null +++ b/zip30.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369 +size 1118845