Upgrade to 1.00 release
[platform/upstream/monotype-fonts.git] / packaging / monotype-fonts.spec
index 885ebc8..25a85bb 100644 (file)
@@ -1,18 +1,20 @@
 %define _fontsdir               %{_datadir}/fonts
-%define _ttfontsdir             %{_fontsdir}/truetype
+%define _ttffontsdir            %{_fontsdir}/truetype
 %define _miscfontsdir           %{_fontsdir}/misc
 %define _fontsconfdir           %{_sysconfdir}/fonts
 %define _fontsconfddir          %{_fontsconfdir}/conf.d
 %define _fontsconfavaildir      %{_datadir}/%{name}/conf.avail
 
 Name:           monotype-fonts
-Version:        0.0.1
+Version:        1.00
 Release:        0
-License:        Intel Proprietary
+License:        Apache-2.0
 Summary:        Fonts package that provides the Clear Sans font
-Url:            http://www.intel.com/
-Group:          System/Fonts
+Url:            https://01.org/clear-sans
+Group:          Graphics & UI Framework/Fonts
+# Upstream only provides a zip file, so source is imported manually
 Source:         %{name}-%{version}.tar.xz
+Source1001:    monotype-fonts.manifest
 BuildArch:      noarch
 Requires(post): %{_bindir}/fc-cache
 
@@ -21,12 +23,13 @@ Fonts package that provides the Clear Sans font
 
 %prep
 %setup -q
+cp %{SOURCE1001} .
 
 %build
 
 %install
-mkdir -p %{buildroot}%{_ttfontsdir}
-install -m 0644 ttf/*.ttf %{buildroot}%{_ttfontsdir}/
+mkdir -p %{buildroot}%{_ttffontsdir}
+install -m 0644 TTF/*.ttf %{buildroot}%{_ttffontsdir}/
 
 %post
 if [ -x %{_bindir}/fc-cache ]; then
@@ -39,4 +42,6 @@ if [ -x %{_bindir}/fc-cache ]; then
 fi
 
 %files
-%{_ttfontsdir}/*.ttf
+%manifest %{name}.manifest
+%license LICENSE-2.0.txt
+%{_ttffontsdir}/*.ttf