/[pkgs]/rpms/fedora-release/OLPC-3/fedora-release.spec
ViewVC logotype

Contents of /rpms/fedora-release/OLPC-3/fedora-release.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.70 - (show annotations) (download)
Wed Sep 10 22:26:31 2008 UTC (14 months, 2 weeks ago) by cscott
Branch: MAIN
CVS Tags: fedora-release-9-5_transition_1, HEAD
Changes since 1.69: +15 -1 lines
Update OLPC-3 fork to match f9 9-5.transition package.
1 %define release_name Joyride
2 %define dist_version 3
3
4 Summary: Fedora release files
5 Name: fedora-release
6 Version: 9
7 Release: 5.transition.1
8 License: GPLv2
9 Group: System Environment/Base
10 URL: http://laptop.org
11 Source: %{name}-%{version}.tar.gz
12 Provides: redhat-release = %{version}-%{release}
13 Provides: system-release = %{version}-%{release}
14 #Requires: fedora-release-notes >= 9
15 # We require release notes to make sure that they don't get dropped during
16 # upgrades, and just because we always want the release notes available
17 # instead of explicitly asked for
18 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19 BuildArch: noarch
20
21 %description
22 Fedora release files such as yum configs and various /etc/ files that
23 define the release.
24
25 %prep
26 %setup -q
27
28 %build
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT/etc
33 echo "8.2" > $RPM_BUILD_ROOT/etc/olpc-release
34 echo "OLPC release %{version} (%{release_name})" > $RPM_BUILD_ROOT/etc/fedora-release
35 echo "cpe://o:olpc_project:olpc:%{version}" > $RPM_BUILD_ROOT/etc/system-release-cpe
36 cp -p $RPM_BUILD_ROOT/etc/fedora-release $RPM_BUILD_ROOT/etc/issue
37 echo "Kernel \r on an \m (\l)" >> $RPM_BUILD_ROOT/etc/issue
38 cp -p $RPM_BUILD_ROOT/etc/issue $RPM_BUILD_ROOT/etc/issue.net
39 echo >> $RPM_BUILD_ROOT/etc/issue
40 ln -s fedora-release $RPM_BUILD_ROOT/etc/redhat-release
41 ln -s fedora-release $RPM_BUILD_ROOT/etc/system-release
42
43 install -d -m 755 $RPM_BUILD_ROOT/etc/pki/rpm-gpg
44
45 install -m 644 RPM-GPG-KEY* $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
46
47 # Install all the keys, link the primary keys to primary arch files
48 # and to compat generic location
49 pushd $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
50 for arch in i386 x86_64 ppc ppc64
51 do
52 ln -s RPM-GPG-KEY-fedora-primary RPM-GPG-KEY-fedora-$arch
53 ln -s RPM-GPG-KEY-fedora-test-primary RPM-GPG-KEY-fedora-test-$arch
54 done
55 ln -s RPM-GPG-KEY-fedora-primary RPM-GPG-KEY-fedora
56 ln -s RPM-GPG-KEY-fedora-test-primary RPM-GPG-KEY-fedora-test
57 # Do the same for newkey
58 for arch in i386 x86_64 ppc ppc64
59 do
60 ln -s RPM-GPG-KEY-fedora-8-and-9-primary RPM-GPG-KEY-fedora-8-and-9-$arch
61 ln -s RPM-GPG-KEY-fedora-test-8-and-9-primary RPM-GPG-KEY-fedora-test-8-and-9-$arch
62 done
63 ln -s RPM-GPG-KEY-fedora-8-and-9-primary RPM-GPG-KEY-fedora-8-and-9
64 ln -s RPM-GPG-KEY-fedora-test-8-and-9-primary RPM-GPG-KEY-fedora-test-8-and-9
65 popd
66
67 install -d -m 755 $RPM_BUILD_ROOT/etc/yum.repos.d
68 for file in fedora*repo ; do
69 install -m 644 $file $RPM_BUILD_ROOT/etc/yum.repos.d
70 done
71
72 install -d -m 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
73 for file in compose/*; do
74 install -m 644 $file $RPM_BUILD_ROOT/%{_datadir}/%{name}
75 done
76
77 # Set up the dist tag macros
78 install -d -m 755 $RPM_BUILD_ROOT/etc/rpm
79 cat >> $RPM_BUILD_ROOT/etc/rpm/macros.dist << EOF
80 # dist macros.
81
82 %%fedora 9
83 %%olpc %{dist_version}
84 %%dist .olpc%{dist_version}
85 %%olpc%{dist_version} 1
86 EOF
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files
92 %defattr(-,root,root,-)
93 %doc GPL
94 %config %attr(0644,root,root) /etc/olpc-release
95 %config %attr(0644,root,root) /etc/fedora-release
96 /etc/redhat-release
97 /etc/system-release
98 %config %attr(0644,root,root) /etc/system-release-cpe
99 %dir /etc/yum.repos.d
100 %config(noreplace) /etc/yum.repos.d/*
101 %config(noreplace) %attr(0644,root,root) /etc/issue
102 %config(noreplace) %attr(0644,root,root) /etc/issue.net
103 %config %attr(0644,root,root) /etc/rpm/macros.dist
104 %dir %{_datadir}/%{name}
105 %{_datadir}/%{name}/*
106 %dir /etc/pki/rpm-gpg
107 /etc/pki/rpm-gpg/*
108
109 %changelog
110 * Wed Sep 10 2008 C. Scott Ananian <cscott@laptop.org> - 9-5.transition.1
111 - Update OLPC fork to 5.transition.
112
113 * Mon Sep 08 2008 Warren Togami <wtogami@redhat.com> - 9-5.transition
114 - transition state between old and new key
115
116 * Fri Sep 05 2008 C. Scott Ananian <cscott@laptop.org> - 9-3.1
117 - OLPC-local changes.
118
119 * Wed Jun 25 2008 Jesse Keating <jkeating@redhat.com> - 9-3
120 - Add ia64 key
121 - Fix config file markings
122 - Stop using download.fedora.redhat.com in favor of download.fedoraproject.org
123 - Reference GPG keys by arch
124
125 * Tue May 06 2008 Jesse Keating <jkeating@redhat.com> - 9-2
126 - Update compose files with changes needed during release candidates
127
128 * Thu May 01 2008 Jesse Keating <jkeating@redhat.com> - 9-1
129 - Make the final package, set the release name.
130
131 * Tue Apr 22 2008 Jesse Keating <jkeating@redhat.com> - 9-0.1.rc
132 - Make version 9 for yum, rpm version clearly a pre-release.
133
134 * Fri Apr 11 2008 Jesse Keating <jkeating@redhat.com> - 8.93-1
135 - Update for preview release
136 - Turn off rawhide, turn on others, rely on mirrormanager redirection
137
138 * Thu Mar 13 2008 Jesse Keating <jkeating@redhat.com> - 8.92-1
139 - Update for 9 Beta
140 - Update the compose files for 9 Beta
141 - Add system-release-cpe (from Mark Cox)
142 - Add terminal to issue (#436387)
143 - Rename development to rawhide where appropriate.
144
145 * Wed Oct 10 2007 Jesse Keating <jkeating@redhat.com> - 8.90-3
146 - Bump for cvs oopsie
147
148 * Wed Oct 10 2007 Jesse Keating <jkeating@redhat.com> - 8.90-2
149 - Add the gpg info to the devel repo
150
151 * Wed Oct 03 2007 Jesse Keating <jkeating@redhat.com> - 8.90-1
152 - First build for Fedora 9 development.
153
154 * Fri Sep 28 2007 Jesse Keating <jkeating@redhat.com> - 7.92-1
155 - Bump for F8 Test2.
156 - Package up the compose kickstart files
157
158 * Fri Sep 14 2007 Jesse Keating <jkeating@redhat.com> - 7.91-2
159 - Use failovermethod=priority in yum configs (243698)
160
161 * Thu Aug 30 2007 Jesse Keating <jkeating@redhat.com> - 7.91-1
162 - Provide system-release, useful for spinoffs.
163 - Also link system-release to fedora-release for file level checks
164 - Bump for F8 Test2
165 - Fix license tag
166
167 * Thu Jul 27 2007 Jesse Keating <jkeating@redhat.com> - 7.90-1
168 - Bump for F8 Test1
169
170 * Thu Jun 28 2007 Jesse Keating <jkeating@redhat.com> - 7.89-3
171 - Cleanups from review
172 - Don't (noreplace) the dist tag macro file
173
174 * Tue Jun 19 2007 Jesse Keating <jkeating@redhat.com> - 7.89-2
175 - Define the dist macros in this package since we define everyting else here
176
177 * Wed May 30 2007 Jesse Keating <jkeating@redhat.com> - 7.89-1
178 - And we're back to rawhide. Re-enable devel repos
179
180 * Thu May 24 2007 Jesse Keating <jkeating@redhat.com> - 7-3
181 - We have a name!
182 - Require the newer release notes
183
184 * Mon May 21 2007 Jesse Keating <jkeating@redhat.com> - 7-2
185 - Use Everything in the non-mirror URL to the release tree
186
187 * Mon May 21 2007 Jesse Keating <jkeating@redhat.com> - 7-1
188 - First build for Fedora 7
189 - Remove Extras repos (YAY!)
190 - Remove references to "core" in repo files.
191 - Adjust repo files for new mirror structure
192 - Remove Legacy repo
193
194 * Fri Apr 20 2007 Jesse Keating <jkeating@redhat.com> - 6.93-1
195 - Bump for Test 4
196
197 * Mon Mar 19 2007 Jesse Keating <jkeating@redhat.com> - 6.92-1
198 - Bump for Test 3
199 - No more eula in fedora-release, moved to firstboot
200
201 * Fri Feb 23 2007 Jesse Keating <jkeating@redhat.com> - 6.91-1
202 - Bump for Test 2
203
204 * Tue Feb 13 2007 Jesse Keating <jkeating@redhat.com> - 6.90-4
205 - Specfile cleanups
206
207 * Mon Feb 05 2007 Jesse Keating <jkeating@redhat.com> - 6.90-3
208 - Drop the legacy repo file.
209
210 * Fri Jan 26 2007 Jesse Keating <jkeating@redhat.com> - 6.90-2
211 - Core? What Core?
212
213 * Wed Jan 24 2007 Jeremy Katz <katzj@redhat.com> - 6.90-1
214 - Bump to 6.90. Keep working with older release notes
215
216 * Mon Oct 16 2006 Jesse Keating <jkeating@redhat.com> - 6-89
217 - Keep version 6, bump release. Saves from having to rebuild
218 release notes all the time
219
220 * Sun Oct 15 2006 Jesse Keating <jkeating@redhat.com> - 6.89-1
221 - Rebuild for rawhide
222
223 * Thu Oct 12 2006 Jesse Keating <jkeating@redhat.com> - 6-3
224 - version has to stay the same, safe to use.
225
226 * Thu Oct 5 2006 Jesse Keating <jkeating@redhat.com> - 6-2
227 - replace old mirror files with new mirrorlist cgi system
228
229 * Thu Oct 5 2006 Jesse Keating <jkeating@redhat.com> - 6-1
230 - Rebuild for Fedora Core 6 release
231
232 * Tue Sep 5 2006 Jesse Keating <jkeating@redhat.com> - 5.92-1
233 - Bump for FC6 Test3
234
235 * Thu Jul 27 2006 Jesse Keating <jkeating@redhat.com> - 5.91.1-1
236 - Convert deprecated gtk calls. (#200242)
237 - Fix some of the versioning
238
239 * Sun Jul 23 2006 Jesse Keating <jkeating@redhat.com> - 5.91-4
240 - Bump for FC6 Test2
241 - Remove release-notes content, now standalone package
242 - Don't replace issue and issue.net if the end user has modified it
243 - Require fedora-release-notes
244 - Cleanups
245
246 * Mon Jun 19 2006 Jesse Keating <jkeating@redhat.com> - 5.90-3
247 - Cleanups
248
249 * Thu Jun 15 2006 Jesse Keating <jkeating@redhat.com> - 5.90-1
250 - Update for 5.90
251
252 * Wed May 24 2006 Jesse Keating <jkeating@redhat.com> - 5.89-rawhide.2
253 - Update to get new devel repo file
254 - merge minor changes from external cvs .spec file
255
256 * Wed Apr 19 2006 Jesse Keating <jkeating@redhat.com> - 5.89-rawhide.1
257 - Look, a changelog!
258 - Removed duplicate html/css content from doc dir.
259 - Add lynx as a buildreq
260

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2