- use cmake, fixes "taglib_export.h not included" (#272361#c7)

This commit is contained in:
Rex Dieter 2007-09-27 20:12:07 +00:00
parent 8b339f08e3
commit 85ea4e6a02

View File

@ -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 <rdieter[AT]fedoraproject.org> 1.5-0.4.20070924svn
- use cmake, fixes "taglib_export.h not included" (#272361#c7)
* Mon Sep 24 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.5-0.3.20070924svn
- rebuild