libmatemixer-vl.spec 2.4 KB

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