source: projects/specs/trunk/x/xorg-x11-drv-xgi/xorg-x11-drv-xgi-vl.spec @ 698

Revision 698, 1.5 KB checked in by Takemikaduchi, 14 years ago (diff)

takemikaduchi fix and add spec file

Line 
1%define drvname xgi
2%define tarball xf86-video-%{drvname}
3%define moduledir %(pkg-config xorg-server --variable=moduledir )
4%define driverdir       %{moduledir}/drivers
5
6Summary:   Xorg X11 %{drvname} video driver
7Summary(ja):   Xorg X11 %{drvname} ビデオドライバ
8Name:      xorg-x11-drv-%{drvname}
9Version:   1.5.1
10Release: 2%{?_dist_release}
11URL:       http://www.x.org
12Source0:   http://xorg.freedesktop.org/releases/individual/driver/%{tarball}-%{version}.tar.bz2
13License: MIT
14Group:     User Interface/X Hardware Support
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17BuildRequires: xorg-x11-server-sdk >= 1.3.0.0-6
18Requires:  xorg-x11-server-Xorg
19
20%description
21X.Org X11 %{drvname} video driver.
22
23%prep
24%setup -q -n %{tarball}-%{version}
25
26%build
27%configure --disable-static
28make
29
30%install
31rm -rf $RPM_BUILD_ROOT
32
33make install DESTDIR=$RPM_BUILD_ROOT
34
35# FIXME: Remove all libtool archives (*.la) from modules directory.  This
36# should be fixed in upstream Makefile.am or whatever.
37find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(-,root,root,-)
44%{driverdir}/%{drvname}_drv.so
45%{_mandir}/man4/%{drvname}.4*
46
47%changelog
48* Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.1-2
49- rebuild with xserver-1.8rc
50
51* Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.1-1
52- new upstream release
53
54* Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.0-2
55- rebuild with xorg-server-1.4.99
56
57* Mon Jun 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.0-1
58- initial build
59
Note: See TracBrowser for help on using the repository browser.