libmnl-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. Name: libmnl
  2. Version: 1.0.4
  3. Release: 2%{?_dist_release}
  4. Summary: A minimalistic Netlink library
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: http://netfilter.org/projects/libmnl
  8. Source0: http://netfilter.org/projects/libmnl/files/%{name}-%{version}.tar.bz2
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: tomop
  12. %description
  13. libmnl is a minimalistic user-space library oriented to Netlink developers.
  14. There are a lot of common tasks in parsing, validating, constructing of both
  15. the Netlink header and TLVs that are repetitive and easy to get wrong.
  16. This library aims to provide simple helpers that allows you to re-use code and
  17. to avoid re-inventing the wheel.
  18. %package devel
  19. Summary: Development files for %{name}
  20. Group: Development/Libraries
  21. Requires: %{name}%{_isa} = %{version}-%{release}
  22. %package static
  23. Summary: Static development files for %{name}
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. %description devel
  27. The %{name}-devel package contains libraries and header files for
  28. developing applications that use %{name}.
  29. %description static
  30. The %{name}-static package contains static libraries for devleoping applications that use %{name}.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure --enable-static
  35. make CFLAGS="%{optflags}" %{?_smp_mflags}
  36. %install
  37. make install DESTDIR=$RPM_BUILD_ROOT
  38. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  39. find examples '(' -name 'Makefile.am' -o -name 'Makefile.in' ')' -exec rm -f {} ';'
  40. find examples -type d -name '.deps' -prune -exec rm -rf {} ';'
  41. mv examples examples-%{_arch}
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %license COPYING
  46. %doc README
  47. %{_libdir}/*.so.*
  48. %files devel
  49. %license COPYING
  50. %doc examples-%{_arch}
  51. %{_includedir}/*
  52. %{_libdir}/pkgconfig/*.pc
  53. %{_libdir}/*.so
  54. %files static
  55. %{_libdir}/*.a
  56. %changelog
  57. * Sun Aug 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.4-2
  58. - rebuilt with current environment.
  59. * Mon May 8 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.4-1
  60. - new upstream release.
  61. * Sun Jun 29 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.3-8
  62. - initial build for Vine Linux.
  63. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-7
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  65. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-6
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  67. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-5
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  69. * Sun Aug 12 2012 Hushan Jia <hushan.jia@gmail.com> - 1.0.3-4
  70. - use %doc for each arch to avoid multilib conflict (rhbz 831413)
  71. * Sat Aug 04 2012 Philip Prindeville <philipp@fedoraproject.org> - 1.0.3-3
  72. - Add .a to devel package (rhbz 845793)
  73. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  75. * Mon Jun 11 2012 Hushan Jia <hushan.jia@gmail.com> 1.0.3-1
  76. - Update to 1.0.3.
  77. * Sat Feb 04 2012 Hushan Jia <hushan.jia@gmail.com> 1.0.2-1
  78. - Update to 1.0.2.
  79. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  81. * Wed Aug 24 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-4
  82. - fix require of devel package
  83. - add example source files to docs
  84. * Wed Aug 24 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-3
  85. - remove unnecessary buildroot and defattr tags
  86. - remove unnecessary build requires
  87. * Sat Aug 20 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-2
  88. - use upstream released source tarball
  89. * Sat Aug 20 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-1
  90. - initial packaging