analitza-vl.spec 2.3 KB

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