rpms/gentium-fonts/devel gentium-fonts.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Roozbeh Pournader (roozbeh)
fedora-extras-commits at redhat.com
Thu Dec 22 15:27:24 UTC 2005
Author: roozbeh
Update of /cvs/extras/rpms/gentium-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10522/devel
Modified Files:
.cvsignore sources
Added Files:
gentium-fonts.spec
Log Message:
auto-import gentium-fonts-1.02-2 on branch devel from gentium-fonts-1.02-2.src.rpm
--- NEW FILE gentium-fonts.spec ---
%define archivename ttf-sil-gentium
%define fontdir %{_datadir}/fonts/gentium
Name: gentium-fonts
Version: 1.02
Release: 2
Summary: SIL Gentium fonts
Group: User Interface/X
License: SIL Open Font License
URL: http://scripts.sil.org/Gentium_linux
# Source0 can be downloaded from the above URL, search for "tar.gz"
Source0: ttf-sil-gentium_1.0.2.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Providing the name of an upstream RPM
Obsoletes: fonts-sil-gentium
Provides: fonts-sil-gentium
%description
SIL Gentium ("belonging to the nations" in Latin) is a Unicode typeface family
designed to enable the many diverse ethnic groups around the world who use
the Latin script to produce readable, high-quality publications. It supports
a wide range of Latin-based alphabets and includes glyphs that correspond to
all the Latin ranges of Unicode.
%prep
%setup -q -n %{archivename}-%{version}
%build
%install
rm -rf $RPM_BUILD_ROOT
#fonts
install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
install -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir}
# "touch" all files we've got flagged as %ghost but which are not
# present in the RPM_BUILD_ROOT when RPM looks for files
/bin/touch $RPM_BUILD_ROOT%{fontdir}/fonts.cache-1
/bin/touch $RPM_BUILD_ROOT%{fontdir}/fonts.cache-2
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_datadir}/fonts
fi
%postun
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_datadir}/fonts
fi
fi
%files
%defattr(0644,root,root,0755)
%doc FONTLOG GENTIUM-FAQ OFL OFL-FAQ QUOTES README
%dir %{fontdir}
%{fontdir}/*.ttf
%ghost %{fontdir}/fonts.cache-1
%ghost %{fontdir}/fonts.cache-2
%changelog
* Wed Dec 21 2005 Roozbeh Porunader <roozbeh at farsiweb.info> 1.02-2
- Added comment to Source0 about where to get the file
- Added Provides and Obsoletes for upsteam RPM name
* Mon Dec 19 2005 Roozbeh Pournader <roozbeh at farsiweb.info> 1.02-1
- Initial packaging, borrowing many things from dejavu-fonts
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gentium-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Dec 2005 15:17:19 -0000 1.1
+++ .cvsignore 22 Dec 2005 15:27:24 -0000 1.2
@@ -0,0 +1 @@
+ttf-sil-gentium_1.0.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gentium-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Dec 2005 15:17:19 -0000 1.1
+++ sources 22 Dec 2005 15:27:24 -0000 1.2
@@ -0,0 +1 @@
+4c3e6ae586be277537ebb68f2a45b883 ttf-sil-gentium_1.0.2.tar.gz
More information about the scm-commits
mailing list