avatar
Rosa has added 6e764cc472
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "font-alias-1.0.3.tar.bz2": 96b0aa38f88a54ef32ab85d3eef6f29b0437f70d
view file @ 6e764cc472
... ... --- /dev/null
... ... +++ b/x11-font-alias.spec
... ... @@ -0,0 +1,215 @@
1
Name: x11-font-alias
2
Version: 1.0.3
3
Release: %mkrel 3
4
Summary: Xorg X11 font alias
5
Group: Development/X11
6
URL: http://xorg.freedesktop.org
7
Source: http://xorg.freedesktop.org/releases/individual/font/font-alias-%{version}.tar.bz2
8
License: MIT-like
9
BuildRoot: %{_tmppath}/%{name}-root
10
BuildArch: noarch
11
Conflicts: xorg-x11 < 7.0
12
13
# fonts/misc dir was moved to this package
14
Conflicts: x11-font-misc-misc < 1.0.0-6mdv
15
16
Requires(post): mkfontdir
17
Requires(post): mkfontscale
18
19
BuildRequires: x11-util-macros >= 1.0.1
20
21
%description
22
Xorg X11 font aliases
23
24
%prep
25
%setup -q -n font-alias-%{version}
26
27
%build
28
./configure --prefix=/usr --with-fontrootdir=%_datadir/fonts
29
30
%make
31
32
%install
33
rm -rf %{buildroot}
34
%makeinstall_std
35
36
# create empty ghost files
37
for dir in 100dpi 75dpi cyrillic misc OTF Speedo TTF Type1; do
38
	mkdir -p %{buildroot}%_datadir/fonts/$dir
39
	touch %{buildroot}%_datadir/fonts/$dir/fonts.{dir,scale}
40
done
41
42
# fontpath.d symlinks
43
mkdir -p %{buildroot}%_sysconfdir/X11/fontpath.d/
44
ln -s ../../..%_datadir/fonts/misc \
45
	%{buildroot}%_sysconfdir/X11/fontpath.d/misc:unscaled:pri=10
46
ln -s ../../..%_datadir/fonts/75dpi \
47
	%{buildroot}%_sysconfdir/X11/fontpath.d/75dpi:unscaled:pri=20
48
ln -s ../../..%_datadir/fonts/100dpi \
49
	%{buildroot}%_sysconfdir/X11/fontpath.d/100dpi:unscaled:pri=30
50
for dir in cyrillic OTF Speedo TTF Type1; do
51
	ln -s ../../..%_datadir/fonts/$dir \
52
		%{buildroot}%_sysconfdir/X11/fontpath.d/$dir:pri=40
53
done
54
55
%clean
56
rm -rf %{buildroot}
57
58
%post
59
for dir in 100dpi 75dpi cyrillic misc OTF Speedo TTF Type1; do
60
    cd %_datadir/fonts/$dir
61
    mkfontscale
62
    mkfontdir
63
done
64
65
%files
66
%defattr(-,root,root)
67
%dir %_datadir/fonts/misc
68
%dir %_datadir/fonts/100dpi
69
%dir %_datadir/fonts/75dpi
70
%dir %_datadir/fonts/cyrillic
71
%dir %_datadir/fonts/OTF
72
%dir %_datadir/fonts/Speedo
73
%dir %_datadir/fonts/TTF
74
%dir %_datadir/fonts/Type1
75
76
# XXX: this may be fragmented inside individual
77
# x11 fontpackages, but it's OK by now
78
%_sysconfdir/X11/fontpath.d/misc:unscaled:pri=10
79
%_sysconfdir/X11/fontpath.d/75dpi:unscaled:pri=20
80
%_sysconfdir/X11/fontpath.d/100dpi:unscaled:pri=30
81
%_sysconfdir/X11/fontpath.d/cyrillic:pri=40
82
%_sysconfdir/X11/fontpath.d/OTF:pri=40
83
%_sysconfdir/X11/fontpath.d/Speedo:pri=40
84
%_sysconfdir/X11/fontpath.d/TTF:pri=40
85
%_sysconfdir/X11/fontpath.d/Type1:pri=40
86
87
%_datadir/fonts/100dpi/fonts.alias
88
%_datadir/fonts/75dpi/fonts.alias
89
%_datadir/fonts/cyrillic/fonts.alias
90
%_datadir/fonts/misc/fonts.alias
91
92
# fonts.dir and fonts.scale files
93
%_datadir/fonts/100dpi/fonts.dir
94
%_datadir/fonts/100dpi/fonts.scale
95
%_datadir/fonts/75dpi/fonts.dir
96
%_datadir/fonts/75dpi/fonts.scale
97
%_datadir/fonts/cyrillic/fonts.dir
98
%_datadir/fonts/cyrillic/fonts.scale
99
%_datadir/fonts/misc/fonts.dir
100
%_datadir/fonts/misc/fonts.scale
101
%_datadir/fonts/OTF/fonts.dir
102
%_datadir/fonts/OTF/fonts.scale
103
%_datadir/fonts/Speedo/fonts.dir
104
%_datadir/fonts/Speedo/fonts.scale
105
%_datadir/fonts/TTF/fonts.dir
106
%_datadir/fonts/TTF/fonts.scale
107
%_datadir/fonts/Type1/fonts.dir
108
%_datadir/fonts/Type1/fonts.scale
109
110
111
112
%changelog
113
* Tue May 17 2011 Funda Wang <fwang@mandriva.org> 1.0.3-3mdv2011.0
114
+ Revision: 675196
115
- rebuild for new rpm-setup
116
117
* Sat May 07 2011 Oden Eriksson <oeriksson@mandriva.com> 1.0.3-2
118
+ Revision: 671191
119
- mass rebuild
120
121
* Wed Oct 06 2010 Thierry Vignaud <tv@mandriva.org> 1.0.3-1mdv2011.0
122
+ Revision: 583166
123
- new release
124
125
* Thu Jan 14 2010 Paulo Ricardo Zanoni <pzanoni@mandriva.com> 1.0.2-1mdv2010.1
126
+ Revision: 491251
127
- Upstream compiled a COPYING file with a MIT-like license (current one says we
128
  should check each file's license)
129
- New version: 1.0.2
130
131
* Sat Mar 07 2009 Antoine Ginies <aginies@mandriva.com> 1.0.1-14mdv2009.1
132
+ Revision: 351364
133
- rebuild
134
135
* Fri Jun 20 2008 Pixel <pixel@mandriva.com> 1.0.1-13mdv2009.0
136
+ Revision: 227381
137
- move back from %%{_datadir}/X11/fontpath.d to %%{_sysconfdir}/X11/fontpath.d until changed again in x11-server
138
139
* Wed May 14 2008 Paulo Andrade <pcpa@mandriva.com.br> 1.0.1-12mdv2009.0
140
+ Revision: 207241
141
- Move symlinks from %%{_sysconfdir}/X11/fontpath.d to
142
  %%{_datadir}/X11/fontpath.d.
143
144
* Wed Mar 05 2008 Oden Eriksson <oeriksson@mandriva.com> 1.0.1-12mdv2008.1
145
+ Revision: 179656
146
- rebuild
147
148
  + Olivier Blin <oblin@mandriva.com>
149
    - restore BuildRoot
150
151
  + Thierry Vignaud <tv@mandriva.org>
152
    - kill re-definition of %%buildroot on Pixel's request
153
154
* Fri Jul 06 2007 Ademar de Souza Reis Jr <ademar@mandriva.com.br> 1.0.1-11mdv2008.0
155
+ Revision: 49185
156
- cosmetic: remove extra / from font-path symlinks
157
158
* Thu Jul 05 2007 Ademar de Souza Reis Jr <ademar@mandriva.com.br> 1.0.1-10mdv2008.0
159
+ Revision: 48677
160
- x11-font-misc-misc was fixed, so we can add the
161
  dir fonts/misc to this package.
162
163
* Thu Jul 05 2007 Ademar de Souza Reis Jr <ademar@mandriva.com.br> 1.0.1-9mdv2008.0
164
+ Revision: 48626
165
- add font directories to %%files (they were orphans)
166
- add fontpath.d support for standard fonts (see #31756)
167
  (maybe it's a good idea to merge this package inside
168
  x11-server-common or rename it, but it's OK by now)
169
170
171
* Thu Aug 03 2006 Helio Chissini de Castro <helio@mandriva.com>
172
+ 2006-08-03 18:39:34 (51422)
173
- All fonts now moved to /usr/share/fonts. font-alias need point to correct place
174
175
* Wed May 31 2006 Gustavo Pichorim Boiko <boiko@mandriva.com>
176
+ 2006-05-31 18:32:34 (31796)
177
- rebuild to fix cooker uploading
178
179
* Mon May 29 2006 Andreas Hasenack <andreas@mandriva.com>
180
+ 2006-05-29 14:36:37 (31646)
181
- renamed mdv to packages because mdv is too generic and it's hosting only packages anyway
182
183
* Tue May 23 2006 Pixel <pixel@mandriva.com>
184
+ 2006-05-23 09:58:02 (27879)
185
- mkfontdir uses fonts.scale, so mkfontscale must be done before mkfontdir
186
  (forget the previous buggy commit log...)
187
188
* Tue May 23 2006 Pixel <pixel@mandriva.com>
189
+ 2006-05-23 09:55:39 (27878)
190
- use Requires(post) instead of PreReq
191
192
* Mon May 22 2006 Pixel <pixel@mandriva.com>
193
+ 2006-05-22 13:43:08 (27844)
194
- use Requires(post) instead of PreReq
195
196
* Mon May 22 2006 Pixel <pixel@mandriva.com>
197
+ 2006-05-22 13:38:11 (27843)
198
- fix typo (fonts.dir were not being built, so were empty)
199
200
* Thu May 18 2006 Gustavo Pichorim Boiko <boiko@mandriva.com>
201
+ 2006-05-18 20:14:29 (27644)
202
- 3mdk
203
204
* Thu May 18 2006 Gustavo Pichorim Boiko <boiko@mandriva.com>
205
+ 2006-05-18 15:08:18 (27612)
206
- Add fonts.{dir,scale} to this package just for the upgrade process to be smooth
207
208
* Thu May 04 2006 Gustavo Pichorim Boiko <boiko@mandriva.com>
209
+ 2006-05-04 21:25:17 (26918)
210
- increment release
211
212
* Thu Apr 27 2006 Gustavo Pichorim Boiko <boiko@mandriva.com>
213
+ 2006-04-27 04:02:05 (26704)
214
- Adding X.org 7.0 to the repository
215

Comments