rpms/screenruler/devel import.log, NONE, 1.1 screenruler.desktop, NONE, 1.1 screenruler.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Deji Akingunola deji at fedoraproject.org
Thu Oct 9 02:47:03 UTC 2008


Author: deji

Update of /cvs/pkgs/rpms/screenruler/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31457/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log screenruler.desktop screenruler.spec 
Log Message:
Initial import


--- NEW FILE import.log ---
screenruler-0_85-2_fc10:HEAD:screenruler-0.85-2.fc10.src.rpm:1223520382


--- NEW FILE screenruler.desktop ---
[Desktop Entry]
Name=Screenruler
GenericName=GNOME Screen Ruler
Comment=Screen ruler
Exec=screenruler
Icon=screenruler-icon
Terminal=false
Type=Application
Categories=Utility;


--- NEW FILE screenruler.spec ---
Summary:	GNOME screen ruler
Name:		screenruler
Version:	0.85
Release:	2%{?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
Source1:	screenruler.desktop
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	desktop-file-utils
Requires(abi):	ruby
Requires:	ruby-libglade2 > 0.16.0-24
Requires:	ruby-gconf2
Obsoletes:	gruler < 0.85
Provides:	gruler = %{version}-%{release}

BuildArch:	noarch

%description
Screenruler is a small GNOME based utility that allows you to measure objects 
on your desktop. It can be used to take both horizontal and vertical
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}

%build

%install
rm -rf %{buildroot}

mkdir -p %{buildroot}

cat << EOF > screenruler
#!/bin/bash

cd %{_datadir}/%{name}
ruby ./screenruler.rb
EOF
chmod 0755 screenruler

mkdir -p %{buildroot}%{_bindir}
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 -pr utils *.rb screenruler*.* %{buildroot}%{_datadir}/%{name}/

desktop-file-install --vendor="fedora"				\
	--dir=${RPM_BUILD_ROOT}%{_datadir}/applications		\
	%{SOURCE1}

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, -)
%doc AUTHORS COPYING 
%{_bindir}/screenruler
%{_datadir}/screenruler/
%{_datadir}/pixmaps/screenruler-icon.png
%{_datadir}/applications/*.desktop

%changelog
* Wed Oct 01 2008 Deji Akingunola <dakingun at gmail.com> - 0.85-2
- Spec clean-ups from package review 

* Mon Sep 22 2008 Deji Akingunola <dakingun at gmail.com> - 0.85-1
- Follow upstream renaming to Screenruler

* Mon Jan 14 2008 Deji Akingunola <dakingun at gmail.com> - 0.8-3
- Package review update (Bugzilla #430455)

* Mon Jan 14 2008 Deji Akingunola <dakingun at gmail.com> - 0.8-2
- Explicitly require ruby
- Also require versions of ruby-libglade2 which have been fixed of bug 428781

* Mon Jan 14 2008 Deji Akingunola <dakingun at gmail.com> - 0.8-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/screenruler/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Oct 2008 17:34:50 -0000	1.1
+++ .cvsignore	9 Oct 2008 02:46:32 -0000	1.2
@@ -0,0 +1 @@
+screenruler-0.85.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/screenruler/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Oct 2008 17:34:50 -0000	1.1
+++ sources	9 Oct 2008 02:46:32 -0000	1.2
@@ -0,0 +1 @@
+e3f60e76e051ab4285b21d0fd759d8b7  screenruler-0.85.tar.gz




More information about the scm-commits mailing list