fe478af
%define fontname bpg
fe478af
%define fontconf 64-%{fontname}.conf
fe478af
%define common_ver 20090205
fe478af
fe478af
%define common_desc BPG Fonts are a set of GPL licensed Georgian Unicode fonts.
fe478af
fe478af
fe478af
Name:		%{fontname}-fonts
fe478af
Summary: 	Georgian Unicode fonts
fe478af
Version:	%{common_ver}
9306480
Release:	10%{?dist}
fe478af
# Font exception
fe478af
# See: http://groups.google.com/group/bpg-fonts/web/gpl-gnu-license
fe478af
# No version of the GPL is specified.
fe478af
License:	GPL+ with exceptions
fe478af
Group:		User Interface/X
fe478af
# Source is actually http://bpg-fonts.googlegroups.com/web/BPG_GPL%26GNU_Fonts.zip
fe478af
# but it is buried in Google Groups. Barf.
fe478af
# Also, it has a & in its name, which confuses all sorts of things. 
fe478af
# I renamed the zip file to replace & with _and_
fe478af
Source0:	BPG_GPL_and_GNU_Fonts.zip
fe478af
Source1:	%{name}-algeti-fontconfig.conf
fe478af
Source2:	%{name}-chveulebrivi-fontconfig.conf
fe478af
Source3:	%{name}-courier-fontconfig.conf
fe478af
Source4:	%{name}-courier-s-fontconfig.conf
fe478af
Source5:	%{name}-elite-fontconfig.conf
fe478af
Source6:	%{name}-glaho-fontconfig.conf
fe478af
Source7:	%{name}-ingiri-fontconfig.conf
fe478af
Source8:	%{name}-nino-medium-fontconfig.conf
fe478af
Source9:	%{name}-nino-medium-cond-fontconfig.conf
fe478af
Source10:	%{name}-sans-fontconfig.conf
fe478af
Source11:	%{name}-sans-medium-fontconfig.conf
fe478af
Source12:	%{name}-sans-modern-fontconfig.conf
fe478af
Source13:	%{name}-sans-regular-fontconfig.conf
fe478af
Source14:	%{name}-serif-fontconfig.conf
fe478af
Source15:	%{name}-serif-modern-fontconfig.conf
d3531ed
# The source for this one is buried in javascript garbage:
d3531ed
# http://cid-2b325d7bf5367fe3.skydrive.live.com/self.aspx/Fonts%20%E1%83%A4%E1%83%9D%E1%83%9C%E1%83%A2%E1%83%94%E1%83%91%E1%83%98/GPL%20|0%20GNU%20Fonts/BPG|_Excelsior|_GPL|0GNU.zip
d3531ed
# Also, I renamed it to remove the &
d3531ed
Source16:	BPG_Excelsior_GPL_and_GNU.zip
d3531ed
Source17:	%{name}-excelsior-fontconfig.conf
fe478af
URL:		http://groups.google.com/group/bpg-fonts
fe478af
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
fe478af
BuildRequires:	fontpackages-devel
fe478af
BuildArch:	noarch
fe478af
fe478af
%description
fe478af
%common_desc
fe478af
fe478af
%package common
fe478af
Summary:	Common files for BPG Georgian fonts (documentation...)
fe478af
Group:		User Interface/X
fe478af
Requires:	fontpackages-filesystem
fe478af
fe478af
%description common
fe478af
%common_desc
fe478af
fe478af
This package consists of files used by other BPG font packages.
fe478af
fe478af
%package -n %{fontname}-algeti-fonts
fe478af
Summary:	Algeti Family of BPG Georgian Fonts
fe478af
Version:	2.005
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-algeti-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Algeti font family.
fe478af
fe478af
%_font_pkg -n algeti -f %{fontconf}-algeti.conf "BPG_Algeti*.ttf"
fe478af
fe478af
%package -n %{fontname}-chveulebrivi-fonts
fe478af
Summary:	Chveulebrivi family of BPG Georgian fonts
fe478af
Version:	3.002
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-chveulebrivi-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Chveulebrivi font family.
fe478af
fe478af
%_font_pkg -n chveulebrivi -f %{fontconf}-chveulebrivi.conf "BPG_Chveulebrivi_*.ttf"
fe478af
fe478af
%package -n %{fontname}-courier-fonts
fe478af
Summary:	Courier family of BPG Georgian fonts
fe478af
Version:	4.002
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-courier-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Courier font family.
fe478af
fe478af
%_font_pkg -n courier -f %{fontconf}-courier.conf "BPG_Courier_GPL*.ttf"
fe478af
fe478af
%package -n %{fontname}-courier-s-fonts
fe478af
Summary:	Courier S family of BPG Georgian fonts
fe478af
Version:	4.000
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-courier-s-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Courier S font family.
fe478af
fe478af
%_font_pkg -n courier-s -f %{fontconf}-courier-s.conf "BPG_Courier_S*.ttf"
fe478af
fe478af
%package -n %{fontname}-elite-fonts
fe478af
Summary:	Elite family of BPG Georgian fonts
fe478af
Version:	3.000
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-elite-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Elite font family.
fe478af
fe478af
%_font_pkg -n elite -f %{fontconf}-elite.conf "BPG_Elite*.ttf"
fe478af
d3531ed
%package -n %{fontname}-excelsior-fonts
d3531ed
Summary:	Excelsior family of BPG Georgian fonts
d3531ed
Version:	2.025
d3531ed
Group:		User Interface/X
d3531ed
Requires:	%{name}-common = %{common_ver}-%{release}
d3531ed
License:	Bitstream Vera
d3531ed
d3531ed
%description -n %{fontname}-excelsior-fonts
d3531ed
%common_desc
d3531ed
d3531ed
This package contains the Excelsior font family.
d3531ed
d3531ed
%_font_pkg -n excelsior -f %{fontconf}-excelsior.conf "BPG_Excelsior*.ttf"
d3531ed
fe478af
%package -n %{fontname}-glaho-fonts
fe478af
Summary:	Glaho family of BPG Georgian fonts
fe478af
Version:	9.000
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-glaho-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Glaho font family.
fe478af
fe478af
%_font_pkg -n glaho -f %{fontconf}-glaho.conf "BPG_Glaho*.ttf"
fe478af
fe478af
%package -n %{fontname}-ingiri-fonts
fe478af
Summary:	Ingiri family of BPG Georgian fonts
fe478af
Version:	4.000
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-ingiri-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Ingiri font family.
fe478af
fe478af
%_font_pkg -n ingiri -f %{fontconf}-ingiri.conf "BPG_Ingiri*.ttf"
fe478af
fe478af
%package -n %{fontname}-nino-medium-fonts
fe478af
Summary:	Nino Medium family of BPG Georgian fonts
fe478af
Version:	4.005
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n	%{fontname}-nino-medium-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Nino Medium font family.
fe478af
fe478af
%_font_pkg -n nino-medium -f %{fontconf}-nino-medium.conf "BPG_Nino_Medium_GPL*.ttf"
fe478af
fe478af
%package -n %{fontname}-nino-medium-cond-fonts
fe478af
Summary:	Nino Medium Cond family of BPG Georgian fonts
fe478af
Version:	4.005
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-nino-medium-cond-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Nino Medium Cond font family.
fe478af
fe478af
%_font_pkg -n nino-medium-cond -f %{fontconf}-nino-medium-cond.conf "BPG_Nino_Medium_Cond*.ttf"
fe478af
fe478af
%package -n %{fontname}-sans-fonts
fe478af
Summary:	Sans family of BPG Georgian fonts
fe478af
Version:	1.005
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-sans-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Sans font family.
fe478af
fe478af
%_font_pkg -n sans -f %{fontconf}-sans.conf "BPG_Sans_GPL*.ttf"
fe478af
fe478af
%package -n %{fontname}-sans-medium-fonts
fe478af
Summary:	Sans Medium family of BPG Georgian fonts
fe478af
Version:	1.005
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-sans-medium-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Sans Medium font family.
fe478af
fe478af
%_font_pkg -n sans-medium -f %{fontconf}-sans-medium.conf "BPG_Sans_Medium*.ttf"
fe478af
fe478af
%package -n %{fontname}-sans-modern-fonts
fe478af
Summary:	Sans Modern family of BPG Georgian fonts
fe478af
Version:	2.025
fe478af
License:	Bitstream Vera
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n	%{fontname}-sans-modern-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Sans Modern font family.
fe478af
fe478af
%_font_pkg -n sans-modern -f %{fontconf}-sans-modern.conf "BPG_Sans_Modern*.ttf"
fe478af
fe478af
%package -n %{fontname}-sans-regular-fonts
fe478af
Summary:	Sans Regular family of BPG Georgian fonts
fe478af
Version:	1.005
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-sans-regular-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Sans Regular font family.
fe478af
fe478af
%_font_pkg -n sans-regular -f %{fontconf}-sans-regular.conf "BPG_Sans_Regular*.ttf"
fe478af
fe478af
%package -n %{fontname}-serif-fonts
fe478af
Summary:	Serif family of BPG Georgian fonts
fe478af
Version:	1.005
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-serif-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Serif font family.
fe478af
fe478af
%_font_pkg -n serif -f %{fontconf}-serif.conf "BPG_Serif_GPL*.ttf"
fe478af
fe478af
%package -n %{fontname}-serif-modern-fonts
fe478af
Summary:	Serif Modern family of BPG Georgian fonts
fe478af
Version:	2.028
fe478af
License:	Bitstream Vera
fe478af
Group:		User Interface/X
fe478af
Requires:	%{name}-common = %{common_ver}-%{release}
fe478af
fe478af
%description -n %{fontname}-serif-modern-fonts
fe478af
%common_desc
fe478af
fe478af
This package contains the Serif Modern font family.
fe478af
fe478af
%_font_pkg -n serif-modern -f %{fontconf}-serif-modern.conf "BPG_Serif_Modern*.ttf"
fe478af
fe478af
%prep
fe478af
%setup -q -c -n %{name}
fe478af
%{__unzip} -qqo "%{SOURCE0}"
d3531ed
%{__unzip} -qqo "%{SOURCE16}"
fe478af
# correct end-of-line encoding
fe478af
sed -i 's/\r//' "Docs/BPG_GPL&GNU_Fonts.txt"
fe478af
fe478af
%build
fe478af
fe478af
%install
fe478af
rm -rf %{buildroot}
fe478af
install -m 0755 -d %{buildroot}%{_fontdir}
fe478af
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
fe478af
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
fe478af
install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-algeti.conf
fe478af
install -m 0644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-chveulebrivi.conf
fe478af
install -m 0644 -p %{SOURCE3} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-courier.conf
fe478af
install -m 0644 -p %{SOURCE4} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-courier-s.conf
fe478af
install -m 0644 -p %{SOURCE5} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-elite.conf
fe478af
install -m 0644 -p %{SOURCE6} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-glaho.conf
fe478af
install -m 0644 -p %{SOURCE7} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-ingiri.conf
fe478af
install -m 0644 -p %{SOURCE8} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-nino-medium.conf
fe478af
install -m 0644 -p %{SOURCE9} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-nino-medium-cond.conf
fe478af
install -m 0644 -p %{SOURCE10} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-sans.conf
fe478af
install -m 0644 -p %{SOURCE11} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-sans-medium.conf
fe478af
install -m 0644 -p %{SOURCE12} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-sans-modern.conf
fe478af
install -m 0644 -p %{SOURCE13} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-sans-regular.conf
fe478af
install -m 0644 -p %{SOURCE14} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-serif.conf
fe478af
install -m 0644 -p %{SOURCE15} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-serif-modern.conf
d3531ed
install -m 0644 -p %{SOURCE17} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-excelsior.conf
fe478af
fe478af
for fontconf in %{fontconf}-algeti.conf %{fontconf}-chveulebrivi.conf %{fontconf}-courier.conf %{fontconf}-courier-s.conf\
fe478af
		%{fontconf}-elite.conf %{fontconf}-glaho.conf %{fontconf}-ingiri.conf %{fontconf}-nino-medium.conf\
fe478af
		%{fontconf}-nino-medium-cond.conf %{fontconf}-sans.conf %{fontconf}-sans-medium.conf %{fontconf}-sans-modern.conf\
d3531ed
		%{fontconf}-sans-regular.conf %{fontconf}-serif.conf %{fontconf}-serif-modern.conf %{fontconf}-excelsior.conf
fe478af
do
fe478af
	ln -s %{_fontconfig_templatedir}/$fontconf %{buildroot}%{_fontconfig_confdir}/$fontconf
fe478af
done
fe478af
fe478af
%clean
fe478af
rm -rf %{buildroot}
fe478af
fe478af
%files common
fe478af
%defattr(0644,root,root,0755)
fe478af
%doc Docs/*
fe478af
%dir %{_fontdir}
fe478af
fe478af
%changelog
9306480
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090205-10
9306480
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9306480
760b8dc
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090205-9
760b8dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
760b8dc
4dd2915
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090205-8
4dd2915
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4dd2915
d3531ed
* Mon Aug 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> 20090205-7
d3531ed
- add Excelsior font
d3531ed
c1828ea
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090205-6
c1828ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c1828ea
fe478af
* Wed Feb 25 2009 Tom "spot" Callaway <tcallawa@redhat.com> 20090205-5
fe478af
- take & out of filename
fe478af
fe478af
* Tue Feb 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> 20090205-4
fe478af
- missing semicolon in fontconfig files
fe478af
fe478af
* Tue Feb 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> 20090205-3
fe478af
- fix fontconfig files to not use reserved character, alias for fonts with old names
fe478af
fe478af
* Thu Feb 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> 20090205-2
fe478af
- update fontconfig files, change priority to 64
fe478af
- don't need to own fontdir in -common, but we'll leave it in for good measure.
fe478af
fe478af
* Thu Feb 5 2009 Tom "spot" Callaway <tcallawa@redhat.com> 20090205-1
fe478af
- update to 20090205 source with proper licensing
fe478af
fe478af
* Tue Feb 3 2009 Tom "spot" Callaway <tcallawa@redhat.com> 20090203-1
fe478af
- Initial package for Fedora