Репозитории ALT
Последнее обновление в Сб, 06 июня 2020, 00:49:50 +0000 | Пакетов: 15384
en ru
Исходные пакеты в ветвях
свернуть окно
  • 1.0.5-alt1.qa3
Группа :: Система/Библиотеки
Исходный пакет: opencc
Необработанный spec-файл


Name: opencc
Version: 0.4.3
Release: alt2
Summary: Libraries for Simplified-Traditional Chinese Conversion

License: ASL 2.0
Group: System/Libraries
URL: http://code.google.com/p/opencc/
Source0: http://opencc.googlecode.com/files/%{name}-%{version}.tar.gz
Patch1: opencc-0.3.0-fixes-cmake.patch

BuildRequires(pre):
cmake
BuildRequires: gcc-c++
BuildRequires: gettext
BuildRequires: ctest
BuildRequires: doxygen

%description
OpenCC is a library for converting characters and phrases between
Traditional Chinese and Simplified Chinese.

%package doc
Summary: Documentation for OpenCC
Group: Text tools
Requires: %{name} = %{version}-%{release}

%description doc
Doxygen generated documentation for OpenCC.

%package tools
Summary: Command line tools for OpenCC
Group: Text tools
Requires: %{name} = %{version}-%{release}

%description tools
Command line tools for OpenCC, including tools for conversion via CLI
and for building dictionaries.

%package devel
Summary: Development files for OpenCC
Group: Development/C
Requires: %{name} = %{version}-%{release}

%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%prep
%setup -q
%patch1 -p1

%build
%cmake -DENABLE_GETTEXT:BOOL=ON \
-DBUILD_DOCUMENTATION:BOOL=ON
%cmake_build

%install
%cmakeinstall_std
rm -f %buildroot%_libdir/*.a

%check
ctest

%find_lang %name

%files -f %{name}.lang
%doc AUTHORS LICENSE README.md
%_libdir/lib*.so.*
%_datadir/opencc/
%exclude %_datadir/opencc/doc

%files doc
%_datadir/opencc/doc

%files tools
%_bindir/*
%_man1dir/*

%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*.pc

%changelog
* Mon May 19 2014 Andrey Cherepanov <cas at altlinux.org> 0.4.3-alt2
- Move from Autoimports to Sisyphus

* Tue Aug 27 2013 Igor Vlasenko <viy at altlinux.ru> 0.4.3-alt1_2
- update to new release by fcimport

* Fri May 31 2013 Igor Vlasenko <viy at altlinux.ru> 0.4.3-alt1_1
- update to new release by fcimport

* Fri Mar 08 2013 Igor Vlasenko <viy at altlinux.ru> 0.4.0-alt1_1
- update to new release by fcimport

* Wed Dec 26 2012 Igor Vlasenko <viy at altlinux.ru> 0.3.0-alt1_4
- initial fc import

 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT