source: projects/specs/branches/6/x/xorg-x11-drv-openchrome/xorg-x11-drv-openchrome-vl.spec @ 3848

Revision 3848, 7.9 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild

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