1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Name: libvdpau |
---|
4 | Version: 1.1.1 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Summary: Wrapper library for the Video Decode and Presentation API for unix |
---|
7 | Summary(ja): VDPAU (Video Decode and Presentation API for unix) 用のラッパーライブラリ |
---|
8 | |
---|
9 | Group: System Environment/Libraries |
---|
10 | License: MIT |
---|
11 | URL: http://freedesktop.org/wiki/Software/VDPAU |
---|
12 | Source0: http://people.freedesktop.org/~aplattner/vdpau/libvdpau-%{version}.tar.bz2 |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
14 | |
---|
15 | BuildRequires: libX11-devel |
---|
16 | BuildRequires: texlive, graphviz, doxygen |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | Packager: kazutaka, shaolin |
---|
21 | |
---|
22 | %description |
---|
23 | VDPAU is the Video Decode and Presentation API for UNIX. |
---|
24 | It provides an interface to video decode acceleration and presentation |
---|
25 | hardware present in modern GPUs. |
---|
26 | |
---|
27 | %description -l ja |
---|
28 | VDPAU は Video Decode and Presentation API for UNIX の略で、 |
---|
29 | GPU が提供するハードウェアによる動画の再生支援機能を利用する |
---|
30 | ためのインターフェース (API) を提供します。 |
---|
31 | |
---|
32 | |
---|
33 | %package devel |
---|
34 | Summary: Development files for %{name} |
---|
35 | Summary(ja): %{name} の開発用ファイル |
---|
36 | Group: Development/Libraries |
---|
37 | Requires: %{name} = %{version}-%{release} |
---|
38 | Requires: libX11-devel |
---|
39 | Requires: pkgconfig |
---|
40 | |
---|
41 | %description devel |
---|
42 | The %{name}-devel package contains libraries and header files for |
---|
43 | developing applications that use %{name}. |
---|
44 | |
---|
45 | %description devel -l ja |
---|
46 | %{name}-devel パッケージは、%{name} を使用するアプリケーションの |
---|
47 | 開発に必要なライブラリやヘッダファイルを含んでいます。 |
---|
48 | |
---|
49 | # compat32 |
---|
50 | %package -n compat32-%{name} |
---|
51 | Summary: Wrapper library for the Video Decode and Presentation API for unix |
---|
52 | Summary(ja): VDPAU (Video Decode and Presentation API for unix) 用のラッパーライブラリ |
---|
53 | Group: System Environment/Libraries |
---|
54 | Requires: %{name} = %{version}-%{release} |
---|
55 | |
---|
56 | %description -n compat32-%{name} |
---|
57 | VDPAU is the Video Decode and Presentation API for UNIX. |
---|
58 | It provides an interface to video decode acceleration and presentation |
---|
59 | hardware present in modern GPUs. |
---|
60 | |
---|
61 | %description -l ja -n compat32-%{name} |
---|
62 | VDPAU は Video Decode and Presentation API for UNIX の略で、 |
---|
63 | GPU が提供するハードウェアによる動画の再生支援機能を利用する |
---|
64 | ためのインターフェース (API) を提供します。 |
---|
65 | |
---|
66 | %package -n compat32-%{name}-devel |
---|
67 | Summary: Development files for compat32-%{name} |
---|
68 | Summary(ja): compat32-%{name} の開発用ファイル |
---|
69 | Group: Development/Libraries |
---|
70 | Requires: compat32-%{name} = %{version}-%{release} |
---|
71 | Requires: compat32-%{name}-devel = %{version}-%{release} |
---|
72 | |
---|
73 | %description -n compat32-%{name}-devel |
---|
74 | The %{name}-devel package contains libraries and header files for |
---|
75 | developing applications that use %{name}. |
---|
76 | |
---|
77 | %description -n compat32-%{name}-devel -l ja |
---|
78 | %{name}-devel パッケージは、%{name} を使用するアプリケーションの |
---|
79 | 開発に必要なライブラリやヘッダファイルを含んでいます。 |
---|
80 | |
---|
81 | |
---|
82 | %prep |
---|
83 | %setup -q |
---|
84 | autoreconf -vif |
---|
85 | |
---|
86 | %build |
---|
87 | %configure --disable-static |
---|
88 | %{__make} %{?_smp_mflags} |
---|
89 | |
---|
90 | |
---|
91 | %install |
---|
92 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
93 | %{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
94 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
95 | %{__rm} -rf %{buildroot}%{_docdir} |
---|
96 | mv doc/html-out html |
---|
97 | |
---|
98 | |
---|
99 | %clean |
---|
100 | rm -rf $RPM_BUILD_ROOT |
---|
101 | |
---|
102 | |
---|
103 | %post -p /sbin/ldconfig |
---|
104 | |
---|
105 | %postun -p /sbin/ldconfig |
---|
106 | |
---|
107 | |
---|
108 | %files |
---|
109 | %defattr(-,root,root,-) |
---|
110 | %doc AUTHORS COPYING |
---|
111 | %{_sysconfdir}/vdpau_wrapper.cfg |
---|
112 | %{_libdir}/*.so.* |
---|
113 | %dir %{_libdir}/vdpau |
---|
114 | %{_libdir}/vdpau/libvdpau_trace.so.* |
---|
115 | |
---|
116 | %files devel |
---|
117 | %defattr(-,root,root,-) |
---|
118 | %doc html |
---|
119 | %config %{_includedir}/vdpau/ |
---|
120 | %{_libdir}/libvdpau.so |
---|
121 | %{_libdir}/vdpau/libvdpau_trace.so |
---|
122 | %{_libdir}/pkgconfig/vdpau.pc |
---|
123 | |
---|
124 | %if %{build_compat32} |
---|
125 | %files -n compat32-%{name} |
---|
126 | %defattr(-,root,root,-) |
---|
127 | %{_libdir}/*.so.* |
---|
128 | %{_libdir}/vdpau/*.so.* |
---|
129 | |
---|
130 | %files -n compat32-%{name}-devel |
---|
131 | %defattr(-,root,root,-) |
---|
132 | %{_libdir}/libvdpau.so |
---|
133 | %{_libdir}/vdpau/libvdpau_trace.so |
---|
134 | %endif |
---|
135 | |
---|
136 | |
---|
137 | %changelog |
---|
138 | * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-2 |
---|
139 | - rebuilt with new toolchain. |
---|
140 | |
---|
141 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
---|
142 | - new upstream release |
---|
143 | |
---|
144 | * Wed Jul 09 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.8-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Fri Oct 18 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.7-1 |
---|
148 | - new upstream release |
---|
149 | |
---|
150 | * Sun May 26 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6-1 |
---|
151 | - update to 0.6 |
---|
152 | |
---|
153 | * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-1 |
---|
154 | - new upstream release |
---|
155 | |
---|
156 | * Sat Jan 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.1-1 |
---|
157 | - new upstream release |
---|
158 | |
---|
159 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2 |
---|
160 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
161 | |
---|
162 | * Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1 |
---|
163 | - new upstream release |
---|
164 | - add compat32 package |
---|
165 | |
---|
166 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2-1 |
---|
167 | - initial build for Vine Linux based of fedora development |
---|
168 | - add japanese description and summary |
---|
169 | |
---|
170 | * Thu Sep 17 2009 kwizart < kwizart at gmail.com > - 0.2-1 |
---|
171 | - Update to 0.2 |
---|
172 | - Disable ExclusiveArch |
---|
173 | |
---|
174 | * Mon Sep 7 2009 kwizart < kwizart at gmail.com > - 0.1-0.6.20090904git |
---|
175 | - Update to gitdate 20090904git |
---|
176 | |
---|
177 | * Wed Sep 2 2009 kwizart < kwizart at gmail.com > - 0.1-0.5git20090902 |
---|
178 | - Update to gitdate 20090902 with merged patches |
---|
179 | |
---|
180 | * Mon Jun 15 2009 kwizart < kwizart at gmail.com > - 0.1-0.3git20090318 |
---|
181 | - Add missing -ldl at link time |
---|
182 | |
---|
183 | * Sun Mar 22 2009 kwizart < kwizart at gmail.com > - 0.1-0.2git20090318 |
---|
184 | - Backport fix thread_2 |
---|
185 | |
---|
186 | * Fri Mar 6 2009 kwizart < kwizart at gmail.com > - 0.1-0.1git20090318 |
---|
187 | - Initial spec file |
---|
188 | |
---|