rpms/qle/devel qle-configlocation.patch, NONE, 1.1 qle-sh.patch, NONE, 1.1 qle.desktop, NONE, 1.1 qle.png, NONE, 1.1 qle.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Lucian Langa
lucilanga at fedoraproject.org
Sun Nov 23 18:56:48 UTC 2008
Author: lucilanga
Update of /cvs/pkgs/rpms/qle/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13466
Modified Files:
.cvsignore sources
Added Files:
qle-configlocation.patch qle-sh.patch qle.desktop qle.png
qle.spec
Log Message:
initial import
qle-configlocation.patch:
--- NEW FILE qle-configlocation.patch ---
diff -up ./qle-0.0.10.pl.orig ./qle-0.0.10.pl
--- ./qle-0.0.10.pl.orig 2007-12-06 18:58:16.000000000 -0700
+++ ./qle-0.0.10.pl 2007-12-06 18:58:32.000000000 -0700
@@ -57,9 +57,10 @@
my $sprogName = basename($progName);
$progName =~ s/^\.\///; # Zap leading './'
- my $configFile = $progName;
- $configFile =~ s/.pl$//;
- $configFile = "$configFile.conf";
+ my $configFile = "/etc/qle/qle.conf";
+# my $configFile = $progName;
+# $configFile =~ s/.pl$//;
+# $configFile = "$configFile.conf";
my $copyRight = "
qle-sh.patch:
--- NEW FILE qle-sh.patch ---
diff -up qle-0.0.7/qle.sh.orig qle-0.0.7/qle.sh
--- qle-0.0.7/qle.sh.orig 2007-12-08 10:15:59.000000000 +0100
+++ qle-0.0.7/qle.sh 2007-12-08 10:23:51.000000000 +0100
@@ -1,3 +1,4 @@
+#!/bin/bash
# Suggested start-up script for 'qle'
#
# Using a start-up shell script allows you to set the X-window font
@@ -6,6 +7,6 @@
# '--' options are interpreted by qle, e.g. '--splitScreen'.
# '-' options are for the window manager, e.g '-geometry'.
#
-cd ~/qle-0.0.10
-perl qle-0.0.10.pl -font "terminus-bold-14" -geometry "800x680+100+20" --splitScreen=0 $1 $2 $3 $4
+cd /usr/share/qle
+perl /usr/share/qle/qle-0.0.10.pl -font "terminus-bold-14" -geometry "800x680+100+20" --splitScreen=0 $1 $2 $3 $4
--- NEW FILE qle.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=qle
GenericName=qle
Comment=A QSO Logger and log Editor
Exec=qle
Icon=qle
Terminal=false
Type=Application
Categories=HamRadio;
Version=1.0
--- NEW FILE qle.spec ---
Name: qle
Version: 0.0.10
Release: 5%{?dist}
Summary: A QSO Logger and log Editor
Group: Applications/Communications
License: GPLv2+
URL: http://home.kpnplanet.nl/~w.knol18@kpnplanet.nl/qle/qle.html
Source0: http://home.kpnplanet.nl/~w.knol18@kpnplanet.nl/%{name}/%{name}-%{version}.tar.gz
Source1: qle.desktop
Source2: qle.png
#add script shebang & fix paths
Patch0: qle-sh.patch
#Fix configuration path
Patch1: qle-configlocation.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl, perl(DBI), perl(DBD::SQLite), perl(Tk)
#Needs hamlib package rebuild with perl bindings included
Requires: hamlib-perl
Requires: cwdaemon
BuildRequires: desktop-file-utils
%description
The qle-package is a graphic QSO log viewer, log editor and QSO logger
for amateur radio operators.
'qle' stands for QSO Logger and Editor. It is a Perl/Tk script that
logs (or modifies) QSOs directly in a fast and light-weight SQLite
database.
The term QSO comes from Q code used in commercial and amateur radio
communication and in refers to a radio contact.
Intended use: casual logging of rag-chew and contest QSOs. The logger
caters for CW operators.
Table headings, fonts, colours and other attributes are set in a
user-editable configuration file. The SQLite log schema supplied may
be altered to suit your taste, provided the configuration file is
updated accordingly.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
#no build needed
%install
rm -rf $RPM_BUILD_ROOT
install -p -D -m 0644 kiwi-blk-52x52.xbm $RPM_BUILD_ROOT%{_datadir}/%{name}/kiwi-blk-52x52.xbm
install -p -D -m 0644 foo3.db $RPM_BUILD_ROOT%{_datadir}/%{name}/foo3.db
install -p -D -m 0755 adifimport.pl $RPM_BUILD_ROOT%{_datadir}/%{name}/adifimport.pl
install -p -D -m 0755 cabrilloimport.pl $RPM_BUILD_ROOT%{_datadir}/%{name}/cabrilloimport.pl
install -p -D -m 0755 qle-%{version}.pl $RPM_BUILD_ROOT%{_datadir}/%{name}/qle-%{version}.pl
install -p -D -m 0755 showfonts.pl $RPM_BUILD_ROOT%{_datadir}/%{name}/showfonts.pl
install -p -D -m 0755 showcolor.pl $RPM_BUILD_ROOT%{_datadir}/%{name}/showcolor.pl
install -p -D -m 0644 master.scp $RPM_BUILD_ROOT%{_datadir}/%{name}/master.scp
install -p -D -m 0644 cty.dat $RPM_BUILD_ROOT%{_datadir}/%{name}/cty.dat
install -p -D -m 0755 qle.sh $RPM_BUILD_ROOT%{_bindir}/qle
install -p -D -m 0644 qle-%{version}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/qle.conf
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
cp %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png
desktop-file-install \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS BUGS NEWS README TODO COPYING
%dir /etc/%{name}
%config(noreplace) /etc/%{name}/%{name}.conf
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/*%{name}.desktop
%changelog
* Sun Nov 23 2008 Lucian Langa <cooly at gnome.eu.org> - 0.0.10-5
- add missing patch
* Sun Nov 23 2008 Lucian Langa <cooly at gnome.eu.org> - 0.0.10-4
- add missing patch
* Thu Nov 20 2008 Lucian Langa <cooly at gnome.eu.org> - 0.0.10-3
- fix unowned dir
- fix description
* Thu Aug 28 2008 Lucian Langa <cooly at gnome.eu.org> - 0.0.10-2
- added desktop/icon file
* Wed Aug 20 2008 Lucian Langa <cooly at gnome.eu.org> - 0.0.10-1
- Misc cleanups
- Version Update
* Sat Feb 16 2008 Robert 'Bob' Jensen <bob at bobjensen.com> 0.0.8-1
- Version Update
* Fri Dec 07 2007 Robert 'Bob' Jensen <bob at bobjensen.com> 0.0.7-3
- Fix file permissions
- Update launcher scripts
- Add missing files
- Update license tag
- Make package noarch
- Add cwdaemon dependency
* Fri Dec 07 2007 Robert 'Bob' Jensen <bob at bobjensen.com> 0.0.7-2
- Fixed File Paths
* Tue Nov 20 2007 Robert 'Bob' Jensen <bob at bobjensen.com> 0.0.7-1
- Initial SPEC
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/qle/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 23 Nov 2008 04:32:44 -0000 1.1
+++ .cvsignore 23 Nov 2008 18:56:17 -0000 1.2
@@ -0,0 +1 @@
+qle-0.0.10.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qle/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 23 Nov 2008 04:32:44 -0000 1.1
+++ sources 23 Nov 2008 18:56:17 -0000 1.2
@@ -0,0 +1 @@
+6183fe85dc894717e2fd0b72028be107 qle-0.0.10.tar.gz
More information about the fedora-extras-commits
mailing list