]>
Commit | Line | Data |
---|---|---|
9ebe23bb JB |
1 | Summary: MATE mixer libraries |
2 | Summary(pl.UTF-8): Biblioteki MATE do obsługi miksera | |
3 | Name: libmatemixer | |
26a19500 | 4 | Version: 1.24.1 |
63a17db3 | 5 | Release: 1 |
9ebe23bb JB |
6 | License: LGPL v2+ |
7 | Group: Libraries | |
1cd07831 | 8 | Source0: http://pub.mate-desktop.org/releases/1.24/%{name}-%{version}.tar.xz |
26a19500 | 9 | # Source0-md5: 66de854eb9340515e48ff8ffd9bc2b76 |
9ebe23bb | 10 | URL: https://github.com/mate-desktop/libmatemixer |
c435d651 | 11 | BuildRequires: alsa-lib-devel >= 1.0.5 |
9ebe23bb JB |
12 | BuildRequires: autoconf >= 2.60 |
13 | BuildRequires: automake >= 1:1.9 | |
1cd07831 | 14 | BuildRequires: gettext-tools >= 0.19.8 |
d19eaac2 | 15 | BuildRequires: glib2-devel >= 1:2.50.0 |
9ebe23bb | 16 | BuildRequires: gtk-doc >= 1.10 |
9ebe23bb JB |
17 | BuildRequires: libtool >= 2:2.2 |
18 | BuildRequires: mate-common >= 1.5 | |
19 | BuildRequires: pkgconfig | |
ab3a44e0 | 20 | BuildRequires: pulseaudio-devel >= 5.0.0 |
9ebe23bb JB |
21 | BuildRequires: tar >= 1:1.22 |
22 | BuildRequires: xz | |
d19eaac2 | 23 | Requires: glib2 >= 1:2.50.0 |
e086b050 JB |
24 | # alsa module |
25 | Requires: alsa-lib >= 1.0.5 | |
26 | # pulse module | |
ab3a44e0 | 27 | Requires: pulseaudio-libs >= 5.0.0 |
9ebe23bb JB |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | libmatemixer is a mixer library for MATE desktop. It provides an | |
32 | abstract API allowing access to mixer functionality available in the | |
33 | PulseAudio, ALSA and OSS sound systems. | |
34 | ||
35 | %description -l pl.UTF-8 | |
36 | libmatemixer to biblioteka MATE do obsługi miksera. Udostępnia | |
37 | abstrakcyjne API pozwalające na dostęp do funkcji miksera dostępnych w | |
38 | systemach dźwięku PulseAudio, ALSA i OSS. | |
39 | ||
40 | %package devel | |
41 | Summary: Development files for libmatemixer library | |
42 | Summary(pl.UTF-8): Pliki programistyczne biblioteki libmatemixer | |
43 | Group: Development/Libraries | |
44 | Requires: %{name} = %{version}-%{release} | |
d19eaac2 | 45 | Requires: glib2-devel >= 1:2.50.0 |
9ebe23bb JB |
46 | |
47 | %description devel | |
48 | Development files for libmatemixer library. | |
49 | ||
50 | %description devel -l pl.UTF-8 | |
51 | Pliki programistyczne biblioteki libmatemixer. | |
52 | ||
53 | %package apidocs | |
54 | Summary: API documentation for libmatemixer library | |
55 | Summary(pl.UTF-8): Dokumentacja API biblioteki libmatemixer | |
56 | Group: Documentation | |
523dde1b ER |
57 | %if "%{_rpmversion}" >= "5" |
58 | BuildArch: noarch | |
59 | %endif | |
9ebe23bb JB |
60 | |
61 | %description apidocs | |
62 | API documentation for libmatemixer library. | |
63 | ||
64 | %description apidocs -l pl.UTF-8 | |
65 | Dokumentacja API biblioteki libmatemixer. | |
66 | ||
67 | %prep | |
68 | %setup -q | |
69 | ||
70 | %build | |
71 | %{__libtoolize} | |
72 | %{__aclocal} -I m4 | |
73 | %{__autoconf} | |
74 | %{__autoheader} | |
75 | %{__automake} | |
76 | %configure \ | |
77 | --disable-silent-rules \ | |
78 | --disable-static \ | |
79 | --enable-oss \ | |
80 | --with-html-dir=%{_gtkdocdir} | |
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | %{__make} install \ | |
86 | DESTDIR=$RPM_BUILD_ROOT | |
87 | ||
88 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libmatemixer.la \ | |
89 | $RPM_BUILD_ROOT%{_libdir}/libmatemixer/*.la | |
1cd07831 | 90 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,ie,jv,ku_IQ,pms} |
9ebe23bb JB |
91 | |
92 | %find_lang %{name} | |
93 | ||
94 | %clean | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %post -p /sbin/ldconfig | |
98 | %postun -p /sbin/ldconfig | |
99 | ||
100 | %files -f %{name}.lang | |
101 | %defattr(644,root,root,755) | |
102 | %doc AUTHORS ChangeLog NEWS README | |
103 | %attr(755,root,root) %{_libdir}/libmatemixer.so.*.*.* | |
104 | %attr(755,root,root) %ghost %{_libdir}/libmatemixer.so.0 | |
105 | %dir %{_libdir}/libmatemixer | |
106 | %attr(755,root,root) %{_libdir}/libmatemixer/libmatemixer-alsa.so | |
107 | %attr(755,root,root) %{_libdir}/libmatemixer/libmatemixer-null.so | |
108 | %attr(755,root,root) %{_libdir}/libmatemixer/libmatemixer-oss.so | |
109 | %attr(755,root,root) %{_libdir}/libmatemixer/libmatemixer-pulse.so | |
110 | ||
111 | %files devel | |
112 | %defattr(644,root,root,755) | |
113 | %attr(755,root,root) %{_libdir}/libmatemixer.so | |
114 | %{_includedir}/mate-mixer | |
115 | %{_pkgconfigdir}/libmatemixer.pc | |
116 | ||
117 | %files apidocs | |
118 | %defattr(644,root,root,755) | |
119 | %{_gtkdocdir}/libmatemixer |