libvisual-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define lang_name %{name}-0.4
  3. Summary: a framework that delivers audio visualisation
  4. Summary(ja): オーディオの可視化を実現するためのフレームワーク
  5. Name: libvisual
  6. Version: 0.4.0
  7. Release: 5%{?_dist_release}
  8. Source0: %{name}-%{version}.tar.bz2
  9. License: GPLv2
  10. Group: System Environment/Libraries
  11. URL: http://sourceforge.net/projects/libvisual/
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. Libvisual is meant as a framework that delivers audio visualisation(read: eye candy generated to the current music you are playing)
  17. to multimedia applications. It works by acting as a middle layer between the visualisation plugin and application.
  18. %description -l ja
  19. Libvisualは音声視覚化を加えるフレームワークです(Read:現在演奏している音楽に合わせて発生する目の保養)
  20. マルチメディアアプリケーションに最適です。視覚化プラグインとアプリケーションの間の中央のレイヤーの働きをすることによって動きます。
  21. %package devel
  22. Summary: Development files for libvisual
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. %description devel
  26. Development files for libvisual.
  27. # compat32
  28. %package -n compat32-%{name}
  29. Summary: a framework that delivers audio visualisation
  30. Summary(ja): オーディオの可視化を実現するためのフレームワーク
  31. Group: System Environment/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. %description -n compat32-%{name}
  34. Libvisual is meant as a framework that delivers audio visualisation(read: eye candy generated to the current music you are playing)
  35. to multimedia applications. It works by acting as a middle layer between the visualisation plugin and application.
  36. %package -n compat32-%{name}-devel
  37. Summary: Development files for libvisual
  38. Group: Development/Libraries
  39. Requires: compat32-%{name} = %{version}-%{release}
  40. Requires: %{name}-devel = %{version}-%{release}
  41. Requires: pkgconfig
  42. %description -n compat32-%{name}-devel
  43. Development files for libvisual.
  44. %prep
  45. %setup -q
  46. %build
  47. %configure
  48. %{__make} %{?_smp_mflags}
  49. %install
  50. %{__rm} -rf $RPM_BUILD_ROOT
  51. %{__make} DESTDIR=$RPM_BUILD_ROOT install
  52. # unpackaged files
  53. %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/%{name}-0.4.la
  54. %find_lang %{lang_name}
  55. %clean
  56. %{__rm} -rf $RPM_BUILD_ROOT
  57. %post -p /sbin/ldconfig
  58. %postun -p /sbin/ldconfig
  59. %post -n compat32-%{name} -p /sbin/ldconfig
  60. %postun -n compat32-%{name} -p /sbin/ldconfig
  61. %files -f %{lang_name}.lang
  62. %defattr(-,root,root)
  63. %{_libdir}/libvisual-0.4.so.*
  64. %files devel
  65. %defattr(-,root,root)
  66. %{_includedir}/libvisual-0.4
  67. %{_libdir}/libvisual-0.4.so
  68. #{_libdir}/libvisual-0.4.la
  69. %{_libdir}/pkgconfig/libvisual-0.4.pc
  70. # compat32
  71. %if %{build_compat32}
  72. %files -n compat32-%{name}
  73. %defattr(-,root,root)
  74. %{_libdir}/libvisual-0.4.so.*
  75. %files -n compat32-%{name}-devel
  76. %defattr(-,root,root)
  77. %{_libdir}/libvisual-0.4.so
  78. %{_libdir}/pkgconfig/libvisual-0.4.pc
  79. %endif
  80. %changelog
  81. * Wed Jan 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-5
  82. - create compat32 sub packages
  83. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-4
  84. - rebuild with rpm-4.8.1 for pkg-config file
  85. * Mon May 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.4.0-3
  86. - split development files to devel subpackage
  87. - changed Group to System Environment/Libraries
  88. * Sun Jan 4 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.0-2
  89. - spec in UTF-8
  90. * Fri Jan 2 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 0.4.0-1vl5
  91. - initial build for Vine Seed
  92. # end of file