/[pkgs]/devel/915resolution/915resolution.spec
ViewVC logotype

Contents of /devel/915resolution/915resolution.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Wed Nov 14 16:58:00 2007 UTC (2 years ago) by cweyl
Branch: MAIN
CVS Tags: F-9-split, HEAD
Changes since 1.12: +1 -1 lines
details, details... :)
1 Name: 915resolution
2 Version: 0.5.3
3 Release: 3%{?dist}
4 Summary: Intel video BIOS hack to support certain resolutions
5
6 Group: User Interface/X Hardware Support
7 License: Public Domain
8 URL: http://www.geocities.com/stomljen/
9 Source0: http://www.geocities.com/stomljen/%{name}-%{version}.tar.gz
10 Source1: %{name}-init
11 Source2: %{name}-config
12 Source3: %{name}-pm-hook
13 Patch0: 965GM.patch
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16 # this doesn't make much sense on ppc. That, and it fails to build :)
17 ExcludeArch: ppc ppc64
18
19 # simple "get it going" instructions
20 Source100: README.fedora
21
22 # for the add/remove/condrestart service stuff.
23 Requires(post): /sbin/chkconfig
24 Requires(preun): /sbin/chkconfig
25 Requires(preun): /sbin/service
26
27
28 %description
29 915resolution is a tool to modify the video BIOS of the 800 and 900 series
30 Intel graphics chipsets. This includes the 845G, 855G, and 865G chipsets, as
31 well as 915G, 915GM, and 945G chipsets. This modification is necessary to
32 allow the display of certain graphics resolutions for an Xorg or XFree86
33 graphics server.
34
35 915resolution's modifications of the BIOS are transient. There is no risk of
36 permanent modification of the BIOS. This also means that 915resolution must be
37 run every time the computer boots inorder for it's changes to take effect.
38
39 915resolution is derived from the tool 855resolution. However, the code
40 differs substantially. 915resolution's code base is much simpler.
41 915resolution also allows the modification of bits per pixel.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46
47 # keep rpmlint from complaining....
48 chmod -x dump_bios
49
50 cp %{SOURCE100} .
51
52 %build
53 make clean
54 make %{?_smp_mflags}
55
56
57 %install
58 rm -rf %{buildroot}
59 mkdir -p %{buildroot}%{_sbindir}
60 cp %{name} %{buildroot}%{_sbindir}
61
62 # ...and the associated support bits
63 mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
64 install -m 0755 -T %{SOURCE1} \
65 %{buildroot}%{_sysconfdir}/rc.d/init.d/915resolution
66 mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
67 install -m 0644 -T %{SOURCE2} \
68 %{buildroot}%{_sysconfdir}/sysconfig/915resolution
69 mkdir -p %{buildroot}%{_sysconfdir}/pm/hooks
70 install -m 0755 -T %{SOURCE3} \
71 %{buildroot}%{_sysconfdir}/pm/hooks/99resolution
72
73
74 %clean
75 rm -rf %{buildroot}
76
77
78 %post
79 # This adds the proper /etc/rc*.d links for the script
80 /sbin/chkconfig --add 915resolution
81
82
83 %preun
84 if [ $1 = 0 ]; then
85 /sbin/service 915resolution stop >/dev/null 2>&1 || :
86 /sbin/chkconfig --del 915resolution
87 fi
88
89 # no postun scriptlet is provided to "restart" the service on upgrade as this
90 # doesn't seem entirely appropriate. explanations as to why this is wrong are
91 # welcome :)
92
93 %files
94 %defattr(-,root,root,-)
95 %doc LICENSE.txt README* changes.log chipset_info.txt dump_bios
96 %{_sbindir}/*
97 %{_sysconfdir}/rc.d/init.d/*
98 %{_sysconfdir}/pm/hooks/*
99 %config(noreplace) %{_sysconfdir}/sysconfig/*
100
101
102 %changelog
103 * Tue Nov 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.5.3-3
104 - incorporate patch from bz #331411
105
106 * Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.5.3-2
107 - bump
108
109 * Fri May 18 2007 Chris Weyl <cweyl@alumni.drew.edu>
110 - add 'ppc64' to list of arches excluded from builds; no rebuild at this time
111
112 * Mon Apr 30 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.5.3-1
113 - update to 0.5.3
114
115 * Thu Mar 01 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.5.2-6
116 - bump
117
118 * Mon Feb 19 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.5.2-5
119 - add initscript infrastructure from Bojan Smojver, who kindly did most of the
120 work to implement it. Thanks Bojan! :)
121
122 * Thu Dec 07 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.5.2-4
123 - bump
124
125 * Tue Aug 01 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.5.2-3
126 - excludearch ppc
127
128 * Tue Aug 01 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.5.2-2
129 - bump for build & release
130
131 * Thu Jul 27 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.5.2-1
132 - bump release
133 - add README.fedora
134
135 * Tue Jun 13 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.5.2-0
136 - Initial spec file for F-E

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2