Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37511473
en ru br
ALT Linux repos
S:0.9.3-alt5
5.0: 0.9.3-alt1
4.1: 0.9.3-alt1

Group :: System/Libraries
RPM: dumb

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: dumb
Version: 0.9.3
Release: alt5
Summary: IT, XM, S3M and MOD player library
Group: System/Libraries
License: zlib
Url: http://dumb.sourceforge.net/
Source0: http://downloads.sourceforge.net/%name/%name-%version.tar.gz
Source1: http://downloads.sourceforge.net/%name/%name-%version-autotools.tar.gz
Source2: license-clarification.eml
Patch0: dumb-0.9.3-CVE-2006-3668.patch
Patch1: dumb-0.9.3-license-clarification.patch
Patch2: dumb-0.9.3-as-needed.patch
Packager: Fr. Br. George <george at altlinux.ru>
BuildRequires: liballegro-devel gcc-c++
Conflicts: dumb_0.9.2

%description
IT, XM, S3M and MOD player library. Mainly targeted for use with the allegro
game programming library, but it can be used without allegro. Faithful to the
original trackers, especially IT.

%package devel
Summary: Development libraries and headers for dumb
Group: Development/C
Requires: %name = %version
Requires: liballegro-devel
Conflicts: libdumb_0.9.2-devel

%description devel
The developmental files that must be installed in order to compile
applications which use dumb.

%prep
%setup -q -b 01
%patch0 -p1 -z .cve-2006-3668
%patch1 -p1
%patch2 -p0
cp %SOURCE2 .

%build
touch INSTALL NEWS README AUTHORS ChangeLog COPYING
%autoreconf
%configure
make

%install
make install DESTDIR=%buildroot
#clean out .la and static libs
rm -f %buildroot%_libdir/*.a %buildroot%_libdir/*.la
ln -s  lib%name-%version.so %buildroot%_libdir/lib%name.so.1
ln -s  libaldmb-%version.so %buildroot%_libdir/libaldmb.so.1

%files
%doc licence.txt release.txt readme.txt license-clarification.eml
%_bindir/dumb*
%_libdir/lib*-%version.so
%_libdir/lib*.so.1

%files devel
%doc docs/deprec.txt docs/dumb.txt docs/faq.txt docs/fnptr.txt docs/howto.txt docs/ptr.txt
%_includedir/*.h
%_libdir/libdumb.so
%_libdir/libaldmb.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin