enca-vl.spec 7.2 KB

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