[6774] | 1 | Name: libalkimia |
---|
| 2 | Summary: Financial library |
---|
| 3 | Version: 4.3.2 |
---|
[10580] | 4 | Release: 3%{?_dist_release} |
---|
[6774] | 5 | |
---|
| 6 | License: LGPLv2+ |
---|
| 7 | URL: http://kde-apps.org/content/show.php/libalkimia?content=137323 |
---|
[9032] | 8 | Group: System Environment/Libraries |
---|
| 9 | |
---|
[6774] | 10 | Source0: http://kde-apps.org/CONTENT/content-files/137323-libalkimia-%{version}.tar.bz2 |
---|
| 11 | |
---|
[9032] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: cmake |
---|
[6774] | 14 | BuildRequires: gmp-devel |
---|
| 15 | BuildRequires: kdelibs4-devel |
---|
[9032] | 16 | BuildRequires: pkgconfig |
---|
[6774] | 17 | |
---|
| 18 | %description |
---|
[9032] | 19 | libalkimia is a library with common classes and functionality used by |
---|
| 20 | finance applications for the KDE SC. |
---|
[6774] | 21 | |
---|
[9032] | 22 | Currently it supports a common class to represent monetary values with |
---|
| 23 | arbitrary precision. |
---|
| 24 | |
---|
[6774] | 25 | %package devel |
---|
| 26 | Summary: Development files for %{name} |
---|
[9032] | 27 | Group: Development/Libraries |
---|
| 28 | Requires: %{name} = %{version}-%{release} |
---|
| 29 | Requires: gmp-devel |
---|
[6774] | 30 | Requires: kdelibs4-devel |
---|
[9032] | 31 | Requires: pkgconfig |
---|
| 32 | |
---|
[6774] | 33 | %description devel |
---|
| 34 | %{summary}. |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | mkdir -p %{_target_platform} |
---|
| 43 | pushd %{_target_platform} |
---|
| 44 | |
---|
| 45 | %cmake \ |
---|
| 46 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 47 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 48 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 49 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 50 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 51 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 52 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 53 | .. |
---|
| 54 | popd |
---|
| 55 | |
---|
| 56 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %install |
---|
| 60 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %check |
---|
| 64 | export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig |
---|
| 65 | test "$(pkg-config --modversion libalkimia)" = "%{version}" |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %post -p /sbin/ldconfig |
---|
| 69 | %postun -p /sbin/ldconfig |
---|
| 70 | |
---|
| 71 | %files |
---|
| 72 | %defattr(-,root,root,-) |
---|
| 73 | %{_libdir}/libalkimia.so.* |
---|
| 74 | |
---|
| 75 | %files devel |
---|
| 76 | %defattr(-,root,root,-) |
---|
| 77 | %{_includedir}/kde4/alkimia |
---|
| 78 | %{_libdir}/libalkimia.so |
---|
| 79 | %{_libdir}/pkgconfig/libalkimia.pc |
---|
| 80 | %{_datadir}/kde4/apps/cmake/modules/FindLibAlkimia.cmake |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | %changelog |
---|
[10580] | 84 | * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.2-3 |
---|
| 85 | - rebuild with gcc-5.4.0 |
---|
| 86 | |
---|
[9032] | 87 | * Mon Oct 27 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.3.2-2 |
---|
| 88 | - added BR: cmake |
---|
| 89 | - added Group tag |
---|
| 90 | |
---|
[6774] | 91 | * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.2-1 |
---|
| 92 | - initial build for Vine Linux |
---|
| 93 | |
---|
| 94 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.2-2 |
---|
| 95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 96 | |
---|
| 97 | * Sat Feb 04 2012 Rex Dieter <rdieter@fedoraproject.org> 4.3.2-1 |
---|
| 98 | - 4.3.2 |
---|
| 99 | |
---|
| 100 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.1-5 |
---|
| 101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 102 | |
---|
| 103 | * Wed Nov 02 2011 Rex Dieter <rdieter@fedoraproject.org> 4.3.1-4 |
---|
| 104 | - rebuild (gmp) |
---|
| 105 | |
---|
| 106 | * Mon Aug 22 2011 Rex Dieter <rdieter@fedoraproject.org> 4.3.1-3 |
---|
| 107 | - .spec cosmetics |
---|
| 108 | |
---|
| 109 | * Sat Aug 20 2011 Rex Dieter <rdieter@fedoraproject.org> 4.3.1-2 |
---|
| 110 | - BR: gmp-devel |
---|
| 111 | - %%check : don't ignore errors |
---|
| 112 | |
---|
| 113 | * Sat Aug 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.3.1-1 |
---|
| 114 | - 4.3.1 |
---|
| 115 | |
---|
| 116 | * Tue Jun 21 2011 Rex Dieter <rdieter@fedoraproject.org> 4.3.0-1 |
---|
| 117 | - first try |
---|
| 118 | |
---|
| 119 | |
---|