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

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

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

Патч: opencc-1.0.5-alt1.qa1.patch
Скачать


 .gear/rules                  |   2 +
 .gear/tags/list              |   1 +
 .gear/upstream/filter-tag    |   1 +
 .gear/upstream/remotes       |   3 ++
 .gear/upstream/transform-tag |   1 +
 opencc.spec                  | 117 +++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 125 insertions(+)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..2961f22
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: ver.@version@:.
+diff: ver.@version@:. .
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..99363b2
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+7fdaa43f1c548cc53ab9c7b59a697851060f4f46 ver.1.0.5
diff --git a/.gear/upstream/filter-tag b/.gear/upstream/filter-tag
new file mode 100755
index 0000000..95b490e
--- /dev/null
+++ b/.gear/upstream/filter-tag
@@ -0,0 +1 @@
+grep '^ver\.[0-9.]\+$'
diff --git a/.gear/upstream/remotes b/.gear/upstream/remotes
new file mode 100644
index 0000000..67cf81b
--- /dev/null
+++ b/.gear/upstream/remotes
@@ -0,0 +1,3 @@
+[remote "upstream"]
+	url = https://github.com/BYVoid/OpenCC.git
+	fetch = +refs/heads/*:refs/remotes/upstream/*
diff --git a/.gear/upstream/transform-tag b/.gear/upstream/transform-tag
new file mode 100755
index 0000000..7602e09
--- /dev/null
+++ b/.gear/upstream/transform-tag
@@ -0,0 +1 @@
+sed 's/^ver\.//'
diff --git a/opencc.spec b/opencc.spec
new file mode 100644
index 0000000..2f30571
--- /dev/null
+++ b/opencc.spec
@@ -0,0 +1,117 @@
+Name:       opencc
+Version:    1.0.5
+Release:    alt1.qa1
+Summary:    Libraries for Simplified-Traditional Chinese Conversion
+
+License:    ASL 2.0
+Group:      System/Libraries
+URL:        http://code.google.com/p/opencc/
+Source0:    %{name}-%{version}.tar
+# VCS:      https://github.com/BYVoid/OpenCC.git
+
+Patch:      %name-%version-%release.patch
+
+BuildRequires(pre): cmake
+BuildRequires: gcc-c++
+BuildRequires: gettext
+BuildRequires: ctest
+BuildRequires: doxygen
+BuildRequires: python-modules-encodings
+
+%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}
+BuildArch: noarch
+
+%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
+%patch -p1
+
+%build
+%cmake -DBUILD_DOCUMENTATION=ON
+
+export LD_LIBRARY_PATH=%_builddir/%name-%version/BUILD/src
+%cmake_build #VERBOSE=1
+
+%install
+%cmakeinstall_std
+rm -f %buildroot%_libdir/*.a
+
+%check
+make test -C BUILD
+
+%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
+* Sun Oct 14 2018 Igor Vlasenko <viy@altlinux.ru> 1.0.5-alt1.qa1
+- NMU: applied repocop patch
+
+* Thu Mar 08 2018 Andrey Cherepanov <cas@altlinux.org> 1.0.5-alt1
+- New version.
+
+* Tue Feb 23 2016 Andrey Cherepanov <cas@altlinux.org> 1.0.3-alt1
+- New version
+
+* Mon Jan 12 2015 Andrey Cherepanov <cas@altlinux.org> 1.0.2-alt1
+- New version
+- Build from upstream Git repository https://github.com/BYVoid/OpenCC.git
+
+* Mon May 19 2014 Andrey Cherepanov <cas@altlinux.org> 0.4.3-alt2
+- Move from Autoimports to Sisyphus
+
+* Tue Aug 27 2013 Igor Vlasenko <viy@altlinux.ru> 0.4.3-alt1_2
+- update to new release by fcimport
+
+* Fri May 31 2013 Igor Vlasenko <viy@altlinux.ru> 0.4.3-alt1_1
+- update to new release by fcimport
+
+* Fri Mar 08 2013 Igor Vlasenko <viy@altlinux.ru> 0.4.0-alt1_1
+- update to new release by fcimport
+
+* Wed Dec 26 2012 Igor Vlasenko <viy@altlinux.ru> 0.3.0-alt1_4
+- initial fc import
+
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin