]> git.pld-linux.org Git - SPECS.git/blob - trm.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / trm.spec
1 Summary:        TRM id generator
2 Summary(pl.UTF-8):      Generator identyfikatorów TRM
3 Name:           trm
4 Version:        0.2.1
5 Release:        2
6 License:        GPL
7 Group:          Applications/Sound
8 Source0:        ftp://ftp.musicbrainz.org/pub/musicbrainz/%{name}-%{version}.tar.gz
9 # Source0-md5:  3f7e6c30cb91429313ca1a27df47e8bc
10 Patch0:         %{name}-gcc4.patch
11 URL:            http://www.musicbrainz.org/products/trmgen/download.html
12 BuildRequires:  libid3tag-devel
13 BuildRequires:  libmad-devel
14 BuildRequires:  libmusicbrainz-devel >= 2.1.0
15 BuildRequires:  libvorbis-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The trm program will decode the first 30 seconds of audio file and
20 then spit out a TRM id (see http://www.relatable.com/ for details) on
21 stdout.
22
23 %description -l pl.UTF-8
24 Program trm dekoduje pierwsze 30 sekund pliku dźwiękowego i wypisuje
25 jego identyfikator TRM (opisany na http://www.relatable.com/).
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 %configure
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_bindir}
38
39 install trm $RPM_BUILD_ROOT%{_bindir}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc AUTHORS README
47 %attr(755,root,root) %{_bindir}/*
This page took 1.112035 seconds and 3 git commands to generate.