%bcond_with ltdl Summary: Libraries for the mp3Splt project Name: libmp3splt Version: 0.7.1 Release: 9%{?dist} License: GPLv2 Group: Development/Libraries Source: http://downloads.sourceforge.net/mp3splt/%{name}-%{version}.tar.gz URL: http://mp3splt.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext BuildRequires: libid3tag-devel BuildRequires: libmad-devel BuildRequires: libtool-ltdl-devel BuildRequires: libvorbis-devel BuildRequires: pcre-devel BuildRequires: doxygen, graphviz %description The mp3Splt project provides utilities to split mp3 and ogg files, by selecting a begin and an end time position, without decoding. It is very useful to split large mp3/ogg into smaller files, or to split entire albums to obtain original tracks. To split an album, the split points and filenames can be selected manually or automatically from CDDB (internet or a local file), or from .cue files. It supports automatic silence detection, which can be used to adjust cddb/cue split points. It is also possible to extract tracks from Mp3Wrap or AlbumWrap files in a few seconds. The mp3splt project is divided in 3 parts: libmp3splt, mp3splt and mp3splt-gtk. %package devel Summary: Files for the development of applications which will use %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This package contains development files for the mp3splt project. %prep %setup -q # Avoid standard rpaths on lib64 archs: sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure %build %configure \ %if %{with ltdl} --with-ltdl-lib=%{_libdir} \ --with-ltdl-include=%{_includedir} %endif make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %find_lang %{name} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{_libdir}/libmp3splt.so.* %{_libdir}/libmp3splt/libsplt_mp3.so.* %{_libdir}/libmp3splt/libsplt_ogg.so.* %exclude %{_libdir}/libmp3splt/libsplt*.la %{_datadir}/aclocal/mp3splt.m4 %files devel %defattr(-,root,root,-) %{_includedir}/%{name}/*.h %{_libdir}/libmp3splt.so %{_libdir}/libmp3splt/libsplt_mp3.so %{_libdir}/libmp3splt/libsplt_ogg.so %exclude %{_libdir}/libmp3splt*.la %{_libdir}/libmp3splt.a %{_libdir}/libmp3splt/libsplt_mp3.a %{_libdir}/libmp3splt/libsplt_ogg.a %{_docdir}/libmp3splt/doxygen %changelog * Wed Jan 04 2012 Paulo Roma 0.7.1-9 - Updated to 0.7.1 - Added BR doxygen. - Added doxygen files. * Sat Sep 03 2011 Paulo Roma 0.7-9 - Updated to 0.7 * Sun Mar 13 2011 Paulo Roma 0.6.1a-8 - Updated to 0.6.1a * Mon Sep 27 2010 Paulo Roma 0.6-6 - Updated to 0.6 * Wed Feb 17 2010 Paulo Roma 0.5.9-6 - Updated to 0.5.9 * Wed Nov 04 2009 Paulo Roma 0.5.8a-6 - Updated to 0.5.8a - Using %%bcond_with ltdl. * Sat Oct 31 2009 Paulo Roma 0.5.8-5 - Updated to 0.5.8 - Removed "sed echo" from build section. * Thu Jul 30 2009 Paulo Roma 0.5.7a-4 - Bugfix release: 0.5.7a * Mon Jul 27 2009 Paulo Roma 0.5.7-4 - Updated to 0.5.7 - Moved libsplt_mp3.so and libsplt_ogg.so back to devel. - Using find_lang. * Thu Jun 23 2009 Paulo Roma 0.5.6-3 - Fixed #476061 - libsplt_mp3.so and libsplt_ogg.so moved from devel to the main package. * Sat May 16 2009 Paulo Roma 0.5.6-2 - Updated to 0.5.6 * Sat May 09 2009 Paulo Roma 0.5.5-2 - Updated to 0.5.5 - Added BR libid3tag-devel and libtool-ltdl. - Fixed configure for finding libtool-ltdl. * Sun Aug 26 2007 Paulo Roma 0.3.1-1 - Initial spec file.