[saab-fonts] Resolves:rh#880041 - Please include License exception text file

pnemade pnemade at fedoraproject.org
Mon Nov 26 05:59:42 UTC 2012


commit ab0f18073f10da3471a794e6ccdd8a2c1e2d87b8
Author: Parag Nemade <pnemade at redhat.com>
Date:   Mon Nov 26 11:31:15 2012 +0530

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

 License_font_exception.txt |    1 +
 saab-fonts.spec            |   23 +++++++++++++----------
 2 files changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/License_font_exception.txt b/License_font_exception.txt
new file mode 100644
index 0000000..a78eeae
--- /dev/null
+++ b/License_font_exception.txt
@@ -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.
diff --git a/saab-fonts.spec b/saab-fonts.spec
index 6bf64ae..ea513e8 100644
--- a/saab-fonts.spec
+++ b/saab-fonts.spec
@@ -3,16 +3,19 @@
 
 Name:        %{fontname}-fonts
 Version:     0.91
-Release:     7%{?dist}
+Release:     8%{?dist}
 Summary:     Free Punjabi Unicode OpenType Font
 
 Group:       User Interface/X
+
 License:     GPLv2+ with exceptions
 URL:         http://guca.sourceforge.net/typography/fonts/saab/
 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
-BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: fontpackages-devel
 Requires:    fontpackages-filesystem
 
@@ -28,9 +31,9 @@ Developed by Bhupinder Singh
 echo "Nothing to do in Build."
 
 %install
-rm -rf $RPM_BUILD_ROOT
-install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
-install -m 0644 -p Saab.otf $RPM_BUILD_ROOT%{_fontdir}
+install -m 0644 -p %{SOURCE2} .
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p Saab.otf %{buildroot}%{_fontdir}
 
 install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
                    %{buildroot}%{_fontconfig_confdir}
@@ -40,13 +43,13 @@ install -m 0644 -p %{SOURCE1} \
 ln -s %{_fontconfig_templatedir}/%{fontconf} \
       %{buildroot}%{_fontconfig_confdir}/%{fontconf}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %_font_pkg Saab.otf -f %{fontconf}
-%doc
+%doc License_font_exception.txt
 
 %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 at lists.fedoraproject.org> - 0.91-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the fonts-bugs mailing list