30 Distribution: OpenPKG Community |
30 Distribution: OpenPKG Community |
31 Class: PLUS |
31 Class: PLUS |
32 Group: Audio |
32 Group: Audio |
33 License: LGPL |
33 License: LGPL |
34 Version: 14.4.0 |
34 Version: 14.4.0 |
35 Release: 20120208 |
35 Release: 20120800 |
36 |
36 |
37 # list of sources |
37 # list of sources |
38 Source0: http://switch.dl.sourceforge.net/sourceforge/sox/sox-%{version}.tar.bz2 |
38 Source0: http://switch.dl.sourceforge.net/sourceforge/sox/sox-%{version}.tar.bz2 |
39 |
39 |
40 # build information |
40 # build information |
41 Prefix: %{l_prefix} |
41 BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc |
42 BuildRoot: %{l_buildroot} |
42 PreReq: OpenPKG, openpkg >= 20100101 |
43 BuildPreReq: OpenPKG, openpkg >= 20060823, make, gcc |
|
44 PreReq: OpenPKG, openpkg >= 20060823 |
|
45 AutoReq: no |
|
46 AutoReqProv: no |
|
47 |
43 |
48 %description |
44 %description |
49 SoX is the swiss army knife of sound processing programs. It is a |
45 SoX is the swiss army knife of sound processing programs. It is a |
50 command line utility that can convert various formats of computer |
46 command line utility that can convert various formats of computer |
51 audio files in to other formats. It can also apply various effects |
47 audio files in to other formats. It can also apply various effects |
77 --disable-shared |
73 --disable-shared |
78 |
74 |
79 %{l_make} %{l_mflags -O} |
75 %{l_make} %{l_mflags -O} |
80 |
76 |
81 %install |
77 %install |
82 rm -rf $RPM_BUILD_ROOT |
|
83 %{l_make} %{l_mflags} install \ |
78 %{l_make} %{l_mflags} install \ |
84 DESTDIR="$RPM_BUILD_ROOT" \ |
79 DESTDIR="$RPM_BUILD_ROOT" \ |
85 LN_S="ln" |
80 LN_S="ln" |
86 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true |
81 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true |
87 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
82 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
88 |
83 |
89 %files -f files |
84 %files -f files |
90 |
85 |
91 %clean |
86 %clean |
92 rm -rf $RPM_BUILD_ROOT |
|
93 |
87 |