msgpack-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. %define ver 0.5.7
  2. %define rel 1
  3. Name: msgpack
  4. Version: %{ver}
  5. Release: %{rel}%{?_dist_release}
  6. Summary: Binary-based efficient object serialization library
  7. Group: System Environment/Libraries
  8. License: ASL 2.0
  9. URL: http://msgpack.org
  10. Source0: http://msgpack.org/releases/cpp/%{name}-%{version}.tar.gz
  11. Patch0: msgpack-gtest-implicit-dso.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. # for regenerating configure
  14. BuildRequires: libtool
  15. # for %%check
  16. BuildRequires: gtest-devel
  17. BuildRequires: zlib-devel
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: iwaim
  21. %description
  22. MessagePack is a binary-based efficient object serialization
  23. library. It enables to exchange structured objects between many
  24. languages like JSON. But unlike JSON, it is very fast and small.
  25. %package devel
  26. Summary: Libraries and header files for %{name}
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. %description devel
  30. Libraries and header files for %{name}
  31. %prep
  32. %setup -q
  33. %patch0 -p1 -b .gtest-implicit-dso
  34. %build
  35. autoreconf -f -i
  36. %configure --disable-static
  37. make %{?_smp_mflags}
  38. %check
  39. make check
  40. %install
  41. make install DESTDIR=$RPM_BUILD_ROOT
  42. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f '{}' ';'
  43. %post -p /sbin/ldconfig
  44. %postun -p /sbin/ldconfig
  45. %files
  46. %doc AUTHORS COPYING ChangeLog LICENSE NOTICE README README.md
  47. %{_libdir}/*.so.*
  48. %files devel
  49. %{_includedir}/*
  50. %{_libdir}/*.so
  51. %changelog
  52. * Fri Feb 1 2013 IWAI, Masaharu <iwai@alib.jp> 0.5.7-1
  53. - initial build for Vine Linux
  54. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.7-2
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  56. * Wed Feb 15 2012 Daiki Ueno <dueno@redhat.com> - 0.5.7-1
  57. - initial packaging for Fedora