From 870fd2bf19c0508a4464ecacff9927122e3ecb97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Wed, 14 Oct 2020 23:13:11 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/convmv#e81486d22085eb7f0b7a6f43fb786183a2542772 --- .gitignore | 5 + convmv-2.0-preserve-timestamps.patch | 12 ++ convmv.spec | 167 +++++++++++++++++++++++++++ sources | 1 + 4 files changed, 185 insertions(+) create mode 100644 convmv-2.0-preserve-timestamps.patch create mode 100644 convmv.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..50c650c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,5 @@ +convmv-1.14.tar.gz +/convmv-1.15.tar.gz +/convmv-2.0.tar.gz +/convmv-2.01.tar.gz +/convmv-2.05.tar.gz diff --git a/convmv-2.0-preserve-timestamps.patch b/convmv-2.0-preserve-timestamps.patch new file mode 100644 index 0000000..c4ec704 --- /dev/null +++ b/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/convmv.spec b/convmv.spec new file mode 100644 index 0000000..690b9b1 --- /dev/null +++ b/convmv.spec @@ -0,0 +1,167 @@ +Summary: Convert filename encodings +Name: convmv +Version: 2.05 +Release: 7%{?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 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 diff --git a/sources b/sources new file mode 100644 index 0000000..4756c98 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (convmv-2.05.tar.gz) = 7fb0d1e2b64c3105c48d8a2cbb59fa4ea23202f17abc7cbf63acfca785683f00955fdcb03517e9dd8fe01be0171458ab2583e1c52d62c6081684462b0fec4125