]> git.pld-linux.org Git - packages/wavpack.git/blob - wavpack.spec
fb23bf2f70b3dfbcb5c3a035068753e1f7d8a7d2
[packages/wavpack.git] / wavpack.spec
1 Summary:        Open audio compression codec
2 Summary(pl):    Otwarty kodek kompresji d¼wiêku
3 Name:           wavpack
4 Version:        4.2
5 Release:        2
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 WavPack to ca³kowicie otwarty format kompresji d¼wiêku dostarczaj±cy
42 tryby kompresji: bezstratny, stratny wysokiej jako¶ci oraz unikalny
43 hybrydowy.
44
45 Chocia¿ technologia jest lu¼no oparta na poprzednich wersjach
46 WavPacka, format nowej wersji 4 zosta³ zaprojektowany od nowa, aby
47 zaoferowaæ niezrównan± wydajno¶æ i funkcjonalno¶æ. W domy¶lnym trybie
48 bezstratnym WavPack zachowuje siê tak jak kompresor WinZip dla plików
49 d¼wiêkowych. Jednak w przeciwieñstwie do kodowañ MP3 czy WMA, które
50 wp³ywaj± na jako¶æ d¼wiêku, ¿aden bit oryginalnej informacji nie jest
51 tracony, wiêc nie ma ¿adnych szans na degradacjê. Czyni to tryb
52 bezstratny idealnym do archiwizowania materia³ów d¼wiêkowych oraz w
53 innych sytuacjach, gdzie jako¶æ jest najwa¿niejsza. Wspó³czynnik
54 kompresji zale¿y od materia³u ¼ród³owego, ale zwykle jest pomiêdzy
55 30% a 70%.
56
57 Tryb hybrydowy udostêpnia wszystkie zalety kompresji bezstratnej z
58 dodatkowym ulepszeniem. Zamiast tworzenia pojedynczego pliku tryb ten
59 tworzy zarówno stosunkowo ma³y, wysokiej jako¶ci plik stratny, który
60 mo¿e byæ u¿ywany jako taki oraz plik "poprawek", który (w po³±czeniu z
61 plikiem stratnym) odtwarza pe³n± jako¶æ bez strat. Dla niektórych
62 u¿ytkowników oznacza to, ¿e nie musz± wybieraæ pomiêdzy kompresj±
63 bezstratn± a stratn±.
64
65 %package libs
66 Summary:        Wavpack library
67 Summary(pl):    Biblioteka Wavpack
68 Group:          Libraries
69 Requires:       %{name}-libs = %{version}-%{release}
70
71 %description libs
72 Wavpack library.
73
74 %description libs -l pl
75 Biblioteka Wavpack.
76
77 %package devel
78 Summary:        Header files for Wavpack
79 Summary(pl):    Pliki nag³ówkowe Wavpack
80 Group:          Development/Libraries
81 Requires:       %{name}-libs = %{version}-%{release}
82
83 %description devel
84 Header files for Wavpack.
85
86 %description devel -l pl
87 Pliki nag³ówkowe biblioteki Wavpack.
88
89 %package static
90 Summary:        Static Wavpack library
91 Summary(pl):    Statyczna biblioteka Wavpack
92 Group:          Development/Libraries
93 Requires:       %{name}-devel = %{version}-%{release}
94
95 %description static
96 Static Wavpack library.
97
98 %description static -l pl
99 Statyczna biblioteka Wavpack.
100
101 %prep
102 %setup -q
103
104 %build
105 %{__libtoolize}
106 %{__aclocal}
107 %{__autoconf}
108 %{__automake}
109 %configure
110 %{__make}
111
112 %install
113 rm -rf $RPM_BUILD_ROOT
114
115 %{__make} install \
116         DESTDIR=$RPM_BUILD_ROOT
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %post   libs -p /sbin/ldconfig
122 %postun libs -p /sbin/ldconfig
123
124 %files
125 %defattr(644,root,root,755)
126 %doc ChangeLog README license.txt
127 %attr(755,root,root) %{_bindir}/*
128
129 %files libs
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
132
133 %files devel
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/lib*.so
136 %{_libdir}/lib*.la
137 %{_includedir}/wavpack
138 %{_pkgconfigdir}/*.pc
139
140 %files static
141 %defattr(644,root,root,755)
142 %{_libdir}/lib*.a
This page took 0.024265 seconds and 2 git commands to generate.