source: projects/specs/trunk/x/xorg-x11-drv-openchrome/xorg-x11-drv-openchrome-vl.spec @ 6256

Revision 6256, 8.1 KB checked in by Takemikaduchi, 12 years ago (diff)

totem: add configure option,
others: new upstream release

Line 
1%define tarball xf86-video-openchrome
2%define moduledir %(pkg-config xorg-server --variable=moduledir )
3%define driverdir       %{moduledir}/drivers
4
5%define cvsdate xxxxxxx
6
7%define with_xvmc 1
8
9Summary:        Xorg X11 openchrome video driver
10Summary(ja):    Xorg X11 openchrome ビデオドライバ
11Name:           xorg-x11-drv-openchrome
12Version:        0.2.906
13Release:        1%{?_dist_release}
14URL:            http://www.openchrome.org
15License:        MIT
16Group:          User Interface/X Hardware Support
17BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
18
19Source0:        http://www.openchrome.org/releases/%{tarball}-%{version}.tar.bz2
20Source1:        openchrome.xinf
21
22# Patches from Fedora :
23Patch13:        openchrome-0.2.904-fix_tvout_flickering.patch
24
25ExclusiveArch:  %{ix86} x86_64
26
27BuildRequires:  pkgconfig
28BuildRequires:  xorg-x11-server-sdk
29BuildRequires:  automake
30BuildRequires:  libtool
31BuildRequires:  libX11-devel
32BuildRequires:  libXext-devel
33BuildRequires:  mesa-libGL-devel
34%if %{with_xvmc}
35BuildRequires:  libXvMC-devel
36%endif
37BuildRequires:  libdrm-devel >= 2.0-1
38Requires:       xorg-x11-server-Xorg
39
40Obsoletes:  XOrg-drv-via <= 0.2.2-4
41Provides:   xorg-x11-drv-via = 0.2.2-5
42
43%description
44X.Org X11 openchrome video driver.
45
46%if %{with_xvmc}
47%package devel
48Summary:        Xorg X11 openchrome video driver XvMC development package
49Summary(ja):    Xorg X11 openchrome ビデオドライバ XvMC 開発パッケージ
50Group:          Development/System
51Requires:       %{name} = %{version}-%{release}
52Obsoletes:      XOrg-drv-via-devel <= 0.2.2-4
53Provides:       xorg-x11-drv-via-devel = 0.2.2-5
54
55%description devel
56X.Org X11 openchrome video driver XvMC development package.
57%endif
58
59%prep
60%setup -q -n %{tarball}-%{version}
61#%patch0 -p0
62%patch13 -p0
63
64%build
65%configure --disable-static --enable-dri
66make
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
71make install DESTDIR=$RPM_BUILD_ROOT
72
73mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases
74install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/openchrome.xinf
75
76# FIXME: Remove all libtool archives (*.la) from modules directory.  This
77# should be fixed in upstream Makefile.am or whatever.
78find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post
84if [ -e /etc/X11/xorg.conf ]; then
85    sed -i "/Driver/s/via/openchrome/" /etc/X11/xorg.conf || :
86fi
87
88%files
89%defattr(-,root,root,-)
90%doc COPYING NEWS README
91%{driverdir}/openchrome_drv.so
92%{_datadir}/hwdata/videoaliases/openchrome.xinf
93%if %{with_xvmc}
94%{_libdir}/libchromeXvMC.so.1
95%{_libdir}/libchromeXvMC.so.1.0.0
96%{_libdir}/libchromeXvMCPro.so.1
97%{_libdir}/libchromeXvMCPro.so.1.0.0
98%endif
99%{_mandir}/man4/openchrome.4.gz
100
101%if %{with_xvmc}
102%files devel
103%defattr(-,root,root,-)
104%{_libdir}/libchromeXvMC.so
105%{_libdir}/libchromeXvMCPro.so
106%endif
107
108
109%changelog
110* Wed May 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.906-1
111- new upstream release
112- remove Patch1
113
114* Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.905-1
115- new upstream release
116- remove Patch20 (openchrome-0.2.904-I420_Xv_surface_for_CME.patch)
117- add Patch1 (openchrome-0.2.905-xv_support_for_vx900.patch) from fedora
118
119* Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-8
120- rebuild with xserver-1.11.1.902
121
122* Thu May 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-7
123- rebuild (missing to replace patch).
124
125* Wed May 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-6
126- update to svn trunk (r925)
127- delete Patch1
128
129* Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-5
130- rebuild with xserver-1.10.0
131
132* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-4
133- rebuild with xserver-1.9.2
134
135* Tue Oct 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.904-3
136- update to svn trunk (r854)
137- add patch13,20 from fedora
138
139* Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-2
140- rebuild with xserver-1.8rc
141
142* Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.904-1
143- new upstream release
144
145* Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp>  0.2.903-2
146- rebuild with X server 1.6.0
147
148* Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.903-1
149- new upstream release
150
151* Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp>  0.2.902-1
152- initial build for Vine Linux
153
154* Thu Apr 17 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.902-3
155- Strip leading /trunk/ from patch #2 and #3.
156
157* Sun Apr 13 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.902-2
158- Add patch to properly report driver version in the libpciaccess code path.
159- Add patch to properly report chipset revision in the libpciaccess code path.
160
161* Wed Apr 09 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.902-1
162- New upstream release.
163- Re-enable AGPDMA for K8M800 and VM800, as the drm bug is fixed in kernel
164  >= 2.6.25rc7 (Patch #1).
165
166* Mon Mar 17 2008 Jesse Keating <jkeating@redhat.com> - 0.2.901-16
167- Remove dangerous unversioned obsoletes/provides.
168
169* Sun Mar 16 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-15
170- Update to latest svn snapshot (Rev. 553).
171
172* Sun Mar 09 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-14
173- Revert to last good version of the libpciaccess patch.
174
175* Sun Mar 09 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-13
176- Temporarily revert to old memory detection method. We need something that
177  works out of the box for F9 Beta.
178
179* Sat Mar 08 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-12
180- Yet another revision of the libpciaccess patch.
181
182* Fri Mar 07 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-11
183- Fix a typo in libpciaccess patch.
184
185* Fri Mar 07 2008 Adam Jackson <ajax@redhat.com> 0.2.901-10
186- Fix -devel subpackage to obsolete via-devel properly.
187
188* Thu Mar 06 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-9
189- Fix libpciaccess patch.
190
191* Thu Mar 06 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-8
192- Add patch to fix XV on LCD for VM800.
193- Improved libpciaccess patch.
194
195* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.901-7
196- Autorebuild for GCC 4.3
197
198* Wed Jan 23 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-6
199- Add patch to properly set fifo on P4M900.
200
201* Fri Jan 19 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-5
202- Add patch to replace xf86memcpy by plain memcpy.
203
204* Thu Jan 10 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-4
205- Another try at fixing the libpciaccess patch.
206
207* Mon Jan 07 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-3
208- And now fix patch filename...
209
210* Mon Jan 07 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-2
211- Fix broken libpciaccess patch.
212
213* Wed Jan 02 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-1
214- Update to 0.2.901.
215- Remove obsoleted patches.
216- Update libpciaccess patch.
217
218* Fri Dec 08 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-9
219- Add patch for preliminary libpciaccess support.
220
221* Wed Nov 28 2007 Adam Jackson <ajax@redhat.com> 0.2.900-8
222- Obsolete xorg-x11-drv-via.  The king is dead, long live the king.
223- Munge xorg.conf in %%post to change from via to openchrome.
224- Drive-by spec cleanups.
225
226* Fri Nov 02 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-7
227- Replace broken VT1625 NTSC patch.
228- Add patch to announce as release not as development build.
229- First official Fedora build.
230
231* Thu Oct 18 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-6
232- Update to official 0.2.900
233
234* Wed Oct 10 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-5
235- Update to release_0_3_0 branch rev. 410
236- Add VT1625 patch for 720x576 PAL
237
238* Mon Sep 10 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-4
239- Update to release_0_3_0 branch rev. 384 plus all changes from experimental
240  merged back
241- Remove upstream patch #2
242
243* Wed Aug 01 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-3
244- Update to release_0_3_0 branch rev. 380 (fix a bug with XvMC acceleration)
245- Add a patch to allow proper detection of DDR667 (patch #2)
246
247* Mon Jul 16 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-2
248- Update to release_0_3_0 branch rev. 373
249- Add release notes to %%doc
250
251* Thu Jul 05 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-1
252- Initial build (release_0_3_0 branch rev. 365)
253- Add some NTSC modes for the VT1625 (patch #1)
Note: See TracBrowser for help on using the repository browser.