summaryrefslogtreecommitdiff
path: root/recode.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-17 15:06:26 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-17 15:06:26 +0000
commitb37e4a1a652d5988bfe083029ac937ce1a25106a (patch)
tree6b4c4bb9c831b90e7ab0b45579ccc1c56d55769b /recode.spec
parent6a4af4a737106f13d388e6652ac1b248fa9442e2 (diff)
automatic import of recode
Diffstat (limited to 'recode.spec')
-rw-r--r--recode.spec113
1 files changed, 113 insertions, 0 deletions
diff --git a/recode.spec b/recode.spec
new file mode 100644
index 0000000..cb6751e
--- /dev/null
+++ b/recode.spec
@@ -0,0 +1,113 @@
+Name: recode
+Version: 3.7.15
+Release: 1
+Summary: Converter between charsets and surfaces
+License: GPLv3 and LGPLv3
+URL: https://github.com/rrthomas/recode
+Source0: https://github.com/rrthomas/recode/releases/download/v%{version}/%{name}-%{version}.tar.gz
+BuildRequires: make gcc
+BuildRequires: /usr/bin/perl
+BuildRequires: /usr/bin/help2man
+BuildRequires: /usr/bin/cython
+BuildRequires: python3 >= 3.8
+BuildRequires: gettext
+
+%description
+The recode library converts files between character sets and usages.
+It recognises or produces more than 300 different character sets
+and transliterates files between almost any pair. When exact
+transliteration are not possible, it gets rid of offending characters
+or fall back on approximations. The recode program is a handy
+front-end to the library.
+
+%package devel
+Summary: Development header files for using the recode library
+Requires: %{name} = %{version}-%{release}
+Provides: %{name}-static = %{version}-%{release}
+Obsoletes: %{name}-static < %{version}-%{release}
+
+%description devel
+The recode library converts files between character sets and usages.
+The recode-devel package provides the necessary development libraries
+and include files to allow you to develop applications using the recode
+libraries.
+
+%package_help
+
+%prep
+%autosetup -n %{name}-%{version} -p1
+
+%build
+%configure
+%make_build
+
+%check
+%make_build check
+
+%install
+%make_install
+%find_lang %{name}
+
+%files -f %{name}.lang
+%license COPYING*
+%{_bindir}/recode
+%{_libdir}/librecode.so.*
+
+%files devel
+%{_includedir}/*.h
+%{_libdir}/librecode.so
+%{_libdir}/librecode.a
+
+%files help
+%doc ABOUT-NLS AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
+%{_infodir}/*.info.gz
+%{_mandir}/man1/*
+
+%changelog
+* Mon Mar 17 2025 Funda Wang <fundawang@yeah.net> - 3.7.15-1
+- update to 3.7.15
+
+* Thu Jul 13 2023 dillon chen <dillon.chen@gmail.com> - 3.7.14-1
+- Type:NA
+- ID:NA
+- SUG:NA
+- DESC:update to 3.7.14
+
+* Tue Jan 31 2023 chenziyang <chenziyang4@huawei.com> - 3.7.13-1
+- Type:NA
+- ID:NA
+- SUG:NA
+- DESC:update to 3.7.13
+
+* Mon Dec 26 2022 zhoupengcheng <zhoupengcheng11@huawei.com> - 3.7.9-3
+- DESC:change license in spec
+
+* Sat Aug 20 2022 shixuantong <shixuantong@h-partners.com> - 3.7.9-2
+- Type:bugfix
+- ID:NA
+- SUG:NA
+- DESC:remove duplicated recode.info.gz file
+
+* Sat Nov 20 2021 shangyibin <shangyibin1@huawei.com> - 3.7.9-1
+- Type:NA
+- ID:NA
+- SUG:NA
+- DESC:update to 3.7.9
+
+* Thu Jan 28 2021 liudabo <liudabo1@huawei.com> - 3.7.8-1
+- upgrade version to 3.7.8
+
+* Tue Jul 28 2020 shixuantong <shixuantong@huawei.com> - 3.7.6-1
+- Type:NA
+- ID:NA
+- SUG:NA
+- DESC:update to 3.7.6-1
+
+* Sat Jan 11 2020 zhangguangzhi<zhangguangzhi3@huawei.com> - 3.6-50
+- Type:bugfix
+- ID:NA
+- SUG:NA
+- DESC:del patch to be consistent with open source
+
+* Fri Aug 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.6-49
+- Package init