rpms/geoqo/devel geoqo-fix-module-name.patch, NONE, 1.1 geoqo-make-AI-optional.patch, NONE, 1.1 geoqo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Wes Hardaker (hardaker) fedora-extras-commits at redhat.com
Tue Jan 8 04:54:53 UTC 2008


Author: hardaker

Update of /cvs/extras/rpms/geoqo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13553/devel

Modified Files:
	.cvsignore sources 
Added Files:
	geoqo-fix-module-name.patch geoqo-make-AI-optional.patch 
	geoqo.spec 
Log Message:
initial checkin


geoqo-fix-module-name.patch:

--- NEW FILE geoqo-fix-module-name.patch ---
Index: GeoDB/Display/Gui/List/Plugin.pm
===================================================================
--- GeoDB/Display/Gui/List/Plugin.pm	(revision 911)
+++ GeoDB/Display/Gui/List/Plugin.pm	(working copy)
@@ -1,6 +1,6 @@
 # Copyright (C) 2007 Wes Hardaker
 # License: GNU GPLv2.  See the COPYING file for details.
-package Display::Gui::List::Plugin;
+package GeoDB::Display::Gui::List::Plugin;
 
 use strict;
 

geoqo-make-AI-optional.patch:

--- NEW FILE geoqo-make-AI-optional.patch ---
Index: GeoDB/Modify/Classify.pm
===================================================================
--- GeoDB/Modify/Classify.pm	(revision 911)
+++ GeoDB/Modify/Classify.pm	(working copy)
@@ -7,11 +7,11 @@
 use strict;
 use GeoDB::Modify;
 use GeoDB::Utils;
-use AI::Categorizer;
-use AI::Categorizer::Collection::Files;
-use AI::Categorizer::Collection::InMemory;
 use File::Spec;
 
+maybe_load('AI::Categorizer', 'The AI::Categorizer module is needed for performing auto-categorization');
+maybe_load('AI::Categorizer::Collection::Files', 'The AI::Categorizer::Collection::Files module is needed for performing auto-categorization');
+maybe_load('AI::Categorizer::Collection::InMemory', 'The AI::Categorizer::Collection::InMemory module is needed for performing auto-categorization');
 
 # ai::cat requires:
 #     Params::Validate


--- NEW FILE geoqo.spec ---
Summary: GeoCaching and General Waypoint Database
Name: geoqo
Version: 0.96
Release: 4%{?dist}
License: GPLv2 or Artistic
Group: Amusements/Games
URL: http://www.geoqo.org/
Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch:      noarch
Patch1: geoqo-fix-module-name.patch
Patch2: geoqo-make-AI-optional.patch
# These are only pseudo required by the code and won't be auto-found
# list extracted from check-prerequisites.pl
Requires: perl(Gtk2) perl(QWizard) perl(GD) perl(Chart::Lines)
BuildRequires: perl(Test) perl(ExtUtils::MakeMaker) perl(Test::More)
BuildRequires: perl(DBI)
BuildRequires: perl(XML::Parser)
BuildRequires: perl(XML::Simple)
BuildRequires: perl(DBD::SQLite2)
BuildRequires: perl(Text::Balanced)

%description
geoqo is a perl script and support modules for manipulating a database
of geocaching and other waypoints.

The homepage for GeoQO is the best place to read about it, and can be
found at:

  http://www.geoqo.org/ 

%prep
%setup -q -n geoqo-%{version}
%patch1 -p0 -b .modulename
%patch2 -p0 -b .optional

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

# fix incorrect installed files
find %{buildroot} -name \*.pm -exec chmod a-x {} \;
rm -f %{buildroot}%{perl_vendorlib}/INSTALL-WINDOWS.pl

# this gets installed as documentation so remove the execute bit
chmod a-x check-prerequisites.pl

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING README NEWS check-prerequisites.pl

%{_bindir}/geoqo
%{_mandir}/man1/*

%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Dec 31 2007 Wes Hardaker <wjhns174 at hardakers.net> - 0.96-4
- Added dist to Release line

* Sat Dec 29 2007 Wes Hardaker <wjhns174 at hardakers.net> - 0.96-3
- Included Artistic in license
- BuildRequire: a bunch of other packages so make test will work under mock

* Fri Dec 28 2007 Wes Hardaker <wjhns174 at hardakers.net> - 0.96-2
- Use HTTP url from sourceforge for source
- BuildRequire perl(Test) and perl(ExtUtils::MakeMaker)

* Fri Dec  7 2007 Wes Hardaker <wjhns174 at hardakers.net> - 0.96-1
- Initial build.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/geoqo/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Jan 2008 03:14:53 -0000	1.1
+++ .cvsignore	8 Jan 2008 04:54:18 -0000	1.2
@@ -0,0 +1 @@
+geoqo-0.96.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/geoqo/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Jan 2008 03:14:53 -0000	1.1
+++ sources	8 Jan 2008 04:54:18 -0000	1.2
@@ -0,0 +1 @@
+b038cdb0a419eec3569c15743c1cfd0f  geoqo-0.96.tar.gz




More information about the fedora-extras-commits mailing list