Browse Source

TrueType-junicode-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5434 ec354946-7b23-47d6-9f5a-488ba84defc7
kudoh 12 years ago
parent
commit
0a01f783fe
1 changed files with 13 additions and 11 deletions
  1. 13 11
      T/TrueType-junicode/TrueType-junicode-vl.spec

+ 13 - 11
T/TrueType-junicode/TrueType-junicode-vl.spec

@@ -4,17 +4,17 @@
 Name:             TrueType-%{fontname}
 Summary:          Junicode is a Unicode font for medievalists
 Summary(ja):      中世研究家のためのフォント Junicode
-Version:          0.6.17
-Release:          2%{?_dist_release}
-License:          GPL
+Version:          0.7.1
+Release:          1%{?_dist_release}
+License:          OFL
 Group:            User Interface/X
 URL:              http://junicode.sourceforge.net/
 
-Source0:          %{fontname}-0-6-17.zip
+Source0:          %{fontname}-0-7-1.zip
 
 BuildRequires: unzip
-BuildRoot:        %{_tmppath}/%{name}-%{version}-root
-BuildArch:        noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildArch: noarch
 
 Obsoletes: TrueType-%{fontname}-regular
 Obsoletes: TrueType-%{fontname}-italic
@@ -48,8 +48,6 @@ includes enduser license.
 
 %prep
 %setup -q -n %{fontname}
-mv doc/*.* .
-mv fonts/*.ttf .
 
 %clean
 if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
@@ -62,7 +60,7 @@ fi
 rm -rf %{buildroot}
 
 mkdir -p $RPM_BUILD_ROOT%{_fontdir}
-cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
+cp -a fonts/*.ttf $RPM_BUILD_ROOT%{_fontdir}
 
 %post
 %__font_install_post %{_fontdir}
@@ -71,15 +69,19 @@ cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
 %__font_install_postun %{_fontdir}
 
 %files
+%{_fontdir}/Junicode.ttf
 %{_fontdir}/*-Bold.ttf
-%{_fontdir}/*-Regular.ttf
 %{_fontdir}/*-BoldItalic.ttf
 %{_fontdir}/*-Italic.ttf
 
 %files doc
-%doc *.pdf *.tex util/*
+%doc doc/* util/*
 
 %changelog
+* Fri Jan 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.1-1
+- new upstream release
+- changed License: GPL to OFL
+
 * Sun Oct 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.17-2
 - obsoleted -regular, -bold, -italic sub packages