From 52ee1bf09f1e069033a42d41f80a5c07b89d6756 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 17 2022 09:13:53 +0000 Subject: import convmv-2.05-11.el9 --- diff --git a/.convmv.metadata b/.convmv.metadata new file mode 100644 index 0000000..ca06b99 --- /dev/null +++ b/.convmv.metadata @@ -0,0 +1 @@ +91f188f03e52e532e0fb1b9fa2c4bd47ee0ed149 SOURCES/convmv-2.05.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9142dc2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/convmv-2.05.tar.gz diff --git a/SOURCES/convmv-2.0-preserve-timestamps.patch b/SOURCES/convmv-2.0-preserve-timestamps.patch new file mode 100644 index 0000000..c4ec704 --- /dev/null +++ b/SOURCES/convmv-2.0-preserve-timestamps.patch @@ -0,0 +1,12 @@ +diff -up convmv-2.0/Makefile.preserve-timestamps convmv-2.0/Makefile +--- convmv-2.0/Makefile.preserve-timestamps 2008-11-29 14:49:38.000000000 +0100 ++++ convmv-2.0/Makefile 2015-05-19 11:10:32.519796351 +0200 +@@ -11,7 +11,7 @@ install: all + mkdir -p $(DESTDIR)$(MANDIR)/man1/ + mkdir -p $(DESTDIR)$(PREFIX)/bin/ + cp convmv.1.gz $(DESTDIR)$(MANDIR)/man1/ +- install -m 755 convmv $(DESTDIR)$(PREFIX)/bin/ ++ install -p -m 755 convmv $(DESTDIR)$(PREFIX)/bin/ + + manpage: + pod2man --section 1 --center=" " convmv | gzip > convmv.1.gz diff --git a/SPECS/convmv.spec b/SPECS/convmv.spec new file mode 100644 index 0000000..d4f43a7 --- /dev/null +++ b/SPECS/convmv.spec @@ -0,0 +1,180 @@ +Summary: Convert filename encodings +Name: convmv +Version: 2.05 +Release: 11%{?dist} + +License: GPLv2 or GPLv3 +URL: http://j3e.de/linux/convmv +Source0: http://j3e.de/linux/convmv/convmv-%{version}.tar.gz +Patch0: convmv-2.0-preserve-timestamps.patch +BuildArch: noarch +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl(bytes) +BuildRequires: perl(Cwd) +BuildRequires: perl(Encode) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Compare) +BuildRequires: perl(File::Find) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(Unicode::Normalize) +BuildRequires: perl(utf8) + +%description +This package contains the tool convmv with which you can convert the encodings +of filenames, e.g. from Latin1 to UTF-8. + +%prep +%setup -q +%patch0 -p1 -b .preserve-timestamps +tar -xf testsuite.tar + +%build +make %{_smp_mflags} + +%check +make test + +%install +make PREFIX=%{_prefix} DESTDIR=%{buildroot} install + +%files +%doc CREDITS Changes TODO +%license GPL2 +%{_bindir}/convmv +%{_mandir}/man*/* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 2.05-11 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Mon May 24 2021 Parag Nemade - 2.05-10 +- Resolves:rhbz#1961994 - Add gating tests from rhel-8 + +* Thu Apr 15 2021 Mohan Boddu - 2.05-9 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 2.05-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 2.05-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Mar 31 2020 Jitka Plesnikova - 2.05-6 +- Specify all perl dependencies + +* Tue Jan 28 2020 Fedora Release Engineering - 2.05-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 2.05-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 2.05-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 2.05-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Mar 27 2018 Parag Nemade - 2.05-1 +- Update to 2.05 version (#1467456) + +* Wed Feb 07 2018 Fedora Release Engineering - 2.01-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.01-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jun 06 2017 Nils Philippsen - 2.01-1 +- version 2.01 + +* Fri Feb 10 2017 Fedora Release Engineering - 2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Feb 23 2016 Parag Nemade - 2.0-4 +- Resolves:rh#1307401: FTBFS in rawhide +- Added %%license tag + +* Wed Feb 03 2016 Fedora Release Engineering - 2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue May 19 2015 Nils Philippsen - 2.0-1 +- version 2.0 +- use patch to patch Makefile instead of sed + +* Sat Jun 07 2014 Fedora Release Engineering - 1.15-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 28 2014 Parag Nemade - 1.15-2 +- Follow the recent packaging guideline changes + +* Wed Sep 11 2013 Nils Philippsen - 1.15-1 +- version 1.15 +- reenable testsuite +- fix bogus dates in changelog + +* Sat Aug 03 2013 Fedora Release Engineering - 1.14-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 1.14-7 +- Perl 5.18 rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 1.14-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jul 18 2012 Fedora Release Engineering - 1.14-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jan 12 2012 Fedora Release Engineering - 1.14-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 1.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Mar 03 2009 Nils Philippsen - 1.14-1 +- version 1.14 +- temporarily disable "make test" to work around problems in koji + +* Tue Feb 24 2009 Fedora Release Engineering - 1.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Feb 25 2008 Nils Philippsen - 1.12-1 +- version 1.12 +- remove obsolete tests patch +- don't run md5sum against MD5sums as it lists a non-existing .MD5sums file + which causes md5sum to error out +- change license tag to "GPLv2 or GPLv3" + +* Thu Sep 27 2007 Nils Philippsen - 1.10-3 +- don't expect find output to be sorted, move "make test" to %%check (#237687, + patch by Giuseppe Bonacci) +- change license tag to "GPLv2" + +* Mon Aug 28 2006 Nils Philippsen - 1.10-2 +- FC6 mass rebuild + +* Wed Aug 16 2006 Nils Philippsen - 1.10-1 +- version 1.10 +- use dist tag + +* Fri Mar 10 2006 Nils Philippsen +- version 1.09 + +* Thu Apr 7 2005 Michael Schwendt +- rebuilt + +* Fri Jan 14 2005 Warren Togami +- remove testsuite.tar from doc + +* Fri Jan 14 2005 Nils Philippsen +- version 1.08 + +* Sat Feb 07 2004 Nils Philippsen +- version 1.07 +- initial build