msgpack-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. %define ver 0.5.8
  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. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. # for regenerating configure
  13. BuildRequires: libtool
  14. # for %%check
  15. BuildRequires: gtest-devel
  16. BuildRequires: zlib-devel
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: iwaim
  20. %description
  21. MessagePack is a binary-based efficient object serialization
  22. library. It enables to exchange structured objects between many
  23. languages like JSON. But unlike JSON, it is very fast and small.
  24. %package devel
  25. Summary: Libraries and header files for %{name}
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. %description devel
  29. Libraries and header files for %{name}
  30. %prep
  31. %setup -q
  32. %build
  33. %configure --disable-static
  34. make %{?_smp_mflags}
  35. %check
  36. make check
  37. %install
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f '{}' ';'
  40. %post -p /sbin/ldconfig
  41. %postun -p /sbin/ldconfig
  42. %files
  43. %doc AUTHORS COPYING ChangeLog LICENSE NOTICE README README.md
  44. %{_libdir}/*.so.*
  45. %files devel
  46. %{_includedir}/*
  47. %{_libdir}/*.so
  48. %{_libdir}/pkgconfig/msgpack.pc
  49. %changelog
  50. * Tue Dec 31 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.5.8-1
  51. - update to 0.5.8
  52. - drop gtest patch: upstream fixed
  53. - add pkgconfig file in msgpack-devel package
  54. * Fri Feb 1 2013 IWAI, Masaharu <iwai@alib.jp> 0.5.7-1
  55. - initial build for Vine Linux
  56. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.7-2
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  58. * Wed Feb 15 2012 Daiki Ueno <dueno@redhat.com> - 0.5.7-1
  59. - initial packaging for Fedora