Accepting request 100902 from GNOME:Apps

New package: accounting app, pushed by community

OBS-URL: https://build.opensuse.org/request/show/100902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/homebank?expand=0&rev=1
This commit is contained in:
Stephan Kulow 2012-01-24 11:18:09 +00:00 committed by Git OBS Bridge
commit b00d9aaa62
5 changed files with 130 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
homebank-4.4.tar.bz2 Normal file
View File

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

16
homebank.changes Normal file
View File

@ -0,0 +1,16 @@
-------------------------------------------------------------------
Fri Jan 20 12:11:52 UTC 2012 - vuntz@opensuse.org
- Clean up for inclusion in Factory:
+ Create lang subpackage.
+ Use %suse_update_desktop_file instead of a patch to change the
.desktop file.
+ Remove application-registry files: those are not used since
GNOME 2.8.
+ Use %desktop_database_post(un), %icon_theme_cache_post(un) and
%mime_database_post(un) macros in scriptlets.
-------------------------------------------------------------------
Sun Apr 24 19:24:24 UTC 2011 - alexandre@exatati.com.br
- Initial package (4.4) for openSUSE.

87
homebank.spec Normal file
View File

@ -0,0 +1,87 @@
#
# spec file for package homebank
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: homebank
Version: 4.4
Release: 0
License: GPL-2.0+
Summary: Application to manage personal accounts
Url: http://homebank.free.fr/
Group: Productivity/Office/Finance
Source: %{name}-%{version}.tar.bz2
BuildRequires: gettext-devel
BuildRequires: glib2-devel >= 2.24
BuildRequires: gtk2-devel >= 2.20
BuildRequires: intltool
BuildRequires: libofx-devel
# We need the %%mime_database_* macros
BuildRequires: shared-mime-info
BuildRequires: update-desktop-files
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
HomeBank is an application to manage personal accounts at home. The main
concept is to be light, simple and very easy to use. It brings many
features that allows to analyze finances in a detailed way instantly and
dynamically with powerful report tools based on filtering and graphical
charts.
%lang_package
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file -G "Personal Accounting" %{name}
%find_lang %{name} %{?no_lang_C}
# Application Registry is obsolete since GNOME 2.8.
rm -r %{buildroot}%{_datadir}/application-registry
rm -r %{buildroot}%{_datadir}/mime-info
%if 0%{?suse_version} > 1130
%post
%desktop_database_post
%icon_theme_cache_post
%mime_database_post
%endif
%if 0%{?suse_version} > 1130
%postun
%desktop_database_postun
%icon_theme_cache_postun
%mime_database_postun
%endif
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_datadir}/mime/packages/%{name}.xml
%files lang -f %{name}.lang
%changelog