libmowgli-vl.spec 2.7 KB

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