From 85ea4e6a02b8b7c4e912d829711d29d85f77e5d2 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 27 Sep 2007 20:12:07 +0000 Subject: [PATCH] - use cmake, fixes "taglib_export.h not included" (#272361#c7) --- taglib.spec | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/taglib.spec b/taglib.spec index 62e12b8..c3aee91 100644 --- a/taglib.spec +++ b/taglib.spec @@ -18,6 +18,7 @@ Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: automake +BuildRequires: cmake %description @@ -41,15 +42,21 @@ Development tools for taglib make -f Makefile.cvs + %build -%configure --disable-rpath -make %{?_smp_mflags} +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} + rm -fr examples/.deps rm -fr examples/Makefile* rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la @@ -79,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Sep 27 2007 Rex Dieter 1.5-0.4.20070924svn +- use cmake, fixes "taglib_export.h not included" (#272361#c7) + * Mon Sep 24 2007 Aurelien Bompard 1.5-0.3.20070924svn - rebuild