1 | Name: twolame |
---|
2 | Version: 0.3.13 |
---|
3 | Release: 1%{?_dist_release} |
---|
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 |
---|
10 | BuildRequires: libsndfile-devel |
---|
11 | |
---|
12 | %description |
---|
13 | TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME, |
---|
14 | which in turn is based heavily on |
---|
15 | - the ISO dist10 code |
---|
16 | - improvement to algorithms as part of the LAME project (www.sulaco.org/mp3) |
---|
17 | |
---|
18 | This package contains the command line frontend. |
---|
19 | |
---|
20 | %package devel |
---|
21 | Summary: Development tools for TwoLAME applications |
---|
22 | Group: Development/Libraries |
---|
23 | Requires: %{name} = %{version}-%{release} |
---|
24 | Requires: pkgconfig |
---|
25 | |
---|
26 | %description devel |
---|
27 | This package contains the header files and documentation |
---|
28 | needed to develop applications with TwoLAME. |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q |
---|
32 | # convert manpage to UTF8 |
---|
33 | pushd doc |
---|
34 | iconv -f iso8859-1 -t utf8 %{name}.1 > \ |
---|
35 | %{name}.1.utf && mv %{name}.1.utf %{name}.1 |
---|
36 | # fix HTML docs line endings |
---|
37 | for file in html/*.html ; do |
---|
38 | tr -d '\r' <$file >$file.unix && mv $file.unix $file |
---|
39 | done |
---|
40 | popd |
---|
41 | |
---|
42 | %build |
---|
43 | #autoreconf -f -i |
---|
44 | %configure --disable-static |
---|
45 | |
---|
46 | # remove rpath from libtool |
---|
47 | sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
48 | sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
49 | |
---|
50 | %{__make} %{?_smp_mflags} |
---|
51 | |
---|
52 | %install |
---|
53 | %__rm -rf $RPM_BUILD_ROOT |
---|
54 | %{__make} DESTDIR=$RPM_BUILD_ROOT install |
---|
55 | |
---|
56 | # remove unpackaged files |
---|
57 | %__rm $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
58 | %__rm -rf $RPM_BUILD_ROOT%{_docdir} |
---|
59 | |
---|
60 | %clean |
---|
61 | %__rm -rf $RPM_BUILD_ROOT |
---|
62 | |
---|
63 | %post -p /sbin/ldconfig |
---|
64 | |
---|
65 | %postun -p /sbin/ldconfig |
---|
66 | |
---|
67 | %files |
---|
68 | %defattr(644,root,root,755) |
---|
69 | %doc AUTHORS COPYING ChangeLog README TODO |
---|
70 | %attr(755,root,root) %{_bindir}/%{name} |
---|
71 | %{_libdir}/lib%{name}.so.* |
---|
72 | %{_mandir}/man1/%{name}.1* |
---|
73 | |
---|
74 | %files devel |
---|
75 | %defattr(644,root,root,755) |
---|
76 | %doc doc/api.txt doc/html doc/psycho.txt doc/vbr.txt |
---|
77 | %{_libdir}/pkgconfig/%{name}.pc |
---|
78 | %{_libdir}/lib%{name}.so |
---|
79 | %{_includedir}/%{name}.h |
---|
80 | |
---|
81 | %changelog |
---|
82 | * Tue Jul 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.3.13-1 |
---|
83 | - updated to 0.3.13 |
---|
84 | |
---|
85 | * Wed Jan 21 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.3.12-1 |
---|
86 | - initial build |
---|
87 | |
---|
88 | * Mon Aug 04 2008 kwizart < kwizart at gmail.com > - 0.3.12-3 |
---|
89 | - Remove rpath with the "patch libtool" method instead of autoreconf |
---|
90 | |
---|
91 | * Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.3.12-2 |
---|
92 | - rebuild |
---|
93 | |
---|
94 | * Sun Jan 13 2008 Dominik Mierzejewski <rpm@greysector.net> 0.3.12-1 |
---|
95 | - updated to 0.3.12 |
---|
96 | - updated source URL |
---|
97 | - split off libs to avoid multilib conflicts |
---|
98 | - move docs processing to prep to avoid problems with shortcut builds |
---|
99 | - update license tag |
---|
100 | |
---|
101 | * Thu May 03 2007 Dominik Mierzejewski <rpm@greysector.net> 0.3.10-1 |
---|
102 | - updated to 0.3.10 |
---|
103 | - removed redundant BRs |
---|
104 | |
---|
105 | * Wed Nov 01 2006 Dominik Mierzejewski <rpm@greysector.net> 0.3.8-1 |
---|
106 | - updated to 0.3.8 |
---|
107 | - rebuild autofiles to get rid of rpath |
---|
108 | - disable static library build |
---|
109 | - fix manpage encoding |
---|
110 | - fix HTML docs line endings |
---|
111 | |
---|
112 | * Sun Mar 12 2006 Dominik Mierzejewski <rpm@greysector.net> 0.3.6-1 |
---|
113 | - updated to 0.3.6 |
---|
114 | |
---|
115 | * Tue Jan 24 2006 Dominik Mierzejewski <rpm@greysector.net> 0.3.5-1 |
---|
116 | - updated to 0.3.5 |
---|
117 | - simplified package layout |
---|
118 | - FE/livna compliance |
---|
119 | |
---|
120 | * Sun Aug 21 2005 Dominik Mierzejewski <rpm@greysector.net> |
---|
121 | - initial package |
---|