rpms/arm-gp2x-linux-zlib/FC-6 arm-gp2x-linux-zlib.spec, NONE, 1.1 zlib-1.2.3-autotools.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Tue Aug 7 14:06:27 UTC 2007
- Previous message (by thread): rpms/arm-gp2x-linux-SDL/F-7 arm-gp2x-linux-SDL.spec, NONE, 1.1 gp2x-SDL.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/arm-gp2x-linux-SDL/FC-6 arm-gp2x-linux-SDL.spec, NONE, 1.1 gp2x-SDL.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jwrdegoede
Update of /cvs/extras/rpms/arm-gp2x-linux-zlib/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4392
Modified Files:
.cvsignore sources
Added Files:
arm-gp2x-linux-zlib.spec zlib-1.2.3-autotools.patch
Log Message:
* Mon Aug 6 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2.3-6
- Use autotool patch from native zlib
--- NEW FILE arm-gp2x-linux-zlib.spec ---
%define target arm-gp2x-linux
%define target_prefix %{_prefix}/%{target}
Name: %{target}-zlib
Version: 1.2.3
Release: 6%{?dist}
License: zlib
Group: Development/Libraries
Summary: Cross Compiled zlib Library targeted at %{target}
URL: http://www.gzip.org/zlib/
Source0: http://downloads.sourceforge.net/libpng/zlib-%{version}.tar.bz2
Patch0: zlib-1.2.3-autotools.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
BuildRequires: %{target}-gcc libtool
BuildArch: noarch
Requires: %{target}-glibc
%description
This is a Cross Compiled version of the zlib Library, which can be used to
compile and link zlib using applications for the %{target} platform,
instead of for the native %{_arch} platform.
%prep
%setup -q -n zlib-%{version}
%patch0 -p1
autoreconf -i
%build
./configure --prefix=%{target_prefix} --build=`./config.guess` --host=%{target}
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{target_prefix}/lib/libz.la
# the autoxxx makefile doesn't install the headers
mkdir $RPM_BUILD_ROOT%{target_prefix}/include
install -p -m 644 zconf.h zlib.h $RPM_BUILD_ROOT%{target_prefix}/include
# despite us being noarch redhat-rpm-config insists on stripping our files
# and on running find-debuginfo.sh on our files
%define __debug_install_post %{nil}
%define __os_install_post /usr/lib/rpm/redhat/brp-compress
# stop rpm from claiming we provide and need native .so files <sigh>
%define _use_internal_dependency_generator 0
%define __find_requires %{nil}
%define __find_provides %{nil}
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root,-)
%doc ChangeLog FAQ README
%{target_prefix}/include/z*.h
%{target_prefix}/lib/libz*
%changelog
* Mon Aug 6 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2.3-6
- Use autotool patch from native zlib
* Sat Aug 4 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2.3-5
- Add missing %%defattr to %%files
- Update License tag for new Licensing Guidelines compliance
- Do NOT provide and require native .so files <sigh>
* Fri Jun 08 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2.3-4
- Various specfile cleanups / improvements
* Thu Jun 02 2007 Koos Termeulen <koostermeulen at gmail.com> 1.2.3-3
- Minor changes in flags and build
- Improved flagging
* Thu Jun 01 2007 Koos Termeulen <koostermeulen at gmail.com> 1.2.3-2.fc6
- Removed patch, I don't think we need it, correct me if I'm wrong
- Replaced build and install with dual install for static and shared library
* Thu May 10 2007 Emmanuel Chebesi <4thaLord at gmail.com> 1.2.3-1.fc6
- Build for arm-gp2x arch
zlib-1.2.3-autotools.patch:
--- NEW FILE zlib-1.2.3-autotools.patch ---
--- /dev/null 2007-02-20 10:06:12.587494888 +0100
+++ zlib-1.2.3/Makefile.am 2007-02-20 13:22:36.000000000 +0100
@@ -0,0 +1,19 @@
+lib_LTLIBRARIES = libz.la
+
+libz_la_SOURCES = \
+ adler32.c \
+ compress.c \
+ crc32.c \
+ gzio.c \
+ uncompr.c \
+ deflate.c \
+ trees.c \
+ zutil.c \
+ inflate.c \
+ infback.c \
+ inftrees.c \
+ inffast.c
+
+libz_la_LDFLAGS = \
+ -version-number 1:2:3
+
--- /dev/null 2007-02-20 10:06:12.587494888 +0100
+++ zlib-1.2.3/configure.ac 2007-02-20 13:22:46.000000000 +0100
@@ -0,0 +1,52 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ(2.59)
+AC_INIT([zlib], 1.2.3, [bugzilla.redhat.com])
+AC_CONFIG_SRCDIR([minigzip.c])
+AC_CONFIG_HEADER([config.h])
+AM_INIT_AUTOMAKE([-Wall foreign])
+
+# Checks for programs.
+AC_PROG_CXX
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+AC_PROG_LIBTOOL
+
+# Checks for libraries.
+# FIXME: Replace `main' with a function in `-lz':
+AC_CHECK_LIB([z], [main])
+
+# Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([fcntl.h limits.h malloc.h stddef.h stdlib.h string.h sys/file.h unistd.h utime.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_HEADER_STDBOOL
+AC_C_CONST
+AC_C_INLINE
+AC_TYPE_OFF_T
+AC_TYPE_SIZE_T
+AC_STRUCT_TM
+AC_C_VOLATILE
+AC_CHECK_TYPES([ptrdiff_t])
+
+# Checks for library functions.
+AC_FUNC_CHOWN
+AC_FUNC_ERROR_AT_LINE
+AC_FUNC_FSEEKO
+AC_FUNC_MALLOC
+AC_FUNC_MEMCMP
+AC_FUNC_MKTIME
+AC_FUNC_MMAP
+AC_FUNC_REALLOC
+AC_FUNC_STAT
+AC_FUNC_UTIME_NULL
+AC_FUNC_VPRINTF
+AC_CHECK_FUNCS([ftruncate memmove memset mkdir munmap strdup strerror strrchr strtol utime])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/arm-gp2x-linux-zlib/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 6 Aug 2007 21:15:36 -0000 1.1
+++ .cvsignore 7 Aug 2007 14:05:55 -0000 1.2
@@ -0,0 +1 @@
+zlib-1.2.3.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/arm-gp2x-linux-zlib/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 6 Aug 2007 21:15:36 -0000 1.1
+++ sources 7 Aug 2007 14:05:55 -0000 1.2
@@ -0,0 +1 @@
+dee233bf288ee795ac96a98cc2e369b6 zlib-1.2.3.tar.bz2
- Previous message (by thread): rpms/arm-gp2x-linux-SDL/F-7 arm-gp2x-linux-SDL.spec, NONE, 1.1 gp2x-SDL.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/arm-gp2x-linux-SDL/FC-6 arm-gp2x-linux-SDL.spec, NONE, 1.1 gp2x-SDL.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list