Name: libechonest Version: 1.1.4 Release: 1%{?dist} Summary: C++ wrapper for the Echo Nest API Group: System Environment/Libraries License: GPLv2+ URL: https://projects.kde.org/projects/playground/libs/libechonest Source0: http://pwsp.cleinias.com/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: qjson-devel %description libechonest is a collection of C++/Qt classes designed to make a developer's life easy when trying to use the APIs provided by The Echo Nest. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q # There are some harmless warnings that stop the build. Upstream informed on IRC. sed -i 's|Werror|Wall|' {,src/}CMakeLists.txt %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake} .. make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} %clean rm -rf $RPM_BUILD_ROOT %check # The tests need active internet connection, which is not available # in koji builds #make test -C %%{_target_platform} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING README TODO %{_libdir}/%{name}.so.* %files devel %defattr(-,root,root,-) %{_includedir}/echonest/ %{_libdir}/%{name}.so %changelog * Sun Mar 27 2011 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.1.4-1 - Update to 1.1.4 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jan 30 2011 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.1.1-1 - Update to 1.1.1 * Mon Dec 20 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.1.0-1 - Initial Fedora package