1 Name: twolame |
1 Name: twolame |
2 Version: 0.3.12 |
2 Summary: TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME |
3 Release: 5.4 |
3 Vendor: Europalab Software |
4 Summary: TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME |
4 Packager: Michael Schloh von Bennewitz |
5 Group: Applications/Multimedia |
5 Distribution: MeeGo Thirdparty |
6 License: LGPLv2+ |
6 Group: Applications/Multimedia |
7 URL: http://www.twolame.org/ |
7 Version: 0.3.12 |
8 Source: http://downloads.sourceforge.net/twolame/%{name}-%{version}.tar.gz |
8 Release: 20101201 |
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
9 License: LGPLv2+ |
10 BuildRequires: libsndfile-devel |
10 URL: http://www.twolame.org/ |
11 #BuildRequires: libtool |
11 Source: http://downloads.sourceforge.net/twolame/%{name}-%{version}.tar.gz |
|
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|
13 BuildRequires: libsndfile-devel |
12 |
14 |
13 %description |
15 %description |
14 TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME, |
16 TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME, |
15 which in turn is based heavily on |
17 which in turn is based heavily on the ISO dist10 code and improvement to |
16 - the ISO dist10 code |
18 algorithms as part of the LAME project (www.sulaco.org/mp3). |
17 - improvement to algorithms as part of the LAME project (www.sulaco.org/mp3) |
|
18 |
19 |
19 This package contains the command line frontend. |
20 This package contains the command line frontend. |
20 |
21 |
21 %package libs |
22 %package libs |
22 Summary: TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME |
23 Summary: TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME |
23 Group: System Environment/Libraries |
24 Vendor: Europalab Software |
24 Obsoletes: %{name} < 0.3.12-1 |
25 Packager: Michael Schloh von Bennewitz |
|
26 Distribution: MeeGo Thirdparty |
|
27 Group: System Environment/Libraries |
|
28 Obsoletes: %{name} < 0.3.12-1 |
25 |
29 |
26 %description libs |
30 %description libs |
27 TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME, |
31 TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME, |
28 which in turn is based heavily on |
32 which in turn is based heavily on the ISO dist10 code and improvement to |
29 - the ISO dist10 code |
33 algorithms as part of the LAME project (www.sulaco.org/mp3). |
30 - improvement to algorithms as part of the LAME project (www.sulaco.org/mp3) |
|
31 |
34 |
32 This package contains the shared library. |
35 This package contains the shared library. |
33 |
36 |
34 %package devel |
37 %package devel |
35 Summary: Development tools for TwoLAME applications |
38 Summary: Development tools for TwoLAME applications |
36 Group: Development/Libraries |
39 Vendor: Europalab Software |
37 Requires: %{name}-libs = %{version}-%{release} |
40 Packager: Michael Schloh von Bennewitz |
38 Requires: pkgconfig |
41 Distribution: MeeGo Thirdparty |
|
42 Group: Development/Libraries |
|
43 Requires: %{name}-libs = %{version}-%{release} |
|
44 Requires: pkgconfig |
39 |
45 |
40 %description devel |
46 %description devel |
41 This package contains the header files and documentation |
47 TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME, |
42 needed to develop applications with TwoLAME. |
48 which in turn is based heavily on the ISO dist10 code and improvement to |
|
49 algorithms as part of the LAME project (www.sulaco.org/mp3). |
|
50 |
|
51 This package contains the header files and documentation needed to |
|
52 develop applications with TwoLAME. |
43 |
53 |
44 %prep |
54 %prep |
45 %setup -q |
55 %setup -q |
46 # convert manpage to UTF8 |
|
47 pushd doc |
|
48 iconv -f iso8859-1 -t utf8 %{name}.1 > %{name}.1.utf && mv %{name}.1.utf %{name}.1 |
|
49 # fix HTML docs line endings |
|
50 for file in html/*.html ; do |
|
51 tr -d '\r' <$file >$file.unix && mv $file.unix $file |
|
52 done |
|
53 popd |
|
54 |
56 |
55 %build |
57 %build |
56 #autoreconf -f -i |
58 %configure |
57 %configure --disable-static |
|
58 |
|
59 # remove rpath from libtool |
|
60 sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
|
61 sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
|
62 |
|
63 %{__make} %{?_smp_mflags} |
59 %{__make} %{?_smp_mflags} |
64 |
60 |
65 %install |
61 %install |
66 rm -rf $RPM_BUILD_ROOT |
62 rm -rf $RPM_BUILD_ROOT |
67 %{__make} DESTDIR=$RPM_BUILD_ROOT install |
63 %{__make} DESTDIR=$RPM_BUILD_ROOT install |
68 rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
69 rm -rf $RPM_BUILD_ROOT%{_docdir} |
64 rm -rf $RPM_BUILD_ROOT%{_docdir} |
70 |
65 |
71 %clean |
66 %clean |
72 rm -rf $RPM_BUILD_ROOT |
67 rm -rf $RPM_BUILD_ROOT |
73 |
68 |
87 |
82 |
88 %files devel |
83 %files devel |
89 %defattr(644,root,root,755) |
84 %defattr(644,root,root,755) |
90 %doc doc/api.txt doc/html doc/psycho.txt doc/vbr.txt |
85 %doc doc/api.txt doc/html doc/psycho.txt doc/vbr.txt |
91 %{_libdir}/pkgconfig/%{name}.pc |
86 %{_libdir}/pkgconfig/%{name}.pc |
|
87 %{_libdir}/lib%{name}.a |
|
88 %{_libdir}/lib%{name}.la |
92 %{_libdir}/lib%{name}.so |
89 %{_libdir}/lib%{name}.so |
93 %{_includedir}/%{name}.h |
90 %{_includedir}/%{name}.h |
94 |
91 |
95 %changelog |
92 %changelog |
|
93 * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.3.12-20101201 |
|
94 - Adjust packaging |
|
95 |
96 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.3.12-5 |
96 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.3.12-5 |
97 - Build for MeeGo 1.1 |
97 - Build for MeeGo 1.1 |
98 |
98 |
99 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.3.12-4 |
99 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.3.12-4 |
100 - rebuild for new F11 features |
100 - rebuild for new F11 features |