204 lines
6.7 KiB
RPMSpec
204 lines
6.7 KiB
RPMSpec
Name: skrooge
|
|
Version: 2.25.0
|
|
Release: 1mamba
|
|
Summary: A personal finances manager, powered by KDE
|
|
Group: Graphical Desktop/Applications/Office
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
URL: https://skrooge.org
|
|
Source: http://download.kde.org/stable/skrooge/skrooge-%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libQt5WebKit-devel
|
|
BuildRequires: libattica5-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libgrantlee-devel
|
|
BuildRequires: libkarchive-devel
|
|
BuildRequires: libkauth-devel
|
|
BuildRequires: libkbookmarks-devel
|
|
BuildRequires: libkcodecs-devel
|
|
BuildRequires: libkcompletion-devel
|
|
BuildRequires: libkconfig-devel
|
|
BuildRequires: libkconfigwidgets-devel
|
|
BuildRequires: libkcoreaddons-devel
|
|
BuildRequires: libkdbusaddons-devel
|
|
BuildRequires: libki18n-devel
|
|
BuildRequires: libkiconthemes-devel
|
|
BuildRequires: libkio-devel
|
|
BuildRequires: libkitemviews-devel
|
|
BuildRequires: libkjobwidgets-devel
|
|
BuildRequires: libknewstuff-devel
|
|
BuildRequires: libknotifications-devel
|
|
BuildRequires: libknotifyconfig-devel
|
|
BuildRequires: libkpackage-devel
|
|
BuildRequires: libkparts-devel
|
|
BuildRequires: libkrunner-devel
|
|
BuildRequires: libkservice-devel
|
|
BuildRequires: libktextwidgets-devel
|
|
BuildRequires: libkwallet-devel
|
|
BuildRequires: libkwidgetsaddons-devel
|
|
BuildRequires: libkwindowsystem-devel
|
|
BuildRequires: libkxmlgui-devel
|
|
BuildRequires: libofx-devel
|
|
BuildRequires: libplasma-framework-devel
|
|
BuildRequires: libqca-qt5-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libsolid-devel
|
|
BuildRequires: libsonnet-devel
|
|
BuildRequires: libsqlcipher-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libofx-devel >= 0.9.9-1mamba
|
|
BuildRequires: libsqlcipher-devel
|
|
BuildRequires: cmake
|
|
#Requires: kde-workspace
|
|
|
|
%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_kde5 -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}%{_kde5_libdir}/libskg*.so
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
|
exit 0
|
|
|
|
%posttrans
|
|
/sbin/ldconfig
|
|
update-desktop-database -q &>/dev/null
|
|
update-mime-database -n %{_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 -n %{_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)
|
|
%{_sysconfdir}/xdg/skrooge_monthly.knsrc
|
|
%{_sysconfdir}/xdg/skrooge_unit.knsrc
|
|
%{_kde5_bindir}/skrooge
|
|
%{_kde5_bindir}/skroogeconvert
|
|
%{_kde5_libdir}/libskg*.so.*
|
|
%{_libdir}/qt5/plugins/*.so
|
|
%{_libdir}/qt5/plugins/designer/libskgbankguidesigner.so
|
|
%{_libdir}/qt5/plugins/designer/libskgbaseguidesigner.so
|
|
%{_libdir}/qt5/plugins/grantlee/5.2/grantlee_skgfilters.so
|
|
%{_libdir}/qt5/plugins/sqldrivers/libskgsqlcipher.so
|
|
%{_datadir}/applications/org.kde.skrooge.desktop
|
|
%{_datadir}/knotifications5/skrooge.notifyrc
|
|
%{_kde5_servicetypesdir}/org.kde.skg-plugin.desktop
|
|
%{_kde5_servicetypesdir}/org.kde.skrooge-*.desktop
|
|
%{_datadir}/kservices5/sources/org.kde.skrooge-source-*.desktop
|
|
%{_datadir}/metainfo/org.kde.skrooge.appdata.xml
|
|
%{_datadir}/kxmlgui5/skg/skgmainpanel.rc
|
|
%dir %{_datadir}/kxmlgui5/skg_*
|
|
%{_datadir}/kxmlgui5/sk*/*
|
|
%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_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
|
|
* Fri Apr 23 2021 Automatic Build System <autodist@mambasoft.it> 2.25.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Dec 10 2020 Automatic Build System <autodist@mambasoft.it> 2.24.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Aug 05 2020 Automatic Build System <autodist@mambasoft.it> 2.23.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jun 05 2020 Automatic Build System <autodist@mambasoft.it> 2.22.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Mar 03 2020 Automatic Build System <autodist@mambasoft.it> 2.21.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* Sun Apr 19 2015 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Nov 01 2014 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jul 08 2014 Automatic Build System <autodist@mambasoft.it> 1.9.0-2mamba
|
|
- rebuilt by autoport with build requirements: libofx-devel>=0.9.9-1mamba
|
|
|
|
* Mon Apr 21 2014 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 10 2013 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
- update to 1.8.0
|
|
|
|
* Sat May 18 2013 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 10 2013 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jan 27 2013 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
|
|
- update to 1.5.1
|
|
|
|
* Mon Dec 10 2012 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
|
|
- rebuilt with libofx 0.9.5
|
|
|
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jan 16 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.2.0-1mamba
|
|
- update to 1.2.0
|
|
|
|
* Sat Dec 31 2011 Davide Madrisan <davide.madrisan@gmail.com> 1.1.1-1mamba
|
|
- package created by autospec
|