Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-backports-src > by-pkgid > f263b01b54ec77fae025c18a50b44a0d > files > 3

libmp3splt-0.7.1-1mdv2010.2.src.rpm

%define oname	mp3splt
%define major	0
%define libname	%mklibname %{oname} %{major}
%define develname	%mklibname -d %{oname}

Name:		libmp3splt
Version:	0.7.1
Release:	%mkrel 1
Summary:	Library to split MP3 and Ogg Files
Source0:	http://prdownloads.sourceforge.net/mp3splt/%{name}-%{version}.tar.gz
Patch0:		libmp3splt-0.7-formatfix.patch
URL:		http://mp3splt.sourceforge.net
Group:		System/Libraries
License:	GPLv2+
BuildRoot:	%{_tmppath}/build-%{name}-%{version}
BuildRequires:	libogg-devel
BuildRequires:	libvorbis-devel
BuildRequires:	mad-devel
BuildRequires:	libid3tag-devel
BuildRequires:	zlib-devel
BuildRequires:	glibc-devel
BuildRequires:	libltdl-devel
BuildRequires:	pcre-devel

%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 -n %{libname}
Summary:	Library to split MP3 and Ogg Files
Group:		System/Libraries

%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 %{develname}
Summary:	Development files for %{name}
Group:		Development/Other
Requires:	%{libname} = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}

%description -n %{develname}
This package contains development files for the mp3splt project.

%prep
%setup -q -n %{name}-%{version}
%patch0 -p1

%build
%configure2_5x \
	--disable-rpath \
	--disable-static
%make

%install
%makeinstall_std

# we don't want these
find %{buildroot} -name "*.la" -exec rm -rf {} \;

%find_lang %{name}

%clean
rm -rf %{buildroot}

%files -n %{libname} -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog NEWS README TODO
%{_libdir}/%{name}.so.%{major}*
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/libsplt_*.so.%{major}*

%files -n %{develname}
%defattr(-,root,root)
%{_includedir}/%{name}
%{_libdir}/%{name}.so
%{_libdir}/%{name}/libsplt_*.so
%{_datadir}/aclocal/%{oname}.m4


%changelog
* Thu Nov 24 2011 Andrey Bondrov <abondrov@mandriva.org> 0.7.1-1mdv2010.1
+ Revision: 733198
- New version 0.7.1

* Thu Aug 18 2011 Andrey Bondrov <abondrov@mandriva.org> 0.7-1
+ Revision: 695177
- New version 0.7

* Sun Mar 06 2011 Jani Välimaa <wally@mandriva.org> 0.6.1a-1
+ Revision: 642232
- new version 0.6.1a

* Thu Mar 03 2011 Jani Välimaa <wally@mandriva.org> 0.6.1-1
+ Revision: 641489
- add pcre-devel BR
- new version 0.6.1
- rediff P0

* Fri Oct 01 2010 Jani Välimaa <wally@mandriva.org> 0.6-2mdv2011.0
+ Revision: 582287
- new version 0.6
- add str fmt patch
- fix file list

* Fri Aug 27 2010 Jani Välimaa <wally@mandriva.org> 0.5.9-2mdv2011.0
+ Revision: 573588
- fix provides

* Fri Aug 27 2010 Jani Välimaa <wally@mandriva.org> 0.5.9-1mdv2011.0
+ Revision: 573491
- import libmp3splt