diff --git a/.gitignore b/.gitignore index 8478532..ab20c4f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -opencore-amr-0.1.1.tar.gz +opencore-amr-0.1.2.tar.gz diff --git a/opencore-amr.spec b/opencore-amr.spec index 79c6b4c..7df7ced 100644 --- a/opencore-amr.spec +++ b/opencore-amr.spec @@ -1,5 +1,5 @@ Name: opencore-amr -Version: 0.1.1 +Version: 0.1.2 Release: 1%{?dist} Summary: OpenCORE Adaptive Multi Rate Narrowband and Wideband speech lib Group: System Environment/Libraries @@ -24,22 +24,19 @@ developing applications that use %{name}. %prep -%setup -q -n %{name} -# hack hack hack -if [ "%{_lib}" = "lib64" ]; then - sed -i -e 's|/lib/|/lib64/|g' -e 's|/lib$|/lib64|g' */Makefile -fi +%setup -q +mv opencore/README opencore/README.opencore %build -make %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS -x c -std=c99 -fPIC" +%configure --disable-static +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} -# we don't want the static libraries -rm $RPM_BUILD_ROOT%{_libdir}/libopencore-amr??.a +make install DESTDIR=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{_libdir}/libopencore-amr??.la %clean @@ -53,15 +50,18 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc opencore/ChangeLog opencore/NOTICE opencore/README +%doc LICENSE README opencore/ChangeLog opencore/NOTICE opencore/README.opencore %{_libdir}/libopencore-amr??.so.* %files devel %defattr(-,root,root,-) %{_includedir}/opencore-amr?? %{_libdir}/libopencore-amr??.so - +%{_libdir}/pkgconfig/opencore-amr??.pc %changelog +* Sun Oct 4 2009 Hans de Goede 0.1.2-1 +- New upstream release 0.1.2 + * Thu Jul 30 2009 Hans de Goede 0.1.1-1 - First version of the RPM Fusion package diff --git a/sources b/sources index 2a9ef5a..a6e275e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d2e18436202fc14e03e5a254f8eb1df4 opencore-amr-0.1.1.tar.gz +8e8b8b253eb046340ff7b6bf7a6ccd3e opencore-amr-0.1.2.tar.gz