-
Notifications
You must be signed in to change notification settings - Fork 34
/
twolame.spec.in
77 lines (57 loc) · 1.63 KB
/
twolame.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Name: twolame
Version: @VERSION@
Release: 1%{?dist}
Summary: MPEG Audio Layer 2 (MP2) encoder
Group: Applications/Multimedia
License: LGPLv2
URL: http://www.twolame.org/
Source: http://www.twolame.org/download/%{name}-%{version}.tar.gz
BuildRequires: libsndfile-devel
Requires: libsndfile
Requires: twolame-libs = %{version}-%{release}
%description
TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder. It is based heavily on:
- tooLAME by Michael Cheng
- the ISO dist10 code
- improvement to algorithms as part of the LAME project
This package contains the command line frontend.
%package devel
Summary: Libraries and header files for apps encoding MPEG Layer 2 audio
Group: Development/Libraries
Requires: twolame-libs = %{version}-%{release}
Requires: pkgconfig
%description devel
Header files and a library for encoding MPEG Layer 2 audio, for developing apps
which will use the library.
%package libs
Summary: Libraries for applications encoding MPEG Layer 2 audio
Group: System Environment/Libraries
%description libs
Dynamic libraries for applications encoding MPEG Layer 2 audio.
%prep
%setup -q
%build
%configure
%{__make} %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files
%defattr(-, root, root, 0755)
%attr(755,root,root) %{_bindir}/twolame
%{_mandir}/man1/*
%files libs
%doc COPYING
%{_libdir}/libtwolame.so.*
%files devel
%{_libdir}/pkgconfig/twolame.pc
%{_includedir}/twolame.h
%{_libdir}/*.so
%{_libdir}/libtwolame*.a
%{_libdir}/libtwolame*.la
%{_docdir}/*
%changelog