Author: lisu                         Date: Mon Jan  5 18:44:15 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- autotools
- include string.h to avoid "not declared in this scope" errors
- adapter

---- Files affected:
SPECS:
   adplug.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/adplug.spec
diff -u SPECS/adplug.spec:1.10 SPECS/adplug.spec:1.11
--- SPECS/adplug.spec:1.10      Thu Jan 24 02:36:30 2008
+++ SPECS/adplug.spec   Mon Jan  5 19:44:10 2009
@@ -10,9 +10,13 @@
 # Source0-md5: bc75cf9d1d2241e287e2eb80b84bd2cd
 Patch0:                %{name}-info.patch
 URL:           http://adplug.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: libbinio-devel >= 1.4
 BuildRequires: libstdc++-devel
+BuildRequires: libtool
 BuildRequires: pkgconfig
+BuildRequires: sed >= 4.0
 BuildRequires: texinfo
 Requires:      libbinio >= 1.4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,10 +30,10 @@
 
 %description -l pl.UTF-8
 AdPlug to wolnodostępna, wieloplatformowa, niezależna od sprzętu
-biblioteka odtwarzacza dźwięku AdLib, napisana głównie w C++. AdPlug
-odtwarza dane dźwiękowe stworzone pierwotnie dla karty dźwiękowej
-AdLib (OPL2) przy użyciu emulatora OPL2 lub prawdziwego sprzętu. Do
-odtwarzania nie jest wymagany układ OPL2.
+biblioteka odtwarzacza dźwięku AdLib, napisana głównie w C++.
+AdPlug odtwarza dane dźwiękowe stworzone pierwotnie dla karty
+dźwiękowej AdLib (OPL2) przy użyciu emulatora OPL2 lub prawdziwego
+sprzętu. Do odtwarzania nie jest wymagany układ OPL2.
 
 %package devel
 Summary:       Header files for AdPlug library
@@ -59,9 +63,14 @@
 %prep
 %setup -q
 %patch0 -p1
+%{__sed} -i 's@<string>@<string.h>@' src/player.h
 
 %build
-%configure 
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
 %{__make}
 
 %install
@@ -79,10 +88,10 @@
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%post devel    -p      /sbin/postshell
+%post devel    -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun devel  -p      /sbin/postshell
+%postun devel  -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
@@ -111,6 +120,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2009/01/05 18:44:10  lisu
+- autotools
+- include string.h to avoid "not declared in this scope" errors
+- adapter
+
 Revision 1.10  2008/01/24 01:36:30  glen
 - invoke fix-info-dir via /sbin/postshell where possible to avoid extra 
/bin/sh dep
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/adplug.spec?r1=1.10&r2=1.11&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to