[9552] | 1 | Summary: A mixer library for MATE desktop |
---|
| 2 | Name: libmatemixer |
---|
[9842] | 3 | Version: 1.12.1 |
---|
[9552] | 4 | Release: 1%{?_dist_release} |
---|
[9797] | 5 | Source0: http://pub.mate-desktop.org/releases/1.12/%{name}-%{version}.tar.xz |
---|
[9552] | 6 | License: GPLv2 |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | URL: http://mate-desktop.org/ |
---|
| 9 | |
---|
| 10 | BuildRequires: mate-common |
---|
| 11 | BuildRequires: glib2-devel |
---|
| 12 | BuildRequires: pulseaudio-libs-devel |
---|
| 13 | BuildRequires: alsa-lib-devel |
---|
| 14 | BuildRequires: gtk-doc |
---|
| 15 | BuildRequires: autoconf |
---|
| 16 | BuildRequires: automake |
---|
| 17 | |
---|
| 18 | Requires(posttrans,postun): glib2 |
---|
| 19 | Requires(post,postun): gtk2 |
---|
| 20 | |
---|
| 21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 22 | |
---|
| 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | Packager: Takemikaduchi |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | libmateweather is a library to access weather information from online |
---|
| 30 | services for numerous locations. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %package devel |
---|
| 34 | Summary: Development tools for libmateweather |
---|
| 35 | Summary(ja): libmateweather の開発環境 |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Requires: %{name} = %{version}-%{release} |
---|
| 38 | Requires: pkgconfig |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | Header files and libraries for building a extension library for the |
---|
| 42 | libmateweather. |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %package docs |
---|
| 46 | Summary: Documentation for libmateweather |
---|
| 47 | Summary(ja): libmateweather 用のドキュメント |
---|
| 48 | Group: Documentation |
---|
| 49 | Requires: %{name} = %{version}-%{release} |
---|
| 50 | BuildArch: noarch |
---|
| 51 | |
---|
| 52 | %description docs |
---|
| 53 | This package contains documentation for libmateweather. |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %prep |
---|
| 57 | %setup -q |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %build |
---|
| 61 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 62 | %configure \ |
---|
| 63 | --disable-static \ |
---|
| 64 | --enable-pulseaudio \ |
---|
| 65 | --enable-alsa \ |
---|
| 66 | --disable-oss |
---|
| 67 | |
---|
| 68 | %{__make} %{?_smp_mflags} |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | %install |
---|
| 72 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 73 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 74 | |
---|
| 75 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 76 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 77 | |
---|
| 78 | %find_lang %{name} |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %clean |
---|
| 82 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 83 | |
---|
| 84 | %post -p /sbin/ldconfig |
---|
| 85 | %postun -p /sbin/ldconfig |
---|
| 86 | |
---|
| 87 | %files -f %{name}.lang |
---|
| 88 | %defattr(-,root,root,-) |
---|
| 89 | %doc COPYING ChangeLog NEWS README |
---|
| 90 | %{_libdir}/%{name}.so.* |
---|
| 91 | %{_libdir}/%{name}/libmatemixer-alsa.so |
---|
| 92 | %{_libdir}/%{name}/libmatemixer-null.so |
---|
| 93 | %{_libdir}/%{name}/libmatemixer-pulse.so |
---|
| 94 | |
---|
| 95 | %files devel |
---|
| 96 | %defattr(-,root,root,-) |
---|
| 97 | %{_includedir}/mate-mixer/%{name} |
---|
| 98 | %{_libdir}/%{name}.so |
---|
| 99 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 100 | |
---|
| 101 | %files docs |
---|
| 102 | %defattr(-,root,root,-) |
---|
| 103 | %{_datadir}/gtk-doc/html/%{name} |
---|
| 104 | |
---|
| 105 | |
---|
| 106 | %changelog |
---|
[9842] | 107 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 108 | - new upstream release |
---|
| 109 | |
---|
[9797] | 110 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
[9552] | 113 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 114 | - initial build |
---|
| 115 | |
---|