From 2528e8b0e40c8a856abba3d0dd60e35ec7ec71c327241a37ce4e9889d1a76438 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 9 Aug 2007 23:20:43 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnucash?expand=0&rev=9 --- rpmlintrc => gnucash-rpmlintrc | 0 gnucash.changes | 14 ++++++++++++++ gnucash.spec | 30 +++++++++++++++++++++--------- 3 files changed, 35 insertions(+), 9 deletions(-) rename rpmlintrc => gnucash-rpmlintrc (100%) diff --git a/rpmlintrc b/gnucash-rpmlintrc similarity index 100% rename from rpmlintrc rename to gnucash-rpmlintrc diff --git a/gnucash.changes b/gnucash.changes index 1d21198..b3864ee 100644 --- a/gnucash.changes +++ b/gnucash.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Aug 9 20:00:00 CEST 2007 - maw@suse.de + +- I lied in the last changelog entry and didn't really change + the calls to ldconfig +- But I am changing them this time +- Also, rename rpmlintrc to gnucash-rpmlintrc. + +------------------------------------------------------------------- +Wed Aug 8 00:45:45 CEST 2007 - maw@suse.de + +- Split off a -lang subpackage +- s#%run_ldconfig#/sbin/ldconfig/ in %post and %postun. + ------------------------------------------------------------------- Fri Jul 27 11:17:42 CEST 2007 - sbrabec@suse.cz diff --git a/gnucash.spec b/gnucash.spec index c9fe4ea..b4cdb7f 100644 --- a/gnucash.spec +++ b/gnucash.spec @@ -12,13 +12,13 @@ Name: gnucash Version: 2.2.0 -Release: 1 +Release: 4 URL: http://www.gnucash.org/ Group: Productivity/Office/Finance License: GPL v2 or later Summary: Personal Finance Manager Source: %{name}-%{version}.tar.bz2 -Source1: rpmlintrc +Source1: %{name}-rpmlintrc Patch: gnucash-desktop.patch Patch1: gnucash-address-boolean.patch Requires: guile slib @@ -32,6 +32,7 @@ Recommends: gnucash-docs %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %install_info_prereq +Requires: %{name}-lang = %{version} Autoreqprov: on %gconf_schemas_prereq @@ -39,10 +40,10 @@ Autoreqprov: on %description GnuCash is a personal finance manager. A check book-like register GUI allows you to enter and track bank accounts, stocks, income, and even -currency trades. A full set of reports allows you to see the state of -your finances. The interface is designed to be simple and easy to use, -but is backed with double-entry accounting principles to ensure -balanced books. +currency trades. A full set of reports allows you to see the state +ofyour finances. The interface is designed to be simple and easy to +use, but is backed with double-entry accounting principles to +ensurebalanced books. @@ -407,6 +408,7 @@ Authors: Shimpei Yamashita Alex Zepeda +%lang_package %prep %setup -q %patch @@ -440,7 +442,7 @@ rm $RPM_BUILD_ROOT%{_docdir}/%{name}/INSTALL rm $RPM_BUILD_ROOT%{_infodir}/dir %find_lang gnucash %find_gconf_schemas -cat %{name}.lang %{name}.schemas_list >%{name}.lst +cat %{name}.schemas_list >%{name}.lst %fdupes $RPM_BUILD_ROOT%{_datadir} @@ -450,7 +452,7 @@ rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %post -%run_ldconfig +/sbin/ldconfig %install_info --info-dir=%{_infodir} %{_infodir}/gnucash-design.info.gz %posttrans -f %{name}.schemas_posttrans @@ -458,7 +460,7 @@ rm -rf $RPM_BUILD_ROOT %preun -f %{name}.schemas_preun %postun -%run_ldconfig +/sbin/ldconfig %install_info_delete --info-dir=%{_infodir} %{_infodir}/gnucash-design.info.gz %files -f %{name}.lst @@ -485,11 +487,21 @@ rm -rf $RPM_BUILD_ROOT %dir %{_sysconfdir}/gnucash %config %{_sysconfdir}/gnucash/config +%files lang -f %{name}.lang + %files devel %defattr (-, root, root) %{_includedir}/gnucash %changelog +* Thu Aug 09 2007 - maw@suse.de +- I lied in the last changelog entry and didn't really change + the calls to ldconfig +- But I am changing them this time +- Also, rename rpmlintrc to gnucash-rpmlintrc. +* Wed Aug 08 2007 - maw@suse.de +- Split off a -lang subpackage +- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun. * Fri Jul 27 2007 - sbrabec@suse.cz - Updated to version 2.2.0: * DATA FILE NOTICE If you are using Scheduled Transactions,