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

Revision 6681, 8.2 KB checked in by Takemikaduchi, 12 years ago (diff)

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