Репозитории ALT
S: | 1.19-alt2 |
5.1: | 1.11-alt1 |
4.1: | 1.9-alt2.0 |
4.0: | 1.9-alt2.0 |
3.0: | 1.7-alt1 |
+backports: | 1.9-alt0.M30.1 |
Другие репозитории
Upstream: | 1.9 |
Группа :: Работа с текстами
Пакет: enca
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable static
Name: enca
Version: 1.19
Release: alt2
Summary: A program that guesses encoding of text files
License: GPL
Group: Text tools
Url: http://cihar.com/software/enca
Source: http://dl.cihar.com/enca/%name-%version.tar
Packager: Michael Shigorin <mike at altlinux.org>
Requires: lib%name = %version-%release
# Automatically added by buildreq on Fri Mar 04 2011
BuildRequires: gtk-doc librecode-devel perl-Encode perl-Unicode-Map
Summary(ru_RU.UTF-8): п÷я─п╬пЁя─п╟п╪п╪п╟, "я┐пЁп╟п╢я▀п╡п╟я▌я┴п╟я▐" п╨п╬п╢п╦я─п╬п╡п╨я┐ я┌п╣п╨я│я┌п╬п╡я▀я┘ я└п╟п╧п╩п╬п╡
Summary(uk_UA.UTF-8): п÷я─п╬пЁя─п╟п╪п╟, я┴п╬ "п╡пЁп╟п╢я┐я■" п╨п╬п╢я┐п╡п╟п╫п╫я▐ я┌п╣п╨я│я┌п╬п╡п╦я┘ я└п╟п╧п╩я√п╡
%description
Enca (Extremely Naive Charset Analyser) is a simple utility
guessing encoding of text files and optionally converting them
to some other encoding using either a built-in convertor, a
system conversion library or an external conversion program.
Currently, it has support for Belarussian, Czech, Polish,
Russian, Slovak, Ukrainian, Bulgarian, Croatian, Estonian,
Hungarian, Latvian, Lithuanian, Slovene and some multibyte
encodings (mostly variants of Unicode) independent on language.
Install Enca if you need to cope with text files of dubious
origin and unknown encoding and convert them to some reasonable
encoding.
%description -l ru_RU.UTF-8
Enca (Extremely Naive Charset Analyser) - п©я─п╬я│я┌п╟я▐ я┐я┌п╦п╩п╦я┌п╟,
п╨п╬я┌п╬я─п╟я▐ п©п╬п╥п╡п╬п╩я▐п╣я┌ "я┐пЁп╟п╢я▀п╡п╟я┌я▄" п╨п╬п╢п╦я─п╬п╡п╨я┐ я┌п╣п╨я│я┌п╬п╡п╬пЁп╬ я└п╟п╧п╩п╟ п╦,
п╡п╬п╥п╪п╬п╤п╫п╬, п╨п╬п╫п╡п╣я─я┌п╦я─п╬п╡п╟я┌я▄ п╣пЁп╬ п╡ п╢я─я┐пЁя┐я▌ п╦п╥п╡п╣я│я┌п╫я┐я▌.
п║п╣п╧я┤п╟я│ п©п╬п╢п╢п╣я─п╤п╦п╡п╟я▌я┌я│я▐ п╠п╣п╩п╬я─я┐я│я│п╨п╦п╧, я┤п╣я┬я│п╨п╦п╧, п©п╬п╩я▄я│п╨п╦п╧, я─я┐я│я│п╨п╦п╧,
я│п╩п╬п╡п╟я├п╨п╦п╧, я┐п╨я─п╟п╦п╫я│п╨п╦п╧, п╠п╬п╩пЁп╟я─я│п╨п╦п╧, я┘п╬я─п╡п╟я┌я│п╨п╦п╧, я█я│я┌п╬п╫я│п╨п╦п╧,
п╡п╣п╫пЁп╣я─я│п╨п╦п╧, п╩п╟я┌п╡п╦п╧я│п╨п╦п╧, п╩п╦я┌п╬п╡я│п╨п╦п╧, я│п╩п╬п╡п╟я├п╨п╦п╧ я▐п╥я▀п╨п╦ п╦ п╫п╣я│п╨п╬п╩я▄п╨п╬
п╪я┐п╩я▄я┌п╦п╠п╟п╧я┌п╫я▀я┘ п╨п╬п╢п╦я─п╬п╡п╬п╨ п╡п╫п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╬я┌ я▐п╥я▀п╨п╟.
%description -l uk_UA.UTF-8
Enca (Extremely Naive Charset Analyser) - п©я─п╬я│я┌п╟ я┐я┌п╦п╩я√я┌п╟,
я┴п╬ п╫п╟п╢п╟я■ п╪п╬п╤п╩п╦п╡я√я│я┌я▄ "п╡пЁп╟п╢я┐п╡п╟я┌п╦" п╨п╬п╢я┐п╡п╟п╫п╫я▐ я┌п╣п╨я┌п╬п╡п╬пЁп╬ я└п╟п╧п╩я┐
я┌п╟, п╪п╬п╤п╩п╦п╡п╬, п╨п╬п╫п╡п╣я─я┌я┐п╡п╟я┌п╦ п╧п╬пЁп╬ я┐ я√п╫я┬п╣ п╡я√п╢п╬п╪п╣.
п²п╟ я├п╣п╧ я┤п╟я│ п©я√п╢я┌я─п╦п╪я┐я▌я┌я▄я│я▐ п╠я√п╩п╬я─я┐я│я▄п╨п╟, я┤п╣я│я▄п╨п╟, п©п╬п╩я▄я│я▄п╨п╟, я─п╬я│я√п╧я│я▄п╨п╟,
я│п╩п╬п╡п╟я├я▄п╨п╟, я┐п╨я─п╟я≈п╫я│я▄п╨п╟, п╠п╬п╩пЁп╟я─я│я▄п╨п╟, я┘п╬я─п╡п╟я┌я│я▄п╨п╟, п╣я│я┌п╬п╫я│я▄п╨п╟,
я┐пЁп╬я─я│я▄п╨п╟, п╩п╟я┌п╡я√п╧я│я▄п╨п╟, п╩п╦я┌п╬п╡я│я▄п╨п╟, я│п╩п╬п╡п╟я├я▄п╨п╟ п╪п╬п╡п╦ я┌п╟ п╢п╣п╨я√п╩я▄п╨п╟
п╪я┐п╩я▄я┌п╦п╠п╟п╧я┌п╬п╡п╦я┘ п╨п╬п╢я┐п╡п╟п╫я▄ п╫п╣п╥п╟п╩п╣п╤п╫п╬ п╡я√п╢ п╪п╬п╡п╦.
%package -n lib%name
Summary: Shared Enca library
Group: System/Libraries
%description -n lib%name
This package contains shared Enca library which other programs
may use.
%package -n lib%name-devel
Summary: Header files and libraries for Enca development
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package contains the development library and header files
for writing programs using the Extremely Naive Charset Analyser
library, and its API documentation.
Install this package if you are going to create applications
using the Enca library.
%if_enabled static
%package -n lib%name-devel-static
Summary: Static libraries for Enca development
Group: Development/C
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
This package contains the static library for building statically
linked programs using the Extremely Naive Charset Analyser library.
%endif
%prep
%setup
%build
%autoreconf
%configure %{subst_enable static}
%make_build
%install
%makeinstall HTML_DIR=%buildroot%_docdir/%name-%version/html
%files
%_bindir/enca
%_bindir/enconv
%_libexecdir/%name/
%doc %_man1dir/*
%doc AUTHORS COPYING ChangeLog ChangeLog.prelib NEWS README.md THANKS TODO
%files -n lib%name
%_libdir/libenca.so.*
%files -n lib%name-devel
%_includedir/enca.h
%_libdir/libenca.so
%_pkgconfigdir/enca.pc
%doc DEVELOP.md
%doc devel-docs/html
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
# TODO:
# - fix devel-docs/html/ build
%changelog
…
Полный changelog можно просмотреть здесь
Name: enca
Version: 1.19
Release: alt2
Summary: A program that guesses encoding of text files
License: GPL
Group: Text tools
Url: http://cihar.com/software/enca
Source: http://dl.cihar.com/enca/%name-%version.tar
Packager: Michael Shigorin <mike at altlinux.org>
Requires: lib%name = %version-%release
# Automatically added by buildreq on Fri Mar 04 2011
BuildRequires: gtk-doc librecode-devel perl-Encode perl-Unicode-Map
Summary(ru_RU.UTF-8): п÷я─п╬пЁя─п╟п╪п╪п╟, "я┐пЁп╟п╢я▀п╡п╟я▌я┴п╟я▐" п╨п╬п╢п╦я─п╬п╡п╨я┐ я┌п╣п╨я│я┌п╬п╡я▀я┘ я└п╟п╧п╩п╬п╡
Summary(uk_UA.UTF-8): п÷я─п╬пЁя─п╟п╪п╟, я┴п╬ "п╡пЁп╟п╢я┐я■" п╨п╬п╢я┐п╡п╟п╫п╫я▐ я┌п╣п╨я│я┌п╬п╡п╦я┘ я└п╟п╧п╩я√п╡
%description
Enca (Extremely Naive Charset Analyser) is a simple utility
guessing encoding of text files and optionally converting them
to some other encoding using either a built-in convertor, a
system conversion library or an external conversion program.
Currently, it has support for Belarussian, Czech, Polish,
Russian, Slovak, Ukrainian, Bulgarian, Croatian, Estonian,
Hungarian, Latvian, Lithuanian, Slovene and some multibyte
encodings (mostly variants of Unicode) independent on language.
Install Enca if you need to cope with text files of dubious
origin and unknown encoding and convert them to some reasonable
encoding.
%description -l ru_RU.UTF-8
Enca (Extremely Naive Charset Analyser) - п©я─п╬я│я┌п╟я▐ я┐я┌п╦п╩п╦я┌п╟,
п╨п╬я┌п╬я─п╟я▐ п©п╬п╥п╡п╬п╩я▐п╣я┌ "я┐пЁп╟п╢я▀п╡п╟я┌я▄" п╨п╬п╢п╦я─п╬п╡п╨я┐ я┌п╣п╨я│я┌п╬п╡п╬пЁп╬ я└п╟п╧п╩п╟ п╦,
п╡п╬п╥п╪п╬п╤п╫п╬, п╨п╬п╫п╡п╣я─я┌п╦я─п╬п╡п╟я┌я▄ п╣пЁп╬ п╡ п╢я─я┐пЁя┐я▌ п╦п╥п╡п╣я│я┌п╫я┐я▌.
п║п╣п╧я┤п╟я│ п©п╬п╢п╢п╣я─п╤п╦п╡п╟я▌я┌я│я▐ п╠п╣п╩п╬я─я┐я│я│п╨п╦п╧, я┤п╣я┬я│п╨п╦п╧, п©п╬п╩я▄я│п╨п╦п╧, я─я┐я│я│п╨п╦п╧,
я│п╩п╬п╡п╟я├п╨п╦п╧, я┐п╨я─п╟п╦п╫я│п╨п╦п╧, п╠п╬п╩пЁп╟я─я│п╨п╦п╧, я┘п╬я─п╡п╟я┌я│п╨п╦п╧, я█я│я┌п╬п╫я│п╨п╦п╧,
п╡п╣п╫пЁп╣я─я│п╨п╦п╧, п╩п╟я┌п╡п╦п╧я│п╨п╦п╧, п╩п╦я┌п╬п╡я│п╨п╦п╧, я│п╩п╬п╡п╟я├п╨п╦п╧ я▐п╥я▀п╨п╦ п╦ п╫п╣я│п╨п╬п╩я▄п╨п╬
п╪я┐п╩я▄я┌п╦п╠п╟п╧я┌п╫я▀я┘ п╨п╬п╢п╦я─п╬п╡п╬п╨ п╡п╫п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╬я┌ я▐п╥я▀п╨п╟.
%description -l uk_UA.UTF-8
Enca (Extremely Naive Charset Analyser) - п©я─п╬я│я┌п╟ я┐я┌п╦п╩я√я┌п╟,
я┴п╬ п╫п╟п╢п╟я■ п╪п╬п╤п╩п╦п╡я√я│я┌я▄ "п╡пЁп╟п╢я┐п╡п╟я┌п╦" п╨п╬п╢я┐п╡п╟п╫п╫я▐ я┌п╣п╨я┌п╬п╡п╬пЁп╬ я└п╟п╧п╩я┐
я┌п╟, п╪п╬п╤п╩п╦п╡п╬, п╨п╬п╫п╡п╣я─я┌я┐п╡п╟я┌п╦ п╧п╬пЁп╬ я┐ я√п╫я┬п╣ п╡я√п╢п╬п╪п╣.
п²п╟ я├п╣п╧ я┤п╟я│ п©я√п╢я┌я─п╦п╪я┐я▌я┌я▄я│я▐ п╠я√п╩п╬я─я┐я│я▄п╨п╟, я┤п╣я│я▄п╨п╟, п©п╬п╩я▄я│я▄п╨п╟, я─п╬я│я√п╧я│я▄п╨п╟,
я│п╩п╬п╡п╟я├я▄п╨п╟, я┐п╨я─п╟я≈п╫я│я▄п╨п╟, п╠п╬п╩пЁп╟я─я│я▄п╨п╟, я┘п╬я─п╡п╟я┌я│я▄п╨п╟, п╣я│я┌п╬п╫я│я▄п╨п╟,
я┐пЁп╬я─я│я▄п╨п╟, п╩п╟я┌п╡я√п╧я│я▄п╨п╟, п╩п╦я┌п╬п╡я│я▄п╨п╟, я│п╩п╬п╡п╟я├я▄п╨п╟ п╪п╬п╡п╦ я┌п╟ п╢п╣п╨я√п╩я▄п╨п╟
п╪я┐п╩я▄я┌п╦п╠п╟п╧я┌п╬п╡п╦я┘ п╨п╬п╢я┐п╡п╟п╫я▄ п╫п╣п╥п╟п╩п╣п╤п╫п╬ п╡я√п╢ п╪п╬п╡п╦.
%package -n lib%name
Summary: Shared Enca library
Group: System/Libraries
%description -n lib%name
This package contains shared Enca library which other programs
may use.
%package -n lib%name-devel
Summary: Header files and libraries for Enca development
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package contains the development library and header files
for writing programs using the Extremely Naive Charset Analyser
library, and its API documentation.
Install this package if you are going to create applications
using the Enca library.
%if_enabled static
%package -n lib%name-devel-static
Summary: Static libraries for Enca development
Group: Development/C
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
This package contains the static library for building statically
linked programs using the Extremely Naive Charset Analyser library.
%endif
%prep
%setup
%build
%autoreconf
%configure %{subst_enable static}
%make_build
%install
%makeinstall HTML_DIR=%buildroot%_docdir/%name-%version/html
%files
%_bindir/enca
%_bindir/enconv
%_libexecdir/%name/
%doc %_man1dir/*
%doc AUTHORS COPYING ChangeLog ChangeLog.prelib NEWS README.md THANKS TODO
%files -n lib%name
%_libdir/libenca.so.*
%files -n lib%name-devel
%_includedir/enca.h
%_libdir/libenca.so
%_pkgconfigdir/enca.pc
%doc DEVELOP.md
%doc devel-docs/html
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
# TODO:
# - fix devel-docs/html/ build
%changelog
…
Полный changelog можно просмотреть здесь