ad33d30
Name:           alure
Julian Aloofi 82723ad
Version:        1.2
e6f20c4
Release:        10%{?dist}
ad33d30
Summary:        Audio Library Tools REloaded
ad33d30
Group:          System Environment/Libraries
ad33d30
# ALURE code is LGPLv2+; note -devel subpackage has its own license tag
ad33d30
License:        LGPLv2+ 
ad33d30
URL:            http://kcat.strangesoft.net/alure.html
Julian Aloofi 8c1529c
Source0:        http://kcat.strangesoft.net/%{name}-releases/%{name}-%{version}.tar.bz2
3545ee1
Patch0:         alure-gcc47.patch
ad33d30
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Julian Aloofi 8c1529c
BuildRequires:  cmake, libvorbis-devel, libsndfile-devel, openal-soft-devel, flac-devel, dumb-devel, fluidsynth-devel
ad33d30
ad33d30
ad33d30
%description
ad33d30
ALURE is a utility library to help manage common tasks with OpenAL 
ad33d30
applications. This includes device enumeration and initialization, 
ad33d30
file loading, and streaming.  
ad33d30
ad33d30
ad33d30
%package        devel
ad33d30
Summary:        Development files for %{name}
ad33d30
Group:          Development/Libraries
ad33d30
# Devel doc includes some files under GPLv2+ from NaturalDocs
ad33d30
License:        LGPLv2+ and GPLv2+
ad33d30
Requires:       %{name} = %{version}-%{release}
ad33d30
Requires:       pkgconfig
ad33d30
ad33d30
ad33d30
%description    devel
ad33d30
The %{name}-devel package contains libraries and header files for
ad33d30
developing applications that use %{name}.
ad33d30
ad33d30
ad33d30
%prep
ad33d30
%setup -q 
3545ee1
%patch0
ad33d30
ad33d30
ad33d30
%build
Julian Aloofi 8c1529c
%cmake . -DBUILD_STATIC:BOOL=OFF
ad33d30
make VERBOSE=1 %{?_smp_mflags}
ad33d30
ad33d30
ad33d30
%install
ad33d30
rm -rf %{buildroot}
ad33d30
make install DESTDIR=%{buildroot}
ad33d30
find %{buildroot} -name '*.la' -exec rm -f {} ';'
ad33d30
# strip installed html doc
ad33d30
rm -rf %{buildroot}%{_docdir}/alure/html
ad33d30
ad33d30
ad33d30
%clean
ad33d30
rm -rf %{buildroot}
ad33d30
ad33d30
ad33d30
%post -p /sbin/ldconfig
ad33d30
ad33d30
ad33d30
%postun -p /sbin/ldconfig
ad33d30
ad33d30
ad33d30
%files
ad33d30
%defattr(-,root,root,-)
ad33d30
%doc COPYING
ad33d30
%{_libdir}/*.so.*
Julian Aloofi 82723ad
%{_bindir}/alure*
ad33d30
ad33d30
ad33d30
%files devel
ad33d30
%defattr(-,root,root,-)
ad33d30
%doc docs/html examples
ad33d30
%{_includedir}/AL/
ad33d30
%{_libdir}/*.so
ad33d30
%{_libdir}/pkgconfig/*.pc
ad33d30
ad33d30
ad33d30
%changelog
e6f20c4
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-10
e6f20c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e6f20c4
3f44c3b
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.2-9
3f44c3b
- Rebuilt for GCC 5 C++11 ABI change
3f44c3b
b547519
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
b547519
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b547519
238b436
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
238b436
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
238b436
f90765b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
f90765b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f90765b
a401206
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
a401206
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a401206
d1e2c1d
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
d1e2c1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d1e2c1d
3545ee1
* Mon Jan 30 2012 Bruno Wolff III <bruno@wolff.to> - 1.2-3
3545ee1
- Fix for gcc 4.7
3545ee1
0c0126a
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
0c0126a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0c0126a
Julian Aloofi 82723ad
* Fri Jul 29 2011 Julian Aloofi <julian@fedoraproject.org> - 1.2-1
Julian Aloofi 82723ad
- update to latest upstream release
Julian Aloofi 82723ad
Julian Aloofi 8c1529c
* Sat May 28 2011 Julian Aloofi <julian@fedoraproject.org> - 1.1-1
Julian Aloofi 8c1529c
- update to latest upstream release
Julian Aloofi 8c1529c
- enabled FLAC, DUMB and fluidsynth support
Julian Aloofi 8c1529c
a8aa943
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
a8aa943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a8aa943
ad33d30
* Thu Oct 01 2009 Guido Grazioli <guido.grazioli@gmail.com> - 1.0-4
ad33d30
- Fixed license for -devel subpackage
ad33d30
- Included sample code in -devel subpackage
ad33d30
- Sanitized %%files
ad33d30
ad33d30
* Tue Sep 29 2009 Guido Grazioli <guido.grazioli@gmail.com> - 1.0-3
ad33d30
- Renamed from libalure to alure
ad33d30
- Fixed license
ad33d30
ad33d30
* Mon Sep 28 2009 Guido Grazioli <guido.grazioli@gmail.com> - 1.0-2
ad33d30
- Fix multilib pkgconfig path
ad33d30
ad33d30
* Sat Sep 26 2009 Guido Grazioli <guido.grazioli@gmail.com> - 1.0-1
ad33d30
- Initial packaging