[6725] | 1 | Name: analitza |
---|
| 2 | Summary: Library of mathematical features |
---|
| 3 | Summary(ja): 数学関連ライブラリ |
---|
[6797] | 4 | Version: 4.9.1 |
---|
[6725] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | |
---|
| 7 | License: GPLv2 |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | URL: http://www.kde.org/ |
---|
| 10 | |
---|
| 11 | Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: kdelibs4-devel >= %{version} |
---|
| 16 | BuildRequires: readline-devel |
---|
| 17 | |
---|
| 18 | Conflicts: kalgebra-libs < 4.9.0 |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | %{summary}. |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | %package devel |
---|
| 25 | Summary: Development files for %{name} |
---|
| 26 | Summary(ja): %{name} の開発用ファイル |
---|
| 27 | Group: Development/Libraries |
---|
| 28 | Requires: %{name} = %{version}-%{release} |
---|
| 29 | Requires: kdelibs4-devel |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | %{summary}. |
---|
| 33 | |
---|
| 34 | %description -l ja devel |
---|
| 35 | %{name} の開発用ファイルです. |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | mkdir -p %{_target_platform} |
---|
| 43 | pushd %{_target_platform} |
---|
| 44 | %cmake \ |
---|
| 45 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 46 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 47 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 48 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 49 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 50 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 51 | .. |
---|
| 52 | popd |
---|
| 53 | |
---|
| 54 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %install |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 60 | |
---|
| 61 | %clean |
---|
| 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | |
---|
| 64 | %post -p /sbin/ldconfig |
---|
| 65 | |
---|
| 66 | %postun -p /sbin/ldconfig |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %files |
---|
| 70 | %defattr(-,root,root,-) |
---|
| 71 | %{_bindir}/calgebra |
---|
| 72 | %{_libdir}/libanalitza.so.* |
---|
| 73 | %{_libdir}/libanalitzagui.so.* |
---|
| 74 | |
---|
| 75 | %files devel |
---|
| 76 | %defattr(-,root,root,-) |
---|
| 77 | %{_includedir}/kde4/%{name} |
---|
| 78 | %{_includedir}/kde4/analitzagui |
---|
| 79 | %{_libdir}/libanalitza.so |
---|
| 80 | %{_libdir}/libanalitzagui.so |
---|
| 81 | %{_libdir}/cmake/%{name} |
---|
| 82 | |
---|
| 83 | %changelog |
---|
[6797] | 84 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[6725] | 87 | * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
| 88 | - initial build |
---|