Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > bcfa0727906e0a260901dfc5ed0f449c > files > 2

alure-1.2-1.mga2.src.rpm

%define major 1
%define libname %mklibname %name %major
%define libnamedev %mklibname %name -d
%define libnamedevst %mklibname %name -d -s


Name:		alure
Summary:	Audio Library Tools REloaded
Group:		System/Libraries
Version:	1.2
Release:	%mkrel 1
License:	LGPLv2+ 
URL:		http://kcat.strangesoft.net/alure.html
Source0:	http://kcat.strangesoft.net/%{name}-releases/%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	cmake
BuildRequires:	openal-devel
BuildRequires:	dumb-devel
BuildRequires:	fluidsynth-devel
BuildRequires:	libflac-devel
BuildRequires:	libmodplug-devel
BuildRequires:	libmpg123-devel

%description
ALURE is a utility library to help manage common tasks with OpenAL 
applications. This includes device enumeration and initialization, 
file loading, and streaming.  


#------------------------------------------------------------------------------
%package -n %libname
Summary:	%name library
Group:		System/Libraries

%files -n %libname
%defattr(-,root,root)
%{_libdir}/libalure.so.%{major}*

%description -n %libname
Libraries needed by %name.

ALURE is a utility library to help manage common tasks with OpenAL 
applications. This includes device enumeration and initialization, 
file loading, and streaming. 


#------------------------------------------------------------------------------
%package -n %libnamedev
Summary:	Alure development files
Group:		Development/C++
License:	LGPLv2+,GPLv2+
Requires:	%{libname} = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}
Provides:	lib%{name}-devel = %{version}-%{release}

%description -n %libnamedev
Libraries and header files to develop applications that use %{name}.

ALURE is a utility library to help manage common tasks with OpenAL 
applications. This includes device enumeration and initialization, 
file loading, and streaming. 

%files -n %libnamedev
%defattr(-,root,root)
%doc COPYING
%_docdir/%name
%{_includedir}/AL
%{_libdir}/libalure.so
%{_libdir}/pkgconfig/alure*.pc
%{_bindir}/*


#------------------------------------------------------------------------------
%package -n %libnamedevst
Summary:	Alure static library
Group:		Development/C++
License:	LGPLv2+,GPLv2+
Requires:	%{libnamedev} = %{version}-%{release}
Provides:	%{name}-static-devel = %{version}-%{release}
Provides:	lib%{name}-static-devel = %{version}-%{release}

%description -n %libnamedevst
Static library file to develop applications that use %{name}.

ALURE is a utility library to help manage common tasks with OpenAL 
applications. This includes device enumeration and initialization, 
file loading, and streaming. 

%files -n %libnamedevst
%defattr(-,root,root)
%{_libdir}/libalure-static.a


#------------------------------------------------------------------------------
%prep
%setup -q 

%build
%cmake

%install
rm -rf %{buildroot}
%makeinstall_std -C build

%clean
rm -rf %{buildroot}




%changelog

* Tue Sep 06 2011 tv <tv> 1.2-1.mga2
+ Revision: 139182
- fix file list
- new release

* Thu Jun 30 2011 ze <ze> 1.1-2.mga2
+ Revision: 116338
- add missing provides for devel and static

* Thu Jun 30 2011 ze <ze> 1.1-1.mga2
+ Revision: 116332
- imported package alure