--- cauldron/libmp3splt/current/SPECS/libmp3splt.spec 2012/09/02 18:26:39 287366 +++ cauldron/libmp3splt/current/SPECS/libmp3splt.spec 2012/09/02 18:30:18 287367 @@ -5,11 +5,12 @@ Name: libmp3splt Version: 0.7.3 -Release: %mkrel 1 +Release: %mkrel 2 Summary: Library to split MP3 and Ogg Files #Source0: http://ioalex.net/testing_downloads/snapshots/%{rev}/%{name}-%{version}.tar.gz Source0: http://prdownloads.sourceforge.net/mp3splt/%{name}-%{version}.tar.gz Patch0: libmp3splt-0.7-fix_str_fmt.patch +Patch1: libmp3splt-0.7.3-remove-unneeded-ltdl.h-includes.patch URL: http://mp3splt.sourceforge.net Group: System/Libraries License: GPLv2+ @@ -41,12 +42,22 @@ %package -n %{libname} Summary: Library to split MP3 and Ogg Files Group: System/Libraries +Requires: %{name}-i18n >= %{version}-%{release} %description -n %{libname} Library to split mp3 and ogg files selecting a begin and an end time position, without decoding. It's very useful to split large mp3/ogg to make smaller files or to split entire albums to obtain original tracks. +%package -n %{name}-i18n +Summary: Internationalization and locale data for %{name} +Group: System/Internationalization +BuildArch: noarch +Conflicts: %{_lib}mp3splt0 < 0.7.3-2 + +%description -n %{name}-i18n +Internationalization and locale data for %{name} + %package -n %{develname} Summary: Development files for %{name} Group: Development/Other @@ -58,7 +69,7 @@ %prep %setup -q -%patch0 -p0 -b .strfmt +%apply_patches %build %configure2_5x \ @@ -71,22 +82,19 @@ %makeinstall_std # we don't want these -find %{buildroot} -name "*.la" -exec rm -rf {} \; +find %{buildroot} -name "*.la" -delete %find_lang %{name} -%clean -rm -rf %{buildroot} - -%files -n %{libname} -f %{name}.lang -%defattr(-,root,root) +%files -n %{libname} %doc AUTHORS ChangeLog NEWS README TODO %{_libdir}/%{name}.so.%{major}* %dir %{_libdir}/%{name} %{_libdir}/%{name}/libsplt_*.so.%{major}* +%files -n %{name}-i18n -f %{name}.lang + %files -n %{develname} -%defattr(-,root,root) %{_includedir}/%{name} %{_libdir}/%{name}.so %{_libdir}/%{name}/libsplt_*.so