]> git.pld-linux.org Git - packages/mp3splt.git/blob - mp3splt.spec
806750d644e536daae61268c608070e10b8a5ccf
[packages/mp3splt.git] / mp3splt.spec
1 Summary:        Tool for spliting MP3, Ogg files to tracks
2 Summary(pl.UTF-8):      Program do podziału plików MP3, Ogg na ścieżki
3 Name:           mp3splt
4 Version:        2.6
5 Release:        3
6 License:        GPL
7 Group:          Applications/Multimedia
8 Source0:        http://downloads.sourceforge.net/mp3splt/%{name}-%{version}.tar.gz
9 # Source0-md5:  3f149cd0c2842b95551130bd56840f55
10 Patch0:         %{name}-man_link.patch
11 URL:            http://mp3splt.sourceforge.net/
12 BuildRequires:  autoconf >= 2.56
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel >= 0.18.3
15 BuildRequires:  libmp3splt-devel >= 0.9.0
16 BuildRequires:  libtool
17 BuildRequires:  sed >= 4.0
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Mp3Splt is a command line utility to split MP3 and Ogg files selecting
22 a begin and an end time position, without decoding. It's very useful
23 to split large MP3/Ogg to make smaller files or to split entire albums
24 to obtain original tracks. If you want to split an album, you can
25 select split points and filenames manually or you can get them
26 automatically from CDDB (internet or a local file) or from .cue files.
27
28 Otherwise if you have a file created either with Mp3Wrap or AlbumWrap
29 you can extract tracks just in few seconds. Supports VBR MP3.
30
31 %description -l pl.UTF-8
32 Mp3Splt jest narzędziem do podziału plików MP3 i Ogg na ścieżki.
33 Działa bez potrzeby dekodowania pliku. Jest bardzo przydatny do
34 podziału dużych plików MP3/Ogg na mniejsze pliki lub do podziału
35 całego albumu w celu uzyskania poszczególnych ścieżek. W tym drugim
36 przypadku możliwe jest ustalenie momentów zmiany plików oraz ręczne
37 bądź automatyczne (pobierane z CDDB lub plików .cue) ustalanie nazw
38 plików.
39
40 Jeśli posiadasz plik stworzony za pomocą Mp3Wrap lub AlbumWrap, możesz
41 wydobyć poszczególne ścieżki w przeciągu zaledwie kilku sekund.
42 Program obsługuje MP3 z VBR.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 sed -i -e 's/fr_FR/fr/;s/de_DE/de/' po/LINGUAS
48 mv po/fr_FR.po po/fr.po
49 mv po/de_DE.po po/de.po
50 %{__rm} po/stamp-po
51
52 %build
53 %{__gettextize}
54 %{__aclocal} -Im4
55 %{__autoconf}
56 %{__autoheader}
57 %{__automake}
58 %configure \
59         --enable-flacsplt_symlink \
60         --enable-oggsplt_symlink
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %find_lang %{name}
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README
77 %attr(755,root,root) %{_bindir}/flacsplt
78 %attr(755,root,root) %{_bindir}/mp3splt
79 %attr(755,root,root) %{_bindir}/oggsplt
80 %{_mandir}/man1/flacsplt.1*
81 %{_mandir}/man1/mp3splt.1*
82 %{_mandir}/man1/oggsplt.1*
This page took 0.057645 seconds and 2 git commands to generate.