Репозитории ALT
S: | 3.7.12-alt1 |
5.1: | 3.6-alt8 |
4.1: | 3.6-alt6.1.0 |
4.0: | 3.6-alt6.1.0 |
3.0: | 3.6-alt6 |
Группа :: Работа с текстами
Пакет: recode
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define beta %nil
%def_disable static
Name: recode
Version: 3.6
Release: alt8
Summary: The `recode' library converts files between character sets and usages
License: GPL
Group: Text tools
Url: http://recode.progiciels-bpi.ca
Source: %url/archives/%name-%version%beta.tar.gz
Patch0: recode4python.patch
Patch1: recode-3.6-debian-boolsize.patch
Packager: Michael Shigorin <mike at altlinux.org>
Summary(ru_RU.KOI8-R): Библиотека recode конвертирует файлы из разных кодировок
%description
The `recode' program is a handy front-end to the `recode' library;
it converts files between character sets and usages.
The `recode' program and library have been written by Francois Pinard.
It is an evolving package, and specifications might change in future
releases. Option `-f' is now fairly implemented, yet not fully.
%package -n lib%name
Summary: Recode library
Group: System/Libraries
%description -n lib%name
The `recode' library converts files between character sets and usages.
The library recognises or produces nearly 150 different character sets
and is able to transliterate files between almost any pair. When
exact transliteration are not possible, it may get rid of the
offending characters or fall back on approximations. Most RFC 1345
character sets are supported.
%package -n lib%name-devel
Summary: Headers for developing applications with `recode' library
Group: Development/Other
Requires: lib%name = %version-%release
Provides: %name-devel = %version-%release
Obsoletes: %name-devel < 3.6-alt7
%description -n lib%name-devel
This package provides the necessary development libraries and include
files to allow you to develop applications using the `recode' libraries.
%if_enabled static
%package -n lib%name-devel-static
Summary: Static library for developing applications with `recode' library
Group: Development/Other
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
This package provides the necessary development libraries and include
files to allow you to develop applications using the `recode' libraries.
%endif
%prep
%setup -n %name-%version%beta
#patch0 -p1
%patch1 -p1
%build
%autoreconf
subst 's/--no-verify//' configure
%configure
%make_build
%install
%makeinstall
%find_lang %name
%files -f %name.lang
%_bindir/*
%_infodir/*
%_man1dir/*
%doc ABOUT-NLS AUTHORS BACKLOG COPYING COPYING-LIB ChangeLog INSTALL THANKS TODO
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
# TODO:
# - keep an eye on 3.7 (now in beta) and eventually 4.0
%changelog
…
Полный changelog можно просмотреть здесь
%def_disable static
Name: recode
Version: 3.6
Release: alt8
Summary: The `recode' library converts files between character sets and usages
License: GPL
Group: Text tools
Url: http://recode.progiciels-bpi.ca
Source: %url/archives/%name-%version%beta.tar.gz
Patch0: recode4python.patch
Patch1: recode-3.6-debian-boolsize.patch
Packager: Michael Shigorin <mike at altlinux.org>
Summary(ru_RU.KOI8-R): Библиотека recode конвертирует файлы из разных кодировок
%description
The `recode' program is a handy front-end to the `recode' library;
it converts files between character sets and usages.
The `recode' program and library have been written by Francois Pinard.
It is an evolving package, and specifications might change in future
releases. Option `-f' is now fairly implemented, yet not fully.
%package -n lib%name
Summary: Recode library
Group: System/Libraries
%description -n lib%name
The `recode' library converts files between character sets and usages.
The library recognises or produces nearly 150 different character sets
and is able to transliterate files between almost any pair. When
exact transliteration are not possible, it may get rid of the
offending characters or fall back on approximations. Most RFC 1345
character sets are supported.
%package -n lib%name-devel
Summary: Headers for developing applications with `recode' library
Group: Development/Other
Requires: lib%name = %version-%release
Provides: %name-devel = %version-%release
Obsoletes: %name-devel < 3.6-alt7
%description -n lib%name-devel
This package provides the necessary development libraries and include
files to allow you to develop applications using the `recode' libraries.
%if_enabled static
%package -n lib%name-devel-static
Summary: Static library for developing applications with `recode' library
Group: Development/Other
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
This package provides the necessary development libraries and include
files to allow you to develop applications using the `recode' libraries.
%endif
%prep
%setup -n %name-%version%beta
#patch0 -p1
%patch1 -p1
%build
%autoreconf
subst 's/--no-verify//' configure
%configure
%make_build
%install
%makeinstall
%find_lang %name
%files -f %name.lang
%_bindir/*
%_infodir/*
%_man1dir/*
%doc ABOUT-NLS AUTHORS BACKLOG COPYING COPYING-LIB ChangeLog INSTALL THANKS TODO
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
# TODO:
# - keep an eye on 3.7 (now in beta) and eventually 4.0
%changelog
…
Полный changelog можно просмотреть здесь