diff --git a/README.md b/README.md index 7c1be7f..427d391 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # skrooge +Skrooge allows you to manage your personal finances, powered by KDE 4.x. +Thanks to its many features, it is one of the most powerful way to enter, follow, and analyze your expenses. + diff --git a/skrooge.spec b/skrooge.spec new file mode 100644 index 0000000..191017a --- /dev/null +++ b/skrooge.spec @@ -0,0 +1,185 @@ +Name: skrooge +Version: 1.9.0 +Release: 1mamba +Summary: A personal finances manager, powered by KDE +Group: Graphical Desktop/Applications/Office +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://skrooge.org +Source: http://download.kde.org/stable/skrooge/skrooge-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: kdelibs-devel +BuildRequires: libgcc +BuildRequires: libgrantlee-devel +BuildRequires: libofx-devel +BuildRequires: libqca-devel +BuildRequires: libqt4-devel +BuildRequires: libsoprano-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: kde-workspace +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Skrooge allows you to manage your personal finances, powered by KDE 4.x. +Thanks to its many features, it is one of the most powerful way to enter, follow, and analyze your expenses. + +%prep +%setup -q + +%build +%cmake_kde4 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name} --all-name --with-kde || touch %{name}.lang + +# remove unpackaged files +rm -f %{buildroot}%{_kde4_libdir}/libskg*.so + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +/sbin/ldconfig +touch --no-create %{_kde4_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 +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 +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 +%{_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_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 README TODO + +%changelog +* Mon Apr 21 2014 Automatic Build System 1.9.0-1mamba +- automatic version update by autodist + +* Thu Oct 10 2013 Automatic Build System 1.8.0-1mamba +- update to 1.8.0 + +* Sat May 18 2013 Automatic Build System 1.7.1-1mamba +- automatic version update by autodist + +* Sun Mar 10 2013 Automatic Build System 1.6.0-1mamba +- automatic version update by autodist + +* Sun Jan 27 2013 Automatic Build System 1.5.1-1mamba +- update to 1.5.1 + +* Mon Dec 10 2012 Automatic Build System 1.3.3-1mamba +- rebuilt with libofx 0.9.5 + +* Wed Aug 08 2012 Automatic Build System 1.3.0-1mamba +- automatic version update by autodist + +* Mon Jan 16 2012 Davide Madrisan 1.2.0-1mamba +- update to 1.2.0 + +* Sat Dec 31 2011 Davide Madrisan 1.1.1-1mamba +- package created by autospec