enca-vl.spec 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. Name: enca
  2. Summary: Character set analyzer and detector
  3. Version: 1.19
  4. Release: 1%{?_dist_release}
  5. Group: Applications/Text
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPLv2
  9. URL: https://cihar.com/software/enca/
  10. Source: http://dl.cihar.com/enca/enca-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. %description
  13. Enca is an Extremely Naive Charset Analyser. It detects character set and
  14. encoding of text files and can also convert them to other encodings using
  15. either a built-in converter or external libraries and tools like libiconv,
  16. librecode, or cstocs.
  17. Currently, it has support for Belarussian, Bulgarian, Croatian, Czech,
  18. Estonian, Latvian, Lithuanian, Polish, Russian, Slovak, Slovene, Ukrainian,
  19. Chinese and some multibyte encodings (mostly variants of Unicode)
  20. independent on the language.
  21. This package also contains shared Enca library other programs can make use of.
  22. Install %{name} if you need to cope with text files of dubious origin
  23. and unknown encoding and convert them to some reasonable encoding.
  24. %package devel
  25. Summary: Header files and libraries for %{name} charset analyzer
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. %description devel
  30. The %{name}-devel package contains the static libraries and header files
  31. for writing programs using the Extremely Naive Charset Analyser library,
  32. and its API documentation.
  33. Install %{name}-devel if you are going to create applications using the Enca
  34. library.
  35. %prep
  36. %setup -q
  37. %build
  38. %configure \
  39. --disable-dependency-tracking \
  40. --without-librecode \
  41. --disable-external \
  42. --disable-static \
  43. --disable-gtk-doc
  44. %{__make} %{?_smp_mflags}
  45. %install
  46. %{__rm} -rf $RPM_BUILD_ROOT
  47. %{__make} install DESTDIR=$RPM_BUILD_ROOT HTML_DIR=/tmp/html
  48. %{__rm} -rf $RPM_BUILD_ROOT/tmp/html
  49. %{__rm} -rf $RPM_BUILD_ROOT/%{_libexecdir}
  50. %{__rm} -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  51. %check
  52. %{__make} check
  53. %clean
  54. %{__rm} -rf $RPM_BUILD_ROOT
  55. %post -p /sbin/ldconfig
  56. %postun -p /sbin/ldconfig
  57. %files
  58. %defattr(-,root,root)
  59. %{_bindir}/*
  60. %{_libdir}/libenca.so.*
  61. %{_mandir}/*/*
  62. %license COPYING
  63. %doc AUTHORS FAQ README THANKS TODO
  64. %files devel
  65. %defattr(-,root,root)
  66. %{_includedir}/*
  67. %{_libdir}/pkgconfig/*
  68. %{?_with_static: %{_libdir}/*.a}
  69. %{_libdir}/*.so
  70. %doc devel-docs/html/*.html README.devel
  71. %changelog
  72. * Mon May 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.19-1
  73. - new upstream release.
  74. * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14-1
  75. - new upstream release
  76. * Thu Jan 20 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.13-1
  77. - new upstream release
  78. * Wed Dec 30 2009 Kazutaka HARADA <kazutaka@vinelinux.org> 1.10-1
  79. - initial build for Vine Linux based on fedora development
  80. * Tue Aug 25 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.10-1
  81. - Update to 1.10
  82. - Change urls for new upstream
  83. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-6
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  85. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-5
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  87. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.9-4
  88. - Autorebuild for GCC 4.3
  89. * Thu Aug 16 2007 Dmitry Butskoy <Dmitry@Butskoy.name>
  90. - Change License tag to GPLv2
  91. * Fri Sep 1 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-3
  92. - rebuild for FC6
  93. * Tue Feb 14 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-2
  94. - rebuild for FC5
  95. * Mon Dec 19 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-1
  96. - upgrade to 1.9
  97. * Mon Nov 28 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.8-1
  98. - upgrade to 1.8
  99. - update description
  100. * Fri Sep 16 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-4
  101. - clenup in docs
  102. - Accepted for Fedora Extra (review by Ville Skytta <ville.skytta@iki.fi>)
  103. * Fri Sep 9 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-3
  104. - build static libs conditionally
  105. - disable external converters (#167820)
  106. * Thu Sep 8 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-2
  107. - more cleanups (#167820)
  108. * Thu Sep 8 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-1
  109. - spec cleanups for Fedora Extra
  110. - avoid build with librecode, use just glibc's iconv
  111. - avoid any gtk dependencies, html docs are already present in the source
  112. * Mon May 17 2004 David Necas (Yeti) <yeti@physics.muni.cz>
  113. - doubled percents in changelog
  114. * Mon Dec 22 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  115. - moved wrappers to libexec
  116. * Thu Nov 6 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  117. - added b-piconv
  118. - fixed HTML doc install paths
  119. * Tue Oct 14 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  120. - testing whether $RPM_BUILD_ROOT is not /
  121. - updated for new HTML doc location
  122. - changed make -> %%__make, rm -> %%__rm
  123. * Sat Aug 2 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  124. - cleaning $RPM_BUILD_ROOT in %%install
  125. * Sat Jun 28 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  126. - removed --disable-gtk-doc, no longer needed
  127. * Fri Jun 20 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  128. - added enca.pc to devel package
  129. * Sat Jun 14 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  130. - updated description
  131. - added --disable-gtk-doc
  132. * Mon Dec 23 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  133. - added libenca.so
  134. * Fri Dec 20 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  135. - fixed URL and Source to trific.ath.cx
  136. * Mon Oct 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  137. - added FAQ to docs
  138. * Thu Oct 10 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  139. - removed twice-listed %%{docdir}/html
  140. * Sat Sep 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  141. - added b-umap
  142. * Sun Sep 15 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  143. - added enconv
  144. * Thu Aug 29 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  145. - removed bzip2-devel buildprereq
  146. * Sat Aug 24 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  147. - added postinstall and postuninstall scriptlets
  148. * Wed Aug 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  149. - updated to enca-0.10.0-pre2
  150. - added libenca
  151. - split into enca and enca-devel
  152. - removed cache
  153. - fixed HTML_DIR
  154. * Tue Jul 10 2001 David Necas (Yeti) <yeti@physics.muni.cz>
  155. - changed rpm macros in Source and URL to autoconf macros to ease debian/
  156. stuff generation
  157. * Sun May 20 2001 David Necas (Yeti) <yeti@physics.muni.cz>
  158. - added BuildPrereq: bzip2-devel
  159. * Wed May 2 2001 David Necas (Yeti) <yeti@physics.muni.cz>
  160. - changed group to standard (but much less appropriate) Applications/Text
  161. - rpm macros are used instead of autoconf macros (after the first definition)
  162. * Sun Mar 11 2001 David Necas (Yeti) <yeti@physics.muni.cz>
  163. - added defattr, doc attributes
  164. - uses global configure cache
  165. - heavy use of predefined directories
  166. - configure moved to build section as is usual
  167. * Sun Feb 25 2001 David Necas (Yeti) <yeti@physics.muni.cz>
  168. - updated to enca-0.9.0pre4 (including files and descriptions)
  169. - added sed dependency
  170. * Wed Oct 25 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  171. - updated to enca-0.7.5
  172. * Wed Oct 11 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  173. - removed redundant Provides: enca
  174. * Sun Oct 1 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  175. - updated to enca-0.7.1
  176. - man page forced to be intstalled to ${prefix}/share/man
  177. * Tue Sep 26 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  178. - updated to enca-0.7.0
  179. - spec autogenerated by configure
  180. * Tue Sep 19 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  181. - fixed not installing bcstocs
  182. * Wed Sep 13 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  183. - first packaged (0.6.2)