Sophie

Sophie

distrib > Mageia > 4 > i586 > media > core-release-src > by-pkgid > 4f3d3bd78aded202e54729dbc83fd9a4 > files > 2

libsidplayfp-1.0.2-2.mga4.src.rpm

%define name libsidplayfp
%define spmajor 3
%define libname    %mklibname sidplayfp %{spmajor}
%define develname %mklibname -d sidplayfp
%define stilmajor 0
%define libnamestil %mklibname stilview %stilmajor
%define version 1.0.2
%define release %mkrel 2

Summary:        A Commodore 64 music player and SID chip emulator library
Name:           %{name}
Version:        %{version}
Release:        %{release}
Source:         http://prdownloads.sourceforge.net/sidplay-residfp/%{name}-%version.tar.gz
License:        GPLv2+
Group:          System/Libraries
URL:            http://bel.fi/~alankila/c64-sw/index-cpp.html
BuildRequires:  chrpath

%description
This is a cycle-based version of a C64 music playing library
developed by Simon White. This library provides no internal
SID emulation. Instead a means to drive any external SID hardware or
emulation has been provided using the SID Builder Classes.

A ReSID Builder Class using a modified version of ReSID 0.13
is included in this package. Alternative/updated classes can be
obtained from the SIDPlay2 homepage.

This is a fork of the original libsidplay2 aimed at improved sound quality.

%package -n %libname
Summary:        A Commodore 64 music player and SID chip emulator library
Group:          System/Libraries
Obsoletes:      %{_lib}sidplay2 < %{version}-%{release}

%description -n %libname
This is a cycle-based version of a C64 music playing library
developed by Simon White. This library provides no internal
SID emulation. Instead a means to drive any external SID hardware or
emulation has been provided using the SID Builder Classes.

%package -n %libnamestil
Summary:        A Commodore 64 STIL music archive viewer library
Group:          System/Libraries

%description -n %libnamestil
This is a library for accessing the Sid Tune Information List, which is part
of the High Voltage Sid Collection, a huge collection of Commodore 64 SID
music files.

%package -n %develname
Summary:        Development headers and libraries for %{libname}
Group:          Development/C++
Requires:       %{libname} = %{version}
Requires:	%libnamestil = %version
Provides:       libsidplayfp-devel = %{version}-%release

%description -n %develname
This package includes the header and library files necessary
for developing applications to use %{libname}.

%prep
%setup -q 

%build
export CFLAGS="%optflags -fPIC"
export CXXFLAGS="%optflags -fPIC"
%configure2_5x --disable-static --enable-shared
%make

%install
%makeinstall_std
find %{buildroot} -name '*.la' -delete

%files -n %libname
%doc AUTHORS NEWS README TODO
%{_libdir}/libsidplayfp.so.%{spmajor}
%{_libdir}/libsidplayfp.so.%{spmajor}.*

%files -n %libnamestil
%{_libdir}/libstilview.so.%{stilmajor}
%{_libdir}/libstilview.so.%{stilmajor}.*


%files -n %develname
%{_includedir}/sidplayfp/
%{_includedir}/stilview/
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/libsidplay*.pc
%{_libdir}/pkgconfig/libstilview.pc


%changelog
* Sat Oct 19 2013 umeabot <umeabot> 1.0.2-2.mga4
+ Revision: 523665
- Mageia 4 Mass Rebuild

* Fri May 24 2013 gw666 <gw666> 1.0.2-1.mga4
+ Revision: 425921
- new version

* Mon Apr 22 2013 gw666 <gw666> 1.0.1-1.mga4
+ Revision: 410881
- new version
- remove old libraries and add stilview library
- new major
- imported package libsidplayfp