enca-vl.spec 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. Name: enca
  2. Summary: Character set analyzer and detector
  3. Version: 1.13
  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. * Thu Jan 20 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.13-1
  70. - new upstream release
  71. * Wed Dec 30 2009 Kazutaka HARADA <kazutaka@vinelinux.org> 1.10-1
  72. - initial build for Vine Linux based on fedora development
  73. * Tue Aug 25 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.10-1
  74. - Update to 1.10
  75. - Change urls for new upstream
  76. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-6
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  78. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-5
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  80. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.9-4
  81. - Autorebuild for GCC 4.3
  82. * Thu Aug 16 2007 Dmitry Butskoy <Dmitry@Butskoy.name>
  83. - Change License tag to GPLv2
  84. * Fri Sep 1 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-3
  85. - rebuild for FC6
  86. * Tue Feb 14 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-2
  87. - rebuild for FC5
  88. * Mon Dec 19 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-1
  89. - upgrade to 1.9
  90. * Mon Nov 28 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.8-1
  91. - upgrade to 1.8
  92. - update description
  93. * Fri Sep 16 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-4
  94. - clenup in docs
  95. - Accepted for Fedora Extra (review by Ville Skytta <ville.skytta@iki.fi>)
  96. * Thu Sep 9 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-3
  97. - build static libs conditionally
  98. - disable external converters (#167820)
  99. * Thu Sep 8 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-2
  100. - more cleanups (#167820)
  101. * Thu Sep 8 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-1
  102. - spec cleanups for Fedora Extra
  103. - avoid build with librecode, use just glibc's iconv
  104. - avoid any gtk dependencies, html docs are already present in the source
  105. * Mon May 17 2004 David Necas (Yeti) <yeti@physics.muni.cz>
  106. - doubled percents in changelog
  107. * Mon Dec 22 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  108. - moved wrappers to libexec
  109. * Thu Nov 6 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  110. - added b-piconv
  111. - fixed HTML doc install paths
  112. * Tue Oct 14 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  113. - testing whether $RPM_BUILD_ROOT is not /
  114. - updated for new HTML doc location
  115. - changed make -> %%__make, rm -> %%__rm
  116. * Sat Aug 2 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  117. - cleaning $RPM_BUILD_ROOT in %%install
  118. * Sat Jun 28 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  119. - removed --disable-gtk-doc, no longer needed
  120. * Fri Jun 20 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  121. - added enca.pc to devel package
  122. * Sat Jun 14 2003 David Necas (Yeti) <yeti@physics.muni.cz>
  123. - updated description
  124. - added --disable-gtk-doc
  125. * Mon Dec 23 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  126. - added libenca.so
  127. * Fri Dec 20 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  128. - fixed URL and Source to trific.ath.cx
  129. * Mon Oct 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  130. - added FAQ to docs
  131. * Thu Oct 10 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  132. - removed twice-listed %%{docdir}/html
  133. * Sat Sep 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  134. - added b-umap
  135. * Sun Sep 15 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  136. - added enconv
  137. * Thu Aug 29 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  138. - removed bzip2-devel buildprereq
  139. * Sat Aug 24 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  140. - added postinstall and postuninstall scriptlets
  141. * Wed Aug 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
  142. - updated to enca-0.10.0-pre2
  143. - added libenca
  144. - split into enca and enca-devel
  145. - removed cache
  146. - fixed HTML_DIR
  147. * Tue Jul 10 2001 David Necas (Yeti) <yeti@physics.muni.cz>
  148. - changed rpm macros in Source and URL to autoconf macros to ease debian/
  149. stuff generation
  150. * Sun May 20 2001 David Necas (Yeti) <yeti@physics.muni.cz>
  151. - added BuildPrereq: bzip2-devel
  152. * Wed May 2 2001 David Necas (Yeti) <yeti@physics.muni.cz>
  153. - changed group to standard (but much less appropriate) Applications/Text
  154. - rpm macros are used instead of autoconf macros (after the first definition)
  155. * Sun Mar 11 2001 David Necas (Yeti) <yeti@physics.muni.cz>
  156. - added defattr, doc attributes
  157. - uses global configure cache
  158. - heavy use of predefined directories
  159. - configure moved to build section as is usual
  160. * Sun Feb 25 2001 David Necas (Yeti) <yeti@physics.muni.cz>
  161. - updated to enca-0.9.0pre4 (including files and descriptions)
  162. - added sed dependency
  163. * Sun Oct 25 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  164. - updated to enca-0.7.5
  165. * Sun Oct 11 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  166. - removed redundant Provides: enca
  167. * Sun Oct 1 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  168. - updated to enca-0.7.1
  169. - man page forced to be intstalled to ${prefix}/share/man
  170. * Tue Sep 26 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  171. - updated to enca-0.7.0
  172. - spec autogenerated by configure
  173. * Tue Sep 19 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  174. - fixed not installing bcstocs
  175. * Wed Sep 13 2000 David Necas (Yeti) <yeti@physics.muni.cz>
  176. - first packaged (0.6.2)