]> git.pld-linux.org Git - packages/wavpack.git/blob - wavpack.spec
- initial
[packages/wavpack.git] / wavpack.spec
1 Summary:        Open audio compression codec
2 Summary(pl):    Otwarty kodek kompresji d¼wikêku
3 Name:           wavpack
4 Version:        4.2
5 Release:        1
6 License:        other
7 Group:          Libraries
8 Source0:        http://www.wavpack.com/%{name}-%{version}.tar.bz2
9 # Source0-md5:  2e740b2e36833e78a227913cf0efc3b6
10 URL:            http://www.wavpack.com
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 Requires:       %{name}-libs = %{version}-%{release}
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 WavPack is a completely open audio compression format providing
19 lossless, high-quality lossy, and a unique hybrid compression mode.
20
21 Although the technology is loosely based on previous versions of
22 WavPack, the new version 4 format has been designed from the ground up
23 to offer unparalleled performance and functionality. In the default
24 lossless mode WavPack acts just like a WinZip compressor for audio
25 files. However, unlike MP3 or WMA encoding which can affect the sound
26 quality, not a single bit of the original information is lost, so
27 there's no chance of degradation. This makes lossless mode ideal for
28 archiving audio material or any other situation where quality is
29 paramount. The compression ratio depends on the source material, but
30 generally is between 30% and 70%.
31
32 The hybrid mode provides all the advantages of lossless compression
33 with an additional bonus. Instead of creating a single file, this mode
34 creates both a relatively small, high-quality lossy file that can be
35 used all by itself, and a "correction" file that (when combined with
36 the lossy file) provides full lossless restoration. For some users
37 this means never having to choose between lossless and lossy
38 compression!
39
40 #%description -l pl
41 #write me
42
43 %package libs
44 Summary:        Wavpack library
45 Summary(pl):    Biblioteka Wavpack
46 Group:          Libraries
47 Requires:       %{name}-libs = %{version}-%{release}
48
49 %description libs
50 Wavpack library.
51
52 %description libs -l pl
53 Biblioteka Wavpack.
54
55 %package devel
56 Summary:        Header files for Wavpack
57 Summary(pl):    Pliki nag³ówkowe Wavpack
58 Group:          Development/Libraries
59 Requires:       %{name}-libs = %{version}-%{release}
60
61 %description devel
62 Header files for Wavpack.
63
64 %description devel -l pl
65 Pliki nag³ówkowe biblioteki Wavpack.
66
67 %package static
68 Summary:        Static Wavpack library
69 Summary(pl):    Statyczna biblioteka Wavpack
70 Group:          Development/Libraries
71 Requires:       %{name}-devel = %{version}-%{release}
72
73 %description static
74 Static Wavpack library.
75
76 %description static -l pl
77 Statyczna biblioteka Wavpack.
78
79 %prep
80 %setup -q
81
82 %build
83 %{__libtoolize}
84 %{__aclocal}
85 %{__autoconf}
86 %{__automake}
87 %configure
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   libs -p /sbin/ldconfig
100 %postun libs -p /sbin/ldconfig
101
102 %files
103 %defattr(644,root,root,755)
104 %doc ChangeLog README license.txt
105 %attr(755,root,root) %{_bindir}/*
106
107 %files libs
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/lib*.so
114 %{_libdir}/lib*.la
115 %{_includedir}/wavpack
116 %{_pkgconfigdir}/*.pc
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/lib*.a
This page took 0.0643 seconds and 3 git commands to generate.