rpms/gnome-specimen/devel gnome-specimen-desktop.patch, NONE, 1.1 gnome-specimen.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Damien Durand (splinux) fedora-extras-commits at redhat.com
Sun Jul 15 10:17:19 UTC 2007


Author: splinux

Update of /cvs/pkgs/rpms/gnome-specimen/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30926/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gnome-specimen-desktop.patch gnome-specimen.spec 
Log Message:


gnome-specimen-desktop.patch:

--- NEW FILE gnome-specimen-desktop.patch ---
--- gnome-specimen-0.2/data/gnome-specimen.desktop.in.in.false	2007-06-15 21:43:22.000000000 -0400
+++ gnome-specimen-0.2/data/gnome-specimen.desktop.in.in	2007-06-15 21:45:07.000000000 -0400
@@ -1,11 +1,10 @@
 [Desktop Entry]
 Encoding=UTF-8
-_Name=Specimen Font Previewer
-_GenericName=Font Previewer
-_Comment=Preview and compare fonts
+Name=Specimen Font Previewer
+GenericName=Font Previewer
+Comment=Preview and compare fonts
 Exec=gnome-specimen
-StartupNotify=false
 Terminal=false
 Type=Application
 Icon=gnome-specimen
-Categories=GTK;GNOME;Application;Graphics
+Categories=GTK;GNOME;Graphics;


--- NEW FILE gnome-specimen.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           gnome-specimen
Version:        0.2
Release:        4%{?dist}
Summary:        A simple tool to view and compare fonts installed on your system

Group:          Applications/System
License:        GPL
URL:            http://uwstopia.nl/geek/projects/gnome-specimen/
Source0:        http://uwstopia.nl/files/2007/06/%{name}-%{version}.tar.gz
Patch0:         gnome-specimen-desktop.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  GConf2-devel, gnome-python2, pygtk2-libglade, perl-XML-Parser, pkgconfig, gettext, desktop-file-utils
Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2

%description
Gnome Specimen is a simple tool to view and compare fonts installed on 
your system

%prep
%setup -q

%patch0 -p1

%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT

desktop-file-install --vendor="" --delete-original \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications        \
  $RPM_BUILD_ROOT%{_datadir}/applications//%{name}.desktop


%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT


%pre
if [ "$1" -gt 1 ]; then
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
    gconftool-2 --makefile-uninstall-rule \
      %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
    killall -HUP gconfd-2 || :
fi

%post
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
  %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
killall -HUP gconfd-2 || :

%postun
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :


%preun
if [ "$1" -eq 0 ]; then
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
    gconftool-2 --makefile-uninstall-rule \
      %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
    killall -HUP gconfd-2 || :
fi

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/%{name}
%{python_sitelib}/specimen
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schemas

%changelog
* Wed Jul 11 2007 Damien Durand <splinux at fedoraproject.org> - 0.2-4
- Fix desktop-file section

* Wed Jun 27 2007 Damien Durand <splinux at fedoraproject.org> - 0.2-3
- Fix owned directories

* Fri Jun 09 2007 Damien Durand <splinux at fedoraproject.org> - 0.2-2
- Fix gconf shemas
- Set BuildArch to noarch
- Fix wrong entries from desktop file

* Fri Jun 08 2007 Damien Durand <splinux at fedoraproject.org> - 0.2-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-specimen/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	15 Jul 2007 04:08:44 -0000	1.1
+++ .cvsignore	15 Jul 2007 10:16:47 -0000	1.2
@@ -0,0 +1 @@
+gnome-specimen-0.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-specimen/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	15 Jul 2007 04:08:44 -0000	1.1
+++ sources	15 Jul 2007 10:16:47 -0000	1.2
@@ -0,0 +1 @@
+046bb0b954c52e1881699703673a4378  gnome-specimen-0.2.tar.gz




More information about the scm-commits mailing list