]> git.pld-linux.org Git - packages/tinycompress.git/blob - tinycompress.spec
- updated to 1.1.1
[packages/tinycompress.git] / tinycompress.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static libraries
4 #
5 Summary:        Userspace library for ALSA compressed APIs
6 Summary(pl.UTF-8):      Biblioteka przestrzeni użytkownika dla API systemu ALSA dla danych skompresowanych
7 Name:           tinycompress
8 Version:        1.1.1
9 Release:        1
10 License:        BSD
11 Group:          Libraries
12 Source0:        ftp://ftp.alsa-project.org/pub/tinycompress/%{name}-%{version}.tar.bz2
13 # Source0-md5:  9d5e16e8da1d7ee8b73905fb025e6392
14 URL:            http://www.alsa-project.org/
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 tinycompress is a userspace library for anyone who wants to use the
19 ALSA compressed APIs introduced in Linux 3.3.
20
21 This library provides the APIs to open a ALSA compressed device and
22 read/write compressed data like MP3 etc to it.
23
24 %description -l pl.UTF-8
25 tinycompress to biblioteka przestrzeni użytkownika dla chcących
26 wykorzystywać API systemu ALSA dla danych skompresowanych, wprowadzone
27 w Linuksie 3.3.
28
29 Biblioteka udostępnia API do otwierania urządzeń kompresowanych ALSA
30 oraz odczytu/zapisu przez nie danych skompresowanych np. MP3.
31
32 %package devel
33 Summary:        Header files for tinycompress library
34 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki tinycompress
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37
38 %description devel
39 Header files for tinycompress library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki tinycompress.
43
44 %package static
45 Summary:        Static tinycompress library
46 Summary(pl.UTF-8):      Statyczna biblioteka tinycompress
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 Static tinycompress library.
52
53 %description static -l pl.UTF-8
54 Statyczna biblioteka tinycompress.
55
56 %prep
57 %setup -q
58
59 %build
60 %configure \
61         %{?with_static_libs:--enable-static}
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 # no external dependencies
71 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libtinycompress.la
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc COPYING README
82 %attr(755,root,root) %{_bindir}/cplay
83 %attr(755,root,root) %{_bindir}/crecord
84 %attr(755,root,root) %{_libdir}/libtinycompress.so.*.*.*
85 %attr(755,root,root) %ghost %{_libdir}/libtinycompress.so.0
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/libtinycompress.so
90 %{_includedir}/tinycompress
91
92 %if %{with static_libs}
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libtinycompress.a
96 %endif
This page took 0.620347 seconds and 3 git commands to generate.