libmodbus.spec.in 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Name: libmodbus
  2. Version: @PACKAGE_VERSION@
  3. Release: 1%{?dist}
  4. Summary: A Modbus library
  5. Group: Applications/System
  6. License: LGPLv2+
  7. URL: http://www.libmodbus.org/
  8. Source0: https://github.com/downloads/stephane/libmodbus/libmodbus-%{version}.tar.gz
  9. BuildRequires: autoconf, automake, libtool, xmlto, asciidoc
  10. %description
  11. libmodbus is a C library designed to provide a fast and robust implementation of
  12. the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows.
  13. This package contains the libmodbus shared library.
  14. %package devel
  15. Summary: Development files for libmodbus
  16. Group: Development/Libraries
  17. Requires: %{name}%{?_isa} = %{version}-%{release}
  18. %description devel
  19. libmodbus is a C library designed to provide a fast and robust implementation of
  20. the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows.
  21. This package contains libraries, header files and developer documentation needed
  22. for developing software which uses the libmodbus library.
  23. %prep
  24. %setup -q
  25. autoreconf
  26. %build
  27. %configure
  28. make %{?_smp_mflags}
  29. %install
  30. make install DESTDIR=%{buildroot}
  31. rm -f %{buildroot}/%{_libdir}/*.la
  32. %post -p /sbin/ldconfig
  33. %postun -p /sbin/ldconfig
  34. %files
  35. %defattr(-,root,root)
  36. %doc AUTHORS MIGRATION NEWS COPYING* README.rst
  37. %{_libdir}/libmodbus.so.*
  38. %files devel
  39. %defattr(-,root,root)
  40. %{_includedir}/modbus/
  41. %{_libdir}/pkgconfig/libmodbus.pc
  42. %{_libdir}/libmodbus.so
  43. %{_mandir}/man7/*.7.*
  44. %{_mandir}/man3/*.3.*
  45. %changelog
  46. * Fri, 21 Feb 2014 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.6-1
  47. - new upstream release
  48. * Sun, 06 Oct 2013 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.5-1
  49. - new upstream release
  50. * Wed May 08 2013 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.4-1
  51. - new upstream release
  52. * Fri May 25 2012 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.3-1
  53. - new upstream release
  54. * Mon Jan 16 2012 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.2-1
  55. - new upstream release
  56. * Mon Jul 23 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.1-2
  57. - package reviewed by Peter Lemenkov <lemenkov@gmail.com> and Veeti Paananen
  58. <veeti.paananen@rojekti.fi> of Fedora Quality Assurance team
  59. * Mon Jul 18 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.1-1
  60. - new upstream release
  61. * Thu Jul 11 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.0-1
  62. - revert the license to LGPLv2.1+
  63. - new spec file generated by autoconf
  64. - add documentation, devel package and various changes
  65. * Sun Jun 5 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.9.4-1
  66. - new upstream release
  67. * Mon Jan 10 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.9.3-1
  68. - new upstream release
  69. * Mon Oct 5 2010 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.9.2-1
  70. - new upstream release
  71. * Fri Jul 2 2008 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.0.1-1
  72. - new upstream release
  73. * Fri May 2 2008 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.0.0-1
  74. - integrate extern_for_cpp in upstream.
  75. - update the license to version LGPL v3.
  76. * Tue Apr 30 2008 Todd Denniston <Todd.Denniston@ssa.crane.navy.mil> - 1.9.0-2
  77. - get the license corrected in the spec file.
  78. - add a URL for where to find libmodbus.
  79. - tweak the summary and description.
  80. * Tue Apr 29 2008 Todd Denniston <Todd.Denniston@ssa.crane.navy.mil> - 1.9.0-1
  81. - upgrade to latest upstream (pre-release)
  82. - port extern_for_cpp patch to 1.9.0
  83. * Tue Apr 29 2008 Todd Denniston <Todd.Denniston@ssa.crane.navy.mil> - 1.2.4-2_tad
  84. - add a patch to allow compiling with c++ code.
  85. * Mon Apr 28 2008 Todd Denniston <Todd.Denniston@ssa.crane.navy.mil> - 1.2.4-1_tad
  86. - build spec file.
  87. - include patch for controling error-treat.