Fri, 11 Mar 2011 21:36:51 +0100
Adjust specification build configurations to port packages to MeeGo.
1 Name: twolame
2 Summary: TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME
3 Vendor: Europalab Software
4 Packager: Michael Schloh von Bennewitz
5 Distribution: MeeGo Thirdparty
6 Group: Applications/Multimedia
7 Version: 0.3.12
8 Release: 20101201
9 License: LGPLv2+
10 URL: http://www.twolame.org/
11 Source: http://downloads.sourceforge.net/twolame/%{name}-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
13 BuildRequires: libsndfile-devel
15 %description
16 TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME,
17 which in turn is based heavily on the ISO dist10 code and improvement to
18 algorithms as part of the LAME project (www.sulaco.org/mp3).
20 This package contains the command line frontend.
22 %package libs
23 Summary: TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME
24 Vendor: Europalab Software
25 Packager: Michael Schloh von Bennewitz
26 Distribution: MeeGo Thirdparty
27 Group: System Environment/Libraries
28 Obsoletes: %{name} < 0.3.12-1
30 %description libs
31 TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME,
32 which in turn is based heavily on the ISO dist10 code and improvement to
33 algorithms as part of the LAME project (www.sulaco.org/mp3).
35 This package contains the shared library.
37 %package devel
38 Summary: Development tools for TwoLAME applications
39 Vendor: Europalab Software
40 Packager: Michael Schloh von Bennewitz
41 Distribution: MeeGo Thirdparty
42 Group: Development/Libraries
43 Requires: %{name}-libs = %{version}-%{release}
44 Requires: pkgconfig
46 %description devel
47 TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME,
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).
51 This package contains the header files and documentation needed to
52 develop applications with TwoLAME.
54 %prep
55 %setup -q
57 %build
58 %configure
59 %{__make} %{?_smp_mflags}
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 %{__make} DESTDIR=$RPM_BUILD_ROOT install
64 rm -rf $RPM_BUILD_ROOT%{_docdir}
66 %clean
67 rm -rf $RPM_BUILD_ROOT
69 %post libs -p /sbin/ldconfig
71 %postun libs -p /sbin/ldconfig
73 %files
74 %defattr(644,root,root,755)
75 %doc AUTHORS COPYING ChangeLog README TODO
76 %attr(755,root,root) %{_bindir}/%{name}
77 %{_mandir}/man1/%{name}.1*
79 %files libs
80 %defattr(-,root,root,-)
81 %attr(755,root,root) %{_libdir}/lib%{name}.so.*
83 %files devel
84 %defattr(644,root,root,755)
85 %doc doc/api.txt doc/html doc/psycho.txt doc/vbr.txt
86 %{_libdir}/pkgconfig/%{name}.pc
87 %{_libdir}/lib%{name}.a
88 %{_libdir}/lib%{name}.la
89 %{_libdir}/lib%{name}.so
90 %{_includedir}/%{name}.h
92 %changelog
93 * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.3.12-20101201
94 - Adjust packaging
96 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.3.12-5
97 - Build for MeeGo 1.1
99 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.3.12-4
100 - rebuild for new F11 features
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
105 * Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.3.12-2
106 - rebuild
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
115 * Thu May 03 2007 Dominik Mierzejewski <rpm@greysector.net> 0.3.10-1
116 - updated to 0.3.10
117 - removed redundant BRs
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
126 * Sun Mar 12 2006 Dominik Mierzejewski <rpm@greysector.net> 0.3.6-1
127 - updated to 0.3.6
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
134 * Sun Aug 21 2005 Dominik Mierzejewski <rpm@greysector.net>
135 - initial package