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

Revision 3841, 7.8 KB checked in by Takemikaduchi, 13 years ago (diff)

kdelibs: rebuild with docbook-dtds, xorg-x11-drv-openchrome: update to svn trunk

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.904
13Release:        6%{?_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: r925
25Patch0:         openchrome-0.2.904-latest_trunk.patch
26
27# Patches from Fedora :
28Patch13:        openchrome-0.2.904-fix_tvout_flickering.patch
29Patch20:        openchrome-0.2.904-I420_Xv_surface_for_CME.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%patch13 -p0
69%patch20 -p1
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* Wed May 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-6
118- update to svn trunk (r925)
119- delete Patch1
120
121* Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-5
122- rebuild with xserver-1.10.0
123
124* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-4
125- rebuild with xserver-1.9.2
126
127* Tue Oct 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.904-3
128- update to svn trunk (r854)
129- add patch13,20 from fedora
130
131* Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-2
132- rebuild with xserver-1.8rc
133
134* Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.904-1
135- new upstream release
136
137* Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp>  0.2.903-2
138- rebuild with X server 1.6.0
139
140* Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.903-1
141- new upstream release
142
143* Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp>  0.2.902-1
144- initial build for Vine Linux
145
146* Thu Apr 17 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.902-3
147- Strip leading /trunk/ from patch #2 and #3.
148
149* Sun Apr 13 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.902-2
150- Add patch to properly report driver version in the libpciaccess code path.
151- Add patch to properly report chipset revision in the libpciaccess code path.
152
153* Wed Apr 09 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.902-1
154- New upstream release.
155- Re-enable AGPDMA for K8M800 and VM800, as the drm bug is fixed in kernel
156  >= 2.6.25rc7 (Patch #1).
157
158* Mon Mar 17 2008 Jesse Keating <jkeating@redhat.com> - 0.2.901-16
159- Remove dangerous unversioned obsoletes/provides.
160
161* Sun Mar 16 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-15
162- Update to latest svn snapshot (Rev. 553).
163
164* Sun Mar 09 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-14
165- Revert to last good version of the libpciaccess patch.
166
167* Sun Mar 09 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-13
168- Temporarily revert to old memory detection method. We need something that
169  works out of the box for F9 Beta.
170
171* Sat Mar 08 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-12
172- Yet another revision of the libpciaccess patch.
173
174* Fri Mar 07 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-11
175- Fix a typo in libpciaccess patch.
176
177* Fri Mar 07 2008 Adam Jackson <ajax@redhat.com> 0.2.901-10
178- Fix -devel subpackage to obsolete via-devel properly.
179
180* Thu Mar 06 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-9
181- Fix libpciaccess patch.
182
183* Thu Mar 06 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-8
184- Add patch to fix XV on LCD for VM800.
185- Improved libpciaccess patch.
186
187* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.901-7
188- Autorebuild for GCC 4.3
189
190* Wed Jan 23 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-6
191- Add patch to properly set fifo on P4M900.
192
193* Fri Jan 19 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-5
194- Add patch to replace xf86memcpy by plain memcpy.
195
196* Thu Jan 10 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-4
197- Another try at fixing the libpciaccess patch.
198
199* Mon Jan 07 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-3
200- And now fix patch filename...
201
202* Mon Jan 07 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-2
203- Fix broken libpciaccess patch.
204
205* Wed Jan 02 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-1
206- Update to 0.2.901.
207- Remove obsoleted patches.
208- Update libpciaccess patch.
209
210* Fri Dec 08 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-9
211- Add patch for preliminary libpciaccess support.
212
213* Wed Nov 28 2007 Adam Jackson <ajax@redhat.com> 0.2.900-8
214- Obsolete xorg-x11-drv-via.  The king is dead, long live the king.
215- Munge xorg.conf in %%post to change from via to openchrome.
216- Drive-by spec cleanups.
217
218* Fri Nov 02 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-7
219- Replace broken VT1625 NTSC patch.
220- Add patch to announce as release not as development build.
221- First official Fedora build.
222
223* Thu Oct 18 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-6
224- Update to official 0.2.900
225
226* Wed Oct 10 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-5
227- Update to release_0_3_0 branch rev. 410
228- Add VT1625 patch for 720x576 PAL
229
230* Mon Sep 10 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-4
231- Update to release_0_3_0 branch rev. 384 plus all changes from experimental
232  merged back
233- Remove upstream patch #2
234
235* Wed Aug 01 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-3
236- Update to release_0_3_0 branch rev. 380 (fix a bug with XvMC acceleration)
237- Add a patch to allow proper detection of DDR667 (patch #2)
238
239* Mon Jul 16 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-2
240- Update to release_0_3_0 branch rev. 373
241- Add release notes to %%doc
242
243* Thu Jul 05 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-1
244- Initial build (release_0_3_0 branch rev. 365)
245- Add some NTSC modes for the VT1625 (patch #1)
Note: See TracBrowser for help on using the repository browser.