Resolves:rh#880041 - Please include License exception text file

This commit is contained in:
Parag Nemade 2012-11-26 11:31:15 +05:30
parent 923966228d
commit ab0f18073f
2 changed files with 14 additions and 10 deletions

View File

@ -0,0 +1 @@
As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

View File

@ -3,16 +3,19 @@
Name: %{fontname}-fonts Name: %{fontname}-fonts
Version: 0.91 Version: 0.91
Release: 7%{?dist} Release: 8%{?dist}
Summary: Free Punjabi Unicode OpenType Font Summary: Free Punjabi Unicode OpenType Font
Group: User Interface/X Group: User Interface/X
License: GPLv2+ with exceptions License: GPLv2+ with exceptions
URL: http://guca.sourceforge.net/typography/fonts/saab/ URL: http://guca.sourceforge.net/typography/fonts/saab/
Source0: http://downloads.sf.net/guca/saab.0.91.zip Source0: http://downloads.sf.net/guca/saab.0.91.zip
Source1: %{name}-fontconfig.conf Source1: %{name}-fontconfig.conf
#Font file itself does not add exception text, so add it manually
#from http://guca.sourceforge.net/typography/fonts/saab/
Source2: License_font_exception.txt
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fontpackages-devel BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem Requires: fontpackages-filesystem
@ -28,9 +31,9 @@ Developed by Bhupinder Singh
echo "Nothing to do in Build." echo "Nothing to do in Build."
%install %install
rm -rf $RPM_BUILD_ROOT install -m 0644 -p %{SOURCE2} .
install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir} install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p Saab.otf $RPM_BUILD_ROOT%{_fontdir} install -m 0644 -p Saab.otf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir} %{buildroot}%{_fontconfig_confdir}
@ -40,13 +43,13 @@ install -m 0644 -p %{SOURCE1} \
ln -s %{_fontconfig_templatedir}/%{fontconf} \ ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf} %{buildroot}%{_fontconfig_confdir}/%{fontconf}
%clean
rm -rf $RPM_BUILD_ROOT
%_font_pkg Saab.otf -f %{fontconf} %_font_pkg Saab.otf -f %{fontconf}
%doc %doc License_font_exception.txt
%changelog %changelog
* Mon Nov 26 2012 Parag <pnemade AT redhat DOT com> - 2.000-9
- Resolves:rh#880041 - Please include License exception text file
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-7 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild