[gnome-font-viewer/f17] Initial import (#807662).

rtcm rtcm at fedoraproject.org
Thu Mar 29 14:18:08 UTC 2012


commit 0b81b6cb75b676022232e97cb78e0333ed4199e4
Author: Rui Matos <rmatos at redhat.com>
Date:   Thu Mar 29 16:17:08 2012 +0200

    Initial import (#807662).

 .gitignore             |    1 +
 gnome-font-viewer.spec |   76 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 78 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..016acdd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnome-font-viewer-3.4.0.tar.xz
diff --git a/gnome-font-viewer.spec b/gnome-font-viewer.spec
new file mode 100644
index 0000000..dcb2ea9
--- /dev/null
+++ b/gnome-font-viewer.spec
@@ -0,0 +1,76 @@
+Name:           gnome-font-viewer
+Version:        3.4.0
+%global         release_version %(echo %{version} | awk -F. '{print $1"."$2}')
+Release:        3%{?dist}
+Summary:        Utility for previewing fonts for GNOME
+
+Group:          Applications/System
+License:        GPLv2+
+#No URL for the package specifically, as of now
+URL:            http://www.gnome.org/gnome-3/
+Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-font-viewer/%{release_version}/%{name}-%{version}.tar.xz
+
+BuildRequires:  gtk3-devel
+BuildRequires:  intltool
+BuildRequires:  desktop-file-utils
+
+%description
+Use gnome-font-viewer, the Font Viewer, to preview fonts and display
+information about a specified font. You can use the Font Viewer to display the
+name, style, type, size, version and copyright of the font.
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-silent-rules
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
+
+%find_lang %{name} --with-gnome
+
+%post
+update-desktop-database &> /dev/null || :
+
+%postun
+update-desktop-database &> /dev/null || :
+
+%files -f %{name}.lang
+%doc COPYING NEWS
+
+%{_bindir}/%{name}
+%{_bindir}/gnome-thumbnail-font
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/thumbnailers/%{name}.thumbnailer
+
+
+%changelog
+* Wed Mar 28 2012 Rui Matos <rmatos at redhat.com> - 3.4.0-3
+- Use %%global instead of %%define
+- Don't define Version as the result of macro expansions so that we
+  don't break automated tools
+
+* Wed Mar 28 2012 Rui Matos <rmatos at redhat.com> - 3.4.0-2
+- Use rpm macros to define the version number
+- Do verbose builds
+
+* Tue Mar 27 2012 Rui Matos <rmatos at redhat.com> - 3.4.0-1
+- Update to 3.4.0
+
+* Mon Mar  5 2012 Rui Matos <rmatos at redhat.com> - 3.3.2.1-3
+- spec file cleanup
+- removed unneeded GConf2-devel BR
+- call update-desktop-database to rebuild the MIME types cache
+
+* Tue Dec 06 2011 Anuj More <anujmorex at gmail.com> - 3.3.2.1-2
+- made some formating changes in the spec file
+
+* Fri Nov 18 2011 Anuj More <anujmorex at gmail.com> - 3.3.2.1-1
+- rebuilt
+
diff --git a/sources b/sources
index e69de29..5515297 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f21c9174c263bf0928d82ddf01d4e6a5  gnome-font-viewer-3.4.0.tar.xz


More information about the scm-commits mailing list