]> git.pld-linux.org Git - packages/physfs.git/commitdiff
- up to 0.1.9, updated License auto/ac/physfs-0_1_9-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 18 Oct 2003 08:55:34 +0000 (08:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added link patch (library doesn't need -lreadline, only test program does)

Changed files:
    physfs-link.patch -> 1.1
    physfs.spec -> 1.7

physfs-link.patch [new file with mode: 0644]
physfs.spec

diff --git a/physfs-link.patch b/physfs-link.patch
new file mode 100644 (file)
index 0000000..16a8459
--- /dev/null
@@ -0,0 +1,23 @@
+--- physfs-0.1.9/test/Makefile.am.orig 2002-06-28 05:48:33.000000000 +0200
++++ physfs-0.1.9/test/Makefile.am      2003-10-17 22:36:24.845016512 +0200
+@@ -4,7 +4,7 @@
+ INCLUDES = -I$(top_srcdir)
+-test_physfs_LDADD = ../libphysfs.la
++test_physfs_LDADD = ../libphysfs.la $(LIBREADLINE)
+ test_physfs_SOURCES = test_physfs.c
+ endif
+--- physfs-0.1.9/configure.in.orig     2003-09-13 04:25:09.000000000 +0200
++++ physfs-0.1.9/configure.in  2003-10-17 22:36:05.753918800 +0200
+@@ -219,7 +219,8 @@
+   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])
+-      LIBS="$LIBS -lreadline -lcurses"
++      LIBREADLINE="-lreadline -lcurses"
++      AC_SUBST(LIBREADLINE)
+     fi
+   fi
+ fi
index c534dc25ef783ba4efcd3252b4ba97078f2e912a..1fa39ddbaeb2c5179e8ece0dd8db9080a88a3fd6 100644 (file)
@@ -1,14 +1,18 @@
 Summary:       PhysicsFS file abstraction layer for games
 Summary(pl):   PhysicsFS - warstwa abstrakcji plików dla gier
 Name:          physfs
-Version:       0.1.8
+Version:       0.1.9
 Release:       1
-License:       LGPL
+License:       BSD-like (see LICENSE)
 Group:         Libraries
 Source0:       http://www.icculus.org/physfs/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: 4993d229d38c0207c00074831fd7b8be
+# Source0-md5: ee61f31d15563a3f785adbd800933631
+Patch0:                %{name}-link.patch
 URL:           http://www.icculus.org/physfs/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: doxygen
+BuildRequires: libtool
 BuildRequires: ncurses-devel
 BuildRequires: readline-devel
 BuildRequires: zlib-devel
@@ -58,6 +62,7 @@ Summary:      Header files for PhysicsFS development
 Summary(pl):   Pliki nag³ówkowe do programowania z u¿yciem PhysicsFS
 Group:         Development/Libraries
 Requires:      %{name} = %{version}
+Requires:      zlib-devel
 
 %description devel
 PhysicsFS is a library to provide abstract access to various archives.
@@ -101,10 +106,18 @@ PhysicsFS.
 
 %prep
 %setup -q
+%patch -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
-%{__make}
+# unused beos.cpp causes unnecessary using CXXLINK... workaround
+%{__make} \
+       CXXLINK="\$(LINK)"
 
 doxygen
 
@@ -125,7 +138,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGELOG CREDITS
+%doc CHANGELOG CREDITS LICENSE TODO
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
This page took 0.188404 seconds and 4 git commands to generate.