- remove duplicate font dir
- use dos2unix on doc files
This commit is contained in:
parent
a6a0f3ec62
commit
e981bb483b
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: %{fontname}-fonts
|
Name: %{fontname}-fonts
|
||||||
Version: 1.901
|
Version: 1.901
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Tibetan Machine Uni font for Tibetan, Dzongkha and Ladakhi
|
Summary: Tibetan Machine Uni font for Tibetan, Dzongkha and Ladakhi
|
||||||
|
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -14,6 +14,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
|
BuildRequires: dos2unix
|
||||||
Requires: fontpackages-filesystem
|
Requires: fontpackages-filesystem
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -33,17 +34,20 @@ rm -fr %{buildroot}
|
|||||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||||
|
|
||||||
tr -d '\r' < gpl.txt > COPYING
|
dos2unix -o gpl.txt
|
||||||
tr -d '\r' < ReadMe.txt > README
|
dos2unix -o ReadMe.txt
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -fr %{buildroot}
|
rm -fr %{buildroot}
|
||||||
|
|
||||||
%_font_pkg *.ttf
|
%_font_pkg *.ttf
|
||||||
%doc COPYING README
|
%doc gpl.txt ReadMe.txt
|
||||||
%dir %{_fontdir}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 17 2010 Jens Petersen <petersen@redhat.com> - 1.901-6
|
||||||
|
- remove duplicate font dir
|
||||||
|
- use dos2unix on doc files
|
||||||
|
|
||||||
* Thu Feb 11 2010 Jens Petersen <petersen@redhat.com> - 1.901-5
|
* Thu Feb 11 2010 Jens Petersen <petersen@redhat.com> - 1.901-5
|
||||||
- license in the font is now GPLv3+ (with fonts exception)
|
- license in the font is now GPLv3+ (with fonts exception)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user