skrooge/skrooge.spec

210 lines
6.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: skrooge
Version: 2.29.0
Release: 1mamba
Summary: A personal finances manager, powered by KDE
Group: Graphical Desktop/Applications/Office
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://skrooge.org
Source: http://download.kde.org/stable/skrooge/skrooge-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libQt5WebKit-devel
BuildRequires: libQt5XmlPatterns-devel
BuildRequires: libX11-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: libkparts-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwallet-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libofx-devel
BuildRequires: libqca-qt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libsqlcipher-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: qt5-qtscript-devel
BuildRequires: qt5-qttools-devel
## AUTOBUILDREQ-END
BuildRequires: libofx-devel >= 0.9.9-1mamba
BuildRequires: libsqlcipher-devel
BuildRequires: cmake
%description
Skrooge allows you to manage your personal finances, powered by KDE Plasma.
Thanks to its many features, it is one of the most powerful way to enter, follow, and analyze your expenses.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name} --all-name --with-kde --with-html || 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)
%{_kde5_bindir}/skrooge
%{_kde5_bindir}/skroogeconvert
%{_kde5_libdir}/libskg*.so.*
%{_libdir}/qt5/plugins/designer/libskgbankguidesigner.so
%{_libdir}/qt5/plugins/designer/libskgbaseguidesigner.so
%{_libdir}/qt5/plugins/grantlee/5.2/grantlee_skgfilters.so
%dir %{_libdir}/qt5/plugins/skg_gui
%{_libdir}/qt5/plugins/skg_gui/*
%dir %{_libdir}/qt5/plugins/skrooge
%dir %{_libdir}/qt5/plugins/skrooge/import
%{_libdir}/qt5/plugins/skrooge/import/*.so
%{_libdir}/qt5/plugins/sqldrivers/libskgsqlcipher.so
%{_datadir}/applications/org.kde.skrooge.desktop
%{_datadir}/knotifications5/skrooge.notifyrc
%{_kde5_servicetypesdir}/org.kde.skrooge-*.desktop
%{_datadir}/kservices5/sources/org.kde.skrooge-source-*.desktop
%{_datadir}/metainfo/org.kde.skrooge.appdata.xml
%dir %{_datadir}/kxmlgui5/sk*
%{_datadir}/kxmlgui5/sk*/*
%{_datadir}/knsrcfiles/skrooge*.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_xdgmimedir}/x-skg.xml
%{_kde5_servicesdir}/*.desktop
%doc AUTHORS COPYING
#%doc README TODO
%changelog
* Sat Feb 18 2023 Automatic Build System <autodist@mambasoft.it> 2.29.0-1mamba
- automatic version update by autodist
* Mon Aug 01 2022 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
- automatic version update by autodist
* Sat Jan 29 2022 Automatic Build System <autodist@mambasoft.it> 2.27.0-1mamba
- automatic version update by autodist
* Thu Jul 29 2021 Automatic Build System <autodist@mambasoft.it> 2.26.1-1mamba
- automatic version update by autodist
* 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