Hello community, here is the log from the commit of package physfs checked in at Fri Apr 6 00:27:58 CEST 2007. -------- --- physfs/physfs.changes 2007-04-02 15:26:22.000000000 +0200 +++ /mounts/work_src_done/STABLE/physfs/physfs.changes 2007-04-05 09:39:09.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Apr 5 09:31:46 CEST 2007 - lnussel@suse.de + +- build test program with readline support +- install man pages into proper directory +- use %jobs + +------------------------------------------------------------------- New: ---- physfs-1.0.1-ncurses.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ physfs.spec ++++++ --- /var/tmp/diff_new_pack.BC1040/_old 2007-04-06 00:27:41.000000000 +0200 +++ /var/tmp/diff_new_pack.BC1040/_new 2007-04-06 00:27:41.000000000 +0200 @@ -11,16 +11,17 @@ # norootforbuild Name: physfs -BuildRequires: doxygen zlib-devel -URL: //www.icculus.org/physfs/ +BuildRequires: doxygen readline-devel zlib-devel +URL: http://www.icculus.org/physfs/ Summary: PhysicsFS file abstraction layer for games Version: 1.0.1 -Release: 43 +Release: 44 Source0: %{name}-%{version}.tar.gz License: zlib/libpng License Group: System/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: %{_prefix} +Patch: physfs-1.0.1-ncurses.diff %description PhysicsFS is a library to provide abstract access to various archives. @@ -50,7 +51,8 @@ %package devel Summary: Libraries, includes and more to develop PhysicsFS applications Group: System/Libraries -Requires: %{name} +Requires: %{name} = %{version} +Requires: zlib-devel %description devel PhysicsFS is a library to provide abstract access to various archives. @@ -78,23 +80,28 @@ Ryan C. Gordon %prep -%setup +%setup -q +%patch -p1 %build test -f NEWS || touch NEWS test -f README || touch README test -f AUTHORS || touch AUTHORS test -f ChangeLog || touch ChangeLog +# just to be sure... +rm zlib123/zutil.* autoreconf -fi CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="${RPM_OPT_FLAGS}" ./configure \ --prefix=%{prefix} \ - --libdir=%{prefix}/%_lib -make + --libdir=%{_libdir} +make %{?jobs:-j%jobs} doxygen %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT +install -d -m755 %{buildroot}%{_mandir} +cp -a docs/man/* %{buildroot}%{_mandir} %post %run_ldconfig @@ -108,17 +115,22 @@ %files %defattr(-,root,root) %doc CHANGELOG CREDITS INSTALL LICENSE TODO zlib_license_change.txt -/usr/bin/test_physfs +%{_bindir}/test_physfs %{_libdir}/*so.* %files devel %defattr(-,root,root) -%doc docs/* +%doc docs/html +%{_mandir}/man*/* %{_libdir}/*a %{_libdir}/*.so -/usr/include/physfs.h +%{_includedir}/physfs.h %changelog +* Thu Apr 05 2007 - lnussel@suse.de +- build test program with readline support +- install man pages into proper directory +- use %%jobs * Mon Apr 02 2007 - rguenther@suse.de - add zlib-devel BuildRequires * Wed Jan 25 2006 - mls@suse.de ++++++ physfs-1.0.1-ncurses.diff ++++++ Index: physfs-1.0.1/configure.in =================================================================== --- physfs-1.0.1.orig/configure.in +++ physfs-1.0.1/configure.in @@ -221,9 +221,9 @@ AC_ARG_ENABLE(readline, if test x$enable_readline = xyes; then AC_CHECK_HEADER(readline/readline.h, have_readline_hdr=yes) - AC_CHECK_LIB(readline, readline, have_readline_lib=yes, , -lcurses) + AC_CHECK_LIB(readline, readline, have_readline_lib=yes, , -lncurses) AC_CHECK_HEADER(readline/history.h, have_history_hdr=yes) - AC_CHECK_LIB(readline, add_history, have_history_lib=yes, , -lcurses) + AC_CHECK_LIB(readline, add_history, have_history_lib=yes, , -lncurses) if test x$have_readline_hdr = xyes -a x$have_readline_lib = xyes; then if test x$have_history_hdr = xyes -a x$have_history_lib = xyes; then AC_DEFINE([PHYSFS_HAVE_READLINE], 1, [define if we have readline]) Index: physfs-1.0.1/test/Makefile.am =================================================================== --- physfs-1.0.1.orig/test/Makefile.am +++ physfs-1.0.1/test/Makefile.am @@ -5,7 +5,7 @@ bin_PROGRAMS = test_physfs INCLUDES = -I$(top_srcdir) if BUILD_READLINE -test_physfs_LDFLAGS="-lreadline -lcurses" +test_physfs_LDFLAGS="-lreadline -lncurses" endif test_physfs_LDADD = ../libphysfs.la ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org