156 lines
4.9 KiB
RPMSpec
156 lines
4.9 KiB
RPMSpec
Name: skrooge
|
|
Version: 2.0.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: http://skrooge.org
|
|
Source: http://download.kde.org/stable/skrooge/skrooge-%{version}.tar.xz
|
|
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: libofx-devel >= 0.9.9-1mamba
|
|
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_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 %{_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 %{_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}/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
|
|
|
|
* 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
|