libmnl-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Name: libmnl
  2. Version: 1.0.4
  3. Release: 3%{?_dist_release}
  4. Summary: A minimalistic Netlink library
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: LGPLv2+
  9. URL: http://netfilter.org/projects/libmnl
  10. Source0: http://netfilter.org/projects/libmnl/files/%{name}-%{version}.tar.bz2
  11. %description
  12. libmnl is a minimalistic user-space library oriented to Netlink developers.
  13. There are a lot of common tasks in parsing, validating, constructing of both
  14. the Netlink header and TLVs that are repetitive and easy to get wrong.
  15. This library aims to provide simple helpers that allows you to re-use code and
  16. to avoid re-inventing the wheel.
  17. %package devel
  18. Summary: Development files for %{name}
  19. Group: programming
  20. Requires: %{name}%{_isa} = %{version}-%{release}
  21. %description devel
  22. The %{name}-devel package contains libraries and header files for
  23. developing applications that use %{name}.
  24. %package static
  25. Summary: Static development files for %{name}
  26. Group: programming
  27. Requires: %{name}-devel = %{version}-%{release}
  28. %description static
  29. The %{name}-static package contains static libraries for devleoping applications that use %{name}.
  30. %debug_package
  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. %files
  43. %license COPYING
  44. %doc README
  45. %{_libdir}/*.so.*
  46. %files devel
  47. %license COPYING
  48. %doc examples-%{_arch}
  49. %{_includedir}/*
  50. %{_libdir}/pkgconfig/*.pc
  51. %{_libdir}/*.so
  52. %files static
  53. %{_libdir}/*.a
  54. %changelog
  55. * Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.4-3
  56. - dropped scriptlets.
  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