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