source: projects/specs/branches/6/lib/libv/libvdpau/libvdpau-vl.spec @ 7915

Revision 7915, 5.2 KB checked in by shaolin, 10 years ago (diff)
  • libvdpau: new upstream release
Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           libvdpau
4Version:        0.7
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.gz
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* Fri Oct 18 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.7-1
137- new upstream release
138
139* Sun May 26 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6-1
140- update to 0.6
141
142* Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-1
143- new upstream release
144
145* Sat Jan 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.1-1
146- new upstream release
147
148* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2
149- rebuild with rpm-4.8.1 for pkg-config file
150
151* Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
152- new upstream release
153- add compat32 package
154
155* Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2-1
156- initial build for Vine Linux based of fedora development
157- add japanese description and summary
158
159* Thu Sep 17 2009 kwizart < kwizart at gmail.com > - 0.2-1
160- Update to 0.2
161- Disable ExclusiveArch
162
163* Mon Sep  7 2009 kwizart < kwizart at gmail.com > - 0.1-0.6.20090904git
164- Update to gitdate 20090904git
165
166* Wed Sep  2 2009 kwizart < kwizart at gmail.com > - 0.1-0.5git20090902
167- Update to gitdate 20090902 with merged patches
168
169* Mon Jun 15 2009 kwizart < kwizart at gmail.com > - 0.1-0.3git20090318
170- Add missing -ldl at link time
171
172* Sun Mar 22 2009 kwizart < kwizart at gmail.com > - 0.1-0.2git20090318
173- Backport fix thread_2
174
175* Fri Mar  6 2009 kwizart < kwizart at gmail.com > - 0.1-0.1git20090318
176- Initial spec file
177
Note: See TracBrowser for help on using the repository browser.