libalkimia-vl.spec 2.4 KB

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