1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
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 |
---|
9 | Release: 5%{?_dist_release} |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
96 | # compat32 |
---|
97 | %if %{build_compat32} |
---|
98 | %files -n compat32-%{name} |
---|
99 | %defattr(-,root,root) |
---|
100 | %{_libdir}/libvisual-0.4.so.* |
---|
101 | |
---|
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 | |
---|
109 | %changelog |
---|
110 | * Wed Jan 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-5 |
---|
111 | - create compat32 sub packages |
---|
112 | |
---|
113 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-4 |
---|
114 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
115 | |
---|
116 | * Mon May 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.4.0-3 |
---|
117 | - split development files to devel subpackage |
---|
118 | - changed Group to System Environment/Libraries |
---|
119 | |
---|
120 | * Sun Jan 4 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.0-2 |
---|
121 | - spec in UTF-8 |
---|
122 | |
---|
123 | * Fri Jan 2 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 0.4.0-1vl5 |
---|
124 | - initial build for Vine Seed |
---|
125 | |
---|
126 | # end of file |
---|