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

Revision 12405, 5.6 KB checked in by tomop, 4 years ago (diff)

updated 9 packages

enca-1.19-1

freetype2-2.10.2-1

id3lib-3.8.3-5

libass-0.14.0-1

libemf-1.0.12-1

libexif-0.6.21-3

libtheora-1.1.1-5

libvdpau-1.4-1

pstoedit-3.75-1

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           libvdpau
4Version:        1.4
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) 用のラッパーライブラリ
8Vendor:         Project Vine
9Distribution:   Vine Linux
10Packager:       kazutaka, shaolin
11
12Group:          System Environment/Libraries
13License:        MIT
14URL:            https://freedesktop.org/wiki/Software/VDPAU/
15Source0:        https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/%{version}/libvdpau-%{version}.tar.bz2
16BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
18BuildRequires:  meson
19BuildRequires:  libX11-devel
20#BuildRequires:  texlive, graphviz, doxygen
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
84
85
86%build
87%meson \
88        -Ddri2=true \
89        -Dmoduledir=%{_libdir}/vdpau/ \
90        -Ddocumentation=false
91%meson_build
92
93
94%install
95%{__rm} -rf $RPM_BUILD_ROOT
96%meson_install
97%{__rm} -rf %{buildroot}%{_docdir}
98#mv doc/html-out html
99
100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
104
105%post -p /sbin/ldconfig
106
107%postun -p /sbin/ldconfig
108
109
110%files
111%defattr(-,root,root,-)
112%license COPYING
113%doc AUTHORS
114%{_sysconfdir}/vdpau_wrapper.cfg
115%{_libdir}/*.so.*
116%dir %{_libdir}/vdpau
117%{_libdir}/vdpau/libvdpau_trace.so.*
118
119%files devel
120%defattr(-,root,root,-)
121#%doc html
122%config %{_includedir}/vdpau/
123%{_libdir}/libvdpau.so
124%{_libdir}/vdpau/libvdpau_trace.so
125%{_libdir}/pkgconfig/vdpau.pc
126
127%if %{build_compat32}
128%files -n compat32-%{name}
129%defattr(-,root,root,-)
130%{_libdir}/*.so.*
131%{_libdir}/vdpau/*.so.*
132
133%files -n compat32-%{name}-devel
134%defattr(-,root,root,-)
135%{_libdir}/libvdpau.so
136%{_libdir}/vdpau/libvdpau_trace.so
137%endif
138
139
140%changelog
141* Mon May 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4-1
142- new upstream release.
143
144* Sat Jul  2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-2
145- rebuilt with new toolchain.
146
147* Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
148- new upstream release
149
150* Wed Jul 09 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.8-1
151- new upstream release
152
153* Fri Oct 18 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.7-1
154- new upstream release
155
156* Sun May 26 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6-1
157- update to 0.6
158
159* Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-1
160- new upstream release
161
162* Sat Jan 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.1-1
163- new upstream release
164
165* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2
166- rebuild with rpm-4.8.1 for pkg-config file
167
168* Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
169- new upstream release
170- add compat32 package
171
172* Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2-1
173- initial build for Vine Linux based of fedora development
174- add japanese description and summary
175
176* Thu Sep 17 2009 kwizart < kwizart at gmail.com > - 0.2-1
177- Update to 0.2
178- Disable ExclusiveArch
179
180* Mon Sep  7 2009 kwizart < kwizart at gmail.com > - 0.1-0.6.20090904git
181- Update to gitdate 20090904git
182
183* Wed Sep  2 2009 kwizart < kwizart at gmail.com > - 0.1-0.5git20090902
184- Update to gitdate 20090902 with merged patches
185
186* Mon Jun 15 2009 kwizart < kwizart at gmail.com > - 0.1-0.3git20090318
187- Add missing -ldl at link time
188
189* Sun Mar 22 2009 kwizart < kwizart at gmail.com > - 0.1-0.2git20090318
190- Backport fix thread_2
191
192* Fri Mar  6 2009 kwizart < kwizart at gmail.com > - 0.1-0.1git20090318
193- Initial spec file
194
Note: See TracBrowser for help on using the repository browser.