rpms/icelandic-fonts/devel .cvsignore, 1.1, 1.2 icelandic-fonts.spec, 1.1, 1.2 sources, 1.1, 1.2 asyropoulos_-_Icelandic.otf, 1.1, NONE
Jon Stanley
jstanley at fedoraproject.org
Sat Feb 21 07:19:21 UTC 2009
Author: jstanley
Update of /cvs/pkgs/rpms/icelandic-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6723
Modified Files:
.cvsignore icelandic-fonts.spec sources
Removed Files:
asyropoulos_-_Icelandic.otf
Log Message:
Update to new packaging guidelines
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/icelandic-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 13 Jul 2008 19:09:56 -0000 1.1
+++ .cvsignore 21 Feb 2009 07:18:51 -0000 1.2
@@ -0,0 +1 @@
+asyropoulos_-_Icelandic.otf
Index: icelandic-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/icelandic-fonts/devel/icelandic-fonts.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- icelandic-fonts.spec 14 Jul 2008 13:01:25 -0000 1.1
+++ icelandic-fonts.spec 21 Feb 2009 07:18:51 -0000 1.2
@@ -1,10 +1,8 @@
-%define fontname icelandic
-%define fontdir %{_datadir}/fonts/%{fontname}
-%define fontconfdir %{_sysconfdir}/fonts/conf.d
+%define fontname icelandic
Name: %{fontname}-fonts
Version: 1.001
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Icelandic Magical Staves
Group: User Interface/X
@@ -12,9 +10,11 @@
URL: http://openfontlibrary.org/media/files/asyropoulos/238
Source0: http://openfontlibrary.org/people/asyropoulos/asyropoulos_-_Icelandic.otf
Source1: README.license
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
+BuildRequires: fontpackages-devel
+Requires: fontpackages-filesystem
%description
A font that includes most "magical" staves that have been "used" in Iceland.
@@ -22,43 +22,33 @@
www.galdrasyning.is/.
%prep
-cp %{SOURCE1} .
-
+cp %{SOURCE1} $RPM_BUILD_DIR
%build
%install
-rm -rf $RPM_BUILD_ROOT
-
-install -dm 755 $RPM_BUILD_ROOT%{fontdir}
-install -pm 644 %{SOURCE0} $RPM_BUILD_ROOT%{fontdir}/icelandic.otf
+rm -fr %{buildroot}
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p %{SOURCE0} %{buildroot}%{_fontdir}
%clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%post
-if [ -x %{_bindir}/fc-cache ] ; then
- %{_bindir}/fc-cache -f %{fontdir} || :
-fi
+rm -fr %{buildroot}
-%postun
-if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
- %{_bindir}/fc-cache -f %{fontdir} || :
-fi
+%_font_pkg -f %{fontconf} *.ttf
-%files
-%defattr(644,root,root,755)
%doc README.license
-%dir %{fontdir}/
-%{fontdir}/*.otf
+
+%dir %{_fontdir}
%changelog
+* Fri Feb 20 2009 Jon Stanley <jonstanley at gmail.com> - 1.001-3
+- Update to new packaging guidelines
+
* Sun Jul 12 2008 Jon Stanley <jonstanley at gmail.com> - 1.001-2
- Change font filename to something sane
@@ -69,3 +59,4 @@
* Mon May 05 2008 Jon Stanley <jonstanley at gmail.com> - 1.0-1
- Initial package
+
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/icelandic-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 13 Jul 2008 19:09:56 -0000 1.1
+++ sources 21 Feb 2009 07:18:51 -0000 1.2
@@ -0,0 +1 @@
+8dda14e13b168a32375de10f0f98b12c asyropoulos_-_Icelandic.otf
--- asyropoulos_-_Icelandic.otf DELETED ---
More information about the Fedora-fonts-bugs-list
mailing list