libmowgli-vl.spec 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Summary: An algorithm framework
  2. Summary(ja): アルゴリズムフレームワーク
  3. Name: libmowgli
  4. Version: 0.7.0
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: ISC
  8. URL: http://atheme.org/projects/mowgli.shtml
  9. Source0: http://distfiles.atheme.org/libmowgli-%{version}.tgz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. %description
  12. mowgli is a development framework for C (like GLib), which provides high
  13. performance and highly flexible algorithms. It can be used as a suppliment to
  14. GLib (to add additional functions (dictionaries, hashes), or replace some of
  15. the slow GLib list manipulation functions), or stand alone. It also provides a
  16. powerful hook system and convenient logging for your code, as well as a high
  17. performance block allocator.
  18. %package devel
  19. Summary: Development files for libmowgli
  20. Summary(ja): libmowgli の開発用ファイル
  21. Group: Development/Libraries
  22. Requires: libmowgli = %{version}-%{release}
  23. Requires: pkgconfig
  24. %description devel
  25. mowgli is a development framework for C (like GLib), which provides high
  26. performance and highly flexible algorithms. It can be used as a suppliment to
  27. GLib (to add additional functions (dictionaries, hashes), or replace some of
  28. the slow GLib list manipulation functions), or stand alone. It also provides a
  29. powerful hook system and convenient logging for your code, as well as a high
  30. performance block allocator.
  31. This package contains the files necessary for writing programs that use
  32. libmowgli.
  33. %prep
  34. %setup -q
  35. # Make the build system more verbose
  36. perl -pi -e 's/^\.SILENT:.*$//' buildsys.mk.in
  37. # The build generates a wrong SONAME, fix it.
  38. perl -pi -e "s/-soname=.*'/-soname=\\\$\{LIB\}.\\\$\{LIB_MAJOR\}'/" configure
  39. %build
  40. %configure \
  41. --disable-dependency-tracking
  42. make %{?_smp_mflags}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install DESTDIR=$RPM_BUILD_ROOT
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files
  51. %defattr(-,root,root,-)
  52. %doc AUTHORS COPYING README
  53. %{_libdir}/*.so.*
  54. %files devel
  55. %defattr(-,root,root,-)
  56. %doc src/examples
  57. %{_libdir}/*.so
  58. %{_includedir}/libmowgli
  59. %{_libdir}/pkgconfig/libmowgli.pc
  60. %changelog
  61. * Sat Apr 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.0-1
  62. - new upstream release
  63. - changed Group to System Environment/Libraires
  64. * Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.0-1
  65. - initial build for Vine Linux
  66. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.0-2
  67. - Autorebuild for GCC 4.3
  68. * Sat Nov 10 2007 Ralf Ertzinger <ralf@skytale.net> 0.5.0-1
  69. - Initial build for FE