[screenruler/f14/master] Update to 0.9 bzr snapshot

Deji Akingunola deji at fedoraproject.org
Wed Mar 30 05:33:17 UTC 2011


commit d3b01ef66e3e56973da7385f6e5537d5d21c6ab6
Author: Deji Akingunola <dakingun at mail.com>
Date:   Wed Mar 30 01:34:26 2011 -0400

    Update to 0.9 bzr snapshot

 screenruler.spec |   24 ++++++++++++++++--------
 sources          |    2 +-
 2 files changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/screenruler.spec b/screenruler.spec
index 4f5f832..e9c96ff 100644
--- a/screenruler.spec
+++ b/screenruler.spec
@@ -1,15 +1,18 @@
 Summary:	GNOME screen ruler
 Name:		screenruler
-Version:	0.85
-Release:	4%{?dist}
+Version:	0.90
+Release:	0.1.bzr27%{?dist}
 License:	GPLv2+
 Group:		Applications/Engineering
-URL:		http://gnomecoder.wordpress.com/screenruler/
-Source0:	http://code.launchpad.net/screenruler/trunk/0.85/+download/%{name}-%{version}.tar.gz
+URL:		https://launchpad.net/screenruler/
+#Source0:	http://code.launchpad.net/screenruler/trunk/0.9/+download/%{name}-%{version}.tar.gz
+# Bazaar revision 27 snapshot downloaded from launchpad with; 
+# 'bzr branch lp:screenruler on 2011-03-29'
+Source0:	screenruler-0.9bzr27.tar.bz2
 Source1:	screenruler.desktop
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	desktop-file-utils
-Requires(abi):	ruby
+Requires:	ruby
 Requires:	ruby-libglade2 > 0.16.0-24
 Requires:	ruby-gconf2
 Obsoletes:	gruler < 0.85
@@ -24,7 +27,7 @@ measurement in 6 different metrics: pixels, centimeters, inches, picas, points,
 and as a percentage of the ruler’s length.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q -n %{name}-0.9bzr27
 
 %build
 
@@ -46,8 +49,10 @@ mkdir -p %{buildroot}%{_datadir}
 mkdir -p %{buildroot}%{_datadir}/%{name}
 mkdir -p %{buildroot}%{_datadir}/pixmaps/
 cp -p screenruler %{buildroot}%{_bindir}/
-cp -p screenruler-icon.png %{buildroot}%{_datadir}/pixmaps/
+cp -p screenruler-icon*.png %{buildroot}%{_datadir}/pixmaps/
 cp -pr utils *.rb screenruler*.* %{buildroot}%{_datadir}/%{name}/
+cd %{buildroot}%{_datadir}/pixmaps
+ ln -s ./screenruler-icon-32x32.png screenruler-icon.png
 
 desktop-file-install --vendor="fedora"				\
 	--dir=${RPM_BUILD_ROOT}%{_datadir}/applications		\
@@ -61,10 +66,13 @@ rm -rf %{buildroot}
 %doc AUTHORS COPYING 
 %{_bindir}/screenruler
 %{_datadir}/screenruler/
-%{_datadir}/pixmaps/screenruler-icon.png
+%{_datadir}/pixmaps/screenruler-icon*.png
 %{_datadir}/applications/*.desktop
 
 %changelog
+* Wed Mar 20 2011 Deji Akingunola <dakingun at gmail.com> - 0.90-0.1
+- Update to 0.9 bzr snapshot
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.85-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
diff --git a/sources b/sources
index d678340..297420f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e3f60e76e051ab4285b21d0fd759d8b7  screenruler-0.85.tar.gz
+bdeb14f5576b3654373a6d4e7d19e50f  screenruler-0.9bzr27.tar.bz2


More information about the scm-commits mailing list