]> git.pld-linux.org Git - packages/clalsadrv.git/blob - clalsadrv.spec
- more informative descriptions
[packages/clalsadrv.git] / clalsadrv.spec
1 Summary:        ALSA driver C++ access library
2 Summary(pl):    Biblioteka dostêpu do sterowników ALSA w C++
3 Name:           clalsadrv
4 Version:        1.0.1
5 Release:        0.2
6 License:        GPL v2
7 Group:          Libraries
8 # please use original tarballs in future
9 #http://users.skynet.be/solaris/linuxaudio/downloads/clalsadrv-1.0.1.tar.bz2
10 Source0:        http://ftp.debian.org/debian/pool/main/c/clalsadrv/%{name}_%{version}.orig.tar.gz
11 # Source0-md5:  2f693c52173aac55dcb35dcfca79df91
12 URL:            http://users.skynet.be/solaris/linuxaudio/
13 BuildRequires:  alsa-lib-devel
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  sed >= 4.0
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 clalsadrv library allows to access ALSA sound card drivers
20 in a C++ based program.
21
22 %description -l pl
23 Biblioteka clalsadrv pozwala na dostêp do sterownika karty
24 d¼wiêkowej z poziomu programu napisanego w C++.
25
26 %package devel
27 Summary:        Header files for clalsadrv library
28 Summary(pl):    Pliki nag³ówkowe biblioteki clalsadrv
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31 Requires:       alsa-lib-devel
32
33 %description devel
34 Header files for clalsadrv library.
35
36 %description devel -l pl
37 Pliki nag³ówkowe biblioteki clalsadrv.
38
39 %prep
40 %setup -q
41
42 %build
43 %{__make} \
44         CXX="%{__cxx}" \
45         CPPFLAGS="%{rpmcxxflags} -fPIC -I. -D_REENTRANT -DPOSIX_THREAD_SEMANTICS"
46 [M`.[M`.[Ma.
47 %install
48 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
49
50 %{__make} install \
51         CLALSADRV_LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
52         CLALSADRV_INCDIR=$RPM_BUILD_ROOT%{_includedir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post   -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
59
60 %files
61 %defattr(644,root,root,755)
62 %doc AUTHORS
63 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
64
65 %files devel
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_libdir}/lib*.so
68 %{_includedir}/*.h
This page took 0.057222 seconds and 3 git commands to generate.