libmaxminddb-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Name: libmaxminddb
  2. Summary: C library for the MaxMind DB file format
  3. Version: 1.6.0
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. # original libmaxminddb code is Apache Licence 2.0
  9. # src/maxminddb-compat-util.h is BSD
  10. License: ASL 2.0 and BSD
  11. URL: https://maxmind.github.io/libmaxminddb
  12. Source0: https://github.com/maxmind/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
  13. BuildRequires: gcc
  14. BuildRequires: perl
  15. %description
  16. The package contains libmaxminddb library.
  17. %package devel
  18. Summary: Development header files for libmaxminddb
  19. Group: programming
  20. Requires: %{name}%{?_isa} = %{version}-%{release}
  21. Requires: pkgconfig
  22. %description devel
  23. The package contains development header files for the libmaxminddb library
  24. and the mmdblookup utility which allows IP address lookup in a MaxMind DB file.
  25. %debug_package
  26. %prep
  27. %setup -q
  28. sed -i -e '/AM_CFLAGS=/d' common.mk
  29. sed -i -e '/CFLAGS=/d' configure.ac
  30. autoreconf -ivf
  31. %build
  32. %configure --disable-static
  33. make %{?_smp_mflags}
  34. %install
  35. %make_install
  36. rm -fv %{buildroot}%{_libdir}/*.la
  37. %check
  38. # tests are linked dynamically, preload the library as we have removed RPATH
  39. LD_PRELOAD=%{buildroot}%{_libdir}/libmaxminddb.so make check
  40. %files
  41. %license LICENSE
  42. %{_bindir}/mmdblookup
  43. %{_libdir}/libmaxminddb.so.*
  44. %files devel
  45. %license NOTICE
  46. %doc Changes.md
  47. %{_includedir}/maxminddb.h
  48. %{_includedir}/maxminddb_config.h
  49. %{_libdir}/libmaxminddb.so
  50. %{_libdir}/pkgconfig/libmaxminddb.pc
  51. %{_mandir}/man1/*
  52. %{_mandir}/man3/*
  53. %changelog
  54. * Thu Nov 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.0-1
  55. - new upstream release.
  56. - dropped ldconfig scriptlets.
  57. * Tue Jan 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.5.0-1
  58. - new upstream release.
  59. * Sat Aug 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.3.2-1
  60. - new upstream release.
  61. - initial build for Vine Linux.
  62. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  64. * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-7
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  66. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  68. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  70. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  72. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  74. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  76. * Sun Mar 27 2016 Jan Vcelak <jvcelak@fedoraproject.org> 1.2.0-1
  77. - rebase to new version
  78. * Mon Mar 21 2016 Jan Vcelak <jvcelak@fedoraproject.org> 1.1.5-1
  79. - rebase to new version
  80. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  82. * Tue Sep 15 2015 Jan Vcelak <jvcelak@fedoraproject.org> 1.1.1-5
  83. - add pkg-config file from the upcoming upstream version
  84. * Mon Sep 14 2015 Jan Vcelak <jvcelak@fedoraproject.org> 1.1.1-4
  85. - remove utils subpackage and place mmdblookup into devel subpackage
  86. - remove Group from the spec file
  87. - move NOTICE and Changes.md to devel subpackage
  88. * Thu Sep 03 2015 Jan Vcelak <jvcelak@fedoraproject.org> 1.1.1-3
  89. - updated package licence
  90. - added --as-needed linker flag
  91. * Tue Sep 01 2015 Jan Vcelak <jvcelak@fedoraproject.org> 1.1.1-1
  92. - initial version of the package