Fri, 11 Mar 2011 21:39:41 +0100
Import new package specs for introduction into repository.
michael@0 | 1 | Name: lame |
michael@0 | 2 | Version: 3.98.4 |
michael@1 | 3 | Release: 20101201 |
michael@0 | 4 | Summary: Free MP3 audio compressor |
michael@1 | 5 | Vendor: Europalab Software |
michael@1 | 6 | Packager: Michael Schloh von Bennewitz |
michael@1 | 7 | Distribution: MeeGo Thirdparty |
michael@0 | 8 | Group: Applications/Multimedia |
michael@0 | 9 | License: GPLv2+ |
michael@0 | 10 | URL: http://lame.sourceforge.net/ |
michael@0 | 11 | Source0: http://downloads.sourceforge.net/sourceforge/lame/%{name}-%{version}.tar.gz |
michael@1 | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
michael@0 | 13 | BuildRequires: ncurses-devel |
michael@0 | 14 | BuildRequires: pkgconfig |
michael@0 | 15 | %ifarch %{ix86} |
michael@0 | 16 | BuildRequires: nasm |
michael@0 | 17 | %endif |
michael@0 | 18 | Requires: %{name}-libs = %{version}-%{release} |
michael@0 | 19 | |
michael@0 | 20 | %description |
michael@0 | 21 | LAME is an open source MP3 encoder whose quality and speed matches |
michael@0 | 22 | commercial encoders. LAME handles MPEG1,2 and 2.5 layer III encoding |
michael@0 | 23 | with both constant and variable bitrates. |
michael@0 | 24 | |
michael@0 | 25 | %package libs |
michael@0 | 26 | Summary: LAME MP3 encoding library |
michael@1 | 27 | Vendor: Europalab Software |
michael@1 | 28 | Packager: Michael Schloh von Bennewitz |
michael@1 | 29 | Distribution: MeeGo Thirdparty |
michael@0 | 30 | Group: System Environment/Libraries |
michael@0 | 31 | |
michael@0 | 32 | %description libs |
michael@1 | 33 | LAME is an open source MP3 encoder whose quality and speed matches |
michael@1 | 34 | commercial encoders. LAME handles MPEG1,2 and 2.5 layer III encoding |
michael@1 | 35 | with both constant and variable bitrates. This package provides the |
michael@0 | 36 | LAME MP3 encoding library. |
michael@0 | 37 | |
michael@0 | 38 | %package devel |
michael@0 | 39 | Summary: Development files for %{name} |
michael@1 | 40 | Vendor: Europalab Software |
michael@1 | 41 | Packager: Michael Schloh von Bennewitz |
michael@1 | 42 | Distribution: MeeGo Thirdparty |
michael@0 | 43 | Group: Development/Libraries |
michael@0 | 44 | Requires: %{name}-libs = %{version}-%{release} |
michael@0 | 45 | |
michael@0 | 46 | %description devel |
michael@1 | 47 | LAME is an open source MP3 encoder whose quality and speed matches |
michael@1 | 48 | commercial encoders. LAME handles MPEG1,2 and 2.5 layer III encoding |
michael@1 | 49 | with both constant and variable bitrates. This package provides |
michael@1 | 50 | development files for %{name}. |
michael@0 | 51 | |
michael@0 | 52 | %prep |
michael@0 | 53 | %setup -q |
michael@0 | 54 | iconv -f ISO-8859-1 -t UTF8 ChangeLog > ChangeLog.tmp && touch -r ChangeLog ChangeLog.tmp && mv ChangeLog.tmp ChangeLog |
michael@0 | 55 | |
michael@0 | 56 | %build |
michael@0 | 57 | %configure \ |
michael@0 | 58 | %ifarch %{ix86} |
michael@0 | 59 | --enable-nasm \ |
michael@0 | 60 | %endif |
michael@0 | 61 | --enable-mp3rtp \ |
michael@0 | 62 | --enable-decode-layer1 |
michael@0 | 63 | |
michael@1 | 64 | %{__make} |
michael@0 | 65 | |
michael@0 | 66 | %install |
michael@0 | 67 | rm -rf $RPM_BUILD_ROOT |
michael@1 | 68 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
michael@0 | 69 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
michael@0 | 70 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
michael@0 | 71 | |
michael@0 | 72 | %check |
michael@1 | 73 | %{__make} test |
michael@0 | 74 | |
michael@0 | 75 | %post libs -p /sbin/ldconfig |
michael@0 | 76 | |
michael@0 | 77 | %postun libs -p /sbin/ldconfig |
michael@0 | 78 | |
michael@0 | 79 | %clean |
michael@0 | 80 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 81 | |
michael@0 | 82 | %files |
michael@0 | 83 | %defattr (-,root,root,-) |
michael@0 | 84 | %doc README TODO USAGE doc/html/*.html doc/html/*.css |
michael@0 | 85 | %{_bindir}/lame |
michael@0 | 86 | %{_bindir}/mp3rtp |
michael@0 | 87 | %{_mandir}/man1/lame.1* |
michael@0 | 88 | |
michael@0 | 89 | %files libs |
michael@0 | 90 | %defattr(-,root,root,-) |
michael@0 | 91 | %doc ChangeLog COPYING LICENSE |
michael@0 | 92 | %{_libdir}/libmp3lame.so.* |
michael@0 | 93 | |
michael@0 | 94 | %files devel |
michael@0 | 95 | %defattr (-,root,root,-) |
michael@0 | 96 | %doc API HACKING STYLEGUIDE |
michael@1 | 97 | %{_libdir}/libmp3lame.a |
michael@0 | 98 | %{_libdir}/libmp3lame.so |
michael@1 | 99 | %{_includedir}/lame |
michael@0 | 100 | |
michael@0 | 101 | %changelog |
michael@1 | 102 | * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 3.98.4-20101201 |
michael@1 | 103 | - Adjust packaging |
michael@1 | 104 | |
michael@0 | 105 | * Fri Oct 29 2010 Kozinov Ivan <kozinov@gmail.com> - 3.98.4-1 |
michael@1 | 106 | - Package for MeeGo 1.1 |