avatar
abondrov has added edd9b4cb8f
LOG Spec cleanup
view file @ edd9b4cb8f
... ... --- a/fonts-ttf-korean.spec
... ... +++ b/fonts-ttf-korean.spec
... ... @@ -1,21 +1,19 @@
1 1
%define snapdate 080608
2
%define rel 8
3 2
4 3
Summary:	Un Fonts in Koream
5 4
Name:		fonts-ttf-korean
6 5
Epoch:		1
7 6
Version:	1.0.2
8
Release:	%mkrel -c %snapdate %rel
9
URL:		http://kldp.net/projects/unfonts/
10
Source0:	http://kldp.net/frs/download.php/4695/un-fonts-core-%version-%snapdate.tar.gz
7
Release:	0.%{snapdate}.9
11 8
License:	GPLv2
12 9
Group:		System/Fonts/True type
10
URL:		http://kldp.net/projects/unfonts/
11
Source0:	http://kldp.net/frs/download.php/4695/un-fonts-core-%version-%snapdate.tar.gz
13 12
BuildArch:	noarch
14
BuildRequires: fontconfig
15
BuildRoot:	%{_tmppath}/%name-%version-%release-root
13
BuildRequires:	fontconfig
16 14
BuildRequires:	mkfontdir
17
Obsoletes: 	baekmuk hwan-fonts
18
Provides:	baekmuk hwan-fonts
15
Provides:	baekmuk = %{EVRD}
16
Provides:	hwan-fonts = %{EVRD}
19 17
20 18
%description
21 19
Un-fonts is comes from the HLaTeX as type1 fonts in 1998 by Koaunghi Un,
... ... @@ -24,29 +22,23 @@ release it under the GNU GPL license.
22 22
23 23
%prep
24 24
%setup -q -n un-fonts
25
 
25
26 26
%build
27 27
28 28
%install
29
rm -fr %buildroot
30
31
install -d %buildroot/%{_datadir}/fonts/TTF/korean/
32
install -m 0644 *.ttf %buildroot/%{_datadir}/fonts/TTF/korean
29
install -d %{buildroot}%{_datadir}/fonts/TTF/korean/
30
install -m 0644 *.ttf %{buildroot}%{_datadir}/fonts/TTF/korean
33 31
34 32
35 33
(
36
cd %buildroot/%{_datadir}/fonts/TTF/korean
34
cd %{buildroot}%{_datadir}/fonts/TTF/korean
37 35
mkfontdir > fonts.dir
38 36
ln -sf fonts.dir fonts.scale
39 37
) 
40 38
41
mkdir -p %{buildroot}%_sysconfdir/X11/fontpath.d/
42
ln -s ../../..%_datadir/fonts/TTF/korean \
43
    %{buildroot}%_sysconfdir/X11/fontpath.d/ttf-korean:pri=50
44
45
46
%clean
47
rm -fr %buildroot
39
mkdir -p %{buildroot}%{_sysconfdir}/X11/fontpath.d/
40
ln -s ../../..%{_datadir}/fonts/TTF/korean \
41
    %{buildroot}%{_sysconfdir}/X11/fontpath.d/ttf-korean:pri=50
48 42
49 43
%files
50 44
%defattr(-,root,root,0755)
... ... @@ -58,70 +50,3 @@ rm -fr %buildroot
50 50
%{_sysconfdir}/X11/fontpath.d/ttf-korean:pri=50
51 51
52 52
53
%changelog
54
* Tue May 17 2011 Funda Wang <fwang@mandriva.org> 1:1.0.2-0.080608.6mdv2011.0
55
+ Revision: 675419
56
- br fontconfig for fc-query used in new rpm-setup-build
57
58
* Tue May 17 2011 Funda Wang <fwang@mandriva.org> 1:1.0.2-0.080608.5
59
+ Revision: 675183
60
- rebuild for new rpm-setup
61
62
* Tue May 03 2011 Oden Eriksson <oeriksson@mandriva.com> 1:1.0.2-0.080608.4
63
+ Revision: 664332
64
- mass rebuild
65
66
* Fri Dec 03 2010 Funda Wang <fwang@mandriva.org> 1:1.0.2-0.080608.3mdv2011.0
67
+ Revision: 605801
68
- fix build
69
70
  + Oden Eriksson <oeriksson@mandriva.com>
71
    - rebuild
72
73
* Wed Jan 20 2010 Paulo Ricardo Zanoni <pzanoni@mandriva.com> 1:1.0.2-0.080608.2mdv2010.1
74
+ Revision: 494149
75
- fc-cache is now called by an rpm filetrigger
76
77
* Mon Aug 04 2008 Funda Wang <fwang@mandriva.org> 1:1.0.2-0.080608.1mdv2009.0
78
+ Revision: 262884
79
- drop alias
80
- switch to un-fonts
81
82
* Tue Jun 17 2008 Thierry Vignaud <tv@mandriva.org> 2.1-10mdv2009.0
83
+ Revision: 220950
84
- rebuild
85
86
* Sat Jan 12 2008 Thierry Vignaud <tv@mandriva.org> 2.1-9mdv2008.1
87
+ Revision: 149799
88
- rebuild
89
- kill re-definition of %%buildroot on Pixel's request
90
91
  + Olivier Blin <oblin@mandriva.com>
92
    - restore BuildRoot
93
94
* Thu Jul 05 2007 Ademar de Souza Reis Jr <ademar@mandriva.com.br> 2.1-8mdv2008.0
95
+ Revision: 48744
96
- fontpath.d conversion (#31756)
97
- minor cleanups
98
99
100
* Fri Aug 04 2006 Helio Chissini de Castro <helio@mandriva.com>
101
+ 2006-08-04 23:11:49 (52892)
102
- Normalize fonts with new paths
103
104
* Fri Aug 04 2006 Helio Chissini de Castro <helio@mandriva.com>
105
+ 2006-08-04 21:06:15 (52807)
106
- import fonts-ttf-korean-2.1-6mdk
107
108
* Tue Feb 07 2006 Frederic Crozat <fcrozat@mandriva.com> 2.1-6mdk
109
- don't package fonts.cache-2 file
110
- fix post/postun script
111
- don't package /usr/share/fonts
112
- touch parent directory to workaround rpm changing directory last modification
113
  time (breaking fontconfig cache consistency detection)
114
115
* Sun Nov 13 2005 Abel Cheung <deaddog@mandriva.org> 2.1-5mdk
116
- new fontconfig cache file name
117
- fix dependencies
118
- don't install ghostscript related file, gs-cjk is no more
119

Comments