Reconfigure to allow building on AArch64
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
parent
4a04d9f05b
commit
739f1e1259
20
wavpack.spec
20
wavpack.spec
@ -1,14 +1,17 @@
|
||||
Name: wavpack
|
||||
Summary: A completely open audiocodec
|
||||
Version: 4.60.1
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/Multimedia
|
||||
Url: http://www.wavpack.com/
|
||||
Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2
|
||||
Patch1: wavpack-0001-Fixed-default-values-in-pkgconfig-file.patch
|
||||
Patch2: wavpack-strict-aliasing.patch
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
# For autoreconf
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
|
||||
%description
|
||||
WavPack is a completely open audio compression format providing lossless,
|
||||
@ -20,7 +23,7 @@ performance and functionality.
|
||||
%package devel
|
||||
Summary: WavPack - development files
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
@ -32,11 +35,11 @@ Files needed for developing apps using wavpack
|
||||
%patch2 -p1 -b .strict_aliasing
|
||||
|
||||
%build
|
||||
autoreconf -ivf
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=%{buildroot} install
|
||||
rm -f %{buildroot}/%{_libdir}/*.la
|
||||
|
||||
@ -44,11 +47,7 @@ rm -f %{buildroot}/%{_libdir}/*.la
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/*
|
||||
%{_libdir}/libwavpack.so.*
|
||||
%{_mandir}/man1/wavpack.1*
|
||||
@ -57,13 +56,16 @@ rm -rf %{buildroot}
|
||||
%doc license.txt
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_libdir}/libwavpack.so
|
||||
%doc ChangeLog README doc/*
|
||||
|
||||
%changelog
|
||||
* Sun Jul 21 2013 Peter Lemenkov <lemenkov@gmail.com> - 4.60.1-7
|
||||
- Reconfigure to allow building on AArch64
|
||||
- Cleanup spec-file
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.60.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user