]> git.pld-linux.org Git - packages/adplug.git/commitdiff
- autotools
authorlisu <lisu@pld-linux.org>
Mon, 5 Jan 2009 18:44:10 +0000 (18:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- include string.h to avoid "not declared in this scope" errors
- adapter

Changed files:
    adplug.spec -> 1.11

adplug.spec

index 56f895d3c302fd59c47c31fd1e528f1ea75e3e03..2e4da03255af09648c889b5bcb8fc9b5b95df2ca 100644 (file)
@@ -9,9 +9,13 @@ Source0:       http://dl.sourceforge.net/adplug/%{name}-%{version}.tar.bz2
 # 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)
@@ -25,10 +29,10 @@ playback.
 
 %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
@@ -58,9 +62,14 @@ Statyczna biblioteka AdPlug.
 %prep
 %setup -q
 %patch0 -p1
+%{__sed} -i 's@<string>@<string.h>@' src/player.h
 
 %build
-%configure 
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
 %{__make}
 
 %install
@@ -78,10 +87,10 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.091752 seconds and 4 git commands to generate.