From 54c0199d04037a2a53dd33cd56dd1c0b1c17f3eb Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2019 18:52:09 +0000 Subject: import convmv-2.01-3.el8 --- diff --git a/.convmv.metadata b/.convmv.metadata new file mode 100644 index 0000000..3d51677 --- /dev/null +++ b/.convmv.metadata @@ -0,0 +1 @@ +98aba45903525e6d0b397587519dc02295405ce9 SOURCES/convmv-2.01.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ce03825 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/convmv-2.01.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..9876487 --- /dev/null +++ b/SPECS/convmv.spec @@ -0,0 +1,137 @@ +Summary: Convert filename encodings +Name: convmv +Version: 2.01 +Release: 3%{?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: perl-generators +BuildRequires: perl(Getopt::Long) + +%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 +* 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