[2775] | 1 | Name: skrooge |
---|
| 2 | Summary: Personal finances manager |
---|
| 3 | Summary(ja): 個人向け財務管理ツール |
---|
[9208] | 4 | Version: 1.10.0 |
---|
[9426] | 5 | Release: 2%{?_dist_release} |
---|
[2775] | 6 | |
---|
| 7 | Group: Applications/Productivity |
---|
| 8 | License: GPLv3+ |
---|
| 9 | URL: http://skrooge.org |
---|
| 10 | |
---|
[9208] | 11 | Source0: http://download.kde.org/stable/skrooge/%{name}-%{version}.tar.bz2 |
---|
[2775] | 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9208] | 14 | BuildRequires: akonadi-devel |
---|
| 15 | BuildRequires: grantlee-devel |
---|
| 16 | BuildRequires: kdelibs4-devel |
---|
| 17 | BuildRequires: kdepimlibs-devel |
---|
| 18 | BuildRequires: libofx-devel |
---|
[2775] | 19 | BuildRequires: qca2-devel |
---|
[9208] | 20 | BuildRequires: qjson-devel |
---|
| 21 | BuildRequires: shared-mime-info >= 0.23 |
---|
| 22 | BuildRequires: soprano-devel |
---|
[2775] | 23 | BuildRequires: sqlite3-devel |
---|
| 24 | BuildRequires: gettext |
---|
[9208] | 25 | BuildRequires: desktop-file-utils |
---|
[2775] | 26 | |
---|
| 27 | Requires: %{name}-libs = %{version}-%{release} |
---|
[9208] | 28 | Requires(post): gtk2 |
---|
| 29 | Requires(post): desktop-file-utils |
---|
| 30 | Requires(post): shared-mime-info |
---|
| 31 | Requires(postun): gtk2 |
---|
| 32 | Requires(postun): desktop-file-utils |
---|
| 33 | Requires(postun): shared-mime-info |
---|
[2775] | 34 | |
---|
| 35 | %description |
---|
| 36 | %{name} is a personal finances manager, |
---|
| 37 | aiming at being simple and intuitive. |
---|
| 38 | It allows you to keep track of your expenses and incomes, |
---|
| 39 | categorize them, and build reports of them. |
---|
| 40 | |
---|
| 41 | %package libs |
---|
| 42 | Summary: Skrooge libraries |
---|
| 43 | Summary(ja): Skrooge ライブラリ |
---|
| 44 | Group: System Environment/Libraries |
---|
| 45 | Requires: kdelibs4 >= 4.4.0 |
---|
| 46 | |
---|
| 47 | %description libs |
---|
| 48 | %{name} libraries. |
---|
| 49 | |
---|
| 50 | %package devel |
---|
| 51 | Summary: Development files for %{name} |
---|
| 52 | Summary(ja): %{name} の開発用ファイル |
---|
| 53 | Group: Development/Libraries |
---|
| 54 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 55 | |
---|
| 56 | %description devel |
---|
| 57 | The %{name}-devel package contains libraries for |
---|
| 58 | developing applications that use %{name}. |
---|
| 59 | |
---|
| 60 | %prep |
---|
| 61 | %setup -q |
---|
| 62 | |
---|
| 63 | ## to prevent spurious-executable-perm in -debuginfo |
---|
| 64 | chmod -x skgbasegui/skglineedit.h |
---|
| 65 | chmod -x skgbasegui/skglineedit.cpp |
---|
| 66 | chmod -x skgbasegui/skglineeditdesignerplugin.h |
---|
| 67 | chmod -x skgbasegui/skgtablewidgetdesignerplugin.h |
---|
| 68 | chmod -x skgbasegui/skglineeditdesignerplugin.cpp |
---|
| 69 | chmod -x skgbasegui/skgtablewidgetdesignerplugin.cpp |
---|
| 70 | |
---|
| 71 | %build |
---|
| 72 | mkdir -p %{_target_platform} |
---|
| 73 | pushd %{_target_platform} |
---|
| 74 | %{cmake} \ |
---|
| 75 | -Wno-dev \ |
---|
| 76 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 77 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 78 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 79 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 80 | -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \ |
---|
| 81 | .. |
---|
| 82 | popd |
---|
| 83 | |
---|
| 84 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | %install |
---|
| 88 | rm -rf %{buildroot} |
---|
| 89 | make install/fast -C %{_target_platform} DESTDIR=%{buildroot} |
---|
| 90 | |
---|
[9208] | 91 | %find_lang %{name} |
---|
[2775] | 92 | |
---|
| 93 | |
---|
| 94 | %clean |
---|
| 95 | rm -rf %{buildroot} |
---|
| 96 | |
---|
| 97 | %check |
---|
| 98 | desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/skrooge.desktop |
---|
| 99 | |
---|
| 100 | %post |
---|
| 101 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 102 | |
---|
| 103 | %postun |
---|
| 104 | if [ $1 -eq 0 ] ; then |
---|
| 105 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
| 106 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 107 | update-desktop-database -q &> /dev/null |
---|
| 108 | update-mime-database %{_datadir}/mime &> /dev/null |
---|
| 109 | fi |
---|
| 110 | |
---|
| 111 | %posttrans |
---|
| 112 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 113 | update-desktop-database -q &> /dev/null |
---|
| 114 | update-mime-database %{_datadir}/mime &> /dev/null |
---|
| 115 | |
---|
| 116 | %post libs -p /sbin/ldconfig |
---|
| 117 | |
---|
| 118 | %postun libs -p /sbin/ldconfig |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | %files -f %{name}.lang |
---|
| 122 | %defattr(-,root,root,-) |
---|
| 123 | %doc AUTHORS CHANGELOG COPYING README TODO |
---|
[9208] | 124 | %{_bindir}/* |
---|
| 125 | %{_datadir}/akonadi/agents/*.desktop |
---|
[2775] | 126 | %{_datadir}/applications/kde4/skrooge.desktop |
---|
[9208] | 127 | %{_datadir}/config/skrooge_*.knsrc |
---|
[2775] | 128 | %{_datadir}/config.kcfg/*.kcfg |
---|
| 129 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 130 | %{_datadir}/kde4/apps/skrooge*/ |
---|
| 131 | %{_datadir}/kde4/apps/skg* |
---|
| 132 | %{_datadir}/kde4/services/*.desktop |
---|
[9208] | 133 | %{_datadir}/kde4/servicetypes/*.desktop |
---|
[2775] | 134 | %{_datadir}/mime/packages/x-skg.xml |
---|
| 135 | %{_datadir}/doc/HTML/*/skrooge/ |
---|
| 136 | |
---|
| 137 | %files libs |
---|
| 138 | %defattr(-,root,root,-) |
---|
[9208] | 139 | %{_libdir}/kde4/plugins/grantlee/*/*.so |
---|
[2775] | 140 | %{_libdir}/kde4/*.so |
---|
| 141 | %{_libdir}/lib*.so.* |
---|
| 142 | |
---|
| 143 | %files devel |
---|
| 144 | %defattr(-,root,root,-) |
---|
[9208] | 145 | %{_libdir}/lib*.so |
---|
| 146 | #{_libdir}/kde4/plugins/designer/libskg*.so |
---|
[2775] | 147 | |
---|
| 148 | %changelog |
---|
[9426] | 149 | * Mon Mar 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.10.0-2 |
---|
| 150 | - rebuilt with libofx 0.9.10 |
---|
| 151 | |
---|
[9208] | 152 | * Wed Dec 31 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.10.0-1 |
---|
| 153 | - updated to 1.10.0 |
---|
| 154 | - updated BuildRequires |
---|
| 155 | - built on current VineSeed |
---|
| 156 | |
---|
[3885] | 157 | * Sun May 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-2 |
---|
| 158 | - add BuildRequires: soprano-devel |
---|
| 159 | |
---|
[2775] | 160 | * Sun Jan 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.0-1 |
---|
| 161 | - Initial build for Vine Linux |
---|
| 162 | |
---|
| 163 | * Mon May 17 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.7.1-1 |
---|
| 164 | - skrooge 0.7.1 bugfix release |
---|
| 165 | |
---|
| 166 | * Mon Apr 26 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.7.0-1 |
---|
| 167 | - Skrooge 0.7.0 |
---|
| 168 | |
---|
| 169 | * Wed Feb 10 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.6.0-1 |
---|
| 170 | - New upstream source 0.6.0 |
---|
| 171 | |
---|
| 172 | * Thu Jan 28 2010 Rex Dieter <rdieter@fedoraproject.org> 0.5.5-2 |
---|
| 173 | - use %%{_kde4_version}, don't rely on kde4-config --version parsing |
---|
| 174 | |
---|
| 175 | * Sun Dec 27 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.5-1 |
---|
| 176 | - Update to new upstream release |
---|
| 177 | - Corrects a lot of bugs and problems. See the CHANGELOG for details. |
---|
| 178 | |
---|
| 179 | * Sun Nov 30 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.4-1 |
---|
| 180 | - Update to new upstream version |
---|
| 181 | - Corrects a lot of bugs and problems. See the changelog for details. |
---|
| 182 | |
---|
| 183 | * Sun Nov 01 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.3-1 |
---|
| 184 | - Updated to new upstream version |
---|
| 185 | - Readded a -DCMAKE workaround (please keep it for now) |
---|
| 186 | - Useing chmod -x to prevent spurious-executable-perm. Bug filed. |
---|
| 187 | |
---|
| 188 | * Wed Oct 14 2009 Rex Dieter <rdieter@fedoraproject.org> 0.5.2-2 |
---|
| 189 | - (HTML) docs patch, use %%find_lang --with-kde |
---|
| 190 | - own %%{_kde4_appsdir}/skrooge*/ dirs |
---|
| 191 | - %%check: omit extraneous desktop-file-validate's |
---|
| 192 | |
---|
| 193 | * Thu Oct 08 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.2-1 |
---|
| 194 | - Changed to final 0.5.2 version |
---|
| 195 | - Bugfixes, including a nasty bug where one thinks the data is gone |
---|
| 196 | - added HTML documentation |
---|
| 197 | - added localizations |
---|
| 198 | |
---|
| 199 | * Tue Sep 22 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.2-0.1.beta |
---|
| 200 | - Changed to new upstream Version 0.5.2_beta (lots of bugfixes) |
---|
| 201 | |
---|
| 202 | * Mon Sep 21 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.1-0.5.beta |
---|
| 203 | - Added -libs Requires libofx |
---|
| 204 | |
---|
| 205 | * Mon Sep 21 2009 Rex Dieter <rdieter@fedoraproject.org> 0.5.1-0.4.beta |
---|
| 206 | - misc cosmetics |
---|
| 207 | - mime scriptlets |
---|
| 208 | - move icons to hicolor |
---|
| 209 | - -libs: drop dup'd docs, add min kdelibs4 dep |
---|
| 210 | |
---|
| 211 | * Thu Sep 17 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.1-0.3.beta |
---|
| 212 | - Spec file corrections and Version correction |
---|
| 213 | |
---|
| 214 | * Wed Sep 16 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.1-beta2 |
---|
| 215 | - cleaned up desktop files |
---|
| 216 | |
---|
| 217 | * Tue Sep 15 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.1-beta1 |
---|
| 218 | - changed version to 0.5.1 beta with fixed rpmlint output |
---|
| 219 | |
---|
| 220 | * Sun Sep 13 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.0-2 |
---|
| 221 | - Fixed the spec and rpmlintoutput debuginfo-without-source |
---|
| 222 | |
---|
| 223 | * Fri Sep 11 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.5.0-1 |
---|
| 224 | - Initial Release 0.5.0 |
---|