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