5 |
|
|
6 |
Name: libmp3splt |
Name: libmp3splt |
7 |
Version: 0.7.3 |
Version: 0.7.3 |
8 |
Release: %mkrel 1 |
Release: %mkrel 2 |
9 |
Summary: Library to split MP3 and Ogg Files |
Summary: Library to split MP3 and Ogg Files |
10 |
#Source0: http://ioalex.net/testing_downloads/snapshots/%{rev}/%{name}-%{version}.tar.gz |
#Source0: http://ioalex.net/testing_downloads/snapshots/%{rev}/%{name}-%{version}.tar.gz |
11 |
Source0: http://prdownloads.sourceforge.net/mp3splt/%{name}-%{version}.tar.gz |
Source0: http://prdownloads.sourceforge.net/mp3splt/%{name}-%{version}.tar.gz |
12 |
Patch0: libmp3splt-0.7-fix_str_fmt.patch |
Patch0: libmp3splt-0.7-fix_str_fmt.patch |
13 |
|
Patch1: libmp3splt-0.7.3-remove-unneeded-ltdl.h-includes.patch |
14 |
URL: http://mp3splt.sourceforge.net |
URL: http://mp3splt.sourceforge.net |
15 |
Group: System/Libraries |
Group: System/Libraries |
16 |
License: GPLv2+ |
License: GPLv2+ |
42 |
%package -n %{libname} |
%package -n %{libname} |
43 |
Summary: Library to split MP3 and Ogg Files |
Summary: Library to split MP3 and Ogg Files |
44 |
Group: System/Libraries |
Group: System/Libraries |
45 |
|
Requires: %{name}-i18n >= %{version}-%{release} |
46 |
|
|
47 |
%description -n %{libname} |
%description -n %{libname} |
48 |
Library to split mp3 and ogg files selecting a begin and an end time position, |
Library to split mp3 and ogg files selecting a begin and an end time position, |
49 |
without decoding. It's very useful to split large mp3/ogg to make smaller |
without decoding. It's very useful to split large mp3/ogg to make smaller |
50 |
files or to split entire albums to obtain original tracks. |
files or to split entire albums to obtain original tracks. |
51 |
|
|
52 |
|
%package -n %{name}-i18n |
53 |
|
Summary: Internationalization and locale data for %{name} |
54 |
|
Group: System/Internationalization |
55 |
|
BuildArch: noarch |
56 |
|
Conflicts: %{_lib}mp3splt0 < 0.7.3-2 |
57 |
|
|
58 |
|
%description -n %{name}-i18n |
59 |
|
Internationalization and locale data for %{name} |
60 |
|
|
61 |
%package -n %{develname} |
%package -n %{develname} |
62 |
Summary: Development files for %{name} |
Summary: Development files for %{name} |
63 |
Group: Development/Other |
Group: Development/Other |
69 |
|
|
70 |
%prep |
%prep |
71 |
%setup -q |
%setup -q |
72 |
%patch0 -p0 -b .strfmt |
%apply_patches |
73 |
|
|
74 |
%build |
%build |
75 |
%configure2_5x \ |
%configure2_5x \ |
82 |
%makeinstall_std |
%makeinstall_std |
83 |
|
|
84 |
# we don't want these |
# we don't want these |
85 |
find %{buildroot} -name "*.la" -exec rm -rf {} \; |
find %{buildroot} -name "*.la" -delete |
86 |
|
|
87 |
%find_lang %{name} |
%find_lang %{name} |
88 |
|
|
89 |
%clean |
%files -n %{libname} |
|
rm -rf %{buildroot} |
|
|
|
|
|
%files -n %{libname} -f %{name}.lang |
|
|
%defattr(-,root,root) |
|
90 |
%doc AUTHORS ChangeLog NEWS README TODO |
%doc AUTHORS ChangeLog NEWS README TODO |
91 |
%{_libdir}/%{name}.so.%{major}* |
%{_libdir}/%{name}.so.%{major}* |
92 |
%dir %{_libdir}/%{name} |
%dir %{_libdir}/%{name} |
93 |
%{_libdir}/%{name}/libsplt_*.so.%{major}* |
%{_libdir}/%{name}/libsplt_*.so.%{major}* |
94 |
|
|
95 |
|
%files -n %{name}-i18n -f %{name}.lang |
96 |
|
|
97 |
%files -n %{develname} |
%files -n %{develname} |
|
%defattr(-,root,root) |
|
98 |
%{_includedir}/%{name} |
%{_includedir}/%{name} |
99 |
%{_libdir}/%{name}.so |
%{_libdir}/%{name}.so |
100 |
%{_libdir}/%{name}/libsplt_*.so |
%{_libdir}/%{name}/libsplt_*.so |