update to 1.3.0pre1
This commit is contained in:
parent
e3ab2a2798
commit
942a2865d2
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/flac-20121204gita43f56.tar.xz
|
/flac-1.3.0pre1.tar.xz
|
||||||
|
21
flac.spec
21
flac.spec
@ -1,17 +1,12 @@
|
|||||||
%global gitdate 20121204
|
|
||||||
%global gitrev a43f56
|
|
||||||
Summary: An encoder/decoder for the Free Lossless Audio Codec
|
Summary: An encoder/decoder for the Free Lossless Audio Codec
|
||||||
Name: flac
|
Name: flac
|
||||||
Version: 1.2.1
|
Version: 1.3.0
|
||||||
Release: 13.%{gitdate}git%{gitrev}%{?dist}
|
Release: 0.1.pre1%{?dist}
|
||||||
License: BSD and GPLv2+ and GFDL
|
License: BSD and GPLv2+ and GFDL
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
|
|
||||||
# git clone git://git.xiph.org/flac.git; cd flac
|
Source0: http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre1.tar.xz
|
||||||
# git archive --prefix=flac/ %{gitrev} | xz > flac-%{gitdate}git%{gitrev}.tar.xz
|
URL: http://www.xiph.org/flac/
|
||||||
Source0: %{name}-%{gitdate}git%{gitrev}.tar.xz
|
|
||||||
#Source: http://prdownloads.sourceforge.net/flac/flac-%{version}.tar.gz
|
|
||||||
URL: http://flac.sourceforge.net/
|
|
||||||
|
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
@ -58,11 +53,9 @@ This package contains all the files needed to develop applications that
|
|||||||
will use the Free Lossless Audio Codec.
|
will use the Free Lossless Audio Codec.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q -n %{name}-%{version}pre1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh -V
|
|
||||||
|
|
||||||
# -funroll-loops makes encoding about 10% faster
|
# -funroll-loops makes encoding about 10% faster
|
||||||
export CFLAGS="%{optflags} -funroll-loops"
|
export CFLAGS="%{optflags} -funroll-loops"
|
||||||
%configure \
|
%configure \
|
||||||
@ -70,6 +63,10 @@ export CFLAGS="%{optflags} -funroll-loops"
|
|||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--disable-thorough-tests
|
--disable-thorough-tests
|
||||||
|
|
||||||
|
# remove RPATH
|
||||||
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user