source: projects/specs/trunk/lib/libv/libvdpau/libvdpau-vl.spec @ 10513

Revision 10513, 5.5 KB checked in by tomop, 8 years ago (diff)

libvdpau-1.1.1-2

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           libvdpau
4Version:        1.1.1
5Release:        2%{?_dist_release}
6Summary:        Wrapper library for the Video Decode and Presentation API for unix
7Summary(ja):    VDPAU (Video Decode and Presentation API for unix) 用のラッパーライブラリ
8
9Group:          System Environment/Libraries
10License:        MIT
11URL:            http://freedesktop.org/wiki/Software/VDPAU
12Source0:        http://people.freedesktop.org/~aplattner/vdpau/libvdpau-%{version}.tar.bz2
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14
15BuildRequires:  libX11-devel
16BuildRequires:  texlive, graphviz, doxygen
17
18Vendor:         Project Vine
19Distribution:   Vine Linux
20Packager:       kazutaka, shaolin
21
22%description
23VDPAU is the Video Decode and Presentation API for UNIX.
24It provides an interface to video decode acceleration and presentation
25hardware present in modern GPUs.
26
27%description -l ja
28VDPAU は Video Decode and Presentation API for UNIX の略で、
29GPU が提供するハードウェアによる動画の再生支援機能を利用する
30ためのインターフェース (API) を提供します。
31
32
33%package devel
34Summary:        Development files for %{name}
35Summary(ja):    %{name} の開発用ファイル
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38Requires:       libX11-devel
39Requires:       pkgconfig
40
41%description devel
42The %{name}-devel package contains libraries and header files for
43developing applications that use %{name}.
44
45%description devel -l ja
46%{name}-devel パッケージは、%{name} を使用するアプリケーションの
47開発に必要なライブラリやヘッダファイルを含んでいます。
48
49# compat32
50%package -n compat32-%{name}
51Summary:        Wrapper library for the Video Decode and Presentation API for unix
52Summary(ja):    VDPAU (Video Decode and Presentation API for unix) 用のラッパーライブラリ
53Group:          System Environment/Libraries
54Requires: %{name} = %{version}-%{release}
55
56%description -n compat32-%{name}
57VDPAU is the Video Decode and Presentation API for UNIX.
58It provides an interface to video decode acceleration and presentation
59hardware present in modern GPUs.
60
61%description -l ja -n compat32-%{name}
62VDPAU は Video Decode and Presentation API for UNIX の略で、
63GPU が提供するハードウェアによる動画の再生支援機能を利用する
64ためのインターフェース (API) を提供します。
65
66%package -n compat32-%{name}-devel
67Summary:        Development files for compat32-%{name}
68Summary(ja):    compat32-%{name} の開発用ファイル
69Group:          Development/Libraries
70Requires:       compat32-%{name} = %{version}-%{release}
71Requires:       compat32-%{name}-devel = %{version}-%{release}
72
73%description -n compat32-%{name}-devel
74The %{name}-devel package contains libraries and header files for
75developing 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
84autoreconf -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"
94find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
95%{__rm} -rf %{buildroot}%{_docdir}
96mv doc/html-out html
97
98
99%clean
100rm -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
Note: See TracBrowser for help on using the repository browser.