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

Revision 9791, 5.4 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME 3.18.1, BlueZ 5.35, ICU 56.1, Mesa 11.0.4, PulseAudio 7.1, xserver 1.17.4, etc.

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