/[packages]/cauldron/aajohan-comfortaa-fonts/current/SPECS/aajohan-comfortaa-fonts.spec
ViewVC logotype

Diff of /cauldron/aajohan-comfortaa-fonts/current/SPECS/aajohan-comfortaa-fonts.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 389214 by pterjan, Thu Jan 17 21:30:27 2013 UTC revision 395553 by fwang, Fri Feb 8 13:48:01 2013 UTC
# Line 3  Line 3 
3    
4  Name:           %{fontname}-fonts  Name:           %{fontname}-fonts
5  Version:        1.004  Version:        1.004
6  Release:        %mkrel 3  Release:        %mkrel 4
7  Summary:        Modern style true type font  Summary:        Modern style true type font
8    
9  Group:          System/X11  Group:          System/X11
# Line 11  License:        OFL Line 11  License:        OFL
11  URL:            http://aajohan.deviantart.com  URL:            http://aajohan.deviantart.com
12  Source0:        http://www.deviantart.com/download/105395949/comfortaa___font_by_aajohan-d1qr019.zip  Source0:        http://www.deviantart.com/download/105395949/comfortaa___font_by_aajohan-d1qr019.zip
13  Source1:        %{name}-fontconfig.conf  Source1:        %{name}-fontconfig.conf
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root  
14  BuildArch:      noarch  BuildArch:      noarch
15  BuildRequires:  fontpackages-devel  BuildRequires:  fontpackages-devel
16  Requires:       fontpackages-filesystem  Requires:       fontpackages-filesystem
# Line 35  for file in *.txt; do Line 34  for file in *.txt; do
34   mv "$file.new" "$file"   mv "$file.new" "$file"
35  done  done
36    
 %build  
   
37  %install  %install
 rm -rf %{buildroot}  
38  install -m 0755 -d %{buildroot}%{_fontdir}  install -m 0755 -d %{buildroot}%{_fontdir}
39  install -m 0644 -p *.ttf %{buildroot}%{_fontdir}  install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
40  install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \  install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
# Line 49  install -m 0644 -p %{SOURCE1} \ Line 45  install -m 0644 -p %{SOURCE1} \
45  ln -s %{_fontconfig_templatedir}/%{fontconf} \  ln -s %{_fontconfig_templatedir}/%{fontconf} \
46        %{buildroot}%{_fontconfig_confdir}/%{fontconf}        %{buildroot}%{_fontconfig_confdir}/%{fontconf}
47    
 %clean  
 rm -rf %{buildroot}  
   
48  %_font_pkg -f %{fontconf} *.ttf  %_font_pkg -f %{fontconf} *.ttf
49    %doc *.txt
 %doc "Please\ read\ me.txt" "Comfortaa\ FONTLOG.txt" "OFL\ -\ Font\ License.txt"  
   
   

Legend:
Removed from v.389214  
changed lines
  Added in v.395553

  ViewVC Help
Powered by ViewVC 1.1.30