Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37537959
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libmbfl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/wget gcc-c++
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define fver 1.3.x

%define major 1
%define libname libmbfl%{major}
%define develname libmbfl-devel

Summary: Streamable kanji code filter and converter
Name: libmbfl
Version: 1.3.2
Release: alt1_1
License: LGPL
Group: System/Libraries
URL: https://github.com/moriyoshi/libmbfl
# actually the latest version from git
Source0: https://github.com/moriyoshi/libmbfl/archive/libmbfl-%{fver}.tar.gz
Source100: ftp://ftp.unicode.org/Public/UNIDATA/EastAsianWidth.txt
Source101: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-1.TXT
Source102: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-2.TXT
Source103: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-3.TXT
Source104: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-4.TXT
Source105: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-5.TXT
Source106: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-6.TXT
Source107: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-7.TXT
Source108: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-8.TXT
Source109: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-9.TXT
Source110: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-10.TXT
Source111: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-11.TXT
Source113: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-13.TXT
Source114: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-14.TXT
Source115: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-15.TXT
Source116: ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-16.TXT
Source117: ftp://ftp.unicode.org/Public/UNIDATA/EmojiSources.txt
Patch1: automake.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
Source44: import.info

%description
This is Libmbfl, a streamable multibyte character code filter and converter
library.

%package -n %{libname}
Summary: Streamable kanji code filter and converter library
Group:          System/Libraries

%description -n %{libname}
This is Libmbfl, a streamable multibyte character code filter and converter
library.

This package provides the shared mbfl library.

%package -n %{develname}
Summary: Static library and header files for development with mbfl
Group: Development/C
Requires: %{libname} = %{version}
Provides: mbfl-devel = %{version}-%{release}
Obsoletes: mbfl-devel

%description -n %{develname}
This is Libmbfl, a streamable multibyte character code filter and converter
library.

This package is only needed if you plan to develop or compile applications
which requires the mbfl library.

%prep
%setup -q -n %{name}-%{fver}
%patch1 -p1 -b .automake
cp %{SOURCE100} mbfl/
cp %{SOURCE101} %{SOURCE102} %{SOURCE103} %{SOURCE104} %{SOURCE105} \
  %{SOURCE106} %{SOURCE107} %{SOURCE108} %{SOURCE109} %{SOURCE110} \
  %{SOURCE111} %{SOURCE113} %{SOURCE114} %{SOURCE115} %{SOURCE116} \
  %{SOURCE117} filters

# fix strange perms

find . -type d -perm 0700 -exec chmod 755 {} \;
find . -type f -perm 0555 -exec chmod 755 {} \;
find . -type f -perm 0444 -exec chmod 644 {} \;

chmod 644 AUTHORS DISCLAIMER LICENSE README

%build
touch NEWS ChangeLog COPYING
autoreconf -fi
%configure --disable-static
%make

%install
%makeinstall_std
rm -f %{buildroot}%{_libdir}/*.la

%files -n %{libname}
%doc AUTHORS DISCLAIMER LICENSE README
%{_libdir}/*.so.%{major}
%{_libdir}/*.so.%{major}.*

%files -n %{develname}
%{_includedir}/mbfl
%{_libdir}/*.so


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin