libguess-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. Name: libguess
  2. Version: 1.2
  3. Release: 2%{?_dist_release}
  4. Summary: High-speed character set detection library
  5. Summary(ja): 高速に文字セットを探知するライブラリ
  6. Group: System Environment/Libraries
  7. License: BSD
  8. URL: http://rabbit.dereferenced.org/~nenolod/distfiles/
  9. Source0: http://rabbit.dereferenced.org/~nenolod/distfiles/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: pkgconfig
  12. %description
  13. libguess employs discrete-finite automata to deduce the character set of
  14. the input buffer. The advantage of this is that all character sets can be
  15. checked in parallel, and quickly. Right now, libguess passes a byte to
  16. each DFA on the same pass, meaning that the winning character set can be
  17. deduced as efficiently as possible.
  18. libguess is fully reentrant, using only local stack memory for DFA
  19. operations.
  20. %package devel
  21. Summary: Files needed for developing with %{name}
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. %description devel
  25. This package contains the files that are needed when building
  26. software that uses %{name}.
  27. %prep
  28. %setup -q
  29. sed -i '\,^.SILENT:,d' buildsys.mk.in
  30. %build
  31. %configure
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  36. %check
  37. cd src/tests/testbench
  38. LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} make
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %post -p /sbin/ldconfig
  42. %postun -p /sbin/ldconfig
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc COPYING README
  46. %{_libdir}/%{name}.so.1
  47. %{_libdir}/%{name}.so.1.*
  48. %files devel
  49. %defattr(-,root,root,-)
  50. %{_libdir}/%{name}.so
  51. %dir %{_includedir}/%{name}
  52. %{_includedir}/%{name}/%{name}.h
  53. %{_libdir}/pkgconfig/%{name}.pc
  54. %changelog
  55. * Fri Apr 3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.2-2
  56. - Initial build for Vine Linux
  57. * Mon Nov 10 2014 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-1
  58. - BR libmowgli no longer needed.
  59. - M4 dir patch merged.
  60. - Update URLs.
  61. - Upgrade to 1.2 (in the API only added the no-op libguess_init).
  62. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-9
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  64. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-8
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  66. * Mon Dec 2 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1.1-7
  67. - Add conditionals for EL builds (#1036386).
  68. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  70. * Sun Apr 21 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1.1-5
  71. - Patch configure.ac to define m4 macro dir.
  72. - BR autoconf libtool and run autoreconf -f for aarch64 updates (#925758).
  73. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  75. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  77. * Thu Jan 5 2012 Michael Schwendt <mschwendt@fedoraproject.org> - 1.1-2
  78. - rebuild for GCC 4.7 as requested
  79. * Sat Dec 3 2011 Michael Schwendt <mschwendt@fedoraproject.org> - 1.1-1
  80. - Upgrade to 1.1 with added %%check section.
  81. * Fri Sep 16 2011 Michael Schwendt <mschwendt@fedoraproject.org> - 1.0-3
  82. - Use %%_isa in -devel package dependency.
  83. - Drop %%defattr lines.
  84. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  86. * Wed Jul 14 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.0-1
  87. - Use fresh 1.0 release tarball, which only adds the makerelease.sh script.
  88. - Drop unneeded BuildRoot stuff.
  89. * Tue Jul 13 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.0-0.1.20100713
  90. - Initial RPM packaging.