]> git.pld-linux.org Git - SPECS.git/blob - twolame.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / twolame.spec
1 Summary:        Optimized MPEG Audio Layer 2 (MP2) encoder
2 Summary(pl.UTF-8):      Zoptymalizowany koder MPEG Audio Layer 2 (MP2)
3 Name:           twolame
4 Version:        0.4.0
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/twolame/%{name}-%{version}.tar.gz
9 # Source0-md5:  400c164ed096c7aea82bcf8edcd3f6f9
10 URL:            http://www.twolame.org/
11 BuildRequires:  autoconf >= 2.68
12 BuildRequires:  automake >= 1:1.10
13 BuildRequires:  libsndfile-devel >= 1.0.0
14 BuildRequires:  libtool >= 2:2.2
15 BuildRequires:  pkgconfig
16 Requires:       %{name}-libs = %{version}-%{release}
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder based on
21 tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code
22 and portions of LAME.
23
24 Features added to TwoLAME:
25  - Fully thread-safe
26  - Static and shared library (libtwolame)
27  - API very similar to LAME's (for easy porting)
28  - C99 compliant
29  - Frontend supports wider range of input files (using libsndfile)
30
31 %description -l pl.UTF-8
32 TwoLAME to zoptymalizowany koder MPEG Audio Layer 2 (MP2) oparty na
33 tooLAME Mike'a Chenga, który z kolei jest oparty na kodzie ISO dist10
34 i fragmentach LAME.
35
36 Cechy dodane do TwoLAME:
37  - pełna zgodność z wątkami
38  - statyczna i współdzielona biblioteka (libtwolame)
39  - API bardzo podobne do API LAME (dla łatwego portowania)
40  - zgodność z C99
41  - frontend obsługuje wiele rodzajów plików wejściowych (poprzez
42    libsndfile)
43
44 %package libs
45 Summary:        TwoLAME MP2 encoding library
46 Summary(pl.UTF-8):      Biblioteka kodująca MP2
47 Group:          Libraries
48 Conflicts:      twolame < 0.3.9
49
50 %description libs
51 TwoLAME MP2 encoding library.
52
53 %description libs -l pl.UTF-8
54 Biblioteka kodująca MP2.
55
56 %package devel
57 Summary:        Header files for TwoLAME library
58 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki TwoLAME
59 Group:          Development/Libraries
60 Requires:       %{name}-libs = %{version}-%{release}
61
62 %description devel
63 Header files for TwoLAME library.
64
65 %description devel -l pl.UTF-8
66 Pliki nagłówkowe biblioteki TwoLAME.
67
68 %package static
69 Summary:        Static TwoLAME library
70 Summary(pl.UTF-8):      Statyczna biblioteka TwoLAME
71 Group:          Development/Libraries
72 Requires:       %{name}-devel = %{version}-%{release}
73
74 %description static
75 Static TwoLAME library.
76
77 %description static -l pl.UTF-8
78 Statyczna biblioteka TwoLAME.
79
80 %prep
81 %setup -q
82
83 %build
84 %{__libtoolize}
85 %{__aclocal}
86 %{__autoconf}
87 %{__autoheader}
88 %{__automake}
89 %configure
90
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/twolame
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %post   libs -p /sbin/ldconfig
105 %postun libs -p /sbin/ldconfig
106
107 %files
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog README
110 %attr(755,root,root) %{_bindir}/twolame
111 %{_mandir}/man1/twolame.1*
112
113 %files libs
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/libtwolame.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libtwolame.so.0
117
118 %files devel
119 %defattr(644,root,root,755)
120 %doc doc/html/*
121 %attr(755,root,root) %{_libdir}/libtwolame.so
122 %{_libdir}/libtwolame.la
123 %{_includedir}/twolame.h
124 %{_pkgconfigdir}/twolame.pc
125
126 %files static
127 %defattr(644,root,root,755)
128 %{_libdir}/libtwolame.a
This page took 0.07274 seconds and 3 git commands to generate.