diff --git a/recode-3.7.14.tar.gz b/recode-3.7.14.tar.gz deleted file mode 100644 index 3483d238773d7ce46b40b75cafb8fc1c7d1e8e66..0000000000000000000000000000000000000000 Binary files a/recode-3.7.14.tar.gz and /dev/null differ diff --git a/recode-3.7.15.tar.gz b/recode-3.7.15.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..fb9a8211f0b77bcefb2c37be3920b0b25d14c3ac Binary files /dev/null and b/recode-3.7.15.tar.gz differ diff --git a/recode.spec b/recode.spec index 8cfe4208e7aa60b5e874b1c9b91fc46efa6fb8ad..0e9753e7fb40e5d7138ff93716409e3e20be5806 100644 --- a/recode.spec +++ b/recode.spec @@ -1,13 +1,16 @@ Name: recode -Version: 3.7.14 +Version: 3.7.15 Release: 1 Summary: Converter between charsets and surfaces License: GPLv3 and LGPLv3 -URL: https://www.gnu.org/software/recode/ +URL: https://github.com/rrthomas/recode Source0: https://github.com/rrthomas/recode/releases/download/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: libtool texinfo autoconf automake coreutils gcc gettext-devel -BuildRequires: help2man make python3-Cython python3-devel >= 3.7.5 -Requires: info +BuildRequires: make gcc +BuildRequires: /usr/bin/perl +BuildRequires: /usr/bin/help2man +BuildRequires: /usr/bin/cython +BuildRequires: python3-devel >= 3.8 +BuildRequires: gettext %description The recode library converts files between character sets and usages. @@ -20,8 +23,8 @@ front-end to the library. %package devel Summary: Development header files for using the recode library Requires: %{name} = %{version}-%{release} -Provides: %{name}-static -Obsoletes: %{name}-static +Provides: %{name}-static = %{version}-%{release} +Obsoletes: %{name}-static < %{version}-%{release} %description devel The recode library converts files between character sets and usages. @@ -29,43 +32,23 @@ The recode-devel package provides the necessary development libraries and include files to allow you to develop applications using the recode libraries. -%package help -Summary: Documents for %{name} -Buildarch: noarch -Requires: man info - -%description help -Man pages and other related documents for %{name}. +%package_help %prep %autosetup -n %{name}-%{version} -p1 %build -autoreconf -vif %configure -make %{?_smp_mflags} +%make_build %check -make check %{?_smp_mflags} +%make_build check %install %make_install +%delete_la %find_lang %{name} -%post -/sbin/ldconfig -if [ -f %{_infodir}/%{name}.info.gz ]; then - /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || : -fi -%preun -if [ $1 = 0 ]; then - if [ -f %{_infodir}/%{name}.info.gz ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || : - fi -fi - -%postun -p /sbin/ldconfig - %files -f %{name}.lang %license COPYING* %{_bindir}/recode @@ -74,15 +57,17 @@ fi %files devel %{_includedir}/*.h %{_libdir}/librecode.so -%{_libdir}/librecode.*a +%{_libdir}/librecode.a %files help %doc ABOUT-NLS AUTHORS ChangeLog INSTALL NEWS README THANKS TODO -%{_infodir}/*.info.gz -%exclude %{_infodir}/dir* -%{_mandir}/man1/*.1.gz +%{_infodir}/*.info* +%{_mandir}/man1/* %changelog +* Mon Mar 17 2025 Funda Wang - 3.7.15-1 +- update to 3.7.15 + * Thu Jul 13 2023 dillon chen - 3.7.14-1 - Type:NA - ID:NA diff --git a/recode.yaml b/recode.yaml index 26f3441563a97bbf38b84a01f662c6a164459420..d51580c6e300686a1055b39c8e35cff2c9ebf7c0 100644 --- a/recode.yaml +++ b/recode.yaml @@ -1,4 +1,4 @@ -version_control: github -src_repo: rrthomas/recode -tag_prefix: ^v -seperator: . \ No newline at end of file +version_control: github +src_repo: rrthomas/recode +tag_prefix: ^v +separator: .