update to 2.0.0 [release 2.0.0-1mamba;Sun Aug 02 2015]
This commit is contained in:
parent
b754f9618e
commit
edee11417d
144
skrooge.spec
144
skrooge.spec
@ -1,5 +1,5 @@
|
||||
Name: skrooge
|
||||
Version: 1.12.0
|
||||
Version: 2.0.0
|
||||
Release: 1mamba
|
||||
Summary: A personal finances manager, powered by KDE
|
||||
Group: Graphical Desktop/Applications/Office
|
||||
@ -7,7 +7,7 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||
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
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
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
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kde5 -d build
|
||||
%make
|
||||
|
||||
%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
|
||||
|
||||
# remove unpackaged files
|
||||
rm -f %{buildroot}%{_kde4_libdir}/libskg*.so
|
||||
rm -f %{buildroot}%{_kde5_libdir}/libskg*.so
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||
exit 0
|
||||
|
||||
%posttrans
|
||||
/sbin/ldconfig
|
||||
update-desktop-database -q &>/dev/null
|
||||
update-mime-database %{_kde4_mimedir} &>/dev/null
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
||||
update-mime-database %{_kde5_mimedir} &>/dev/null
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ]; then
|
||||
update-desktop-database -q &>/dev/null
|
||||
update-mime-database %{_kde4_mimedir} &>/dev/null
|
||||
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
||||
update-mime-database %{_kde5_mimedir} &>/dev/null
|
||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_bindir}/akonadi_skroogeakonadi_resource
|
||||
%{_kde4_bindir}/skrooge
|
||||
%{_kde4_bindir}/skroogeconvert
|
||||
%{_kde4_sharedir}/akonadi/agents/skroogeakonadiresource.desktop
|
||||
%dir %{_kde4_datadir}/%{name}
|
||||
%{_kde4_datadir}/%{name}/*
|
||||
#%{_kde4_datadir}/plasma/*
|
||||
%dir %{_kde4_datadir}/skg_advice
|
||||
%{_kde4_datadir}/skg_advice/skg_advice.rc
|
||||
%dir %{_kde4_datadir}/skg_bookmark
|
||||
%{_kde4_datadir}/skg_bookmark/skg_bookmark.rc
|
||||
%dir %{_kde4_datadir}/skg_dashboard
|
||||
%{_kde4_datadir}/skg_dashboard/skg_dashboard.rc
|
||||
%dir %{_kde4_datadir}/skg_debug
|
||||
%{_kde4_datadir}/skg_debug/skg_debug.rc
|
||||
%dir %{_kde4_datadir}/skg_delete
|
||||
%{_kde4_datadir}/skg_delete/skg_delete.rc
|
||||
%dir %{_kde4_datadir}/skg_file
|
||||
%{_kde4_datadir}/skg_file/skg_file.rc
|
||||
%dir %{_kde4_datadir}/skg_highlight
|
||||
%{_kde4_datadir}/skg_highlight/skg_highlight.rc
|
||||
%dir %{_kde4_datadir}/skg_monthly
|
||||
%{_kde4_datadir}/skg_monthly/skg_monthly.rc
|
||||
%dir %{_kde4_datadir}/skg_print
|
||||
%{_kde4_datadir}/skg_print/skg_print.rc
|
||||
%dir %{_kde4_datadir}/skg_properties
|
||||
%{_kde4_datadir}/skg_properties/skg_properties.rc
|
||||
%dir %{_kde4_datadir}/skg_selectall
|
||||
%{_kde4_datadir}/skg_selectall/skg_selectall.rc
|
||||
%dir %{_kde4_datadir}/skg
|
||||
%{_kde4_datadir}/skg/skgmainpanel.rc
|
||||
%dir %{_kde4_datadir}/skg_undoredo
|
||||
%{_kde4_datadir}/skg_undoredo/skg_undoredo.rc
|
||||
%dir %{_kde4_datadir}/skrooge_bank
|
||||
%{_kde4_datadir}/skrooge_bank/skrooge_bank.rc
|
||||
%dir %{_kde4_datadir}/skrooge_budget
|
||||
%{_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}
|
||||
#%{_kde5_bindir}/akonadi_skroogeakonadi_resource
|
||||
%{_kde5_bindir}/skrooge
|
||||
%{_kde5_bindir}/skroogeconvert
|
||||
%{_kde5_libdir}/libskg*.so.*
|
||||
%{_libdir}/qt5/plugins/grantlee/5.0/grantlee_skgfilters.so
|
||||
%{_libdir}/qt5/plugins/*.so
|
||||
%{_datadir}/applications/org.kde.skrooge.desktop
|
||||
%{_datadir}/knotifications5/skrooge.notifyrc
|
||||
%{_kde5_servicetypesdir}/org.kde.skg-plugin.desktop
|
||||
%{_kde5_servicetypesdir}/org.kde.skrooge-import-plugin.desktop
|
||||
%{_datadir}/kxmlgui5/skg/skgmainpanel.rc
|
||||
%dir %{_datadir}/kxmlgui5/skg_*
|
||||
%{_datadir}/kxmlgui5/sk*/*
|
||||
%{_datadir}/skrooge_monthly.knsrc
|
||||
%{_datadir}/skrooge_unit.knsrc
|
||||
%dir %{_kde5_datadir}/%{name}
|
||||
%{_kde5_datadir}/%{name}/*
|
||||
%{_kde5_kcfgdir}/skg*.kcfg
|
||||
%{_datadir}/icons/breeze-dark/*
|
||||
%{_datadir}/icons/breeze/*
|
||||
%{_kde5_icondir}/hicolor/*/*/*.png
|
||||
%{_kde5_icondir}/hicolor/scalable/*/*.svgz
|
||||
%{_kde5_sharedir}/appdata/skrooge.appdata.xml
|
||||
%{_kde5_xdgmimedir}/x-skg.xml
|
||||
%{_kde5_servicesdir}/*.desktop
|
||||
%doc %lang(de) %{_kde5_htmldir}/de/%{name}
|
||||
%doc %lang(en) %{_kde5_htmldir}/en/%{name}
|
||||
%doc %lang(es) %{_kde5_htmldir}/es/%{name}
|
||||
%doc %lang(fr) %{_kde5_htmldir}/fr/%{name}
|
||||
%doc %lang(lt) %{_kde5_htmldir}/lt/%{name}
|
||||
%doc %lang(nl) %{_kde5_htmldir}/nl/%{name}
|
||||
%doc %lang(pt_BR) %{_kde5_htmldir}/pt_BR/%{name}
|
||||
%doc %lang(pt) %{_kde5_htmldir}/pt/%{name}
|
||||
%doc %lang(ru) %{_kde5_htmldir}/ru/%{name}
|
||||
%doc %lang(sv) %{_kde5_htmldir}/sv/%{name}
|
||||
%doc %lang(uk) %{_kde5_htmldir}/uk/%{name}
|
||||
%doc AUTHORS COPYING
|
||||
#%doc README TODO
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user