/[packages]/cauldron/libmp3splt/current/SPECS/libmp3splt.spec
ViewVC logotype

Contents of /cauldron/libmp3splt/current/SPECS/libmp3splt.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 291164 - (show annotations) (download)
Sun Sep 9 13:55:09 2012 UTC (11 years, 7 months ago) by wally
File size: 2950 byte(s)
- rebuild due to a missing i586 pkg
1 %define oname mp3splt
2 %define major 0
3 %define libname %mklibname %{oname} %{major}
4 %define develname %mklibname -d %{oname}
5
6 Name: libmp3splt
7 Version: 0.7.3
8 Release: %mkrel 3
9 Summary: Library to split MP3 and Ogg Files
10 #Source0: http://ioalex.net/testing_downloads/snapshots/%{rev}/%{name}-%{version}.tar.gz
11 Source0: http://prdownloads.sourceforge.net/mp3splt/%{name}-%{version}.tar.gz
12 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
15 Group: System/Libraries
16 License: GPLv2+
17 BuildRequires: libogg-devel
18 BuildRequires: libvorbis-devel
19 BuildRequires: mad-devel
20 BuildRequires: libid3tag-devel
21 BuildRequires: zlib-devel
22 BuildRequires: glibc-devel
23 BuildRequires: libltdl-devel
24 BuildRequires: pcre-devel
25
26 %description
27 The mp3Splt project provides utilities to split mp3 and ogg files,
28 by selecting a begin and an end time position, without decoding.
29 It is very useful to split large mp3/ogg into smaller files,
30 or to split entire albums to obtain original tracks.
31 To split an album, the split points and filenames can be selected
32 manually or automatically from CDDB (internet or a local file),
33 or from .cue files.
34
35 It supports automatic silence detection, which can be used
36 to adjust cddb/cue split points. It is also possible to extract
37 tracks from Mp3Wrap or AlbumWrap files in a few seconds.
38
39 The mp3splt project is divided in 3 parts:
40 libmp3splt, mp3splt and mp3splt-gtk.
41
42 %package -n %{libname}
43 Summary: Library to split MP3 and Ogg Files
44 Group: System/Libraries
45 Requires: %{name}-i18n >= %{version}-%{release}
46
47 %description -n %{libname}
48 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
50 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}
62 Summary: Development files for %{name}
63 Group: Development/Other
64 Requires: %{libname} = %{version}-%{release}
65 Provides: %{name}-devel = %{version}-%{release}
66
67 %description -n %{develname}
68 This package contains development files for the mp3splt project.
69
70 %prep
71 %setup -q
72 %apply_patches
73
74 %build
75 %configure2_5x \
76 --disable-rpath \
77 --disable-static \
78 --disable-doxygen_doc
79 %make
80
81 %install
82 %makeinstall_std
83
84 # we don't want these
85 find %{buildroot} -name "*.la" -delete
86
87 %find_lang %{name}
88
89 %files -n %{libname}
90 %doc AUTHORS ChangeLog NEWS README TODO
91 %{_libdir}/%{name}.so.%{major}*
92 %dir %{_libdir}/%{name}
93 %{_libdir}/%{name}/libsplt_*.so.%{major}*
94
95 %files -n %{name}-i18n -f %{name}.lang
96
97 %files -n %{develname}
98 %{_includedir}/%{name}
99 %{_libdir}/%{name}.so
100 %{_libdir}/%{name}/libsplt_*.so
101 %{_datadir}/aclocal/%{oname}.m4

  ViewVC Help
Powered by ViewVC 1.1.30