update to 1.3.0pre1

This commit is contained in:
Miroslav Lichvar 2013-03-05 09:39:15 +01:00
parent e3ab2a2798
commit 942a2865d2
3 changed files with 11 additions and 14 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/flac-20121204gita43f56.tar.xz
/flac-1.3.0pre1.tar.xz

View File

@ -1,17 +1,12 @@
%global gitdate 20121204
%global gitrev a43f56
Summary: An encoder/decoder for the Free Lossless Audio Codec
Name: flac
Version: 1.2.1
Release: 13.%{gitdate}git%{gitrev}%{?dist}
Version: 1.3.0
Release: 0.1.pre1%{?dist}
License: BSD and GPLv2+ and GFDL
Group: Applications/Multimedia
# git clone git://git.xiph.org/flac.git; cd flac
# git archive --prefix=flac/ %{gitrev} | xz > flac-%{gitdate}git%{gitrev}.tar.xz
Source0: %{name}-%{gitdate}git%{gitrev}.tar.xz
#Source: http://prdownloads.sourceforge.net/flac/flac-%{version}.tar.gz
URL: http://flac.sourceforge.net/
Source0: http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre1.tar.xz
URL: http://www.xiph.org/flac/
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.
%prep
%setup -q -n %{name}
%setup -q -n %{name}-%{version}pre1
%build
./autogen.sh -V
# -funroll-loops makes encoding about 10% faster
export CFLAGS="%{optflags} -funroll-loops"
%configure \
@ -70,6 +63,10 @@ export CFLAGS="%{optflags} -funroll-loops"
--disable-silent-rules \
--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}
%install

View File

@ -1 +1 @@
d768998eebf55dbabb715d7bda03ebe5 flac-20121204gita43f56.tar.xz
dbeb9fa0f808fc0064e4461e769c184a flac-1.3.0pre1.tar.xz