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

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