1 |
wally |
127927 |
%define oname mp3splt |
2 |
|
|
%define major 0 |
3 |
|
|
%define libname %mklibname %{oname} %{major} |
4 |
wally |
127908 |
%define develname %mklibname -d %{oname} |
5 |
|
|
|
6 |
|
|
Name: libmp3splt |
7 |
wally |
287354 |
Version: 0.7.3 |
8 |
wally |
127908 |
Release: %mkrel 1 |
9 |
|
|
Summary: Library to split MP3 and Ogg Files |
10 |
wally |
168281 |
#Source0: http://ioalex.net/testing_downloads/snapshots/%{rev}/%{name}-%{version}.tar.gz |
11 |
|
|
Source0: http://prdownloads.sourceforge.net/mp3splt/%{name}-%{version}.tar.gz |
12 |
wally |
127927 |
Patch0: libmp3splt-0.7-fix_str_fmt.patch |
13 |
wally |
127908 |
URL: http://mp3splt.sourceforge.net |
14 |
|
|
Group: System/Libraries |
15 |
|
|
License: GPLv2+ |
16 |
|
|
BuildRequires: libogg-devel |
17 |
|
|
BuildRequires: libvorbis-devel |
18 |
|
|
BuildRequires: mad-devel |
19 |
|
|
BuildRequires: libid3tag-devel |
20 |
|
|
BuildRequires: zlib-devel |
21 |
|
|
BuildRequires: glibc-devel |
22 |
|
|
BuildRequires: libltdl-devel |
23 |
|
|
BuildRequires: pcre-devel |
24 |
|
|
|
25 |
|
|
%description |
26 |
|
|
The mp3Splt project provides utilities to split mp3 and ogg files, |
27 |
|
|
by selecting a begin and an end time position, without decoding. |
28 |
|
|
It is very useful to split large mp3/ogg into smaller files, |
29 |
|
|
or to split entire albums to obtain original tracks. |
30 |
|
|
To split an album, the split points and filenames can be selected |
31 |
|
|
manually or automatically from CDDB (internet or a local file), |
32 |
|
|
or from .cue files. |
33 |
|
|
|
34 |
|
|
It supports automatic silence detection, which can be used |
35 |
|
|
to adjust cddb/cue split points. It is also possible to extract |
36 |
|
|
tracks from Mp3Wrap or AlbumWrap files in a few seconds. |
37 |
|
|
|
38 |
|
|
The mp3splt project is divided in 3 parts: |
39 |
|
|
libmp3splt, mp3splt and mp3splt-gtk. |
40 |
|
|
|
41 |
|
|
%package -n %{libname} |
42 |
|
|
Summary: Library to split MP3 and Ogg Files |
43 |
|
|
Group: System/Libraries |
44 |
|
|
|
45 |
|
|
%description -n %{libname} |
46 |
|
|
Library to split mp3 and ogg files selecting a begin and an end time position, |
47 |
|
|
without decoding. It's very useful to split large mp3/ogg to make smaller |
48 |
|
|
files or to split entire albums to obtain original tracks. |
49 |
|
|
|
50 |
|
|
%package -n %{develname} |
51 |
|
|
Summary: Development files for %{name} |
52 |
|
|
Group: Development/Other |
53 |
|
|
Requires: %{libname} = %{version}-%{release} |
54 |
|
|
Provides: %{name}-devel = %{version}-%{release} |
55 |
|
|
|
56 |
|
|
%description -n %{develname} |
57 |
|
|
This package contains development files for the mp3splt project. |
58 |
|
|
|
59 |
|
|
%prep |
60 |
wally |
168281 |
%setup -q |
61 |
wally |
127927 |
%patch0 -p0 -b .strfmt |
62 |
wally |
127908 |
|
63 |
|
|
%build |
64 |
|
|
%configure2_5x \ |
65 |
|
|
--disable-rpath \ |
66 |
wally |
152859 |
--disable-static \ |
67 |
|
|
--disable-doxygen_doc |
68 |
wally |
127908 |
%make |
69 |
|
|
|
70 |
|
|
%install |
71 |
|
|
%makeinstall_std |
72 |
|
|
|
73 |
|
|
# we don't want these |
74 |
|
|
find %{buildroot} -name "*.la" -exec rm -rf {} \; |
75 |
|
|
|
76 |
|
|
%find_lang %{name} |
77 |
|
|
|
78 |
|
|
%clean |
79 |
|
|
rm -rf %{buildroot} |
80 |
|
|
|
81 |
|
|
%files -n %{libname} -f %{name}.lang |
82 |
|
|
%defattr(-,root,root) |
83 |
|
|
%doc AUTHORS ChangeLog NEWS README TODO |
84 |
|
|
%{_libdir}/%{name}.so.%{major}* |
85 |
|
|
%dir %{_libdir}/%{name} |
86 |
|
|
%{_libdir}/%{name}/libsplt_*.so.%{major}* |
87 |
|
|
|
88 |
|
|
%files -n %{develname} |
89 |
|
|
%defattr(-,root,root) |
90 |
|
|
%{_includedir}/%{name} |
91 |
|
|
%{_libdir}/%{name}.so |
92 |
|
|
%{_libdir}/%{name}/libsplt_*.so |
93 |
|
|
%{_datadir}/aclocal/%{oname}.m4 |