rpms/EekBoek/F-11 EekBoek-1.04.03-script.patch, NONE, 1.1 EekBoek.spec, NONE, 1.1 README.postgres, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Johan Vromans sciurius at fedoraproject.org
Sun Apr 26 21:39:47 UTC 2009


Author: sciurius

Update of /cvs/pkgs/rpms/EekBoek/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25836/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	EekBoek-1.04.03-script.patch EekBoek.spec README.postgres 
	import.log 
Log Message:
Initial import of EekBoek package.


EekBoek-1.04.03-script.patch:

--- NEW FILE EekBoek-1.04.03-script.patch ---
--- lib/EB/migrate/001000008001000009.pl~	2009-01-25 21:04:57.000000000 +0100
+++ lib/EB/migrate/001000008001000009.pl	2009-01-30 23:32:48.000000000 +0100
@@ -1,5 +1,3 @@
-#!/usr/bin/perl
-
 # -- Migratie EekBoek database van versie 1.0.8 naar 1.0.9 (EB 0.92).
 
 package main;


--- NEW FILE EekBoek.spec ---
# -*- rpm-spec -*-

################ Build Options ###################
%define dbtests 1
%{?_with_dbtests:    %{expand: %%global dbtests 1}}
%{?_without_dbtests: %{expand: %%global dbtests 0}}
################ End Build Options ################

Name: EekBoek
Summary: Bookkeeping software for small and medium-size businesses
License: GPL+ or Artistic
Group: Applications/Productivity
Version: 1.04.03
Release: 3%{?dist}
Source: http://www.eekboek.nl/dl/%{name}-%{version}.tar.gz
Source1: README.postgres
Patch0: %{name}-%{version}-script.patch
URL: http://www.eekboek.nl
BuildRoot: %{_tmppath}/rpm-buildroot-%{name}-%{version}-%{release}

# The package name is CamelCased. However, for convenience some
# of its data is located in files and directories that are all
# lowercase. See the %%install section.
%global lcname eekboek

# It's all plain perl, nothing architecture dependent.
BuildArch: noarch

# This package would provide many (perl) modules, but these are
# note intended for general use.
AutoReqProv: 0

Requires: perl >= 5.8
Requires: perl(Archive::Zip)
Requires: perl(Term::ReadLine)
Requires: perl(Term::ReadLine::Gnu)
Requires: perl(DBI) >= 1.40
Requires: perl(DBD::SQLite) >= 1.12

BuildRequires: perl >= 5.8.8
BuildRequires: perl(Module::Build)
BuildRequires: perl(IPC::Run3)
BuildRequires: perl(Term::ReadLine)
BuildRequires: perl(Term::ReadLine::Gnu)
BuildRequires: perl(DBI) >= 1.40
BuildRequires: perl(DBD::SQLite) >= 1.12
BuildRequires: perl(Test::More)
BuildRequires: zip

# For symmetry.
%global __zip   /usr/bin/zip
%global __find  /usr/bin/find
%global __iconv /usr/bin/iconv

%description
EekBoek is a bookkeeping package for small and medium-size businesses.
Unlike other accounting software, EekBoek has both a command-line
interface (CLI) and a graphical user-interface (GUI, currently under
development and not included in this package). Furthermore, it has a
complete Perl API to create your own custom applications. EekBoek is
designed for the Dutch/European market and currently available in
Dutch only. An English translation is in the works (help appreciated).

EekBoek can make use of several database systems for its storage.
Support for the SQLite database is included.
For production use, you are invited to install the %{name}-db-postgresql
database package.

%package db-postgresql

# This package only contains the necessary module(s) for EekBoek
# to use the PostgreSQL database.
# Installing this package will pull in the main package and
# the Perl PostgreSQL modules.
# No %%doc required.

Summary: PostgreSQL database driver for %{name}
Group: Applications/Productivity
AutoReqProv: 0
Requires: %{name} = %{version}-%{release}
Requires: perl(DBD::Pg) >= 1.41

%description db-postgresql
EekBoek can make use of several database systems for its storage.
This package contains the PostgreSQL database driver for %{name}.

%prep
%setup -q

# Remove a #! from a harmless Perl file.
%patch0 -p0 -b .script

# Create docs for the subpackage.
cp -p %SOURCE1 .

# Remove some build helper sources since we BuildRequire them.
%{__rm} -fr inc/IPC inc/Module
%{__perl} -ni~ -e 'print unless m;^inc/(Module|IPC)/;;' MANIFEST

# Convert some files to utf8.
%{__mv} CHANGES CHANGES.latin1
%{__iconv} -f latin1 -t utf8 CHANGES.latin1 > CHANGES

# DO NOT convert examples/mutaties.eb and html/intro/mutaties.eb!
# These files NEED to be Latin-1 (ISO 8859.1).

%build
%{__perl} Build.PL
%{__perl} Build

# Move some files into better places.
mv blib/lib/EB/examples .
( cd examples;
  %{__mv} ../eekboek-mode.el .;
  %{__rm} -f ../blib/lib/EB/schema/sampledb.ebz;
  %{__zip} -q ../blib/lib/EB/schema/sampledb.ebz *.eb schema.dat )

%install
%{__rm} -rf %{buildroot}

# Short names for our libraries.
%global ebconf  %{_sysconfdir}/%{lcname}
%global ebshare %{_datadir}/%{name}-%{version}

%{__mkdir_p} %{buildroot}%{ebconf}
%{__mkdir_p} %{buildroot}%{ebshare}/lib
%{__mkdir_p} %{buildroot}%{_bindir}

# Install the default, system-wide config file.
%{__install} -p -m 0644 examples/%{lcname}.conf %{buildroot}%{ebconf}/%{lcname}.conf

# Create lib dirs and copy files.
%{__find} blib/lib -type d -printf "%{__mkdir} %{buildroot}%{ebshare}/lib/%%P\n" | sh -x
%{__find} blib/lib ! -type d -printf "%{__install} -p -m 0644 %p %{buildroot}%{ebshare}/lib/%%P\n" | sh -x

# Create the main script.
echo "#!%{__perl}" > %{buildroot}%{_bindir}/ebshell
%{__sed} -s "s;# use lib qw(EekBoekLibrary;use lib qw(%{ebshare}/lib;" \
  < script/ebshell >> %{buildroot}%{_bindir}/ebshell
%{__chmod} 0755 %{buildroot}%{_bindir}/ebshell

# And its manual page.
%{__mkdir_p} %{buildroot}%{_mandir}/man1
pod2man blib/script/ebshell > %{buildroot}%{_mandir}/man1/ebshell.1

# End of install section.

%check
%if %{dbtests}
%{__perl} Build test
%else
%{__perl} Build test --skipdbtests
%endif

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc CHANGES README examples/ doc/html/ TODO
%dir %{_sysconfdir}/%{lcname}
%config(noreplace) %{_sysconfdir}/%{lcname}/%{lcname}.conf
%{ebshare}/
%exclude %{ebshare}/lib/EB/DB/Postgres.pm
%{_bindir}/ebshell
%{_mandir}/man1/*

%files db-postgresql
%defattr(-,root,root,-)
%doc README.postgres
%{ebshare}/lib/EB/DB/Postgres.pm

%changelog
* Wed Apr 22 2009 Johan Vromans <jvromans at squirrel.nl> - 1.04.03-3
- Remove Epoch: since it it not needed.
- Make subpackage depend on EVR.

* Mon Apr 20 2009 Johan Vromans <jvromans at squirrel.nl> - 1:1.04.03-2
- Use Epoch: to tighten dependency between basepackage and subpackage.
- Use %%global instead of %%define.
- Provide README.postgres as source, not as a patch.
- Keep timestamps when copying and installing.
- Simplify filelist building.
- Remove INSTALL from %%doc.

* Fri Apr 17 2009 Johan Vromans <jvromans at squirrel.nl> - 1.04.03-1
- Upgrade to upstream 1.04.03.
- Include SQLite with the base package.
- Enable database tests since we now require a db driver.

* Fri Jan 30 2009 Johan Vromans <jvromans at squirrel.nl> - 1.04.02-1
- Adapt to Fedora guidelines

* Sun Jan 26 2009 Johan Vromans <jvromans at squirrel.nl> - 1.04.02
- Remove QUICKSTART.

* Sat Jul 19 2008 Johan Vromans <jvromans at squirrel.nl> - 1.03.90
- Remove debian stuff
- Don't use unstable.

* Fri Apr 11 2008 Johan Vromans <jvromans at squirrel.nl> - 1.03.12
- Simplify by setting variables from the .in template

* Sun Apr 01 2007 Johan Vromans <jvromans at squirrel.nl> - 1.03.03
- Exclude some Wx files.

* Sun Nov 05 2006 Johan Vromans <jvromans at squirrel.nl> - 1.03.00
- Move DB drivers to separate package, and adjust req/prov.

* Mon Oct 16 2006 Johan Vromans <jvromans at squirrel.nl> - 1.01.02
- Prepare (but don't use) suffixes to separate production and unstable versions.

* Wed Aug 02 2006 Johan Vromans <jvromans at squirrel.nl> 0.92
- New URL. Add Vendor.

* Fri Jun 09 2006 Johan Vromans <jvromans at squirrel.nl> 0.60
- Remove man3.

* Thu Jun 08 2006 Johan Vromans <jvromans at squirrel.nl> 0.60
- Fix example.

* Mon Jun 05 2006 Johan Vromans <jvromans at squirrel.nl> 0.59
- Better script handling.

* Mon Apr 17 2006 Johan Vromans <jvromans at squirrel.nl> 0.56
- Initial provisions for GUI.

* Wed Apr 12 2006 Johan Vromans <jvromans at squirrel.nl> 0.56
- %%config(noreplace) for eekboek.conf.

* Tue Mar 28 2006 Johan Vromans <jvromans at squirrel.nl> 0.52
- Perl Independent Install

* Mon Mar 27 2006 Johan Vromans <jvromans at squirrel.nl> 0.52
- Add "--with dbtests" parameter for rpmbuild.
- Resultant rpm may be signed.

* Sun Mar 19 2006 Johan Vromans <jvromans at squirrel.nl> 0.50
- Switch to Build.PL instead of Makefile.PL.

* Mon Jan 30 2006 Johan Vromans <jvromans at squirrel.nl> 0.37
- Add build dep perl(Config::IniFiles).

* Fri Dec 23 2005 Wytze van der Raay <wytze at nlnet.nl> 0.23
- Fixes for x86_64 building problems.

* Wed Dec 12 2005 Johan Vromans <jvromans at squirrel.nl> 0.22
- Change some wordings.
- Add man1.

* Tue Dec 11 2005 Johan Vromans <jvromans at squirrel.nl> 0.21
- Add INSTALL QUICKSTART

* Thu Dec 08 2005 Johan Vromans <jvromans at squirrel.nl> 0.20
- Include doc/html.

* Tue Nov 22 2005 Johan Vromans <jvromans at squirrel.nl> 0.19
- More.

* Sun Nov 20 2005 Jos Vos <jos at xos.nl> 0.17-XOS.0beta1
- Initial version.


--- NEW FILE README.postgres ---
EekBoek database driver voor PostgreSQL.


--- NEW FILE import.log ---
EekBoek-1_04_03-3_fc11:F-11:EekBoek-1.04.03-3.fc11.src.rpm:1240781827


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/EekBoek/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Apr 2009 16:26:24 -0000	1.1
+++ .cvsignore	26 Apr 2009 21:39:46 -0000	1.2
@@ -0,0 +1 @@
+EekBoek-1.04.03.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/EekBoek/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Apr 2009 16:26:24 -0000	1.1
+++ sources	26 Apr 2009 21:39:46 -0000	1.2
@@ -0,0 +1 @@
+f336cd89bec5a5aced9bedf5d8b25a86  EekBoek-1.04.03.tar.gz




More information about the fedora-extras-commits mailing list