Compare commits
55 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9cc2c185b7 | ||
|
|
baadccfe87 |
||
|
|
f3b616cf41 | ||
|
|
6342c4523c |
||
|
|
b5217e2eee | ||
|
|
2dab80c494 |
||
|
|
d455d90357 | ||
|
|
f6cd152dd3 | ||
|
|
d40eb6465d | ||
|
|
048b332984 |
||
|
|
914a3faf5a | ||
|
|
3ece4b5625 | ||
|
|
63c3d4b393 | ||
|
|
e4c0d6467c | ||
|
|
8046f6f195 |
||
|
|
721cfbe5c2 | ||
|
|
e81486d220 | ||
|
|
9f859b45cd | ||
|
|
d7d8309663 | ||
|
|
94105a6200 | ||
|
|
a46710b4ba | ||
|
|
99f5c896fc | ||
|
|
6331f33d2f |
||
|
|
644a83fc10 | ||
|
|
33e6c3dd48 | ||
|
|
163698e06c | ||
|
|
2f7766f6f6 | ||
|
|
768e05d714 | ||
|
|
db5d6a7d53 | ||
|
|
65b95bf78d | ||
|
|
e06223d5e0 | ||
|
|
abf5d57f1e | ||
|
|
e383fd82e8 | ||
|
|
911a340520 | ||
|
|
ff886968b2 | ||
|
|
c103349fd1 | ||
|
|
ecf20d96b3 | ||
|
|
411a9f1cf4 | ||
|
|
ba4af3608f | ||
|
|
52e23e4410 | ||
|
|
4ebd647b97 | ||
|
|
579d412b0a | ||
|
|
34b125a54e | ||
|
|
7e5fd1b31f | ||
|
|
3b13ce10d1 | ||
|
|
1baf8c5599 | ||
|
|
900beb4c86 | ||
|
|
34d7ae7cf5 | ||
|
|
4a891215ad | ||
|
|
9f1503938b | ||
|
|
78425d3936 | ||
|
|
3109455818 | ||
|
|
6112873c44 | ||
|
|
1315c58501 | ||
|
|
6a0eda317b |
10 changed files with 230 additions and 38 deletions
|
|
@ -1 +0,0 @@
|
|||
convmv-1.10.tar.gz
|
||||
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
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
|
||||
/convmv-2.06.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: convmv
|
||||
# $Id$
|
||||
NAME := convmv
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
12
convmv-2.0-preserve-timestamps.patch
Normal file
12
convmv-2.0-preserve-timestamps.patch
Normal file
|
|
@ -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
|
||||
175
convmv.spec
175
convmv.spec
|
|
@ -1,15 +1,24 @@
|
|||
Summary: Convert filename encodings
|
||||
Name: convmv
|
||||
Version: 1.10
|
||||
Version: 2.06
|
||||
Release: 2%{?dist}
|
||||
|
||||
Group: Applications/System
|
||||
License: GPL
|
||||
License: GPL-2.0-only OR GPL-3.0-only
|
||||
URL: http://j3e.de/linux/convmv
|
||||
Source: http://j3e.de/linux/convmv/convmv-%{version}.tar.gz
|
||||
BuildRequires: /usr/bin/md5sum
|
||||
Source0: http://j3e.de/linux/convmv/convmv-%{version}.tar.gz
|
||||
Patch0: convmv-2.0-preserve-timestamps.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
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
|
||||
|
|
@ -17,26 +26,162 @@ of filenames, e.g. from Latin1 to UTF-8.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch 0 -p1 -b .preserve-timestamps
|
||||
tar -xf testsuite.tar
|
||||
|
||||
%build
|
||||
md5sum -c MD5sums
|
||||
make
|
||||
make %{_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make PREFIX=%{_prefix} DESTDIR=%{buildroot} install
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc CREDITS Changes GPL2 TODO
|
||||
%doc CREDITS Changes TODO
|
||||
%license GPL2
|
||||
%{_bindir}/convmv
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.06-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Mon Mar 24 2025 Parag Nemade <pnemade AT redhat DOT com> - 2.06-1
|
||||
- Update to 2.06 version (#2348686)
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Mon May 27 2024 Parag Nemade <pnemade AT redhat DOT com> - 2.05-16
|
||||
- Correct the SPDX license expression
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jun 23 2023 Parag Nemade <pnemade AT redhat DOT com> - 2.05-12
|
||||
- Migrate to SPDX license expression
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Mar 31 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.05-6
|
||||
- Specify all perl dependencies
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Mar 27 2018 Parag Nemade <pnemade AT redhat DOT com> - 2.05-1
|
||||
- Update to 2.05 version (#1467456)
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.01-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.01-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Tue Jun 06 2017 Nils Philippsen <nils@tiptoe.de> - 2.01-1
|
||||
- version 2.01
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Feb 23 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.0-4
|
||||
- Resolves:rh#1307401: FTBFS in rawhide
|
||||
- Added %%license tag
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Tue May 19 2015 Nils Philippsen <nils@redhat.com> - 2.0-1
|
||||
- version 2.0
|
||||
- use patch to patch Makefile instead of sed
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Wed May 28 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.15-2
|
||||
- Follow the recent packaging guideline changes
|
||||
|
||||
* Wed Sep 11 2013 Nils Philippsen <nils@redhat.com> - 1.15-1
|
||||
- version 1.15
|
||||
- reenable testsuite
|
||||
- fix bogus dates in changelog
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.14-7
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue Mar 03 2009 Nils Philippsen <nils@redhat.com> - 1.14-1
|
||||
- version 1.14
|
||||
- temporarily disable "make test" to work around problems in koji
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Mon Feb 25 2008 Nils Philippsen <nphilipp@redhat.com> - 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 <nphilipp@redhat.com> - 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 <nphilipp@redhat.com> - 1.10-2
|
||||
- FC6 mass rebuild
|
||||
|
||||
|
|
@ -47,7 +192,7 @@ rm -rf %{buildroot}
|
|||
* Fri Mar 10 2006 Nils Philippsen <nphilipp@redhat.com>
|
||||
- version 1.09
|
||||
|
||||
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
||||
* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
||||
- rebuilt
|
||||
|
||||
* Fri Jan 14 2005 Warren Togami <wtogami@redhat.com>
|
||||
|
|
|
|||
5
plans/convmv.fmf
Normal file
5
plans/convmv.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
8daf88557f40523312c40abc31b8167f convmv-1.10.tar.gz
|
||||
SHA512 (convmv-2.06.tar.gz) = a93acb0aa019ec468ec263947c3e0158c51b1b24885e77f62861555c8e80aaa6867eb42045040d09c83488460db0d2edea7327a5354afded2ab02caf7f54204d
|
||||
|
|
|
|||
8
tests/main.fmf
Normal file
8
tests/main.fmf
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
test: ./runtests.sh
|
||||
duration: 10m
|
||||
framework: beakerlib
|
||||
require:
|
||||
- convmv
|
||||
- perl
|
||||
- make
|
||||
- rpm-build
|
||||
37
tests/runtests.sh
Executable file
37
tests/runtests.sh
Executable file
|
|
@ -0,0 +1,37 @@
|
|||
#!/bin/bash
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
NAME=convmv
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlAssertRpm ${NAME}
|
||||
rlShowPackageVersion ${NAME}
|
||||
rlRun -t -l "VERSION=$(rpm -q ${NAME} --queryformat='%{version}')" 0 "Get VERSION"
|
||||
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||
rlRun "pushd $tmp"
|
||||
rlFetchSrcForInstalled "${NAME}"
|
||||
rlRun "rpm --define '_topdir $tmp' -i *src.rpm"
|
||||
rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory"
|
||||
rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec"
|
||||
if [ -d BUILD/${NAME}-${VERSION}-build ]; then
|
||||
rlRun -t -l "pushd BUILD/${NAME}-${VERSION}-build/${NAME}-${VERSION}"
|
||||
else
|
||||
rlRun -t -l "pushd BUILD/${NAME}-${VERSION}"
|
||||
fi
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "set -o pipefail"
|
||||
rlRun "make V=1 test"
|
||||
rlRun "retval=$?"
|
||||
rlRun "echo $retval"
|
||||
rlRun "popd" 0
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "popd"
|
||||
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||
rlPhaseEnd
|
||||
rlJournalEnd
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue