lame/lame.spec

Fri, 11 Mar 2011 21:39:41 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:39:41 +0100
changeset 2
e3665a058d13
parent 0
4f133201e207
permissions
-rw-r--r--

Import new package specs for introduction into repository.

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

mercurial