Accepting request 159895 from home:AndreasSchwab:ff
- zziplib-largefile.patch: Enable largefile support - Enable debug information OBS-URL: https://build.opensuse.org/request/show/159895 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zziplib?expand=0&rev=15
This commit is contained in:
parent
5254f2a807
commit
eb27d7fe48
13
zziplib-largefile.patch
Normal file
13
zziplib-largefile.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: configure.ac
|
||||
===================================================================
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -125,7 +125,7 @@ if test ".$ac_cv_sys_largefile_sensitive
|
||||
elif test ".$with_largefile" != ".no" ; then
|
||||
AC_MSG_RESULT(compiles library as 64bit off_t variant dnl
|
||||
- and renaming some function names)
|
||||
- LARGEFILE_CFLAGS="$LARGEFILE_CFLAGS -D_LARGEFILE_SOURCE"
|
||||
+ LARGEFILE_CFLAGS="$LARGEFILE_CFLAGS -D_ZZIP_LARGEFILE -D_LARGEFILE_SOURCE"
|
||||
AC_MSG_RESULT(..adding CFLAGS $LARGEFILE_CFLAGS)
|
||||
CFLAGS="$CFLAGS $LARGEFILE_CFLAGS"
|
||||
AC_MSG_RESULT(..adding 64 into RELEASE_INFO for the libraries)
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 16 21:37:21 UTC 2013 - schwab@linux-m68k.org
|
||||
|
||||
- zziplib-largefile.patch: Enable largefile support
|
||||
- Enable debug information
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 15 18:36:24 UTC 2012 - p.drouand@gmail.com
|
||||
|
||||
|
17
zziplib.spec
17
zziplib.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package zziplib
|
||||
#
|
||||
# Copyright (c) 2012 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,25 +16,25 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: zziplib
|
||||
%define lname libzzip-0-13
|
||||
Summary: Free Zip Compression Library with an Easy-to-Use API
|
||||
Version: 0.13.62
|
||||
Release: 0
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Version: 0.13.62
|
||||
Release: 0
|
||||
Url: http://zziplib.sourceforge.net
|
||||
Source0: http://prdownloads.sourceforge.net/zziplib/%{name}-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
Patch: zziplib-0.13.62.patch
|
||||
Patch1: zziplib-0.13.62-wronglinking.patch
|
||||
Patch2: zziplib-largefile.patch
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: dos2unix
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -52,10 +52,10 @@ ZZipLib is a library for dealing with zip and zip-like archives by
|
||||
using free algorithms of zlib.
|
||||
|
||||
%package devel
|
||||
License: LGPL-2.1+
|
||||
Summary: Free zip compression library with easy to use API
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version, zlib-devel
|
||||
Requires: %lname = %version
|
||||
Requires: zlib-devel
|
||||
|
||||
%description devel
|
||||
That are the header files needed for developing applications using
|
||||
@ -65,13 +65,14 @@ ZZipLib.
|
||||
%setup -q
|
||||
%patch
|
||||
%patch1
|
||||
%patch2
|
||||
# Fix wrong encoding
|
||||
dos2unix docs/README.MSVC6
|
||||
dos2unix docs/sdocbook.css
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure --enable-largefile --disable-static --with-pic
|
||||
%configure --with-largefile --enable-frame-pointer --disable-static --with-pic
|
||||
make %{?_smp_mflags} all;
|
||||
make doc;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user