update to 2.0.0 [release 2.0.0-1mamba;Sun Aug 02 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 17:52:10 +01:00
parent b754f9618e
commit edee11417d

View File

@ -1,5 +1,5 @@
Name: skrooge Name: skrooge
Version: 1.12.0 Version: 2.0.0
Release: 1mamba Release: 1mamba
Summary: A personal finances manager, powered by KDE Summary: A personal finances manager, powered by KDE
Group: Graphical Desktop/Applications/Office Group: Graphical Desktop/Applications/Office
@ -7,7 +7,7 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://skrooge.org URL: http://skrooge.org
Source: http://download.kde.org/stable/skrooge/skrooge-%{version}.tar.bz2 Source: http://download.kde.org/stable/skrooge/skrooge-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -33,7 +33,7 @@ Thanks to its many features, it is one of the most powerful way to enter, follow
%setup -q %setup -q
%build %build
%cmake_kde4 -d build %cmake_kde5 -d build
%make %make
%install %install
@ -43,124 +43,78 @@ Thanks to its many features, it is one of the most powerful way to enter, follow
%find_lang %{name} --all-name --with-kde || touch %{name}.lang %find_lang %{name} --all-name --with-kde || touch %{name}.lang
# remove unpackaged files # remove unpackaged files
rm -f %{buildroot}%{_kde4_libdir}/libskg*.so rm -f %{buildroot}%{_kde5_libdir}/libskg*.so
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %post
/sbin/ldconfig /sbin/ldconfig
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
exit 0 exit 0
%posttrans %posttrans
/sbin/ldconfig /sbin/ldconfig
update-desktop-database -q &>/dev/null update-desktop-database -q &>/dev/null
update-mime-database %{_kde4_mimedir} &>/dev/null update-mime-database %{_kde5_mimedir} &>/dev/null
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
exit 0 exit 0
%postun %postun
/sbin/ldconfig /sbin/ldconfig
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
update-desktop-database -q &>/dev/null update-desktop-database -q &>/dev/null
update-mime-database %{_kde4_mimedir} &>/dev/null update-mime-database %{_kde5_mimedir} &>/dev/null
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
fi fi
exit 0 exit 0
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_bindir}/akonadi_skroogeakonadi_resource #%{_kde5_bindir}/akonadi_skroogeakonadi_resource
%{_kde4_bindir}/skrooge %{_kde5_bindir}/skrooge
%{_kde4_bindir}/skroogeconvert %{_kde5_bindir}/skroogeconvert
%{_kde4_sharedir}/akonadi/agents/skroogeakonadiresource.desktop %{_kde5_libdir}/libskg*.so.*
%dir %{_kde4_datadir}/%{name} %{_libdir}/qt5/plugins/grantlee/5.0/grantlee_skgfilters.so
%{_kde4_datadir}/%{name}/* %{_libdir}/qt5/plugins/*.so
#%{_kde4_datadir}/plasma/* %{_datadir}/applications/org.kde.skrooge.desktop
%dir %{_kde4_datadir}/skg_advice %{_datadir}/knotifications5/skrooge.notifyrc
%{_kde4_datadir}/skg_advice/skg_advice.rc %{_kde5_servicetypesdir}/org.kde.skg-plugin.desktop
%dir %{_kde4_datadir}/skg_bookmark %{_kde5_servicetypesdir}/org.kde.skrooge-import-plugin.desktop
%{_kde4_datadir}/skg_bookmark/skg_bookmark.rc %{_datadir}/kxmlgui5/skg/skgmainpanel.rc
%dir %{_kde4_datadir}/skg_dashboard %dir %{_datadir}/kxmlgui5/skg_*
%{_kde4_datadir}/skg_dashboard/skg_dashboard.rc %{_datadir}/kxmlgui5/sk*/*
%dir %{_kde4_datadir}/skg_debug %{_datadir}/skrooge_monthly.knsrc
%{_kde4_datadir}/skg_debug/skg_debug.rc %{_datadir}/skrooge_unit.knsrc
%dir %{_kde4_datadir}/skg_delete %dir %{_kde5_datadir}/%{name}
%{_kde4_datadir}/skg_delete/skg_delete.rc %{_kde5_datadir}/%{name}/*
%dir %{_kde4_datadir}/skg_file %{_kde5_kcfgdir}/skg*.kcfg
%{_kde4_datadir}/skg_file/skg_file.rc %{_datadir}/icons/breeze-dark/*
%dir %{_kde4_datadir}/skg_highlight %{_datadir}/icons/breeze/*
%{_kde4_datadir}/skg_highlight/skg_highlight.rc %{_kde5_icondir}/hicolor/*/*/*.png
%dir %{_kde4_datadir}/skg_monthly %{_kde5_icondir}/hicolor/scalable/*/*.svgz
%{_kde4_datadir}/skg_monthly/skg_monthly.rc %{_kde5_sharedir}/appdata/skrooge.appdata.xml
%dir %{_kde4_datadir}/skg_print %{_kde5_xdgmimedir}/x-skg.xml
%{_kde4_datadir}/skg_print/skg_print.rc %{_kde5_servicesdir}/*.desktop
%dir %{_kde4_datadir}/skg_properties %doc %lang(de) %{_kde5_htmldir}/de/%{name}
%{_kde4_datadir}/skg_properties/skg_properties.rc %doc %lang(en) %{_kde5_htmldir}/en/%{name}
%dir %{_kde4_datadir}/skg_selectall %doc %lang(es) %{_kde5_htmldir}/es/%{name}
%{_kde4_datadir}/skg_selectall/skg_selectall.rc %doc %lang(fr) %{_kde5_htmldir}/fr/%{name}
%dir %{_kde4_datadir}/skg %doc %lang(lt) %{_kde5_htmldir}/lt/%{name}
%{_kde4_datadir}/skg/skgmainpanel.rc %doc %lang(nl) %{_kde5_htmldir}/nl/%{name}
%dir %{_kde4_datadir}/skg_undoredo %doc %lang(pt_BR) %{_kde5_htmldir}/pt_BR/%{name}
%{_kde4_datadir}/skg_undoredo/skg_undoredo.rc %doc %lang(pt) %{_kde5_htmldir}/pt/%{name}
%dir %{_kde4_datadir}/skrooge_bank %doc %lang(ru) %{_kde5_htmldir}/ru/%{name}
%{_kde4_datadir}/skrooge_bank/skrooge_bank.rc %doc %lang(sv) %{_kde5_htmldir}/sv/%{name}
%dir %{_kde4_datadir}/skrooge_budget %doc %lang(uk) %{_kde5_htmldir}/uk/%{name}
%{_kde4_datadir}/skrooge_budget/skrooge_budget.rc
%dir %{_kde4_datadir}/skrooge_calculator
%{_kde4_datadir}/skrooge_calculator/skrooge_calculator.rc
%dir %{_kde4_datadir}/skrooge_categories
%{_kde4_datadir}/skrooge_categories/skrooge_categories.rc
%dir %{_kde4_datadir}/skrooge_importexport
%{_kde4_datadir}/skrooge_importexport/skrooge_importexport.rc
%dir %{_kde4_datadir}/skrooge_operation
%{_kde4_datadir}/skrooge_operation/skrooge_operation.rc
%dir %{_kde4_datadir}/skrooge_payee
%{_kde4_datadir}/skrooge_payee/skrooge_payee.rc
%dir %{_kde4_datadir}/skrooge_report
%{_kde4_datadir}/skrooge_report/skrooge_report.rc
%dir %{_kde4_datadir}/skrooge_scheduled
%{_kde4_datadir}/skrooge_scheduled/skrooge_scheduled.rc
%dir %{_kde4_datadir}/skrooge_search
%{_kde4_datadir}/skrooge_search/skrooge_search.rc
%dir %{_kde4_datadir}/skrooge_tracker
%{_kde4_datadir}/skrooge_tracker/skrooge_tracker.rc
%dir %{_kde4_datadir}/skrooge_unit
%{_kde4_datadir}/skrooge_unit/skrooge_unit.rc
%dir %{_kde4_datadir}/skg_statistic
%{_kde4_datadir}/skg_statistic/skg_statistic.rc
%{_kde4_kcfgdir}/skg*.kcfg
%{_kde4_libdir}/libskg*.so.*
#%{_kde4_libdir}/kde4/plasma_*.so
%{_kde4_libdir}/kde4/skg*.so
%{_kde4_libdir}/kde4/%{name}_*.so
%{_kde4_pluginsdir}/grantlee/*/grantlee_skgfilters.so
%{_kde4_icondir}/hicolor/*/*/*.png
%{_kde4_icondir}/hicolor/scalable/*/*.svgz
%{_kde4_sharedir}/appdata/skrooge.appdata.xml
%{_kde4_xdgappsdir}/%{name}.desktop
%{_kde4_xdgmimedir}/x-skg.xml
%{_kde4_servicesdir}/*.desktop
%{_kde4_servicetypesdir}/skg-*.desktop
%{_kde4_servicetypesdir}/skrooge-*.desktop
%config %{_kde4_configdir}/skrooge_*.knsrc
%doc %lang(de) %{_kde4_htmldir}/de/%{name}
%doc %lang(en) %{_kde4_htmldir}/en/%{name}
%doc %lang(es) %{_kde4_htmldir}/es/%{name}
%doc %lang(fr) %{_kde4_htmldir}/fr/%{name}
%doc %lang(lt) %{_kde4_htmldir}/lt/%{name}
%doc %lang(nl) %{_kde4_htmldir}/nl/%{name}
%doc %lang(pt_BR) %{_kde4_htmldir}/pt_BR/%{name}
%doc %lang(pt) %{_kde4_htmldir}/pt/%{name}
%doc %lang(ru) %{_kde4_htmldir}/ru/%{name}
%doc %lang(sv) %{_kde4_htmldir}/sv/%{name}
%doc %lang(uk) %{_kde4_htmldir}/uk/%{name}
%doc AUTHORS COPYING %doc AUTHORS COPYING
#%doc README TODO #%doc README TODO
%changelog %changelog
* Sun Aug 02 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- update to 2.0.0
* Mon May 18 2015 Automatic Build System <autodist@mambasoft.it> 1.12.0-1mamba * Mon May 18 2015 Automatic Build System <autodist@mambasoft.it> 1.12.0-1mamba
- automatic version update by autodist - automatic version update by autodist