commit 2999d1404b0ad07884c8ece1e5f65035b7ae8e68 Author: Jiayi Yin Date: Sun May 18 17:22:10 2025 +0000 转换LFS仓库为普通仓库 diff --git a/iso-codes-iso-codes-4.7.0.tar.gz b/iso-codes-iso-codes-4.7.0.tar.gz new file mode 100644 index 0000000..0022b2c Binary files /dev/null and b/iso-codes-iso-codes-4.7.0.tar.gz differ diff --git a/iso-codes.spec b/iso-codes.spec new file mode 100644 index 0000000..cb93e25 --- /dev/null +++ b/iso-codes.spec @@ -0,0 +1,82 @@ +Name: iso-codes +Version: 4.7.0 +Release: 3 +Summary: lists of various ISO standards +License: LGPLv2+ +URL: https://salsa.debian.org/iso-codes-team/iso-codes +Source0: https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/%{name}-%{version}/%{name}-%{name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: git gettext python3 +Requires: sgml-common + +%description +This project provides lists of various ISO standards (e.g. country, +language, language scripts, and currency names) in one place, rather +than repeated in many programs throughout the system. + +%package devel +Summary: pkg-config configuration file for iso-codes +Requires: %{name} = %{version}-%{release} +%description devel +pkg-config configuration file for iso-codes + +%prep +%autosetup -n %{name}-%{name}-%{version} -p1 -Sgit +mv iso_639-5/zh_Hant.po iso_639-5/zh_TW.po + +%build +%configure +%make_build + +%install +rm -rf %RPM_BUILD_ROOT +%make_install + +%check +make check + +%files +%defattr(-,root,root) +%doc ChangeLog.md README.md +%license COPYING +%{_datadir}/%{name} +%{_datadir}/locale/*/LC_MESSAGES/iso_*.mo +%{_datadir}/xml/%{name} + +%files devel +%defattr(-,root,root) +%{_datadir}/pkgconfig/iso-codes.pc + + +%changelog +* Sat Apr 12 2025 Funda Wang - 4.7.0-3 +- rename Chinese translation of iso_639-5 + +* Tue Nov 14 2023 fuanan - 4.7.0-2 +- revert version to 4.7.0-2 +- Large differences between versions 4.15.0 and 4.7.0 + +* Tue Oct 24 2023 yixiangzhike - 4.15.0-1 +- Upgrade to version 4.15.0 + +* Thu May 26 2022 loong_C - 4.7.0-2 +- fix spec changelog date + +* Wed Dec 22 2021 shangyibin - 4.7.0-1 +- Upgrade to version 4.7.0 + +* Tue Jul 28 2020 xinghe - 4.5.0-1 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: update version to 4.5.0 + +* Tue Sep 24 2019 shenyangyang - 3.79-4 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:revise requires + +* Mon Aug 19 2019 openEuler Builteam - 3.79-3 +- Package init diff --git a/iso-codes.yaml b/iso-codes.yaml new file mode 100644 index 0000000..a69500f --- /dev/null +++ b/iso-codes.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://salsa.debian.org/iso-codes-team/iso-codes.git +tag_prefix: ^v +separator: .