uchardet-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. %undefine __cmake_in_source_build
  2. Name: uchardet
  3. Version: 0.0.7
  4. Release: 1%{?_dist_release}
  5. Summary: An encoding detector library ported from Mozilla
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: MPLv1.1
  10. URL: https://www.freedesktop.org/wiki/Software/%{name}
  11. Source0: https://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.xz
  12. BuildRequires: gcc
  13. BuildRequires: gcc-c++
  14. BuildRequires: cmake
  15. %description
  16. Uchardet is a C language binding of the original C++ implementation of the
  17. universal charset detection library by Mozilla. Uchardet is an encoding
  18. detector library, which takes a sequence of bytes in an unknown character
  19. encoding without any additional information, and attempts to determine the
  20. encoding of the text.
  21. %package devel
  22. Summary: Development files for %{name}
  23. Group: programming
  24. Requires: %{name}%{?_isa} = %{version}-%{release}
  25. %description devel
  26. The %{name}-devel package contains headers and shared libraries
  27. for developing tools for uchardet.
  28. %debug_package
  29. %prep
  30. %autosetup
  31. %build
  32. %cmake \
  33. -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
  34. -DBUILD_STATIC=OFF \
  35. %{nil}
  36. %cmake_build
  37. %install
  38. %cmake_install
  39. %check
  40. %ctest
  41. %files
  42. %license COPYING
  43. %doc AUTHORS
  44. %{_bindir}/%{name}
  45. %{_libdir}/lib%{name}.so.*
  46. %{_mandir}/man1/%{name}.1*
  47. %files devel
  48. %{_includedir}/%{name}/
  49. %{_libdir}/lib%{name}.so
  50. %{_libdir}/pkgconfig/%{name}.pc
  51. %changelog
  52. * Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.0.7-1
  53. - new upstream release.
  54. - dropped ldconfig scriptlets.
  55. * Sat Aug 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.0.6-12
  56. - initial build for Vine Linux.
  57. * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-11
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  59. * Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-10
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  61. * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-9
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  63. * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-8
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  65. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-7
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  67. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-6
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  69. * Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.6-5
  70. - Switch to %%ldconfig_scriptlets
  71. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-4
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  73. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-3
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  75. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-2
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  77. * Thu Dec 22 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.6-1
  78. - update version to 0.0.6
  79. - changed upstream url
  80. * Thu Jul 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-4
  81. - Rebuild for f23 to fix i686
  82. * Fri Feb 12 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-3
  83. - Fixup summary in devel subpkg
  84. * Mon Feb 08 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-2
  85. - Fix building on i686 properly
  86. * Sat Feb 6 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.5-1
  87. - update version to 0.0.5
  88. * Fri Nov 20 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.3-1
  89. - update version to 0.0.3
  90. - add tests
  91. * Thu Oct 1 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.1-5
  92. - remove macros srcname and sum
  93. * Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.1-4
  94. - fix enable debug packages
  95. - fix add flag verbose for make
  96. - fix change in build
  97. - fix remove in libs from files
  98. - fix add change for libs in post/postun
  99. - fix version on 0.0.1 from git
  100. - added macros
  101. * Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-3
  102. - fix description and summary for libs and libs-devel
  103. * Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-2
  104. - fix version on 0.0.0
  105. - fix license path
  106. - remove static lib
  107. - fix description
  108. - fix number packages
  109. * Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-1
  110. - Initial package