Accepting request 66498 from home:cbosdonnat

Grisbi is a nice accounting application that was in GNOME:Community. Could it be included in GNOME:Apps? cunit is needed for it to build.

I have cleaned up the spec file as requested by DimStar

OBS-URL: https://build.opensuse.org/request/show/66498
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/grisbi?expand=0&rev=1
This commit is contained in:
Vincent Untz 2011-04-28 23:06:06 +00:00 committed by Git OBS Bridge
commit 370f3db001
6 changed files with 303 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
grisbi-0.6.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b9759e0839fc571ccedfb8514b47bef86db50223424137c2e70997f6d252527
size 1966296

147
grisbi.changes Normal file
View File

@ -0,0 +1,147 @@
-------------------------------------------------------------------
Fri Apr 8 10:57:00 UTC 2011 - cbosdonnat@novell.com
- Cleaned grisbi.spec file
-------------------------------------------------------------------
Tue Aug 31 06:26:59 UTC 2010 - pascal.bleser@opensuse.org
- update to 0.6.0:
* file encryption support
* new and improved print system
+ LaTeX no more needed, printing has never been so straightforward
+ transaction list can be printed as well as reports
* improved user interface
+ tabs deprecated in favor of a navigation tree
+ redesigned categories/payees/budgetary lines trees
+ totally redesigned transaction list with native GTK2 widgets
+ split of transactions displayed directly in transaction list
+ optional grid in transaction list
+ new "view" menu
+ use of assistants to ease some operations
+ custom sort for transaction list columns
+ reconcile now shows togglable buttons
+ use of + and - in amount entry to increment/decrement values
+ quick import of recurrent files
+ pre-built category sets dependent of the locale
+ all colors can be customized
+ astonishing icons ... can't ask for more!
* Greek translation thanks to Achilleas
* archival of old transactions, possibly into separate files
* form structure defined by user
* end of the obligation to use Euro
* Gnucash and CSV files import
* HBCI support through the aqbanking plugin
* reconciled transactions are "archived" by default
* huge work on localization :
+ Grisbi suggests a default currency according to the locale
+ dates are now displayed and parsed according to the locale, no more unbearable european dates for overseas folks!
+ amounts are displayed according to locale
* it is now possible to omit decimal separator in numerical fields
* custom mathematics engine that do not rely on float anymore
* plugin system
* new english file format
* tool management for the payees
* automatic association of third parties and categories for import files
* ability to create a partial balance in the main view
-------------------------------------------------------------------
Sat Mar 8 00:00:00 UTC 2008 - guru@unixtech.be
- moved to openSUSE Build Service
-------------------------------------------------------------------
Wed Jan 2 00:00:00 UTC 2008 - guru@unixtech.be
- fixed prefix on 10.3
- rebuild against latest libofx
-------------------------------------------------------------------
Mon Oct 8 00:00:00 UTC 2007 - guru@unixtech.be
- moved to Packman
- fixed build on openSUSE 10.3
-------------------------------------------------------------------
Fri Jul 21 00:00:00 UTC 2006 - guru@unixtech.be
- new upstream version
-------------------------------------------------------------------
Thu Jun 22 00:00:00 UTC 2006 - guru@unixtech.be
- pass -j flag to make
- added binary stripping on SUSE < 9.3
- removed Packager and Distribution, injected by rpmmacros
-------------------------------------------------------------------
Tue Dec 27 00:00:00 UTC 2005 - guru@unixtech.be
- new upstream version
-------------------------------------------------------------------
Sun Oct 16 00:00:00 UTC 2005 - guru@unixtech.be
- changed to configure macro
- added debuginfo support
-------------------------------------------------------------------
Sun Jun 5 00:00:00 UTC 2005 - guru@unixtech.be
- added suse_update_config
- added suse_update_desktop_file
- version 0.5.7
-------------------------------------------------------------------
Thu Jan 13 00:00:00 UTC 2005 - guru@unixtech.be
- version 0.5.5
-------------------------------------------------------------------
Thu Dec 2 00:00:00 UTC 2004 - guru@unixtech.be
- version 0.5.3
-------------------------------------------------------------------
Wed Oct 20 00:00:00 UTC 2004 - guru@unixtech.be
- now uses libofx shipped with SUSE on 9.1 and my very own libofx packages for SUSE <= 9.0
- added desktop file
- switched to find_lang
- forced use of libofx at ./configure
- changed release tag to include .guru.
- revamped the spec file a little
- version 0.5.2
-------------------------------------------------------------------
Mon Aug 2 00:00:00 UTC 2004 - guru@unixtech.be
- added libofx support
- version 0.5.1
-------------------------------------------------------------------
Thu Jun 17 00:00:00 UTC 2004 - guru@unixtech.be
- version 0.5.0
-------------------------------------------------------------------
Sun Jan 4 00:00:00 UTC 2004 - guru@unixtech.be
- added untested support for Redhat and Mandrake
- french translation
- first RPM for SUSE

11
grisbi.desktop Normal file
View File

@ -0,0 +1,11 @@
[Desktop Entry]
Name=Grisbi
Comment=Personal Accounting Application
Comment[en]=Personal Accounting Application
Comment[fr]=Gestion de comptes banquaires
Exec=grisbi
Icon=grisbi.png
Terminal=0
Type=Application
Categories=Office

118
grisbi.spec Normal file
View File

@ -0,0 +1,118 @@
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: grisbi
Version: 0.6.0
Release: 0
License: GNU General Public License (GPL)
Summary: Personal Accounting Application
Url: http://www.grisbi.org
Group: Productivity/Office/Finance
Source: http://prdownloads.sourceforge.net/grisbi/grisbi-%{version}.tar.bz2
Source1: grisbi.desktop
BuildRequires: fdupes
BuildRequires: cunit-devel
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: gnome-mime-data
BuildRequires: make
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libofx-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: intltool
BuildRequires: update-desktop-files
%description
Grisbi is a personnal accounting application for Linux, written with Gnome and
Gtk, and is released under the GPL licence.
Our aim is to provide you with the most simple and intuitive software for
basic use, although it can be very powerful if you spend a little time on the
setup.
Grisbi is an application written by French developpers, so it perfectly
respects French accounting rules. Grisbi can manage multiple accounts,
currencies and users. It manages third party, expenditure and receipt
categories, and also budgetary lines, financial years, and other informations
that make Grisbi adapted for associations (except those that require double
entry accounting).
%lang_package
%debug_package
%prep
%setup -q
%build
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
CFLAGS="%{optflags} -g" \
CXXFLAGS="%{optflags} -g" \
%configure \
--disable-schemas-install \
--includedir="%{_prefix}" \
--with-ofx
make %{?jobs:-j%{jobs}}
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
%make_install
%__rm "%{buildroot}%{_libdir}/grisbi"/*.{a,la}
install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
%suse_update_desktop_file -r "%{name}" Office Finance
%fdupes -s %{buildroot}/%{_datadir}
%find_lang "%{name}"
%find_lang "%{name}-tips"
cat "%{name}.lang" "%{name}-tips.lang" > t
mv t "%{name}.lang"
L="$PWD/%{name}.lang"
pushd "%{buildroot}%{_datadir}/grisbi/categories"
/bin/ls -1 | while read l; do
[ -d "$l" ] || continue
[ "$l" = "C" ] && continue
echo "%lang($l) %{_datadir}/grisbi/categories/$l" >>"$L"
done
popd
%check
make check
%clean
%{?buildroot:rm -rf %{buildroot}}
%files
%defattr(-,root,root)
%doc ABOUT-NLS AUTHORS COPYING NEWS README
%{_bindir}/grisbi
%{_datadir}/doc/grisbi
%{_datadir}/mime-info/grisbi.keys
%{_datadir}/mime-info/grisbi.mime
%{_datadir}/pixmaps/grisbi
%{_datadir}/applications/grisbi.desktop
%doc %{_mandir}/man1/grisbi.1%{ext_man}
%dir %{_libdir}/grisbi
%{_libdir}/grisbi/gnucash.so
%{_libdir}/grisbi/ofx.so
%{_libdir}/grisbi/openssl.so
%dir %{_datadir}/grisbi
%dir %{_datadir}/grisbi/categories
%{_datadir}/grisbi/categories/C
%{_datadir}/grisbi/tips.txt
%{_datadir}/icons/*/*/apps/grisbi.*
%files lang -f "%{name}.lang"
%defattr(-,root,root)
# vim: set sw=4 ts=4 et: