|
1 Name: twolame |
|
2 Version: 0.3.12 |
|
3 Release: 5.4 |
|
4 Summary: TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME |
|
5 Group: Applications/Multimedia |
|
6 License: LGPLv2+ |
|
7 URL: http://www.twolame.org/ |
|
8 Source: http://downloads.sourceforge.net/twolame/%{name}-%{version}.tar.gz |
|
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|
10 BuildRequires: libsndfile-devel |
|
11 #BuildRequires: libtool |
|
12 |
|
13 %description |
|
14 TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME, |
|
15 which in turn is based heavily on |
|
16 - the ISO dist10 code |
|
17 - improvement to algorithms as part of the LAME project (www.sulaco.org/mp3) |
|
18 |
|
19 This package contains the command line frontend. |
|
20 |
|
21 %package libs |
|
22 Summary: TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME |
|
23 Group: System Environment/Libraries |
|
24 Obsoletes: %{name} < 0.3.12-1 |
|
25 |
|
26 %description libs |
|
27 TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME, |
|
28 which in turn is based heavily on |
|
29 - the ISO dist10 code |
|
30 - improvement to algorithms as part of the LAME project (www.sulaco.org/mp3) |
|
31 |
|
32 This package contains the shared library. |
|
33 |
|
34 %package devel |
|
35 Summary: Development tools for TwoLAME applications |
|
36 Group: Development/Libraries |
|
37 Requires: %{name}-libs = %{version}-%{release} |
|
38 Requires: pkgconfig |
|
39 |
|
40 %description devel |
|
41 This package contains the header files and documentation |
|
42 needed to develop applications with TwoLAME. |
|
43 |
|
44 %prep |
|
45 %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 |
|
55 %build |
|
56 #autoreconf -f -i |
|
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} |
|
64 |
|
65 %install |
|
66 rm -rf $RPM_BUILD_ROOT |
|
67 %{__make} DESTDIR=$RPM_BUILD_ROOT install |
|
68 rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
69 rm -rf $RPM_BUILD_ROOT%{_docdir} |
|
70 |
|
71 %clean |
|
72 rm -rf $RPM_BUILD_ROOT |
|
73 |
|
74 %post libs -p /sbin/ldconfig |
|
75 |
|
76 %postun libs -p /sbin/ldconfig |
|
77 |
|
78 %files |
|
79 %defattr(644,root,root,755) |
|
80 %doc AUTHORS COPYING ChangeLog README TODO |
|
81 %attr(755,root,root) %{_bindir}/%{name} |
|
82 %{_mandir}/man1/%{name}.1* |
|
83 |
|
84 %files libs |
|
85 %defattr(-,root,root,-) |
|
86 %attr(755,root,root) %{_libdir}/lib%{name}.so.* |
|
87 |
|
88 %files devel |
|
89 %defattr(644,root,root,755) |
|
90 %doc doc/api.txt doc/html doc/psycho.txt doc/vbr.txt |
|
91 %{_libdir}/pkgconfig/%{name}.pc |
|
92 %{_libdir}/lib%{name}.so |
|
93 %{_includedir}/%{name}.h |
|
94 |
|
95 %changelog |
|
96 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.3.12-5 |
|
97 - Build for MeeGo 1.1 |
|
98 |
|
99 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.3.12-4 |
|
100 - rebuild for new F11 features |
|
101 |
|
102 * Mon Aug 04 2008 kwizart < kwizart at gmail.com > - 0.3.12-3 |
|
103 - Remove rpath with the "patch libtool" method instead of autoreconf |
|
104 |
|
105 * Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.3.12-2 |
|
106 - rebuild |
|
107 |
|
108 * Sun Jan 13 2008 Dominik Mierzejewski <rpm@greysector.net> 0.3.12-1 |
|
109 - updated to 0.3.12 |
|
110 - updated source URL |
|
111 - split off libs to avoid multilib conflicts |
|
112 - move docs processing to prep to avoid problems with shortcut builds |
|
113 - update license tag |
|
114 |
|
115 * Thu May 03 2007 Dominik Mierzejewski <rpm@greysector.net> 0.3.10-1 |
|
116 - updated to 0.3.10 |
|
117 - removed redundant BRs |
|
118 |
|
119 * Wed Nov 01 2006 Dominik Mierzejewski <rpm@greysector.net> 0.3.8-1 |
|
120 - updated to 0.3.8 |
|
121 - rebuild autofiles to get rid of rpath |
|
122 - disable static library build |
|
123 - fix manpage encoding |
|
124 - fix HTML docs line endings |
|
125 |
|
126 * Sun Mar 12 2006 Dominik Mierzejewski <rpm@greysector.net> 0.3.6-1 |
|
127 - updated to 0.3.6 |
|
128 |
|
129 * Tue Jan 24 2006 Dominik Mierzejewski <rpm@greysector.net> 0.3.5-1 |
|
130 - updated to 0.3.5 |
|
131 - simplified package layout |
|
132 - FE/livna compliance |
|
133 |
|
134 * Sun Aug 21 2005 Dominik Mierzejewski <rpm@greysector.net> |
|
135 - initial package |