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