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

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

takemikaduchi fix and add spec file

Line 
1%define tarball xf86-video-apm
2%define moduledir %(pkg-config xorg-server --variable=moduledir )
3%define driverdir %{moduledir}/drivers
4
5Summary:   Xorg X11 apm video driver
6Summary(ja):   Xorg X11 apm ビデオドライバ
7Name:      xorg-x11-drv-apm
8Version:   1.2.2
9Release:   2%{?_dist_release}
10URL:       http://www.x.org
11License:   MIT
12Group:     User Interface/X Hardware Support
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14
15Source0:   ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
16Source1:   apm.xinf
17
18ExcludeArch: s390 s390x
19
20BuildRequires: xorg-x11-server-sdk >= 1.6
21
22Requires:  xorg-x11-server-Xorg
23Requires:  hwdata
24
25%description
26X.Org X11 apm video driver.
27
28%prep
29
30%setup -q -n %{tarball}-%{version}
31
32%build
33%configure --disable-static
34make
35
36%install
37rm -rf $RPM_BUILD_ROOT
38
39make install DESTDIR=$RPM_BUILD_ROOT
40
41mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases
42install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/
43
44# FIXME: Remove all libtool archives (*.la) from modules directory.  This
45# should be fixed in upstream Makefile.am or whatever.
46find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(-,root,root,-)
53%{driverdir}/apm_drv.so
54%{_datadir}/hwdata/videoaliases/apm.xinf
55%{_mandir}/man4/apm.4*
56
57%changelog
58* Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-2
59- rebuild with xserver-1.8rc
60
61* Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
62- new upstream release
63
64* Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-1
65- new upstream release
66
67* Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-2
68- rebuild with xorg-server-1.4.99
69
70* Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
71- initial build for Vine Linux
72
73* Thu Mar 20 2008 Dave Airlie <airlied@redhat.com> 1.2.0-1
74- Upgrade to latest upstream release
75
76* Tue Mar 11 2008 Dave Airlie <airlied@redhat.com> 1.1.1-9
77- pciaccess conversion
78
79* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.1-8
80- Autorebuild for GCC 4.3
81
82* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.1.1-7
83- Rebuild for PPC toolchain bug
84
85* Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 1.1.1-6
86- Update Requires and BuildRequires.
87
88* Sat May 26 2007 Adam Jackson <ajax@redhat.com> 1.1.1-5
89- Yet more merge review changes. (#226577)
90
91* Thu May 24 2007 Adam Jackson <ajax@redhat.com> 1.1.1-4
92- Merge review changes. (#226577)
93
94* Thu Feb 15 2007 Adam Jackson <ajax@redhat.com> 1.1.1-3
95- ExclusiveArch -> ExcludeArch
96
97* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
98- rebuild
99
100* Tue May 23 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-2
101- Rebuild for 7.1 ABI fix.
102
103* Sun Apr  9 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1
104- Update to 1.1.1 from 7.1RC1.
105
106* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1.5-1.1
107- rebuilt for new gcc4.1 snapshot and glibc changes
108
109* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.5-1
110- Updated xorg-x11-drv-apm to version 1.0.1.5 from X11R7.0
111- Added apm.xinf videoalias file.
112
113* Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.4-1
114- Updated xorg-x11-drv-apm to version 1.0.1.4 from X11R7 RC4
115- Removed 'x' suffix from manpage dirs to match RC4 upstream.
116
117* Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.2-1
118- Updated xorg-x11-drv-apm to version 1.0.1.2 from X11R7 RC2
119
120* Fri Nov 4 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.1-1
121- Updated xorg-x11-drv-apm to version 1.0.1.1 from X11R7 RC1
122- Fix *.la file removal.
123
124* Mon Oct 3 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
125- Set "ExclusiveArch: %%{ix86}" to match what was shipped in previous OS
126  releases.
127
128* Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-0
129- Initial spec file for apm video driver generated automatically
130  by my xorg-driverspecgen script.
Note: See TracBrowser for help on using the repository browser.