libmatemixer-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. %define major_ver 1.20
  2. %define ver %{major_ver}.0
  3. %define rel 1
  4. Summary: A mixer library for MATE desktop
  5. Name: libmatemixer
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  9. License: LGPLv2.1
  10. Group: System Environment/Libraries
  11. URL: http://mate-desktop.org/
  12. BuildRequires: mate-common
  13. BuildRequires: glib2-devel
  14. BuildRequires: pulseaudio-libs-devel
  15. BuildRequires: alsa-lib-devel
  16. BuildRequires: gtk-doc
  17. BuildRequires: autoconf
  18. BuildRequires: automake
  19. Requires(posttrans,postun): glib2
  20. Requires(post,postun): gtk2
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi, iwaim
  25. %description
  26. It provides an abstract API allowing access to mixer functionality available
  27. in the PulseAudio, ALSA and OSS sound systems.
  28. %package devel
  29. Summary: Development tools for libmatemixer
  30. Summary(ja): libmatemixer の開発環境
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: pkgconfig
  34. %description devel
  35. Header files and libraries for building a extension library for the
  36. libmatemixer.
  37. %package docs
  38. Summary: Documentation for libmatemixer
  39. Summary(ja): libmatemixer 用のドキュメント
  40. Group: Documentation
  41. Requires: %{name} = %{version}-%{release}
  42. BuildArch: noarch
  43. %description docs
  44. This package contains documentation for libmatemixer.
  45. %prep
  46. %setup -q
  47. %build
  48. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  49. %configure \
  50. --disable-static \
  51. --enable-pulseaudio \
  52. --enable-alsa \
  53. --disable-oss
  54. %{__make} %{?_smp_mflags}
  55. %install
  56. %{__rm} -rf ${RPM_BUILD_ROOT}
  57. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  58. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  59. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  60. %find_lang %{name}
  61. %clean
  62. %{__rm} -rf ${RPM_BUILD_ROOT}
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %files -f %{name}.lang
  66. %defattr(-,root,root,-)
  67. %doc COPYING ChangeLog NEWS README
  68. %{_libdir}/%{name}.so.*
  69. %{_libdir}/%{name}/libmatemixer-alsa.so
  70. %{_libdir}/%{name}/libmatemixer-null.so
  71. %{_libdir}/%{name}/libmatemixer-pulse.so
  72. %files devel
  73. %defattr(-,root,root,-)
  74. %{_includedir}/mate-mixer/%{name}
  75. %{_libdir}/%{name}.so
  76. %{_libdir}/pkgconfig/%{name}.pc
  77. %files docs
  78. %defattr(-,root,root,-)
  79. %{_datadir}/gtk-doc/html/%{name}
  80. %changelog
  81. * Wed Mar 28 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
  82. - update to 1.20.0
  83. * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  84. - update to 1.18.0
  85. * Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  86. - new upstream release
  87. - fix License
  88. - fix Summary and description
  89. - add Packager
  90. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  91. - new upstream release
  92. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  93. - new upstream release
  94. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  95. - new upstream release
  96. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  97. - initial build