diff --git a/opencore-amr-0.1.3-fix_pc.patch b/opencore-amr-0.1.3-fix_pc.patch new file mode 100644 index 0000000..e009ff6 --- /dev/null +++ b/opencore-amr-0.1.3-fix_pc.patch @@ -0,0 +1,18 @@ +diff -up opencore-amr-0.1.3/amrnb/opencore-amrnb.pc.in.fix opencore-amr-0.1.3/amrnb/opencore-amrnb.pc.in +--- opencore-amr-0.1.3/amrnb/opencore-amrnb.pc.in.fix 2011-04-06 22:30:37.000000000 +0200 ++++ opencore-amr-0.1.3/amrnb/opencore-amrnb.pc.in 2012-05-18 13:05:36.469324787 +0200 +@@ -7,4 +7,4 @@ Name: OpenCORE AMR-NB + Description: Adaptive Multi-Rate speech codec library + Version: @PACKAGE_VERSION@ + Libs: -L${libdir} -lopencore-amrnb +-Cflags: -I${includedir} ++Cflags: -I${includedir}/opencore-amrnb +diff -up opencore-amr-0.1.3/amrwb/opencore-amrwb.pc.in.fix opencore-amr-0.1.3/amrwb/opencore-amrwb.pc.in +--- opencore-amr-0.1.3/amrwb/opencore-amrwb.pc.in.fix 2011-04-06 22:30:37.000000000 +0200 ++++ opencore-amr-0.1.3/amrwb/opencore-amrwb.pc.in 2012-05-18 13:06:01.901435760 +0200 +@@ -7,4 +7,4 @@ Name: OpenCORE AMR-WB + Description: Adaptive Multi-Rate Wideband speech codec library + Version: @PACKAGE_VERSION@ + Libs: -L${libdir} -lopencore-amrwb +-Cflags: -I${includedir} ++Cflags: -I${includedir}/opencore-amrwb diff --git a/opencore-amr.spec b/opencore-amr.spec index f23cdb0..55929ea 100644 --- a/opencore-amr.spec +++ b/opencore-amr.spec @@ -1,11 +1,12 @@ Name: opencore-amr Version: 0.1.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: OpenCORE Adaptive Multi Rate Narrowband and Wideband speech lib Group: System Environment/Libraries License: ASL 2.0 URL: http://sourceforge.net/projects/opencore-amr/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +Patch0: opencore-amr-0.1.3-fix_pc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description @@ -25,6 +26,7 @@ developing applications that use %{name}. %prep %setup -q +%patch0 -p1 -b .fix mv opencore/README opencore/README.opencore @@ -60,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/opencore-amr??.pc %changelog +* Fri May 18 2012 Nicolas Chauvet - 0.1.3-2 +- Fix pkgconfig include + * Sun May 13 2012 Nicolas Chauvet - 0.1.3-1 - Update to 0.1.3