123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- Name: skrooge
- Summary: Personal finances manager
- Summary(ja): 個人向け財務管理ツール
- Version: 1.10.0
- Release: 3%{?_dist_release}
- Group: Applications/Productivity
- License: GPLv3+
- URL: http://skrooge.org
- Source0: http://download.kde.org/stable/skrooge/%{name}-%{version}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: akonadi-devel
- BuildRequires: grantlee-devel
- BuildRequires: kdelibs4-devel
- BuildRequires: kdepimlibs-devel
- BuildRequires: libofx-devel
- BuildRequires: qca2-devel
- BuildRequires: qjson-devel
- BuildRequires: shared-mime-info >= 0.23
- BuildRequires: soprano-devel
- BuildRequires: sqlite3-devel
- BuildRequires: gettext
- BuildRequires: desktop-file-utils
- Requires: %{name}-libs = %{version}-%{release}
- Requires(post): gtk2
- Requires(post): desktop-file-utils
- Requires(post): shared-mime-info
- Requires(postun): gtk2
- Requires(postun): desktop-file-utils
- Requires(postun): shared-mime-info
- %description
- %{name} is a personal finances manager,
- aiming at being simple and intuitive.
- It allows you to keep track of your expenses and incomes,
- categorize them, and build reports of them.
- %package libs
- Summary: Skrooge libraries
- Summary(ja): Skrooge ライブラリ
- Group: System Environment/Libraries
- Requires: kdelibs4 >= 4.4.0
- %description libs
- %{name} libraries.
- %package devel
- Summary: Development files for %{name}
- Summary(ja): %{name} の開発用ファイル
- Group: Development/Libraries
- Requires: %{name}-libs = %{version}-%{release}
- %description devel
- The %{name}-devel package contains libraries for
- developing applications that use %{name}.
- %prep
- %setup -q
- ## to prevent spurious-executable-perm in -debuginfo
- chmod -x skgbasegui/skglineedit.h
- chmod -x skgbasegui/skglineedit.cpp
- chmod -x skgbasegui/skglineeditdesignerplugin.h
- chmod -x skgbasegui/skgtablewidgetdesignerplugin.h
- chmod -x skgbasegui/skglineeditdesignerplugin.cpp
- chmod -x skgbasegui/skgtablewidgetdesignerplugin.cpp
- %build
- mkdir -p %{_target_platform}
- pushd %{_target_platform}
- %{cmake} \
- -Wno-dev \
- -DCMAKE_BUILD_TYPE=release \
- -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
- -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
- -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
- -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \
- ..
- popd
- make %{?_smp_mflags} -C %{_target_platform}
- %install
- rm -rf %{buildroot}
- make install/fast -C %{_target_platform} DESTDIR=%{buildroot}
- %find_lang %{name}
- %clean
- rm -rf %{buildroot}
- %check
- desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/skrooge.desktop
- %post
- touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
- %postun
- if [ $1 -eq 0 ] ; then
- touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
- update-desktop-database -q &> /dev/null
- update-mime-database %{_datadir}/mime &> /dev/null
- fi
- %posttrans
- gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
- update-desktop-database -q &> /dev/null
- update-mime-database %{_datadir}/mime &> /dev/null
- %post libs -p /sbin/ldconfig
- %postun libs -p /sbin/ldconfig
- %files -f %{name}.lang
- %defattr(-,root,root,-)
- %doc AUTHORS CHANGELOG COPYING README TODO
- %{_bindir}/*
- %{_datadir}/akonadi/agents/*.desktop
- %{_datadir}/applications/kde4/skrooge.desktop
- %{_datadir}/config/skrooge_*.knsrc
- %{_datadir}/config.kcfg/*.kcfg
- %{_datadir}/icons/hicolor/*/*/*
- %{_datadir}/kde4/apps/skrooge*/
- %{_datadir}/kde4/apps/skg*
- %{_datadir}/kde4/services/*.desktop
- %{_datadir}/kde4/servicetypes/*.desktop
- %{_datadir}/mime/packages/x-skg.xml
- %{_datadir}/doc/HTML/*/skrooge/
- %files libs
- %defattr(-,root,root,-)
- %{_libdir}/kde4/plugins/grantlee/*/*.so
- %{_libdir}/kde4/*.so
- %{_libdir}/lib*.so.*
- %files devel
- %defattr(-,root,root,-)
- %{_libdir}/lib*.so
- #{_libdir}/kde4/plugins/designer/libskg*.so
- %changelog
- * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 1.10.0-3
- - rebuild with gcc-5.4.0
- * Mon Mar 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.10.0-2
- - rebuilt with libofx 0.9.10
- * Wed Dec 31 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.10.0-1
- - updated to 1.10.0
- - updated BuildRequires
- - built on current VineSeed
- * Sun May 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-2
- - add BuildRequires: soprano-devel
- * Sun Jan 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.0-1
- - Initial build for Vine Linux
- * Mon May 17 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.7.1-1
- - skrooge 0.7.1 bugfix release
- * Mon Apr 26 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.7.0-1
- - Skrooge 0.7.0
- * Wed Feb 10 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.6.0-1
- - New upstream source 0.6.0
- * Thu Jan 28 2010 Rex Dieter <rdieter@fedoraproject.org> 0.5.5-2
- - use %%{_kde4_version}, don't rely on kde4-config --version parsing
- * Sun Dec 27 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.5-1
- - Update to new upstream release
- - Corrects a lot of bugs and problems. See the CHANGELOG for details.
- * Sun Nov 30 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.4-1
- - Update to new upstream version
- - Corrects a lot of bugs and problems. See the changelog for details.
- * Sun Nov 01 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.3-1
- - Updated to new upstream version
- - Readded a -DCMAKE workaround (please keep it for now)
- - Useing chmod -x to prevent spurious-executable-perm. Bug filed.
- * Wed Oct 14 2009 Rex Dieter <rdieter@fedoraproject.org> 0.5.2-2
- - (HTML) docs patch, use %%find_lang --with-kde
- - own %%{_kde4_appsdir}/skrooge*/ dirs
- - %%check: omit extraneous desktop-file-validate's
- * Thu Oct 08 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.2-1
- - Changed to final 0.5.2 version
- - Bugfixes, including a nasty bug where one thinks the data is gone
- - added HTML documentation
- - added localizations
- * Tue Sep 22 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.2-0.1.beta
- - Changed to new upstream Version 0.5.2_beta (lots of bugfixes)
- * Mon Sep 21 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.1-0.5.beta
- - Added -libs Requires libofx
- * Mon Sep 21 2009 Rex Dieter <rdieter@fedoraproject.org> 0.5.1-0.4.beta
- - misc cosmetics
- - mime scriptlets
- - move icons to hicolor
- - -libs: drop dup'd docs, add min kdelibs4 dep
- * Thu Sep 17 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.1-0.3.beta
- - Spec file corrections and Version correction
- * Wed Sep 16 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.1-beta2
- - cleaned up desktop files
- * Tue Sep 15 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.1-beta1
- - changed version to 0.5.1 beta with fixed rpmlint output
- * Sun Sep 13 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.0-2
- - Fixed the spec and rpmlintoutput debuginfo-without-source
- * Fri Sep 11 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.0-1
- - Initial Release 0.5.0
|