Follow the recent packaging guideline changes
This commit is contained in:
parent
ecf20d96b3
commit
c103349fd1
16
convmv.spec
16
convmv.spec
@ -1,14 +1,12 @@
|
|||||||
Summary: Convert filename encodings
|
Summary: Convert filename encodings
|
||||||
Name: convmv
|
Name: convmv
|
||||||
Version: 1.15
|
Version: 1.15
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
Group: Applications/System
|
|
||||||
License: GPLv2 or GPLv3
|
License: GPLv2 or GPLv3
|
||||||
URL: http://j3e.de/linux/convmv
|
URL: http://j3e.de/linux/convmv
|
||||||
Source0: http://j3e.de/linux/convmv/convmv-%{version}.tar.gz
|
Source0: http://j3e.de/linux/convmv/convmv-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the tool convmv with which you can convert the encodings
|
This package contains the tool convmv with which you can convert the encodings
|
||||||
@ -17,27 +15,27 @@ of filenames, e.g. from Latin1 to UTF-8.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
tar -xf testsuite.tar
|
tar -xf testsuite.tar
|
||||||
|
# This is needed to preserve the timestamp of convmv file
|
||||||
|
sed -i 's/install/install -p/g' Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make %{_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
make PREFIX=%{_prefix} DESTDIR=%{buildroot} install
|
make PREFIX=%{_prefix} DESTDIR=%{buildroot} install
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc CREDITS Changes GPL2 TODO
|
%doc CREDITS Changes GPL2 TODO
|
||||||
%{_bindir}/convmv
|
%{_bindir}/convmv
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Wed Sep 11 2013 Nils Philippsen <nils@redhat.com> - 1.15-1
|
||||||
- version 1.15
|
- version 1.15
|
||||||
- reenable testsuite
|
- reenable testsuite
|
||||||
|
Loading…
Reference in New Issue
Block a user