rpms/gnome-specimen/FC-6 gnome-specimen.spec, 1.2, 1.3 sources, 1.4, 1.5

Damien Durand (splinux) fedora-extras-commits at redhat.com
Wed Jul 18 14:05:00 UTC 2007


Author: splinux

Update of /cvs/pkgs/rpms/gnome-specimen/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31287

Added Files:
	gnome-specimen.spec sources 
Log Message:



Index: gnome-specimen.spec
===================================================================
RCS file: gnome-specimen.spec
diff -N gnome-specimen.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnome-specimen.spec	18 Jul 2007 14:04:28 -0000	1.3
@@ -0,0 +1,104 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Name:           gnome-specimen
+Version:        0.3
+Release:        1%{?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/geek/projects/gnome-specimen/releases/%{name}-%{version}.tar.gz
+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
+
+
+%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 18 2007 Damien Durand <splinux at fedoraproject.org> - 0.3-1
+- Update to 0.3
+
+* 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: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sources	18 Jul 2007 14:04:28 -0000	1.5
@@ -0,0 +1 @@
+6f1abf2d6245a890f6778a5f9f25c0c7  gnome-specimen-0.3.tar.gz




More information about the scm-commits mailing list